CN105718338A - Information processing method and electronic device - Google Patents
Information processing method and electronic device Download PDFInfo
- Publication number
- CN105718338A CN105718338A CN201410740931.5A CN201410740931A CN105718338A CN 105718338 A CN105718338 A CN 105718338A CN 201410740931 A CN201410740931 A CN 201410740931A CN 105718338 A CN105718338 A CN 105718338A
- Authority
- CN
- China
- Prior art keywords
- unit
- electronic equipment
- usb interface
- mode
- interface unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention discloses an information processing method and an electronic device. The method is applied to a first electronic device that comprises a BIOS unit, a USB interface unit, a BIOS unit and an EC unit; the BIOS unit is connected to the EC unit; and an operating mode of the USB interface unit comprises a first operating mode and a second operating mode. The method comprises: acquiring first information, and determining an operation mode of the USB interface unit according to the first information, so as to form a determination result; when the determination result indicates that the operating mode of the USB interface unit is the first operating mode, establishing a first connection between the EC unit and a second electronic device by means of the USB interface unit, wherein the first connection is used for a third electronic device to debug the BIOS unit; and when the determination result indicates that the operating mode of the USB interface unit is the second operating mode, establishing a second connection between the EC unit and the third electronic device by means of the USB interface unit, wherein the second connection is used for a fourth electronic device to repair the BIOS unit.
Description
Technical field
The present invention relates to electronic device field, particularly relate to a kind of information processing method and electronic equipment.
Background technology
Existing basic input/output (Basic Input Output System, BOIS) restorative procedure
There are two kinds:
The first: insert test chart (Debug card) to the debugging port (Debug port) of BIOS and show
Show debugging 80 port informations, this method BIOS simple in construction, but need to carry out tearing open at machine when debugging
Reason, concrete as torn computer open machine, expose described debugging port;Obviously BIOS repairs complex operation.
The second: utilizing BIOS to repair framework is under electronic equipment switch on condition, is connect by external USB
Mouth reads BIOS program, then by embedded controller (Embedded Controller, EC) again
Write BIOS program, the design of this method for designing is simple, but in the case of BIOS program collapses,
Cannot be carried out BIOS to repair, need to dismantle BIOS Rom, refresh BIOS with special fixture, repair operation
The most loaded down with trivial details.
Summary of the invention
In view of this, embodiment of the present invention expectation provides a kind of information processing method and electronic equipment, to simplify
The fault of BIOS determines and repairs operation.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
Embodiment of the present invention first aspect provides a kind of information processing method, be applied to include BIOS unit,
In first electronic equipment of usb interface unit, BIOS unit and EC unit;Described BIOS unit and institute
State EC unit to connect;The mode of operation of described usb interface unit includes the first mode of operation and the second work
Pattern;Described method includes: obtains the first information, determines described USB interface list according to the described first information
The mode of operation of unit, is formed and determines result;Determine that result shows the work of described usb interface unit when described
When pattern is the first mode of operation, by described usb interface unit, set up described EC unit and the second electricity
The first connection between subset;Described first is connected to for described 3rd electronic equipment described BIOS
Unit is debugged;Determine that result shows that the mode of operation of described usb interface unit is the second work when described
During pattern, by described usb interface unit, set up the second company of described EC unit and the 3rd electronic equipment
Connect;Described second is connected to repair described BIOS unit for described 4th electronic equipment.
Preferably, described first electronic equipment also includes usb data processing unit;Described USB interface list
The mode of operation of unit also includes the 3rd mode of operation;Described method also includes: determine that result shows when described
When the mode of operation of described usb interface unit is three mode of operation, by described usb interface unit,
Set up described usb data processing unit and the 3rd connection of the 4th electronic equipment;Described 3rd is connected to institute
State usb data processing unit and described 4th electronic equipment interaction data.
Preferably, described usb interface unit includes the first pin;Described EC unit includes the 3rd pin;
Described the first connection set up between described EC unit and the 3rd electronic equipment, including: electrically connect described the
One pin and described 3rd pin, so that described USB interface forms institute after being connected with described 3rd electronic equipment
State the first connection.
Preferably, described usb interface unit also includes the second pin;Described EC unit also includes that the 4th draws
Foot;Described the second connection set up between described EC unit and the 4th electronic equipment, including: electrical connection institute
State the second pin and described 4th pin so that usb interface unit be connected with described 4th electronic equipment after shape
Described second is become to connect;
Preferably, described first electronic equipment also includes mode switch element;Described usb data processing unit
And described EC unit is all by described mode switch element, it is connected with described usb interface unit;Described build
Vertical described EC unit and the first connection of the second electronic equipment, including: described mode switch element turns on institute
State the connection of EC unit and described mode switch element, so that described 3rd electronic equipment connects with described USB
After mouth unit connects, form described first and connect;Described described EC unit and the 3rd electronic equipment set up
Second connects, including: described mode switch element turns on described EC unit and described mode switch element
Connect, so that after described second electronic equipment is connected with described usb interface unit, forming described second and connect.
Preferably, described first electronic equipment also includes usb data processing unit;Described USB interface list
The mode of operation of unit also includes the 3rd mode of operation, and under described mode of operation, described usb data processes single
Unit passes sequentially through described mode switch element and described usb interface unit and the 4th electronic equipment is set up and connected;
Described method also includes:
When described usb interface unit is operated in three mode of operations, the conducting of described mode switch element is described
Usb data unit and the connection of described mode switch element, so that the 4th electronic equipment connects with described USB
After mouth unit connects, form described 3rd connection.
Preferably,
The described acquisition first information, including: the electronic equipment that detection is connected on described usb interface unit
Type;The described mode of operation determining described usb interface unit according to the described first information, is formed and determines knot
Really, including: according to the type of described electronic equipment, determine the mode of operation of described usb interface unit.
Preferably,
Described first electronic equipment also includes control key;The described acquisition first information includes: connect according to described control key
The user operation instruction received, forms the described first information.
Preferably, described EC unit includes UART pin and I2C pin;Described connect by described USB
Mouth unit, sets up the second connection of described EC unit and the 4th electronic equipment, including: electrically connect described UART
Pin and described usb interface unit;Described by described usb interface unit, set up described EC unit
It is connected with the second of the 4th electronic equipment, including: electrically connect described I2C pin and described usb interface unit.
Embodiment of the present invention second aspect provides a kind of electronic equipment, and described electronic equipment is the first electronic equipment,
Described electronic equipment includes usb interface unit, BIOS unit and EC unit;Described BIOS unit and institute
State EC unit to connect;The mode of operation of described usb interface unit includes the first mode of operation and the second work
Operation mode;Described electronic equipment also includes: acquiring unit, is used for obtaining the first information;Determine unit, use
In the determination result forming the mode of operation determining described usb interface unit according to the described first information;Institute
Stating under the first mode of operation, described usb interface unit is for when determining that result shows described USB interface list
When unit is operated in described first mode of operation, the first connection set up by described EC unit and the second electronic equipment;
Described first is connected to debug described BIOS unit for described second electronic equipment;Described
Under two mode of operations, described usb interface unit sets up second for described EC unit and the 4th electronic equipment
Connect;Described second is connected to repair described BIOS unit for described 3rd electronic equipment.
Preferably, described first electronic equipment also includes usb data processing unit, described USB interface list
The mode of operation of unit also includes the 3rd mode of operation;Under described 3rd mode of operation, described USB interface list
Unit sets up the 3rd connection for described usb data processing unit and the 4th electronic equipment;Described 3rd connects use
In described usb data processing unit and described 4th electronic equipment interaction data.
Preferably, described usb interface unit includes the first pin;Described EC unit includes the 3rd pin;
In this first operative mode, described first connection includes between described first pin and described 3rd pin
Electrical connection.
Preferably, described usb interface unit also includes the second pin;Described EC unit also includes that the 4th draws
Foot;Under described second mode of operation, described second connection includes described second pin and described 4th pin
Between electrical connection.
Preferably, described first electronic equipment also includes mode switch element;In this first operative mode,
Described mode switch element is for turning on the connection of described EC unit and described mode switch element, so that institute
State after the second electronic equipment is connected with described usb interface unit, form described first and connect;Described second
Under mode of operation, described mode switch element is for turning on described EC unit and described mode switch element
Connect, so that after described second electronic equipment is connected with described usb interface unit, forming described second and connect.
Preferably,
Described first electronic equipment also includes usb data processing unit;The work of described usb interface unit
Pattern also includes the 3rd mode of operation, and under described mode of operation, described usb data processing unit leads to successively
Cross described mode switch element and described usb interface unit and the 4th electronic equipment is set up and connected;
When described three mode of operation, described mode switch element, it is used for turning on described usb data unit
With the connection of described mode switch element so that after the 4th electronic equipment is connected with described usb interface unit,
Form described 3rd connection.
Preferably,
Described acquiring unit, specifically for the class of the electronic equipment that detection is connected on described usb interface unit
Type;Described determine unit, specifically for the class according to the electronic equipment being connected on described usb interface unit
Type, is formed and described determines result.
Preferably, described acquiring unit includes control key, specifically for the user operation instruction received according to control key,
Form the described first information.
Preferably, described EC unit includes UART pin and I2C pin;In described first mode of operation
Under, described first connects the electrical connection including between described UART pin and described usb interface unit;
Under described second mode of operation, described second connection includes described I2C pin and described usb interface unit
Between electrical connection.
Information processing method described in the embodiment of the present invention and electronic equipment, usb interface unit described in multiplexing,
Make described usb interface unit at least to there being two kinds of mode of operations, described under a kind of mode of operation wherein
Usb interface unit is for being connected with the second electronic equipment, for determining the fault of described BIOS unit;?
Under another kind of mode of operation, described usb interface unit is for being connected with the 3rd electronic equipment, mono-for BIOS
Unit provides BIOS file, to refresh described BIOS unit, thus can set not carrying out described first electronics
Standby carry out tearing machine open in the case of, just can complete the first electronic equipment internal BIOS unit fault determination with
Repair, it is clear that relative to the BIOS restorative procedure of machine of tearing open must be carried out, operate easier and in hgher efficiency.
Accompanying drawing explanation
Fig. 1 is one of schematic flow sheet of information processing method described in the embodiment of the present invention;
Fig. 2 is the two of the schematic flow sheet of the information processing method described in the embodiment of the present invention;
Fig. 3 is one of structural representation of usb interface unit described in the embodiment of the present invention;
Fig. 4 is the two of the structural representation of the usb interface unit described in the embodiment of the present invention;
Fig. 5 be the first electronic equipment described in the embodiment of the present invention and other electronic equipments connection diagram it
One;
Fig. 6 is the three of the schematic flow sheet of the information processing method described in the embodiment of the present invention;
Fig. 7 be the first electronic equipment described in the embodiment of the present invention and other electronic equipments connection diagram it
Two;
Fig. 8 is the four of the schematic flow sheet of the information processing method described in the embodiment of the present invention;
Fig. 9 is the structural representation of a kind of first electronic equipment described in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with Figure of description and specific embodiment technical scheme done and further explain in detail
State.
Embodiment of the method one:
As it is shown in figure 1, the present embodiment provides a kind of information processing method, be applied to include BIOS unit,
In first electronic equipment of usb interface unit, usb data processing unit, BIOS unit and EC unit;
Described BIOS unit is connected with described EC unit;The mode of operation of described usb interface unit includes first
Mode of operation and the second mode of operation;Described method includes:
Step S110: obtain the first information,
Step S120: determine the mode of operation of described usb interface unit according to the described first information, is formed
Determine result;
Step S131: determine that result shows that the mode of operation of described usb interface unit is the first work when described
During operation mode, by described usb interface unit, set up between described EC unit and the 3rd electronic equipment
First connects;Described first is connected to debug described BIOS unit for described second electronic equipment;
Step S132: determine that result shows that the mode of operation of described usb interface unit is the second work when described
During operation mode, by described usb interface unit, set up described EC unit and the second of the 4th electronic equipment
Connect;Described second is connected to repair described BIOS unit for described 3rd electronic equipment.
Described BIOS unit is basic input/output unit, generally includes the motherboard in electronic equipment.
Described usb interface unit can include USB unit, can be used for connecting USB device.Described
Two electronic equipments and the 3rd electronic equipment all include the electronic equipment of USB plug unit.
In the present embodiment, first obtaining the first information, the described first information may be used to determine described USB
The mode of operation of interface unit, the specifically Working mould of usb interface unit as described in the described first information can include
The instruction information of formula.Therefore presently described USB can be determined according to the described first information in the step s 120
The determination result of the mode of operation of interface unit, further according to different determination results, controls described USB interface
The mode of operation of unit.
When described usb interface unit is operated in the first mode of operation, described usb interface unit is for being used for
Connect described EC unit and the second electronic equipment.Described EC unit is usually embedded control unit, permissible
It is used for writing the control unit of BIOS program in described BIOS unit.Described second electronic equipment can be BIOS
Test chart, for determining fault type or the equipment of trouble point of current BIOS unit, the most such as shows BIOS
The equipment of DTC.
When described usb interface unit works in this first operative mode, described second electronic equipment,
Electrical connection, described second electronic equipment is defined between usb interface unit, EC unit and BIOS unit
After being connected to described usb interface unit, described second electronic equipment is had a ride on a horse by the code that display is current
Lamp, can determine the fault of described BIOS unit easily, such that it is able to machine of not tearing open determines the event of BIOS
Barrier.
When described usb interface unit is operated in the second mode of operation, described usb interface unit is for even
Connect described EC unit and described 3rd electronic equipment;Described 3rd electronic equipment can be lower support plate;Described
Three electronic equipment internal memories contain BIOS file;Described BIOS file may be used for repairing described BIOS unit
Interior BIOS program, when described usb interface unit is operated in described second mode of operation, the described 3rd
Set up between electronic equipment, usb interface unit, described EC unit and described BIOS unit and have electrical connection,
Now, described EC unit can read described BIOS by described electrical connection from described 3rd electronic equipment
File, and the described BIOS file read is write in described BIOS unit, to refresh described BIOS,
Even if the BIOS program collapse of the most described BIOS unit, it is also possible in the case of not tearing machine open, carry out fast
The BIOS of speed repairs.
Present embodiments provide a kind of information processing method, by controlling the mode of operation of usb interface unit,
May be used for quickly determining the fault of BIOS unit, and as required described BIOS is refreshed, with
Repair described BIOS, it is clear that present embodiments provide a kind of in the premise not dismantling described first electronic equipment
Under, simplicity realizes the method that BIOS fault determines and repairs.
Embodiment of the method two:
Described first electronic equipment also includes usb data processing unit;The work of described usb interface unit
Pattern also includes the 3rd mode of operation;
As in figure 2 it is shown, described method also includes:
Step S133: determine that result shows that the mode of operation of described usb interface unit is the 3rd work when described
During operation mode, by described usb interface unit, set up described usb data processing unit and the 4th electronics
3rd connection of equipment;Described 3rd is connected to described usb data processing unit sets with described 4th electronics
Standby interaction data.
When described usb interface unit is operated in three mode of operations, described usb interface unit is equivalent to
Common USB interface, can be used for carrying out the data transmission of USB interface, thus described usb interface unit this
Shi Yiduan is connected with the usb data processing unit in described first electronic equipment, and the other end and the 4th electronics set
Standby connected.Described 4th electronic equipment is can be USB flash disk or the electronic equipment carrying USB plug, can
Carry out the data interaction being connected between the first electronic equipment based on USB.
Usb interface unit described in the present embodiment can be not only used for carrying out described BIOS cell failure really
Determine and repair, it is also possible to when BIOS cell operation is normal, can using as common usb interface unit,
For common data interaction, it is clear that achieve the multiplexing of described usb interface unit, thus improve described
The utilization rate of usb interface unit, can reduce the usb interface unit of described first electronic equipment simultaneously
Arrange, thus the most described first electronic equipment is lightening.
Embodiment of the method three:
As it is shown in figure 1, the present embodiment provides a kind of information processing method, be applied to include BIOS unit,
In first electronic equipment of usb interface unit, usb data processing unit, BIOS unit and EC unit;
Described BIOS unit is connected with described EC unit;Described method includes:
Step S110: obtain the first information,
Step S120: determine the mode of operation of described usb interface unit according to the described first information, is formed
Determine result;
Step S131: determine that result shows that the mode of operation of described usb interface unit is the first work when described
During operation mode, by described usb interface unit, set up between described EC unit and the 3rd electronic equipment
First connects;Described first is connected to debug described BIOS unit for described second electronic equipment;
Step S132: determine that result shows that the mode of operation of described usb interface unit is the second work when described
During operation mode, by described usb interface unit, set up described EC unit and the second of the 4th electronic equipment
Connect;Described second is connected to repair described BIOS unit for described 3rd electronic equipment.
When implementing, described method may also include described step S133 in embodiment of the method two.
Described usb interface unit includes the first pin;
Described EC unit includes the 3rd pin;
Described step S131 comprises the steps that
Electrically connect described first pin and described 3rd pin, so that described USB interface and described 3rd electronics
Equipment forms described first and connects after connecting.
In the present embodiment, described first pin can include one or more pin, specifically when as described in USB
When interface unit includes USB3.0 socket, described first pin can be two in described usb interface unit
TX pin, described TX pin is for sending pin.
Described first pin of described electrical connection and described 3rd pin, including setting up described first pin and the 3rd
Physical connection between pin and make described physical connection form the circuit that can turn on;Specifically such as described first
It is provided with gate-controlled switch between pin and described 3rd pin, is operated in described at described usb interface unit
During two mode of operations, described gate-controlled switch just connects and turns on described first pin and described 3rd pin,
When described usb interface unit is operated under other mode of operations, all remain open.
The present embodiment is on the basis of embodiment of the method one, and how concrete offer example one specifically makes described USB
Interface unit work technical scheme in the first operation mode, not only has described in embodiment of the method one
Can quickly determine and repair the fault of BIOS unit in the case of not tearing machine open, and simply utilize first
The usb interface unit that electronic equipment would generally carry, easy achieves described first establishment of connection.
Embodiment of the method four:
As it is shown in figure 1, the present embodiment provides a kind of information processing method, be applied to include BIOS unit,
In first electronic equipment of usb interface unit, usb data processing unit, BIOS unit and EC unit;
Described BIOS unit is connected with described EC unit;Described method includes:
Step S110: obtain the first information,
Step S120: determine the mode of operation of described usb interface unit according to the described first information, is formed
Determine result;
Step S131: determine that result shows that the mode of operation of described usb interface unit is the first work when described
During operation mode, by described usb interface unit, set up between described EC unit and the 3rd electronic equipment
First connects;Described first is connected to debug described BIOS unit for described second electronic equipment;
Step S132: determine that result shows that the mode of operation of described usb interface unit is the second work when described
During operation mode, by described usb interface unit, set up described EC unit and the second of the 4th electronic equipment
Connect;Described second is connected to repair described BIOS unit for described 3rd electronic equipment.
Same, the most described method may also include the step described in embodiment of the method two
S133。
Described usb interface unit also includes the second pin;
Described EC unit also includes the 4th pin;
Described step S132 comprises the steps that
Electrically connect described second pin and described 4th pin, so that usb interface unit and described 4th electronics
Equipment forms described second and connects after connecting;
What described second pin was same can be one or more pin, when described usb interface unit includes
During USB3.0 socket, described second pin can be two RX pins of UBB socket;Described RX draws
Foot is reception pin.
Electrically connecting the second pin and the 4th pin described in the present embodiment, same is connected by gate-controlled switch, when
When described usb interface unit works in the third mode of operation, described gate-controlled switch connects and turns on described
Two pins and the 4th pin;So can facilitate described EC unit by described usb interface unit second
Pin receives BIOS file from described 4th electronic equipment, and writes in described BIOS unit.
When concrete implementation, described four pins can corresponding identical reality with the 3rd pin in a upper embodiment
Body pin, but the most different pins, the described EC cellular zone that makes that so can be easy separates currently
The mode of operation of described usb interface unit, thus be to read data also from peripheral hardware to facilitate described EC unit
It is to export data to peripheral hardware.
Fig. 3 show a USB3.0 interface, and described USB3.0 interface can include two RX pins and two
Individual TX pin.Wherein, described USB3.0 interface may also include grounding pin.
Described TX pin can be described first pin, and RX pin can be described second pin.
Embodiment of the method five:
As it is shown in figure 1, the present embodiment is any described technology in embodiment of the method one to embodiment of the method four
Further improvement in scheme, the information processing method that the present embodiment provides, be applied to include BIOS unit,
In first electronic equipment of usb interface unit, usb data processing unit, BIOS unit and EC unit;
Described BIOS unit is connected with described EC unit;Described method includes:
Step S110: obtain the first information,
Step S120: determine the mode of operation of described usb interface unit according to the described first information, is formed
Determine result;
Step S131: determine that result shows that the mode of operation of described usb interface unit is the first work when described
During operation mode, by described usb interface unit, set up between described EC unit and the 3rd electronic equipment
First connects;Described first is connected to debug described BIOS unit for described second electronic equipment;
Step S132: determine that result shows that the mode of operation of described usb interface unit is the second work when described
During operation mode, by described usb interface unit, set up described EC unit and the second of the 4th electronic equipment
Connect;Described second is connected to repair described BIOS unit for described 3rd electronic equipment.
Described first electronic equipment also includes mode switch element;
Described usb data processing unit and described EC unit are all by described mode switch element, with described
Usb interface unit connects;
Described step S131 comprises the steps that
Described mode switch element turns on the connection of described usb data unit and described mode switch element, with
After making described second electronic equipment be connected with described usb interface unit, form described first and connect;
Described step S132 comprises the steps that
Described mode switch element turns on the connection of described EC unit and described mode switch element, so that institute
State after the 3rd electronic equipment is connected with described usb interface unit, form described second and connect.
When described method also includes step S133, the most described step S133 comprises the steps that
Described mode switch element turns on the connection of described usb data unit and described mode switch element, with
After making the 4th electronic equipment be connected with described usb interface unit, form described 3rd connection.
Described mode switch element concretely pattern switching chip or selector;Its mode switch element
One end and described EC unit the 3rd pin and the 4th pin and described usb data processing unit are connected, another
End is connected with described usb interface unit, determines result according to described, by described 3rd pin, the 4th pin
Or the connection of described usb data processing unit and described usb interface unit.
Another is provided to be different from embodiment of the method three to embodiment of the method six arbitrarily to described in the present embodiment
First connects and the second connection establishment method, it is also possible to including the 3rd establishment of connection method, same is permissible
The machine of not tearing open of the fault and reparation that realize described BIOS unit realizes, and described electronic equipment has structure letter
Single advantage.
Shown in Fig. 6 for a USB2.0 interface, described USB2.0 interface is used for forming the embodiment of the present application
Described in usb interface unit.Debugging pin in described USB2.0 interface and reparation pin can be with multiplexings
For same pin;Described USB2.0 interface can be by described mode switch element and EC unit and USB
Data processing unit connects.
Embodiment of the method six:
As it is shown in figure 1, the present embodiment is any described technology in embodiment of the method one to embodiment of the method five
Further improvement in scheme, the present embodiment provides information processing method, be applied to include BIOS unit,
In first electronic equipment of usb interface unit, usb data processing unit, BIOS unit and EC unit;
Described BIOS unit is connected with described EC unit;Described method includes:
Step S110: obtain the first information,
Step S120: determine the mode of operation of described usb interface unit according to the described first information, is formed
Determine result;
Step S131: determine that result shows that the mode of operation of described usb interface unit is the first work when described
During operation mode, by described usb interface unit, set up between described EC unit and the 3rd electronic equipment
First connects;Described first is connected to debug described BIOS unit for described second electronic equipment;
Step S132: determine that result shows that the mode of operation of described usb interface unit is the second work when described
During operation mode, by described usb interface unit, set up described EC unit and the second of the 4th electronic equipment
Connect;Described second is connected to repair described BIOS unit for described 3rd electronic equipment.
Same, the most described method may also include the step described in embodiment of the method two
S133。
Described step S110 comprises the steps that
The type of the electronic equipment that detection is connected on described usb interface unit;
The described mode of operation determining described usb interface unit according to the described first information, is formed and determines knot
Really, including:
According to the type of described electronic equipment, determine the mode of operation of described usb interface unit.
The type of the electronic equipment that described step S110 can be connected on described usb interface unit by detection,
The specifically peripheral hardware on usb interface unit as described in determine and be connected to, is the second electronic equipment, the 3rd electronics
Equipment or the 4th electronic equipment, may thereby determine that out for currently wanting described usb interface unit to work
Pattern.
It is illustrated in figure 5 the connection signal of the first electronic equipment described in the embodiment of the present application and USB peripheral
Figure;Described USB peripheral can include the second electronic equipment, the 3rd electronic equipment and the 4th electronic equipment.
In Figure 5, described usb data processing unit can be the structure such as CPU or South Bridge chip PCH.This
Outward, the central authorities' process in usb data processing unit described in the present embodiment can be specifically described electronic equipment
Device, application processor, digital signal processor, programmable array etc. have the processor of data processing function,
Connection between described usb data processing unit and described usb interface unit, may refer to prior art
In random processor and usb interface unit between connection, therefore the most no longer to described USB
Interface unit is operated under described 3rd mode of operation, how to be set up described by described usb interface unit
The 3rd connection between usb data processing unit and the second electronic equipment, is described in detail.
Can be connected by serial peripheral equipment interface SPI between described EC unit with described BIOS unit.Described
The I of EC unit2Set up to have between C pin with described usb interface unit and be connected, described I2C pin is for passing
Defeated I2The pin of C signal.Set up to have between described UART pin and described usb interface unit and be connected.
Wherein, described second electronic equipment can be test chart, can show the electronic equipment of BIOS DTC;
Described 3rd electronic equipment can be downloading card, for storing the electronic equipment of BIOS file, described 4th electronics
Equipment can be common USB device, concrete USB flash disk as shown in Figure 5.
Shown in Fig. 6, for the concrete example provided based on the present embodiment;Method described in this example is especially
Being applicable to the technical scheme described in embodiment of the method one to embodiment of the method four, described example includes:
Step S101: the first electronic equipment powers on, i.e. to described first power electronic equipment.
Step S102: judge the type of USB peripheral;Described USB peripheral is by described USB interface
Unit sets up, with described first electronic equipment, the electronic equipment being connected.When determining that described USB peripheral is for downloading
During plate, enter step S103;Step S105 is entered when described USB peripheral is test chart when determining;When
When determining described USB peripheral for conventional USB device, enter step S107.
Step S103:I2C pin is connected with usb interface unit, can transmit to described usb interface unit
I2C signal;Set up described first to connect.
Step S104:BIOS is repaired.
Step S105:UART pin is connected with usb interface unit.
Step S106:BIOS malfunction test, to determine the fault type of BIOS unit.
Step S107:USB data cell is connected with usb interface unit;
Step S108: carry out data interaction based on described usb interface unit.
Embodiment of the method seven:
As it is shown in figure 1, the present embodiment is any described technology in embodiment of the method one to embodiment of the method four
Further improvement in scheme, the present embodiment provides information processing method, be applied to include BIOS unit,
In first electronic equipment of usb interface unit, usb data processing unit, BIOS unit and EC unit;
Described BIOS unit is connected with described EC unit;Described method includes:
Step S110: obtain the first information,
Step S120: determine the mode of operation of described usb interface unit according to the described first information, is formed
Determine result;
Step S131: determine that result shows that the mode of operation of described usb interface unit is the first work when described
During operation mode, by described usb interface unit, set up between described EC unit and the 3rd electronic equipment
First connects;Described first is connected to debug described BIOS unit for described second electronic equipment;
Step S132: determine that result shows that the mode of operation of described usb interface unit is the second work when described
During operation mode, by described usb interface unit, set up described EC unit and the second of the 4th electronic equipment
Connect;Described second is connected to repair described BIOS unit for described 3rd electronic equipment.
Described first electronic equipment also includes mode switch element;
Described usb data processing unit and described EC unit are all by described mode switch element, with described
Usb interface unit connects;
Described step S131 comprises the steps that
Described mode switch element turns on the connection of described usb data unit and described mode switch element, with
After making described second electronic equipment be connected with described usb interface unit, form described first and connect;
Described step S132 comprises the steps that
Described mode switch element turns on the connection of described EC unit and described mode switch element, so that institute
State after the 3rd electronic equipment is connected with described usb interface unit, form described second and connect.
The present embodiment is the further improvement on the basis of a upper embodiment of the method, described mode switch element bag
Include control key and select module;
Described step S110 includes:
The user operation instruction received according to described control key, forms the described first information.
Its grace of the most described pattern is changed unit and is included that control key, described control module can make to be arranged on described first electricity
The entity control key on subset surface, it is also possible to be by being wirelessly connected to the 5th electronic equipment, display is the 5th
Virtual control key on electronic equipment.
Described user operation indicates, can be carried out by described entity control key or described virtual control key described in
The selection instruction that the mode of operation of usb interface unit selects;The described first information can include that described selection indicates.
Therefore according to user operation instruction, the present embodiment can determine that described usb interface unit is to be operated in
First mode of operation, or the second mode of operation, or still it is operated in the 3rd mode of operation.
When implementing, obtain the described first information control key may more than one, potentially include two or
Person three.As shown in Figure 8, in conjunction with above-mentioned any means embodiment one concrete example of offer: this example institute
The flow chart stated is particularly suited for the mode of operation using described mode switch element to carry out usb interface unit
In the information processing method controlled.Described example includes:
Step S201: the first electronic equipment powers on, is described first power electronic equipment, in order to for described
Usb interface unit, EC unit and BIOS unit in first electronic equipment provide electric energy.
Step S202: judge that repairing selection control key receives pressing?If it has, then enter step S203;
If it has not, then enter step S205.Described selection control key of repairing is one of control key obtaining the described first information.
Step S203:I2C pin is connected with usb interface unit;Described I2C pin is drawing of EC unit
Foot.
Step S204:BIOS is repaired, and concrete restorative procedure, EC unit reads from the 3rd electronic equipment
BIOS file is also written in described BIOS unit.
Step S205: judge that debugging selects control key to receive pressing?If it has, then enter step S206,
If it is otherwise, enter step S208.
Step S206:UART pin is connected with usb interface unit, and described UART pin is that EC is mono-
The pin of unit's transmission UART signal.
Step S207:BIOS malfunction test, this step may be used to determine the fault type of BIOS.
Step S208:USB data processing unit is connected with usb interface unit, sets up common USB and passes
Defeated passage, realizes the data interaction between the first electronic equipment and the 4th electronic equipment.
Step S209: carry out data interaction based on described USB interface.
Embodiment of the method eight:
As it is shown in figure 1, the present embodiment is any described technology in embodiment of the method one to embodiment of the method seven
Further improvement in scheme, the present embodiment provides information processing method, be applied to include BIOS unit,
In first electronic equipment of usb interface unit, usb data processing unit, BIOS unit and EC unit;
Described BIOS unit is connected with described EC unit;Described method includes:
Step S110: obtain the first information,
Step S120: determine the mode of operation of described usb interface unit according to the described first information, is formed
Determine result;
Step S131: determine that result shows that the mode of operation of described usb interface unit is the first work when described
During operation mode, by described usb interface unit, set up between described EC unit and the 3rd electronic equipment
First connects;Described first is connected to debug described BIOS unit for described second electronic equipment;
Step S132: determine that result shows that the mode of operation of described usb interface unit is the second work when described
During operation mode, by described usb interface unit, set up described EC unit and the second of the 4th electronic equipment
Connect;Described second is connected to repair described BIOS unit for described 3rd electronic equipment.
Described EC unit includes UART pin and I2C pin;
Described by described usb interface unit, set up the second company of described EC unit and the 4th electronic equipment
Connect, including:
Electrically connect described UART pin and described usb interface unit;
Described by described usb interface unit, set up the second company of described EC unit and the 4th electronic equipment
Connect, including:
Electrically connect described I2C pin and described usb interface unit.
Described UART pin is the pin that described EC unit sent or received UART signal.Described UART
Universal asynchronous receiving-transmitting transmitter (Universal Asynchronous Receiver/Transmitter), so-called
UART, is a kind of asynchronous receiving-transmitting transmitter, is a part for electronic equipment hardware, can be used for realizing serial
Communication and parallel communications catch cropping transmission conversion, become the chip of Serial output as parallel input.
The present embodiment is the further improvement on the basis of above-mentioned any means embodiment, the present embodiment combination side
Method embodiment three and embodiment of the method four, the most described UART pin is connected with described first pin, i.e. with institute
The TX pin stating USB3.0 is connected.Described I2C pin is connected with described second pin, i.e. with described USB3.0
RX pin be connected.
Apparatus embodiments one:
As it is shown in figure 9, the present embodiment provides a kind of electronic equipment, described electronic equipment is the first electronic equipment,
Described electronic equipment includes usb interface unit 110, BIOS unit 120 and EC unit 130;Described
BIOS unit 120 is connected with described EC unit 130;
The mode of operation of described usb interface unit 110 includes the first mode of operation and the second mode of operation;
Described electronic equipment also includes:
Acquiring unit 140, is used for obtaining the first information;
Determine unit 150, determine described usb interface unit 110 for being formed according to the described first information
The determination result of mode of operation;
In this first operative mode, described usb interface unit 110 for described EC unit 130 with
The first connection set up by second electronic equipment;Described first is connected to for described second electronic equipment described
BIOS unit 120 is debugged;
Under described second mode of operation, described usb interface unit 110 is for described EC unit and the 4th
The second connection set up by electronic equipment;Described second is connected to for described 3rd electronic equipment described BIOS
Unit 120 is repaired.
Described first electronic equipment can be the tools such as notebook computer, desktop computer, panel computer or server
Have usb interface unit and BIOS but with that electronic equipment.Described BIOS unit 120 can include BIOS
System, generally may be to there being BIOS motherboard circuit.
Described usb interface unit can include USB interface, the most such as includes the socket of USB interface, is used for
Insert for USB plug, so that setting up electrical connection between the first electronic equipment and the second electronic equipment, entering
The signal of telecommunication between row the first electronic equipment and the second electronic equipment mutual.
Described EC unit can include embedded controller, is arranged on described first electronic equipment interior for assisting
The fault helping described BIOS unit determines and repairs.
EC unit described in the present embodiment can be when usb interface unit works in different modes, with institute
State usb interface unit and set up different connections.
When the connection set up is the first connection, first connects with described EC unit for described BIOS
Unit is debugged, and to determine the fault type of described BIOS unit, the most now, is connected to described USB
The second electronic equipment on interface unit can be test chart.
When the connection set up is the second connection, second connects with described EC unit for described BIOS
Unit is repaired, and usual described EC unit passes through described usb interface unit, sets from described 3rd electronics
Standby middle reading BIOS file, and the described BIOS file read is written in BIOS unit reach to repair
The purpose of multiple described BIOS.The most described 3rd electronic equipment is that downloading card (Download Board) is
Storage has the electronic equipment of described BIOS file.
The concrete structure of described acquiring unit 110 is different, specifically according to the difference of the described first information of acquisition
Described acquiring unit 140 can include communication interface, for from peripheral hardware obtain the described first information, it is possible to
To be to include sensor, detect the described first information voluntarily for described first electronic equipment.
The described concrete structure determining unit 150 can include that processor etc. has the electronics unit of the information processing function
Device.
Two kinds of mode of operations that usb interface unit described in the present embodiment is corresponding, may be used for described BIOS
The determination of fault and reparation, it is possible to achieve situation about not being disassembled at described first electronic equipment completes described
The fault of BIOS determines and repairs, it is possible to increase the speed that BIOS repairs.
Apparatus embodiments two:
As it is shown in figure 9, the present embodiment provides a kind of electronic equipment, described electronic equipment is the first electronic equipment,
Described electronic equipment includes usb interface unit 110, BIOS unit 120 and EC unit 130;Described
BIOS unit 120 is connected with described EC unit 130;
The mode of operation of described usb interface unit 110 includes the first mode of operation and the second mode of operation;
Acquiring unit 140, is used for obtaining the first information;
Determine unit 150, determine described usb interface unit 110 for being formed according to the described first information
The determination result of mode of operation;
In this first operative mode, described usb interface unit 110 for described EC unit 130 with
The first connection set up by second electronic equipment;Described first is connected to for described second electronic equipment described
BIOS unit 120 is debugged;
Under described second mode of operation, described usb interface unit 110 is for described EC unit and the 4th
The second connection set up by electronic equipment;Described second is connected to for described 3rd electronic equipment described BIOS
Unit 120 is repaired.
Described first electronic equipment also includes usb data processing unit, the work of described usb interface unit
Pattern also includes the 3rd mode of operation;
Under described 3rd mode of operation, described usb interface unit 110 processes for described usb data
The 3rd connection set up by unit and the 4th electronic equipment;Described 3rd is connected to described usb data processing unit
With described 4th electronic equipment interaction data.
Described usb data processing unit specifically can include various types of process with data processing function
Device or process chip, described processor can include central processor CPU, Micro-processor MCV, numeral letter
Number processor DSP or programmable array PLC etc. have the electronic devices and components of the information processing function.
Generally when described usb interface unit works in the third mode of operation, described usb interface unit
Be equivalent to common USB interface, for carrying out data friendship between the first electronic equipment and the 4th electronic equipment
Mutually, described 4th electronic equipment can include USB flash disk, or is connected with described usb interface unit by USB line
The structure such as other electronic equipments.
Usb interface unit in first electronic equipment described in the present embodiment, can be not only used for described BIOS
The determination of cell failure and reparation, be also used as in common USB interface simultaneously, for based on described
USB interface carries out data transmission, from but achieve usb interface unit multiplexing several functions,
From having simplified the structure of described first electronic equipment, described first electronic equipment has feature richness and knot
The advantage that structure is exquisite.
Apparatus embodiments three:
The present embodiment is the further improvement on the basis of apparatus embodiments one or apparatus embodiments two, such as figure
Shown in 9, the present embodiment provides a kind of electronic equipment, and described electronic equipment is the first electronic equipment, described electricity
Subset includes usb interface unit 110, BIOS unit 120 and EC unit 130;Described BIOS is mono-
Unit 120 is connected with described EC unit 130;
The mode of operation of described usb interface unit 110 includes the first mode of operation and the second mode of operation;
Described electronic equipment also includes:
Acquiring unit 140, is used for obtaining the first information;
Determine unit 150, determine described usb interface unit 110 for being formed according to the described first information
The determination result of mode of operation;
In this first operative mode, described usb interface unit 110 for described EC unit 130 with
The first connection set up by second electronic equipment;Described first is connected to for described second electronic equipment described
BIOS unit 120 is debugged;
Under described second mode of operation, described usb interface unit 110 is for described EC unit and the 4th
The second connection set up by electronic equipment;Described second is connected to for described 3rd electronic equipment described BIOS
Unit 120 is repaired.
When implementing, described first electronic equipment is also possible that the USB number in the said equipment embodiment
According to processing unit.
Described usb interface unit 110 includes the first pin;
Described EC unit 130 includes the 3rd pin;
In this first operative mode, described first connection includes described first pin and described 3rd pin
Between electrical connection.
The number of pins that described first pin is corresponding can be one or more, concrete when described usb interface unit
During including USB3.0 interface, described first pin can be two TX pins in described USB3.0 interface.
Described TX pin, for sending pin, may be used for usb interface unit and outwards exports data, this enforcement
EC unit described in example can be defeated to described second electronic equipment by the described TX pin of usb interface unit
Go out the indicating fault code indicating described BIOS cell failure.Described second electronic equipment can be test chart
(Debug Card)。
As further improvement of this embodiment, described usb interface unit also includes the second pin;Described
EC unit also includes the 4th pin;Under described second mode of operation, described second connection includes described second
Electrical connection between pin and described 4th pin.
Same described second pin can also an instead of class pin, thus can corresponding one or more pins,
Concrete when described usb interface unit includes USB3.0 interface, described second pin can be described USB
Two RX pins of interface unit, described RX pin can read information from peripheral hardware;Therefore described EC unit
BIOS file can be read from the 3rd electronic equipment by the RX pin of described usb interface unit, and
The BIOS file of reading is write in described BIOS unit, in order to refresh described BIOS unit.
When described usb interface unit also includes three mode of operations, described usb interface unit is general
Logical usb interface unit, the connection between USB interface and usb data processing unit, may refer to existing
There is technology, be the most no longer further described in detail at this.
When implementing, the second pin of described EC unit and the 4th pin same may refer to a class
Pin, in the present embodiment, described second pin can be with EC unit users transmission UART letter described in multiplexing
Number UART pin;Described 4th pin can use the bus pin of described EC unit, concrete such as I2C
The structures such as pin.
Under described 3rd mode of operation, the first pin and the 3rd pin of described usb interface unit are used as
The original function of pin in USB interface, specifically if described RX pin is for receiving data transmission from external equipment
To described usb data processing unit, described TX pin is for the number sent by usb data processing unit
According to being transferred to external equipment, wherein, described outer it is set to described 4th electronic equipment;Described 4th electronic equipment can
For interfaces such as USB flash disks.
Present embodiments provide a kind of structure, enrich the function of described usb interface unit, described in one
Usb interface unit can realize determining the fault of BIOS unit and repairing by the multiplexing of its internal pin,
Be also used as common USB interface to carry out information mutual simultaneously.
Apparatus embodiments four:
As it is shown in figure 9, the present embodiment provides a kind of electronic equipment, described electronic equipment is the first electronic equipment,
Described electronic equipment includes usb interface unit 110, BIOS unit 120 and EC unit 130;Described
BIOS unit 120 is connected with described EC unit 130;
The mode of operation of described usb interface unit 110 includes the first mode of operation and the second mode of operation;
Described electronic equipment also includes:
Acquiring unit 140, is used for obtaining the first information;
Determine unit 150, determine described usb interface unit 110 for being formed according to the described first information
The determination result of mode of operation;
In this first operative mode, described usb interface unit 110 for described EC unit 130 with
The first connection set up by second electronic equipment;Described first is connected to for described second electronic equipment described
BIOS unit 120 is debugged;
Under described second mode of operation, described usb interface unit 110 is for described EC unit and the 4th
The second connection set up by electronic equipment;Described second is connected to for described 3rd electronic equipment described BIOS
Unit 120 is repaired.
Described first electronic equipment also includes mode switch element;
In this first operative mode, described mode switch element is used for turning on described EC unit with described
The connection of mode switch element, so that after described second electronic equipment is connected with described usb interface unit, shape
Described first is become to connect;
Under described second mode of operation, described mode switch element is used for turning on described EC unit with described
The connection of mode switch element, so that after described second electronic equipment is connected with described usb interface unit, shape
Described second is become to connect.
As further improvement of this embodiment, it is single that described first electronic equipment also includes that usb data processes
Unit;The mode of operation of described usb interface unit also includes the 3rd mode of operation, under described mode of operation,
Described usb data processing unit passes sequentially through described mode switch element and described usb interface unit and
Four electronic equipments are set up and are connected;
When described three mode of operation, described mode switch element, it is additionally operable to turn on described usb data list
First connection with described mode switch element, so that the 4th electronic equipment is connected with described usb interface unit
After, form described 3rd connection.
Described mode switch element is the centre being located between described EC unit and described usb interface unit
Attachment structure, physical interface can include selector or have the structure such as selection chip selecting access path.
Described mode switch element one end and described EC unit and described usb data processing unit, the other end
Being connected with described usb interface unit, the described mode switch element phase chief of the Xiongnu in Acient China bridges described usb interface unit
Electronic devices and components or the set of electronic devices and components with first other structures of electronic equipment internal.
The present embodiment is divided by the multiplexing of part pin in usb interface unit relatively in apparatus embodiments three
Do not realize the switching of three kinds of mode of operations of usb interface unit, and in the present embodiment by introducing described pattern
The introducing of switch unit, thus control described usb interface unit and process single with EC unit or usb data
The connection of unit, again provides a kind of electronic equipment that can realize three kinds of mode of operations of usb interface unit.
Apparatus embodiments five:
As it is shown in figure 9, the present embodiment provides a kind of electronic equipment, described electronic equipment is the first electronic equipment,
Described electronic equipment includes usb interface unit 110, BIOS unit 120 and EC unit 130;Described
BIOS unit 120 is connected with described EC unit 130;
The mode of operation of described usb interface unit 110 includes the first mode of operation and the second mode of operation;
Described electronic equipment also includes:
Acquiring unit 140, is used for obtaining the first information;
Determine unit 150, determine described usb interface unit 110 for being formed according to the described first information
The determination result of mode of operation;
In this first operative mode, described usb interface unit 110 for described EC unit 130 with
The first connection set up by second electronic equipment;Described first is connected to for described second electronic equipment described
BIOS unit 120 is debugged;
Under described second mode of operation, described usb interface unit 110 is for described EC unit and the 4th
The second connection set up by electronic equipment;Described second is connected to for described 3rd electronic equipment described BIOS
Unit 120 is repaired.
The present embodiment is the further improvement in any of the above-described apparatus embodiments,
Described acquiring unit 140, the electronic equipment being connected on described usb interface unit specifically for detection
Type;
Described determine unit 150, specifically for according to being connected to the electronic equipment on described usb interface unit
Type, formed and described determine result.
Specifically as described in the first electronic equipment, described EC module is drawn by the 3rd pin and the 4th respectively
Foot is connected with the first pin and second pin of described usb interface unit, forms the first connection and second even
Connect.Now, how to determine being connected to of described usb interface unit, can be connected to by detection described
The type of the electronic equipment on usb interface unit determines.If the type of the current electronic equipment connected is debugging
During the electronic equipments such as card, it is clear that described usb interface unit is to need work in the first operation mode, need
Set up and turn on the first connection.If the type of the current electronic equipment connected is downloading card, it is clear that described USB
Interface unit needs work in the second operation mode, needs set up and turn on the second connection.If currently connecting
Electronic equipment be common USB device, as during for USB flash disk, it is clear that described usb interface unit is operated in
Under 3rd mode of operation, need to set up the 3rd connection by described usb interface unit.
The concrete structure of the acquiring unit described in the present embodiment can include sensor, is connected to described for detection
The type of the electronic equipment on usb interface unit, specifically receive connect be presently attached to as described in USB interface list
The signal that electronic equipment in unit sends, and by the analysis of signal determine described in be presently attached to described USB
The type of the electronic equipment on interface unit.
Present embodiments provide the concrete structure of the acquiring unit of a kind of first electronic equipment and obtain the first information
Mode, have and realize easy advantage.
Apparatus embodiments six:
As it is shown in figure 9, the present embodiment provides a kind of electronic equipment, described electronic equipment is the first electronic equipment,
Described electronic equipment includes usb interface unit 110, BIOS unit 120 and EC unit 130;Described
BIOS unit 120 is connected with described EC unit 130;
The mode of operation of described usb interface unit 110 includes the first mode of operation and the second mode of operation;
Described electronic equipment also includes:
Acquiring unit 140, is used for obtaining the first information;
Determine unit 150, determine described usb interface unit 110 for being formed according to the described first information
The determination result of mode of operation;
In this first operative mode, described usb interface unit 110 for described EC unit 130 with
The first connection set up by second electronic equipment;Described first is connected to for described second electronic equipment described
BIOS unit 120 is debugged;
Under described second mode of operation, described usb interface unit 110 is for described EC unit and the 4th
The second connection set up by electronic equipment;Described second is connected to for described 3rd electronic equipment described BIOS
Unit 120 is repaired.
When implementing, described first electronic equipment is also possible that usb data processing unit, described
The mode of operation of usb interface unit has been also possible that the 3rd mode of operation, specifically can be found in apparatus embodiments
Two.
In the present embodiment, described acquiring unit includes control key, specifically for the user behaviour received according to control key
Indicate, form the described first information.Usual described control key can be arranged on described first electronic equipment appearance
Entity control key, for receiving pressing or the touch operation etc. of user, to determine in described first electronic equipment
The mode of operation of described usb interface unit.
The present embodiment provides the knot of a kind of easy first electronic equipment on the basis of above-mentioned any embodiment
Structure, can not only be by the switching before usb interface unit different working modes, it is achieved set the first electronics
The fault of standby interior BIOS unit determines and repairs, moreover it is possible to realize quickly acquisition the with relatively low hardware cost
The advantage of one information.
Apparatus embodiments seven:
As it is shown in figure 9, the present embodiment provides a kind of electronic equipment, described electronic equipment is the first electronic equipment,
Described electronic equipment includes usb interface unit 110, BIOS unit 120 and EC unit 130;Described
BIOS unit 120 is connected with described EC unit 130;
The mode of operation of described usb interface unit 110 includes the first mode of operation and the second mode of operation;
Described electronic equipment also includes:
Acquiring unit 140, is used for obtaining the first information;
Determine unit 150, determine described usb interface unit 110 for being formed according to the described first information
The determination result of mode of operation;
In this first operative mode, described usb interface unit 110 for described EC unit 130 with
The first connection set up by second electronic equipment;Described first is connected to for described second electronic equipment described
BIOS unit 120 is debugged;
Under described second mode of operation, described usb interface unit 110 is for described EC unit and the 4th
The second connection set up by electronic equipment;Described second is connected to for described 3rd electronic equipment described BIOS
Unit 120 is repaired.
When implementing, described first electronic equipment is also possible that usb data processing unit, described
The mode of operation of usb interface unit has been also possible that the 3rd mode of operation, specifically can be found in apparatus embodiments
Two.
Described EC unit 130 includes UART pin and I2C pin;
In this first operative mode, described first connection includes described UART pin and described USB
Connection between interface unit;
Under described second mode of operation, described second connection includes described I2C pin and described USB interface
Electrical connection between unit.
In the present embodiment, UART pin and the I of EC unit described in multiplexing are specifically determined2C pin, directly
Connecing or indirectly set up with usb interface unit and electrically connect, easy achieves EC unit and USB interface list
Connection between unit.
In several embodiments provided herein, it should be understood that disclosed equipment and method,
Can realize by another way.Apparatus embodiments described above is only schematically, such as,
The division of described unit, is only a kind of logic function and divides, and actual can have other division when realizing
Mode, such as: multiple unit or assembly can be in conjunction with, or are desirably integrated into another system, or some are special
Levy and can ignore, or do not perform.It addition, the coupling each other of shown or discussed each ingredient,
Or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, equipment or unit or logical
Letter connect, can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, makees
The parts shown for unit can be or may not be physical location, i.e. may be located at a place,
Can also be distributed on multiple NE;Can select according to the actual needs therein partly or entirely
Unit realizes the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing module
In, it is also possible to it is that each unit is individually as a unit, it is also possible to two or more unit collection
Become in a unit;Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ
Hardware adds the form of SFU software functional unit and realizes.
One of ordinary skill in the art will appreciate that: realize all or part of step of said method embodiment
Can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer-readable
Taking in storage medium, this program upon execution, performs to include the step of said method embodiment;And it is aforementioned
Storage medium include: movable storage device, read only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various
The medium of program code can be stored.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to
In this, any those familiar with the art, can be easily in the technical scope that the invention discloses
Expect change or replace, all should contain within protection scope of the present invention.Therefore, the protection of the present invention
Scope should be as the criterion with described scope of the claims.
Claims (18)
1. an information processing method, is applied to include that BIOS unit, usb interface unit, BIOS are mono-
In first electronic equipment of unit and EC unit;Described BIOS unit is connected with described EC unit;Described
The mode of operation of usb interface unit includes the first mode of operation and the second mode of operation;Described method includes:
Obtain the first information,
Determine the mode of operation of described usb interface unit according to the described first information, formed and determine result;
When described determine that result shows that the mode of operation of described usb interface unit is the first mode of operation time, logical
Cross described usb interface unit, set up the first connection between described EC unit and the second electronic equipment;Institute
State first to be connected to for described 3rd electronic equipment, described BIOS unit be debugged;
When described determine that result shows that the mode of operation of described usb interface unit is the second mode of operation time, logical
Cross described usb interface unit, set up the second connection of described EC unit and the 3rd electronic equipment;Described
Two are connected to repair described BIOS unit for described 4th electronic equipment.
Method the most according to claim 1, it is characterised in that
Described first electronic equipment also includes usb data processing unit;The work of described usb interface unit
Pattern also includes the 3rd mode of operation;
Described method also includes:
When described determine that result shows that the mode of operation of described usb interface unit is three mode of operation time, logical
Cross described usb interface unit, set up the 3rd company of described usb data processing unit and the 4th electronic equipment
Connect;Described 3rd is connected to described usb data processing unit and described 4th electronic equipment interaction data.
Method the most according to claim 1 and 2, it is characterised in that
Described usb interface unit includes the first pin;
Described EC unit includes the 3rd pin;
Described the first connection set up between described EC unit and the 3rd electronic equipment, including:
Electrically connect described first pin and described 3rd pin, so that described USB interface and described 3rd electronics
Equipment forms described first and connects after connecting.
Method the most according to claim 1 and 2, it is characterised in that
Described usb interface unit also includes the second pin;
Described EC unit also includes the 4th pin;
Described the second connection set up between described EC unit and the 4th electronic equipment, including:
Electrically connect described second pin and described 4th pin, so that usb interface unit and described 4th electronics
Equipment forms described second and connects after connecting.
Method the most according to claim 1 and 2, it is characterised in that
Described first electronic equipment also includes mode switch element;
Described usb data processing unit and described EC unit are all by described mode switch element, with described
Usb interface unit connects;
Described the first connection setting up described EC unit and the second electronic equipment, including:
Described mode switch element turns on the connection of described EC unit and described mode switch element, so that institute
State after the 3rd electronic equipment is connected with described usb interface unit, form described first and connect;
Described the second connection setting up described EC unit and the 3rd electronic equipment, including:
Described mode switch element turns on the connection of described EC unit and described mode switch element, so that institute
State after the second electronic equipment is connected with described usb interface unit, form described second and connect.
Method the most according to claim 5, it is characterised in that
Described first electronic equipment also includes usb data processing unit;The work of described usb interface unit
Pattern also includes the 3rd mode of operation, and under described mode of operation, described usb data processing unit leads to successively
Cross described mode switch element and described usb interface unit and the 4th electronic equipment is set up and connected;
Described method also includes:
When described usb interface unit is operated in three mode of operations, the conducting of described mode switch element is described
Usb data unit and the connection of described mode switch element, so that the 4th electronic equipment connects with described USB
After mouth unit connects, form described 3rd connection.
Method the most according to claim 1 and 2, it is characterised in that
The described acquisition first information, including:
The type of the electronic equipment that detection is connected on described usb interface unit;
The described mode of operation determining described usb interface unit according to the described first information, is formed and determines knot
Really, including:
According to the type of described electronic equipment, determine the mode of operation of described usb interface unit.
Method the most according to claim 1 and 2, it is characterised in that
Described first electronic equipment also includes control key;
The described acquisition first information includes:
The user operation instruction received according to described control key, forms the described first information.
Method the most according to claim 1 and 2, it is characterised in that
Described EC unit includes UART pin and I2C pin;
Described by described usb interface unit, set up the second company of described EC unit and the 4th electronic equipment
Connect, including:
Electrically connect described UART pin and described usb interface unit;
Described by described usb interface unit, set up the second company of described EC unit and the 4th electronic equipment
Connect, including:
Electrically connect described I2C pin and described usb interface unit.
10. an electronic equipment, described electronic equipment is the first electronic equipment, and described electronic equipment includes USB
Interface unit, BIOS unit and EC unit;Described BIOS unit is connected with described EC unit;
The mode of operation of described usb interface unit includes the first mode of operation and the second mode of operation;
Described electronic equipment also includes:
Acquiring unit, is used for obtaining the first information;
Determine unit, for forming the mode of operation determining described usb interface unit according to the described first information
Determination result;
In this first operative mode, described usb interface unit is for when determining that result shows described USB
When interface unit is operated in described first mode of operation, described EC unit and the second electronic equipment set up first
Connect;Described first is connected to debug described BIOS unit for described second electronic equipment;
Under described second mode of operation, described usb interface unit is used for described EC unit and the 4th electronics
Equipment sets up the second connection;Described second is connected to for described 3rd electronic equipment described BIOS unit
Repair.
11. electronic equipments according to claim 10, it is characterised in that described first electronic equipment is also
Including usb data processing unit, the mode of operation of described usb interface unit also includes the 3rd mode of operation;
Under described 3rd mode of operation, described usb interface unit is used for described usb data processing unit
Set up the 3rd with the 4th electronic equipment to be connected;Described 3rd is connected to described usb data processing unit and institute
State the 4th electronic equipment interaction data.
12. according to the electronic equipment described in claim 10 or 11, it is characterised in that
Described usb interface unit includes the first pin;
Described EC unit includes the 3rd pin;
In this first operative mode, described first connection includes described first pin and described 3rd pin
Between electrical connection.
13. according to the electronic equipment described in claim 10 or 11, it is characterised in that
Described usb interface unit also includes the second pin;
Described EC unit also includes the 4th pin;
Under described second mode of operation, described second connection includes described second pin and described 4th pin
Between electrical connection.
14. according to the electronic equipment described in claim 10 or 11, it is characterised in that
Described first electronic equipment also includes mode switch element;
In this first operative mode, described mode switch element is used for turning on described EC unit with described
The connection of mode switch element, so that after described second electronic equipment is connected with described usb interface unit, shape
Described first is become to connect;
Under described second mode of operation, described mode switch element is used for turning on described EC unit with described
The connection of mode switch element, so that after described second electronic equipment is connected with described usb interface unit, shape
Described second is become to connect.
15. electronic equipments according to claim 14, it is characterised in that
Described first electronic equipment also includes usb data processing unit;The work of described usb interface unit
Pattern also includes the 3rd mode of operation, and under described mode of operation, described usb data processing unit leads to successively
Cross described mode switch element and described usb interface unit and the 4th electronic equipment is set up and connected;
When described three mode of operation, described mode switch element, it is used for turning on described usb data unit
With the connection of described mode switch element so that after the 4th electronic equipment is connected with described usb interface unit,
Form described 3rd connection.
16. according to the electronic equipment described in claim 10 or 11, it is characterised in that
Described acquiring unit, specifically for the class of the electronic equipment that detection is connected on described usb interface unit
Type;
Described determine unit, specifically for the class according to the electronic equipment being connected on described usb interface unit
Type, is formed and described determines result.
17. according to the electronic equipment described in claim 10 or 11, it is characterised in that
Described acquiring unit includes control key, specifically for the user operation instruction received according to control key, forms institute
State the first information.
18. according to the electronic equipment described in claim 10 or 11, it is characterised in that
Described EC unit includes UART pin and I2C pin;
In this first operative mode, described first connection includes described UART pin and described USB
Electrical connection between interface unit;
Under described second mode of operation, described second connection includes described I2C pin and described USB interface
Electrical connection between unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410740931.5A CN105718338B (en) | 2014-12-05 | 2014-12-05 | Information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410740931.5A CN105718338B (en) | 2014-12-05 | 2014-12-05 | Information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105718338A true CN105718338A (en) | 2016-06-29 |
CN105718338B CN105718338B (en) | 2019-08-27 |
Family
ID=56144562
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410740931.5A Active CN105718338B (en) | 2014-12-05 | 2014-12-05 | Information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105718338B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608847A (en) * | 2017-09-07 | 2018-01-19 | 联想(北京)有限公司 | Electronic equipment and its control method and control device |
CN109299022A (en) * | 2018-08-23 | 2019-02-01 | 联想(北京)有限公司 | A kind of control method and device of USB interface, storage medium |
CN109741770A (en) * | 2018-12-29 | 2019-05-10 | 联想(北京)有限公司 | A kind of storage device, processor and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6442623B1 (en) * | 1997-12-20 | 2002-08-27 | Samsung Electronics Co., Ltd. | Method and arrangement for restoring a damaged ROM BIOS using a previously compressed ROM BIOS image |
CN201015041Y (en) * | 2006-12-29 | 2008-01-30 | 鸿富锦精密工业(深圳)有限公司 | BIOS chip extended device |
CN201490478U (en) * | 2009-08-11 | 2010-05-26 | 康佳集团股份有限公司 | USB port multiplex device |
CN102385545A (en) * | 2010-08-30 | 2012-03-21 | 鸿富锦精密工业(深圳)有限公司 | BIOS (Basic Input Output System) debugger and debugging method |
US20140229642A1 (en) * | 2011-10-06 | 2014-08-14 | Sharp Kabushiki Kaisha | Electronic device and electronic device system |
-
2014
- 2014-12-05 CN CN201410740931.5A patent/CN105718338B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6442623B1 (en) * | 1997-12-20 | 2002-08-27 | Samsung Electronics Co., Ltd. | Method and arrangement for restoring a damaged ROM BIOS using a previously compressed ROM BIOS image |
CN201015041Y (en) * | 2006-12-29 | 2008-01-30 | 鸿富锦精密工业(深圳)有限公司 | BIOS chip extended device |
CN201490478U (en) * | 2009-08-11 | 2010-05-26 | 康佳集团股份有限公司 | USB port multiplex device |
CN102385545A (en) * | 2010-08-30 | 2012-03-21 | 鸿富锦精密工业(深圳)有限公司 | BIOS (Basic Input Output System) debugger and debugging method |
US20140229642A1 (en) * | 2011-10-06 | 2014-08-14 | Sharp Kabushiki Kaisha | Electronic device and electronic device system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608847A (en) * | 2017-09-07 | 2018-01-19 | 联想(北京)有限公司 | Electronic equipment and its control method and control device |
CN107608847B (en) * | 2017-09-07 | 2020-11-20 | 联想(北京)有限公司 | Electronic device, control method and control device thereof |
CN109299022A (en) * | 2018-08-23 | 2019-02-01 | 联想(北京)有限公司 | A kind of control method and device of USB interface, storage medium |
CN109741770A (en) * | 2018-12-29 | 2019-05-10 | 联想(北京)有限公司 | A kind of storage device, processor and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105718338B (en) | 2019-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105510763A (en) | Integrated circuit pin testing device | |
CN101937414A (en) | Method and device of sharing minitype USB interface for UART (Universal Asynchronous Receive/Transmitter) and USB (Universal Serial Bus) | |
US20130173833A1 (en) | Switch apparatus switching between basic input output system chip and diagnostic card | |
CN101625670A (en) | Serial bus device, serial bus transmission system and method | |
CN101778007B (en) | System and method for automatically testing I/O pin of CAN bus control module | |
CN102866948B (en) | Testing platform and testing method for embedded basic software | |
CN105718338A (en) | Information processing method and electronic device | |
CN109032062A (en) | A kind of PCIE switching chip | |
CN106950875B (en) | Embedded programmer and tooling system thereof | |
CN115454903A (en) | Automatic interface plugging and unplugging control device and method | |
CN205540248U (en) | Detection apparatus for vehicle control unit | |
CN102854417A (en) | Master test board and testing method thereof | |
CN210666782U (en) | System and device for verifying electric energy meter management chip | |
CN106326043A (en) | USB based diagnosis device and method | |
CN113254285B (en) | Combined type testing device, equipment interface testing method and system | |
CN103747239B (en) | A kind of method and intelligent television entering debugging mode | |
CN107704272A (en) | A kind of mainboard and its BIOS configuration determination method, system, device and storage medium | |
CN109994147B (en) | Testing device and method for solid state disk | |
CN204069101U (en) | A kind of communication interface switching device shifter | |
CN103838996B (en) | Computer system and its operating method | |
CN204143541U (en) | ATM service keyboard | |
CN114167840A (en) | Wireless charging chip test system combined with peripheral MCU | |
CN201903876U (en) | Circuit board supporting automatic external test equipment | |
CN209282342U (en) | A kind of battery system and mobile terminal detecting state in place | |
CN206524184U (en) | A kind of test equipment of integrated circuit memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |