CN105718338B - Information processing method and electronic equipment - Google Patents
Information processing method and electronic equipment Download PDFInfo
- Publication number
- CN105718338B CN105718338B CN201410740931.5A CN201410740931A CN105718338B CN 105718338 B CN105718338 B CN 105718338B CN 201410740931 A CN201410740931 A CN 201410740931A CN 105718338 B CN105718338 B CN 105718338B
- Authority
- CN
- China
- Prior art keywords
- unit
- electronic equipment
- usb interface
- interface unit
- connection
- 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.)
- Active
Links
Abstract
The invention discloses a kind of information processing method and electronic equipment, the method is applied in the first electronic equipment including BIOS unit, usb interface unit, BIOS unit and EC unit;The BIOS unit is connect with the EC unit;The operating mode of the usb interface unit includes the first operating mode and the second operating mode;The described method includes: obtaining the first information, the operating mode of usb interface unit is determined according to the first information, forms definitive result;When definitive result shows that the operating mode of usb interface unit is the first operating mode, by usb interface unit, the first connection between EC unit and the second electronic equipment is established;First connection is for debugging BIOS unit for the second electronic equipment;When definitive result shows that the operating mode of usb interface unit is the second operating mode, by usb interface unit, establish EC unit with third electronic equipment second is connect;Second connection is for repairing BIOS unit for third electronic equipment.
Description
Technical field
The present invention relates to field of electronic device more particularly to a kind of information processing methods and electronic equipment.
Background technique
There are two types of existing basic input/output (Basic Input Output System, BOIS) restorative procedures:
The first: is to 80 ends of the debugging port (Debug port) of BIOS insertion test chart (Debug card) display debugging
Message breath, this method BIOS structure is simple, but carries out tearing machine processing open in debugging, specifically such as tears computer open machine, reveals
The debugging port out;Obvious BIOS repairs cumbersome.
Second: repairing framework using BIOS is to read BIOS by external USB interface under electronic equipment switch on condition
Then program re-writes BIOS program, this design side by embedded controller (Embedded Controller, EC)
Method design is simple, but in the case where BIOS program collapse, can not carry out BIOS reparation, need to dismantle BIOS Rom, with special
Refresh BIOS with jig, it is equally still cumbersome to repair operation.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of information processing method and electronic equipment, to simplify BIOS's
Failure is determining and repairs operation.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
First aspect of the embodiment of the present invention provides a kind of information processing method, is applied to include BIOS unit, USB interface list
In first electronic equipment of member, BIOS unit and EC unit;The BIOS unit is connect with the EC unit;The USB interface
The operating mode of unit includes the first operating mode and the second operating mode;The described method includes: the first information is obtained, according to institute
The operating mode that the first information determines the usb interface unit is stated, definitive result is formed;Described in showing when the definitive result
When the operating mode of usb interface unit is the first operating mode, by the usb interface unit, the EC unit and the are established
The first connection between two electronic equipments;First connection is for carrying out the BIOS unit for second electronic equipment
Debugging;When the definitive result shows that the operating mode of the usb interface unit is the second operating mode, pass through the USB
Interface unit, establish the EC unit with third electronic equipment second connect;Second connection is for for the third electricity
Sub- equipment repairs the BIOS unit.
Preferably, first electronic equipment further includes usb data processing unit;The Working mould of the usb interface unit
Formula further includes having third operating mode;The method also includes: when the definitive result shows the work of the usb interface unit
When mode is third operating mode, by the usb interface unit, establishes the usb data processing unit and set with the 4th electronics
Standby third connection;The third connection is for the usb data processing unit and the 4th electronic equipment interaction data.
Preferably, the usb interface unit includes the first pin;The EC unit includes third pin;It is described to establish institute
State the first connection between EC unit and the second electronic equipment, comprising: it is electrically connected first pin and the third pin, with
First connection is formed after connecting the USB interface with second electronic equipment.
Preferably, the usb interface unit further includes second pin;The EC unit further includes the 4th pin;It is described to build
Stand the second connection between the EC unit and third electronic equipment, comprising: be electrically connected the second pin and the described 4th and draw
Foot, so that usb interface unit forms second connection after connecting with the third electronic equipment;
Preferably, first electronic equipment further includes mode switch element;The usb data processing unit and the EC
Unit by the mode switch element, is connect with the usb interface unit;It is described to establish the EC unit and the second electronics
First connection of equipment, comprising: the connection of the EC unit and the mode switch element is connected in the mode switch element, with
After connecting second electronic equipment with the usb interface unit, first connection is formed;It is described to establish the EC unit
It is connect with the second of third electronic equipment, comprising: the EC unit and the pattern switching list is connected in the mode switch element
The connection of member, so as to form second connection after the third electronic equipment is connect with the usb interface unit.
Preferably, first electronic equipment further includes usb data processing unit;The Working mould of the usb interface unit
Formula further includes third operating mode, and under the operating mode, the usb data processing unit passes sequentially through the pattern switching
Unit and the usb interface unit and the 4th electronic equipment establish connection;
The method also includes:
When usb interface unit work is in third operating mode, the usb data is connected in the mode switch element
The connection of unit and the mode switch element, so that after the 4th electronic equipment is connect with the usb interface unit, described in formation
Third connection.
Preferably,
The acquisition first information, comprising: the type for the electronic equipment that detection is connected on the usb interface unit;Institute
The operating mode for determining the usb interface unit according to the first information is stated, forms definitive result, comprising: according to the electricity
The type of sub- equipment determines the operating mode of the usb interface unit.
Preferably,
First electronic equipment further includes control key;The acquisition first information includes: according to the received use of the control key
Family operation instruction forms the first information.
Preferably, the EC unit includes UART pin and I2C pin;It is described by the usb interface unit, establish institute
EC unit is stated with third electronic equipment second connect, comprising: is electrically connected the UART pin and the usb interface unit;Institute
It states through the usb interface unit, establish the EC unit with third electronic equipment second connect, comprising: described in electrical connection
I2C pin and the usb interface unit.
Second aspect of the embodiment of the present invention provides a kind of electronic equipment, and the electronic equipment is the first electronic equipment, described
Electronic equipment includes usb interface unit, BIOS unit and EC unit;The BIOS unit is connect with the EC unit;The USB
The operating mode of interface unit includes the first operating mode and the second operating mode;The electronic equipment further include: acquiring unit,
For obtaining the first information;Determination unit, for forming the Working mould for determining the usb interface unit according to the first information
The definitive result of formula;In this first operative mode, the usb interface unit is used to show that the USB connects when definitive result
For mouth cell operation in first operating mode, the EC unit and the second electronic equipment establish the first connection;Described first
Connection is for debugging the BIOS unit for second electronic equipment;In the second mode of operation, the USB
Interface unit establishes the second connection for the EC unit and third electronic equipment;Second connection is for for the third electricity
Sub- equipment repairs the BIOS unit.
Preferably, first electronic equipment further includes usb data processing unit, the Working mould of the usb interface unit
Formula further includes third operating mode;Under the third operating mode, the usb interface unit is for usb data processing
Unit is established third with the 4th electronic equipment and is connect;The third connection is used for the usb data processing unit and the described 4th
Electronic equipment interaction data.
Preferably, the usb interface unit includes the first pin;The EC unit includes third pin;Described first
Under operating mode, first connection includes the electrical connection between first pin and the third pin.
Preferably, the usb interface unit further includes second pin;The EC unit further includes the 4th pin;Described
Under second operating mode, second connection includes the electrical connection between the second pin and the 4th pin.
Preferably, first electronic equipment further includes mode switch element;In this first operative mode, the mould
Formula switch unit is used to be connected the connection of the EC unit and the mode switch element, so that second electronic equipment and institute
After stating usb interface unit connection, first connection is formed;In the second mode of operation, the mode switch element is used
In the connection that the EC unit and the mode switch element is connected, so that the third electronic equipment and the USB interface list
After member connection, second connection is formed.
Preferably,
First electronic equipment further includes usb data processing unit;The operating mode of the usb interface unit further includes
Third operating mode, under the operating mode, the usb data processing unit passes sequentially through the mode switch element and institute
It states usb interface unit and the 4th electronic equipment establishes connection;
In the third operating mode, the mode switch element, for the usb data unit and the mould to be connected
The connection of formula switch unit, so as to form the third connection after the 4th electronic equipment is connect with the usb interface unit.
Preferably,
The acquiring unit, specifically for detecting the type for the electronic equipment being connected on the usb interface unit;It is described
Determination unit forms the determining knot specifically for the type according to the electronic equipment being connected on the usb interface unit
Fruit.
Preferably, the acquiring unit includes control key, is specifically used for forming institute according to the received user's operation instruction of control key
State the first information.
Preferably, the EC unit includes UART pin and I2C pin;In this first operative mode, described first
Connection includes being electrically connected between the UART pin and the usb interface unit;In the second mode of operation, described
Two connections include the I2Being electrically connected between C pin and the usb interface unit.
Information processing method described in the embodiment of the present invention and electronic equipment are multiplexed the usb interface unit, make described
Usb interface unit is at least corresponding, and there are two types of operating modes, and the usb interface unit is used for and the under a kind of operating mode wherein
Two electronic equipments connection, for determining the failure of the BIOS unit;In another operation mode, the usb interface unit
For connecting with third electronic equipment, BIOS file is provided for BIOS unit, it, thus can be not to refresh the BIOS unit
It carries out first electronic equipment to carry out in the case where tearing machine open, the failure of the first electronic equipment internal BIOS unit can be completed
It determines and repairs, it is clear that relative to the BIOS restorative procedure that must carry out tearing open machine, the operation is more convenient and more efficient.
Detailed description of the invention
Fig. 1 is one of the flow diagram of information processing method described in the embodiment of the present invention;
Fig. 2 is the two of the flow diagram of information processing method described in the embodiment of the present invention;
Fig. 3 is one of the structural schematic diagram of usb interface unit described in the embodiment of the present invention;
Fig. 4 is the second structural representation of usb interface unit described in the embodiment of the present invention;
Fig. 5 is one of the connection schematic diagram of the first electronic equipment and other electronic equipments described in the embodiment of the present invention;
Fig. 6 is the three of the flow diagram of information processing method described in the embodiment of the present invention;
Fig. 7 is the two of the first electronic equipment described in the embodiment of the present invention and the connection schematic diagram of other electronic equipments;
Fig. 8 is the four of the flow diagram of information processing method described in the embodiment of the present invention;
Fig. 9 is the structural schematic diagram of the first electronic equipment of one kind described in the embodiment of the present invention.
Specific embodiment
Technical solution of the present invention is further described in detail with reference to the accompanying drawings and specific embodiments of the specification.
Embodiment of the method one:
As shown in Figure 1, being applied to include BIOS unit, USB interface list the present embodiment provides a kind of information processing method
In first electronic equipment of member, usb data processing unit, BIOS unit and EC unit;The BIOS unit and the EC unit
Connection;The operating mode of the usb interface unit includes the first operating mode and the second operating mode;The described method includes:
Step S110: obtaining the first information,
Step S120: determining the operating mode of the usb interface unit according to the first information, forms definitive result;
Step S131: when the definitive result shows that the operating mode of the usb interface unit is the first operating mode,
By the usb interface unit, the first connection between the EC unit and the second electronic equipment is established;First connection is used
The BIOS unit is debugged in for second electronic equipment;
Step S132: when the definitive result shows that the operating mode of the usb interface unit is the second operating mode,
By the usb interface unit, establish the EC unit with third electronic equipment second is connect;Second connection is for supplying
The third electronic equipment repairs the BIOS unit.
The BIOS unit is basic input/output unit, generally includes the motherboard in electronic equipment.
The usb interface unit may include USB jack unit, can be used for connecting USB device.Second electronic equipment and
Third electronic equipment can be the electronic equipment including USB plug unit.
In the present embodiment, the first information is obtained first, and the first information may be used to determine the usb interface unit
Operating mode, it is specific if the first information may include the instruction information of the operating mode of the usb interface unit.Therefore in step
The determination of the operating mode of presently described usb interface unit can be determined as a result, again in rapid S120 according to the first information
According to different determinations as a result, controlling the operating mode of the usb interface unit.
When usb interface unit work is in the first operating mode, the usb interface unit is for connecting the EC
Unit and the second electronic equipment.The EC unit is usually embedded control unit, can be used to write into the BIOS unit
The control unit of BIOS program.Second electronic equipment can be BIOS test chart, for determining the failure of current BIOS unit
Type or the equipment of fault point, the specific equipment as shown BIOS error code.
When the usb interface unit works in this first operative mode, second electronic equipment, USB interface
Electrical connection is formd between unit, EC unit and BIOS unit, second electronic equipment is connected to the usb interface unit
Later, second electronic equipment can easily determine the BIOS unit by showing current code horse race lamp
Failure, so as to not tear the failure that machine determines BIOS open.
When usb interface unit work is in the second operating mode, the usb interface unit is mono- for connecting the EC
The first and described third electronic equipment;The third electronic equipment can be lower support plate;BIOS is stored in the third electronic equipment
File;The BIOS file can be used for repairing the BIOS program in the BIOS unit, when usb interface unit work exists
When second operating mode, between the third electronic equipment, usb interface unit, the EC unit and the BIOS unit
Foundation has electrical connection, at this point, the EC unit can be by the electrical connection, from the third electronic equipment described in reading
BIOS file, and the BIOS file of reading is written in the BIOS unit, to refresh the BIOS, even if described in this way
The BIOS program of BIOS unit collapses, and can also carry out quick BIOS reparation in the case where not tearing machine open.
A kind of information processing method is present embodiments provided, by controlling the operating mode of usb interface unit, can be used for
It quickly determines the failure of BIOS unit, and the BIOS is refreshed as needed, to repair the BIOS, it is clear that this reality
It applies example and provides one kind under the premise of not dismantling first electronic equipment, simplicity realizes the side that BIOS failure is determining and repairs
Method.
Embodiment of the method two:
First electronic equipment further includes usb data processing unit;The operating mode of the usb interface unit further includes
There is third operating mode;
As shown in Fig. 2, the method also includes:
Step S133: when the definitive result shows that the operating mode of the usb interface unit is third operating mode,
By the usb interface unit, establishes the usb data processing unit and connect with the third of the 4th electronic equipment;The third
Connection is for the usb data processing unit and the 4th electronic equipment interaction data.
When usb interface unit work is in third operating mode, the usb interface unit is equivalent to common USB
Interface, can be used for carrying out the data transmission of USB interface, therefore the usb interface unit one end and first electronic equipment at this time
Interior usb data processing unit is connected, and the other end is connected with the 4th electronic equipment.4th electronic equipment be can be USB flash disk
Or the electronic equipment of USB plug is carried, the data interaction based on USB connection between the first electronic equipment can be carried out.
Usb interface unit described in the present embodiment can be not only used for carrying out determining and repairing for the BIOS cell failure
It is multiple, it can also can be used as common usb interface unit when BIOS cell operation is normal and use, for common data interaction,
Obviously the multiplexing of the usb interface unit is realized, to improve the utilization rate of the usb interface unit, while can be subtracted
The setting of the usb interface unit of few first electronic equipment, to be conducive to the lightening of first electronic equipment.
Embodiment of the method three:
As shown in Figure 1, being applied to include BIOS unit, USB interface list the present embodiment provides a kind of information processing method
In first electronic equipment of member, usb data processing unit, BIOS unit and EC unit;The BIOS unit and the EC unit
Connection;The described method includes:
Step S110: obtaining the first information,
Step S120: determining the operating mode of the usb interface unit according to the first information, forms definitive result;
Step S131: when the definitive result shows that the operating mode of the usb interface unit is the first operating mode,
By the usb interface unit, the first connection between the EC unit and the second electronic equipment is established;First connection is used
The BIOS unit is debugged in for second electronic equipment;
Step S132: when the definitive result shows that the operating mode of the usb interface unit is the second operating mode,
By the usb interface unit, establish the EC unit with third electronic equipment second is connect;Second connection is for supplying
The third electronic equipment repairs the BIOS unit.
In specific implementation, the method may also include the step S133 in embodiment of the method two.
The usb interface unit includes the first pin;
The EC unit includes third pin;
The step S131 can include:
It is electrically connected first pin and the third pin, so that the USB interface and second electronic equipment connect
First connection is formed after connecing.
In the present embodiment, first pin may include one or more pins, specific as worked as the usb interface unit
When including USB3.0 socket, first pin can be two TX pins in the usb interface unit, and the TX pin is hair
Send pin.
The electrical connection first pin and the third pin, including establish first pin and third pin it
Between physical connection and so that the physical connection is formed the circuit that can be connected;Specific such as first pin and the third are drawn
Controllable switch is provided between foot, in usb interface unit work in second operating mode, the controllable switch is
First pin and the third pin are connected and are connected, when usb interface unit work is under other operating modes,
All remain open.
The present embodiment is specific to provide how example is a kind of specifically makes the USB interface list on the basis of embodiment of the method one
The technical solution of member work in the first operation mode, not only having can be in the feelings for not tearing machine open described in embodiment of the method one
The failure of BIOS unit, and the simple USB interface that would generally be carried using the first electronic equipment are quickly determined and repaired under condition
Unit, easy realizes first establishment of connection.
Embodiment of the method four:
As shown in Figure 1, being applied to include BIOS unit, USB interface list the present embodiment provides a kind of information processing method
In first electronic equipment of member, usb data processing unit, BIOS unit and EC unit;The BIOS unit and the EC unit
Connection;The described method includes:
Step S110: obtaining the first information,
Step S120: determining the operating mode of the usb interface unit according to the first information, forms definitive result;
Step S131: when the definitive result shows that the operating mode of the usb interface unit is the first operating mode,
By the usb interface unit, the first connection between the EC unit and the second electronic equipment is established;First connection is used
The BIOS unit is debugged in for second electronic equipment;
Step S132: when the definitive result shows that the operating mode of the usb interface unit is the second operating mode,
By the usb interface unit, establish the EC unit with third electronic equipment second is connect;Second connection is for supplying
The third electronic equipment repairs the BIOS unit.
Likewise, the method may also include step S133 described in embodiment of the method two in some instances.
The usb interface unit further includes second pin;
The EC unit further includes the 4th pin;
The step S132 can include:
It is electrically connected the second pin and the 4th pin, so that usb interface unit and the third electronic equipment connect
Second connection is formed after connecing;
The second pin can be similarly one or more pins, when the usb interface unit includes that USB3.0 is inserted
When mouth, the second pin can be two RX pins of UBB socket;The RX pin is to receive pin.
Electrical connection second pin and the 4th pin described in the present embodiment, it is same to be connected by controllable switch, as the USB
When interface unit is worked in the third mode of operation, the controllable switch connects and the second pin and the 4th pin is connected;
The EC unit can be facilitated to receive BIOS from the 4th electronic equipment by the second pin of the usb interface unit in this way
File, and write in the BIOS unit.
In concrete implementation, four pin and the third pin in a upper embodiment can corresponding identical entity draw
Foot, it is preferred that being different pins, be capable of simplicity in this way makes the EC unit distinguish presently described usb interface unit
Operating mode, to be from peripheral hardware to read data or to peripheral hardware output data to facilitate the EC unit.
Fig. 3 show a USB3.0 interface, and the USB3.0 interface may include two RX pins and two TX pins.Its
In, the USB3.0 interface may also include grounding pin.
The TX pin can be first pin, and RX pin can be the second pin.
Embodiment of the method five:
As shown in Figure 1, the present embodiment be in embodiment of the method one into embodiment of the method four in any technical solution
Further improvement, information processing method provided in this embodiment, be applied to include BIOS unit, usb interface unit, USB number
In the first electronic equipment according to processing unit, BIOS unit and EC unit;The BIOS unit is connect with the EC unit;It is described
Method includes:
Step S110: obtaining the first information,
Step S120: determining the operating mode of the usb interface unit according to the first information, forms definitive result;
Step S131: when the definitive result shows that the operating mode of the usb interface unit is the first operating mode,
By the usb interface unit, the first connection between the EC unit and the second electronic equipment is established;First connection is used
The BIOS unit is debugged in for second electronic equipment;
Step S132: when the definitive result shows that the operating mode of the usb interface unit is the second operating mode,
By the usb interface unit, establish the EC unit with third electronic equipment second is connect;Second connection is for supplying
The third electronic equipment repairs the BIOS unit.
First electronic equipment further includes mode switch element;
The usb data processing unit and the EC unit are by the mode switch element, with the USB interface list
Member connection;
The step S131 can include:
The connection of the usb data unit and the mode switch element is connected in the mode switch element, so that described
After second electronic equipment is connect with the usb interface unit, first connection is formed;
The step S132 can include:
The connection of the EC unit and the mode switch element is connected in the mode switch element, so that the third is electric
After sub- equipment is connect with the usb interface unit, second connection is formed.
When the method also includes step S133, then the step S133 can include:
The connection of the usb data unit and the mode switch element is connected in the mode switch element, so that the 4th
After electronic equipment is connect with the usb interface unit, the third connection is formed.
The mode switch element concretely pattern switching chip or selector;One end of its mode switch element with
The EC unit third pin and the 4th pin and the usb data processing unit are connected, the other end and the usb interface unit
It is connected, according to the definitive result, the third pin, the 4th pin or the usb data processing unit is connect with the USB
The connection of mouth unit.
It provides in the present embodiment and another is different from embodiment of the method three to embodiment of the method six arbitrarily to described first
Connection and the second connection method for building up, can also include third establishment of connection method, it is mono- that the BIOS similarly may be implemented
The failure of member and the machine of not tearing open repaired are realized, and the electronic equipment has the advantages that structure is simple.
Shown in fig. 6 is a USB2.0 interface, and the USB2.0 interface is used to form described in the embodiment of the present application
Usb interface unit.Debugging pin and reparation pin in the USB2.0 interface can be multiplexed with same pin;The USB2.0
Interface can be connect by the mode switch element with EC unit and usb data processing unit.
Embodiment of the method six:
As shown in Figure 1, the present embodiment be in embodiment of the method one into embodiment of the method five in any technical solution
Further improvement be applied to include BIOS unit, usb interface unit, usb data the present embodiment provides information processing method
In first electronic equipment of processing unit, BIOS unit and EC unit;The BIOS unit is connect with the EC unit;The side
Method includes:
Step S110: obtaining the first information,
Step S120: determining the operating mode of the usb interface unit according to the first information, forms definitive result;
Step S131: when the definitive result shows that the operating mode of the usb interface unit is the first operating mode,
By the usb interface unit, the first connection between the EC unit and the second electronic equipment is established;First connection is used
The BIOS unit is debugged in for second electronic equipment;
Step S132: when the definitive result shows that the operating mode of the usb interface unit is the second operating mode,
By the usb interface unit, establish the EC unit with third electronic equipment second is connect;Second connection is for supplying
The third electronic equipment repairs the BIOS unit.
Likewise, the method may also include step S133 described in embodiment of the method two in some instances.
The step S110 can include:
Detect the type for the electronic equipment being connected on the usb interface unit;
The operating mode that the usb interface unit is determined according to the first information forms definitive result, comprising:
According to the type of the electronic equipment, the operating mode of the usb interface unit is determined.
The type for the electronic equipment that the step S110 can be connected on the usb interface unit by detection, specifically such as
It determines the peripheral hardware being connected on the usb interface unit, is that the second electronic equipment, third electronic equipment or the 4th electronics are set
It is standby, it may thereby determine that out for currently wanting the usb interface unit operating mode.
It is illustrated in figure 5 the connection schematic diagram of the first electronic equipment and USB peripheral described in the embodiment of the present application;It is described
USB peripheral may include the second electronic equipment, third electronic equipment and the 4th electronic equipment.
In Fig. 5, the usb data processing unit can be the structures such as CPU or South Bridge chip PCH.In addition, in the present embodiment
The usb data processing unit specifically can be central processing unit in the electronic equipment, application processor, at digital signal
Manage the processors having data processing function such as device, programmable array, the usb data processing unit and the USB interface list
Connection between member may refer to the connection between random processor in the prior art and usb interface unit, therefore in the application
In just no longer to the usb interface unit work under the third operating mode, how to be established by the usb interface unit
Third connection between the usb data processing unit and the second electronic equipment, is described in detail.
It can be connected by serial peripheral equipment interface SPI between the EC unit and the BIOS unit.The EC unit
I2Establishing between C pin and the usb interface unit has connection, the I2C pin is transmission I2The pin of C signal.The UART
Establishing between pin and the usb interface unit has connection.
Wherein, second electronic equipment can be test chart, can show the electronic equipment of BIOS error code;The third
Electronic equipment can be downloading card, and for the electronic equipment for storing BIOS file, the 4th electronic equipment can set for common USB
It is standby, specific USB flash disk as shown in Figure 5.
Shown in Fig. 6, for based on a specific example provided in this embodiment;The method side of being particularly suitable for described in this example
Technical solution described in method embodiment one to embodiment of the method four, the example include:
The S101: the first electronic equipment of step powers on, i.e., to first power electronic equipment.
Step S102: judge the type of USB peripheral;The USB peripheral is to pass through the usb interface unit and described first
Electronic equipment establishes the electronic equipment of connection.When determining the USB peripheral is lower support plate, S103 is entered step;Work as determination
S105 is entered step when the USB peripheral is test chart out;When determining the USB peripheral is conventional USB device, into step
Rapid S107.
Step S103:I2C pin is connect with usb interface unit, can transmit I to the usb interface unit2C signal;It establishes
First connection.
Step S104:BIOS is repaired.
Step S105:UART pin is connect with usb interface unit.
Step S106:BIOS malfunction test, to determine the fault type of BIOS unit.
Step S107:USB data cell is connect with usb interface unit;
Step S108: data interaction is carried out based on the usb interface unit.
Embodiment of the method seven:
As shown in Figure 1, the present embodiment be in embodiment of the method one into embodiment of the method four in any technical solution
Further improvement be applied to include BIOS unit, usb interface unit, usb data the present embodiment provides information processing method
In first electronic equipment of processing unit, BIOS unit and EC unit;The BIOS unit is connect with the EC unit;The side
Method includes:
Step S110: obtaining the first information,
Step S120: determining the operating mode of the usb interface unit according to the first information, forms definitive result;
Step S131: when the definitive result shows that the operating mode of the usb interface unit is the first operating mode,
By the usb interface unit, the first connection between the EC unit and the second electronic equipment is established;First connection is used
The BIOS unit is debugged in for second electronic equipment;
Step S132: when the definitive result shows that the operating mode of the usb interface unit is the second operating mode,
By the usb interface unit, establish the EC unit with third electronic equipment second is connect;Second connection is for supplying
The third electronic equipment repairs the BIOS unit.
First electronic equipment further includes mode switch element;
The usb data processing unit and the EC unit are by the mode switch element, with the USB interface list
Member connection;
The step S131 can include:
The connection of the usb data unit and the mode switch element is connected in the mode switch element, so that described
After second electronic equipment is connect with the usb interface unit, first connection is formed;
The step S132 can include:
The connection of the EC unit and the mode switch element is connected in the mode switch element, so that the third is electric
After sub- equipment is connect with the usb interface unit, second connection is formed.
The present embodiment is further improvement on the basis of a upper embodiment of the method, and the mode switch element includes control key
And selecting module;
The step S110 includes:
According to the received user's operation instruction of the control key, the first information is formed.
It includes control key that i.e. described its grace of mode, which changes unit, and the control module can make to be arranged in first electronic equipment
The entity control key on surface can also be by being wirelessly connected to the 5th electronic equipment, be shown in virtual on the 5th electronic equipment
Control key.
The user's operation instruction can be and be connect by the USB that the entity control key or the virtual control key carry out
The selection instruction of the operating mode selection of mouth unit;The first information may include the selection instruction.
Therefore it can determine that the usb interface unit is work in the first work in the present embodiment according to user's operation instruction
Mode or the second operating mode, or still work in third operating mode.
In specific implementation, the possible more than one of control key for obtaining the first information, may include two or three.
As shown in figure 8, providing a specific example in conjunction with above-mentioned any means embodiment: flow chart described in this example is particularly suitable for
It is carried out in the information processing method of operating mode control of usb interface unit using the mode switch element.The example packet
It includes:
The S201: the first electronic equipment of step powers on, as described first power electronic equipment, to be first electronics
Usb interface unit, EC unit and BIOS unit in equipment provide electric energy.
Does step S202: judgement repair selection control key and receives pressing? if it has, then entering step S203;If it has not, then
Enter step S205.The reparation selects control key as one of the control key for obtaining the first information.
Step S203:I2C pin is connect with usb interface unit;The I2C pin is the pin of EC unit.
Step S204:BIOS is repaired, and specific restorative procedure, EC unit reads BIOS file simultaneously from third electronic equipment
It is written in the BIOS unit.
Does step S205: judgement debugging selection control key receive pressing? if it has, then S206 is entered step, if it is otherwise,
Enter step S208.
Step S206:UART pin is connect with usb interface unit, and the UART pin is that EC unit transmits UART signal
Pin.
Step S207:BIOS malfunction test, the step may be used to determine the fault type of BIOS.
Step S208:USB data processing unit is connect with usb interface unit, establishes common USB transmission channel, is come real
Data interaction between existing first electronic equipment and the 4th electronic equipment.
Step S209: data interaction is carried out based on the USB interface.
Embodiment of the method eight:
As shown in Figure 1, the present embodiment be in embodiment of the method one into embodiment of the method seven in any technical solution
Further improvement be applied to include BIOS unit, usb interface unit, usb data the present embodiment provides information processing method
In first electronic equipment of processing unit, BIOS unit and EC unit;The BIOS unit is connect with the EC unit;The side
Method includes:
Step S110: obtaining the first information,
Step S120: determining the operating mode of the usb interface unit according to the first information, forms definitive result;
Step S131: when the definitive result shows that the operating mode of the usb interface unit is the first operating mode,
By the usb interface unit, the first connection between the EC unit and the second electronic equipment is established;First connection is used
The BIOS unit is debugged in for second electronic equipment;
Step S132: when the definitive result shows that the operating mode of the usb interface unit is the second operating mode,
By the usb interface unit, establish the EC unit with third electronic equipment second is connect;Second connection is for supplying
The third electronic equipment repairs the BIOS unit.
The EC unit includes UART pin and I2C pin;
By the usb interface unit, establish the EC unit with third electronic equipment second connect, comprising:
It is electrically connected the UART pin and the usb interface unit;
By the usb interface unit, establish the EC unit with third electronic equipment second connect, comprising:
It is electrically connected the I2C pin and the usb interface unit.
The UART pin is the pin that the EC unit sends or receives UART signal.The UART universal asynchronous receiving-transmitting
Transmitter (Universal Asynchronous Receiver/Transmitter), commonly referred to as UART are a kind of asynchronous receipts
Transmitter is sent out, is a part of electronic equipment hardware, can be used for realizing and make transmission conversion between serial communication and parallel communications, as
Parallel input becomes the chip of Serial output.
The present embodiment is further improvement on the basis of above-mentioned any means embodiment, and the present embodiment combination method is implemented
Example three and embodiment of the method four, then the UART pin is connected with first pin, i.e., with the TX pin phase of the USB3.0
Even.The I2C pin is connected with the second pin, i.e., is connected with the RX pin of the USB3.0.
Apparatus embodiments one:
As shown in figure 9, the electronic equipment is the first electronic equipment, the electricity the present embodiment provides a kind of electronic equipment
Sub- equipment includes usb interface unit 110, BIOS unit 120 and EC unit 130;The BIOS unit 120 and the EC unit
130 connections;
The operating mode of the usb interface unit 110 includes the first operating mode and the second operating mode;
The electronic equipment further include:
Acquiring unit 140, for obtaining the first information;
Determination unit 150, for forming the operating mode for determining the usb interface unit 110 according to the first information
Definitive result;
In this first operative mode, the usb interface unit 110 is set for the EC unit 130 with the second electronics
It is standby to establish the first connection;First connection is for debugging the BIOS unit 120 for second electronic equipment;
In the second mode of operation, the usb interface unit 110 is built for the EC unit with third electronic equipment
Vertical second connection;Second connection is for repairing the BIOS unit 120 for the third electronic equipment.
First electronic equipment can connect for laptop, desktop computer, tablet computer or server etc. with USB
Mouth unit and BIOS but the electronic equipment with that.The BIOS unit 120 may include BIOS system, may usually be corresponding with BIOS
Motherboard circuit.
The usb interface unit may include USB interface, the specific socket as included USB interface, for inserting for USB plug
Enter, so as to electrical connection be established between the first electronic equipment and the second electronic equipment, can be carried out the first electronic equipment and the second electricity
The interaction of electric signal between sub- equipment.
The EC unit may include embedded controller, be mounted in first electronic equipment described for assisting
The failure of BIOS unit is determining and repairs.
EC unit described in the present embodiment can be when usb interface unit works in different modes, with the USB interface
Unit establishes different connections.
When the connection of foundation is the first connection, the first connection and the EC unit are for adjusting the BIOS unit
Examination, with the fault type of the determination BIOS unit, usually at this point, the second electronics being connected on the usb interface unit is set
Standby can be test chart.
When the connection of foundation is the second connection, the second connection and the EC unit are for repairing the BIOS unit
Multiple, the usual EC unit reads BIOS file by the usb interface unit from the third electronic equipment, and reading
The BIOS file taken is written in BIOS unit to achieve the purpose that repair the BIOS.The usual third electronic equipment
It is the electronic equipment for being stored with the BIOS file for downloading card (Download Board).
The specific structure of the acquiring unit 110 is different according to the difference for obtaining the first information, specific described
Acquiring unit 140 may include communication interface, for obtaining the first information from peripheral hardware, is also possible to include sensor, use
The first information is voluntarily detected in first electronic equipment.
The specific structure of the determination unit 150 may include the electronic component that processor etc. has the information processing function.
The corresponding two kinds of operating modes of usb interface unit described in the present embodiment, can be used for the failure to the BIOS
Determination and reparation, the failure that may be implemented to complete the BIOS the case where first electronic equipment is not disassembled determine and
It repairs, can be improved the rate of BIOS reparation.
Apparatus embodiments two:
As shown in figure 9, the electronic equipment is the first electronic equipment, the electricity the present embodiment provides a kind of electronic equipment
Sub- equipment includes usb interface unit 110, BIOS unit 120 and EC unit 130;The BIOS unit 120 and the EC unit
130 connections;
The operating mode of the usb interface unit 110 includes the first operating mode and the second operating mode;
Acquiring unit 140, for obtaining the first information;
Determination unit 150, for forming the operating mode for determining the usb interface unit 110 according to the first information
Definitive result;
In this first operative mode, the usb interface unit 110 is set for the EC unit 130 with the second electronics
It is standby to establish the first connection;First connection is for debugging the BIOS unit 120 for second electronic equipment;
In the second mode of operation, the usb interface unit 110 is built for the EC unit with third electronic equipment
Vertical second connection;Second connection is for repairing the BIOS unit 120 for the third electronic equipment.
First electronic equipment further includes usb data processing unit, and the operating mode of the usb interface unit further includes
Third operating mode;
Under the third operating mode, the usb interface unit 110 is used for the usb data processing unit and the 4th
Electronic equipment establishes third connection;The third connection is handed over for the usb data processing unit and the 4th electronic equipment
Mutual data.
The usb data processing unit specifically may include various types of processors having data processing function or processing
Chip, the processor may include central processor CPU, Micro-processor MCV, digital signal processor DSP or programmable array
PLC etc. has the electronic component of the information processing function.
Usually when the usb interface unit works in the third mode of operation, the usb interface unit is equivalent to commonly
USB interface, for carrying out data interaction between the first electronic equipment and the 4th electronic equipment, the 4th electronic equipment can be wrapped
USB flash disk is included, or the structures such as other electronic equipments being connected by USB line with the usb interface unit.
Usb interface unit in first electronic equipment described in the present embodiment can be not only used for the BIOS cell failure
Determination and reparation, while being also used as in common USB interface, for being carried out data transmission based on the USB interface, from
But realize a usb interface unit and be multiplexed multiple functions, from the structure that can have simplified first electronic equipment, institute
Stating the first electronic equipment has the advantages that feature-rich and delicate structure.
Apparatus embodiments three:
The present embodiment is further improvement on the basis of apparatus embodiments one or apparatus embodiments two, as shown in figure 9,
The present embodiment provides a kind of electronic equipment, the electronic equipment is the first electronic equipment, and the electronic equipment includes USB interface list
Member 110, BIOS unit 120 and EC unit 130;The BIOS unit 120 is connect with the EC unit 130;
The operating mode of the usb interface unit 110 includes the first operating mode and the second operating mode;
The electronic equipment further include:
Acquiring unit 140, for obtaining the first information;
Determination unit 150, for forming the operating mode for determining the usb interface unit 110 according to the first information
Definitive result;
In this first operative mode, the usb interface unit 110 is set for the EC unit 130 with the second electronics
It is standby to establish the first connection;First connection is for debugging the BIOS unit 120 for second electronic equipment;
In the second mode of operation, the usb interface unit 110 is built for the EC unit with third electronic equipment
Vertical second connection;Second connection is for repairing the BIOS unit 120 for the third electronic equipment.
In specific implementation, first electronic equipment is also possible that the usb data in above equipment embodiment is handled
Unit.
The usb interface unit 110 includes the first pin;
The EC unit 130 includes third pin;
In this first operative mode, first connection includes between first pin and the third pin
Electrical connection.
The corresponding number of pins of first pin can be one or more, specifically when the usb interface unit includes
When USB3.0 interface, first pin can be two TX pins in the USB3.0 interface.
The TX pin is to send pin, can be used for the outside output data of usb interface unit, EC described in the present embodiment is mono-
Member can indicate the BIOS cell failure to second electronic equipment output by the TX pin of usb interface unit
Indicating fault code.Second electronic equipment can be test chart (Debug Card).
As further improvement of this embodiment, the usb interface unit further includes second pin;The EC unit also wraps
Include the 4th pin;In the second mode of operation, second connection include the second pin and the 4th pin it
Between electrical connection.
The same second pin can also instead of a kind of pin, so as to corresponding one or more pins, specifically
When the usb interface unit includes USB3.0 interface, the second pin can draw for two RX of the usb interface unit
Foot, the RX pin can read information from peripheral hardware;Therefore the EC unit can by the RX pin of the usb interface unit from
BIOS file is read in third electronic equipment, and the BIOS file of reading is write in the BIOS unit, it is described to refresh
BIOS unit.
When the usb interface unit, which further includes, third operating mode, the usb interface unit is that common USB connects
Mouth unit, the connection between USB interface and usb data processing unit may refer to the prior art, just no longer do herein further
Describe in detail.
In specific implementation, the second pin of the EC unit and the 4th pin similarly may refer to a kind of pin,
In the present embodiment, the second pin can be multiplexed the UART pin of the EC unit users transmission UART signal;Described 4th
Pin can use the bus pin of the EC unit, specific such as I2The structures such as C pin.
Under the third operating mode, the first pin and third pin of the usb interface unit are used as in USB interface
The original function of pin, the specific usb data processing unit as described in the RX pin is used to be transferred to from external equipment reception data,
The TX pin is used to the data that usb data processing unit is sent being transferred to external equipment, wherein the described 4th is set as outside described
Electronic equipment;4th electronic equipment can be the interfaces such as USB flash disk.
A kind of structure is present embodiments provided, the function of the usb interface unit, a USB interface list are enriched
Member may be implemented determining to the failure of BIOS unit and repairs by the multiplexing of its internal pin, while be also used as common
USB interface carries out information exchange.
Apparatus embodiments four:
As shown in figure 9, the electronic equipment is the first electronic equipment, the electricity the present embodiment provides a kind of electronic equipment
Sub- equipment includes usb interface unit 110, BIOS unit 120 and EC unit 130;The BIOS unit 120 and the EC unit
130 connections;
The operating mode of the usb interface unit 110 includes the first operating mode and the second operating mode;
The electronic equipment further include:
Acquiring unit 140, for obtaining the first information;
Determination unit 150, for forming the operating mode for determining the usb interface unit 110 according to the first information
Definitive result;
In this first operative mode, the usb interface unit 110 is set for the EC unit 130 with the second electronics
It is standby to establish the first connection;First connection is for debugging the BIOS unit 120 for second electronic equipment;
In the second mode of operation, the usb interface unit 110 is built for the EC unit with third electronic equipment
Vertical second connection;Second connection is for repairing the BIOS unit 120 for the third electronic equipment.
First electronic equipment further includes mode switch element;
In this first operative mode, the mode switch element is for being connected the EC unit and the pattern switching
The connection of unit, so as to form first connection after second electronic equipment is connect with the usb interface unit;
In the second mode of operation, the mode switch element is for being connected the EC unit and the pattern switching
The connection of unit, so as to form second connection after the third electronic equipment is connect with the usb interface unit.
As further improvement of this embodiment, first electronic equipment further includes usb data processing unit;It is described
The operating mode of usb interface unit further includes third operating mode, under the operating mode, the usb data processing unit
It passes sequentially through the mode switch element and the usb interface unit and the 4th electronic equipment establishes connection;
In the third operating mode, the mode switch element, be also used to be connected the usb data unit with it is described
The connection of mode switch element, so as to form the third connection after the 4th electronic equipment is connect with the usb interface unit.
The mode switch element is positioned at the intermediate connection knot between the EC unit and the usb interface unit
Structure, physical interface may include the structures such as selector or the selection chip with selection connection path.
Described mode switch element one end and the EC unit and the usb data processing unit, the other end and the USB
Interface unit is connected, the mode switch element phase chief of the Xiongnu in Acient China bridge the usb interface unit and the first electronic equipment internal other
The electronic component of structure or the set of electronic component.
The opposite multiplexing in apparatus embodiments three by usb interface unit inner part pin of the present embodiment is realized respectively
The switching of three kinds of operating modes of usb interface unit, and in the present embodiment by introducing the introducing of the mode switch element, from
And the connection of the usb interface unit and EC unit or usb data processing unit is controlled, again providing one kind may be implemented
The electronic equipment of three kinds of operating modes of usb interface unit.
Apparatus embodiments five:
As shown in figure 9, the electronic equipment is the first electronic equipment, the electricity the present embodiment provides a kind of electronic equipment
Sub- equipment includes usb interface unit 110, BIOS unit 120 and EC unit 130;The BIOS unit 120 and the EC unit
130 connections;
The operating mode of the usb interface unit 110 includes the first operating mode and the second operating mode;
The electronic equipment further include:
Acquiring unit 140, for obtaining the first information;
Determination unit 150, for forming the operating mode for determining the usb interface unit 110 according to the first information
Definitive result;
In this first operative mode, the usb interface unit 110 is set for the EC unit 130 with the second electronics
It is standby to establish the first connection;First connection is for debugging the BIOS unit 120 for second electronic equipment;
In the second mode of operation, the usb interface unit 110 is built for the EC unit with third electronic equipment
Vertical second connection;Second connection is for repairing the BIOS unit 120 for the third electronic equipment.
The present embodiment is the further improvement in any of the above-described apparatus embodiments,
The acquiring unit 140, specifically for detecting the type for the electronic equipment being connected on the usb interface unit;
The determination unit 150 is connected to the type of the electronic equipment on the usb interface unit specifically for foundation,
Form the definitive result.
Specifically such as in first electronic equipment, the EC module pass through respectively third pin and the 4th pin with it is described
First pin of usb interface unit is connected with second pin, forms the first connection and the second connection.At this point, how to determine described
Usb interface unit is connected to, and can be determined by detecting the type for the electronic equipment being connected on the usb interface unit.
If the type of the electronic equipment currently connected is the electronic equipments such as test chart, it is clear that the usb interface unit is to need work
In the first operation mode, it needs to establish and be connected the first connection.If the type of the electronic equipment currently connected is downloading card,
The obvious usb interface unit needs work in the second operation mode, needs to establish and be connected the second connection.If current connection
Electronic equipment when being common USB device, for example USB flash disk, it is clear that usb interface unit work in the third mode of operation,
Need to establish third connection by the usb interface unit.
The specific structure of acquiring unit described in the present embodiment may include sensor, is connected to the USB for detection and connects
The type of electronic equipment on mouthful unit, specifically received the electronic equipment transmission for connecing and being presently attached on the usb interface unit
Signal, and by the analysis of signal determine described in be presently attached to the type of electronic equipment on the usb interface unit.
It present embodiments provides a kind of specific structure of the acquiring unit of first electronic equipment and obtains the side of the first information
Formula has the advantages that realize easy.
Apparatus embodiments six:
As shown in figure 9, the electronic equipment is the first electronic equipment, the electricity the present embodiment provides a kind of electronic equipment
Sub- equipment includes usb interface unit 110, BIOS unit 120 and EC unit 130;The BIOS unit 120 and the EC unit
130 connections;
The operating mode of the usb interface unit 110 includes the first operating mode and the second operating mode;
The electronic equipment further include:
Acquiring unit 140, for obtaining the first information;
Determination unit 150, for forming the operating mode for determining the usb interface unit 110 according to the first information
Definitive result;
In this first operative mode, the usb interface unit 110 is set for the EC unit 130 with the second electronics
It is standby to establish the first connection;First connection is for debugging the BIOS unit 120 for second electronic equipment;
In the second mode of operation, the usb interface unit 110 is built for the EC unit with third electronic equipment
Vertical second connection;Second connection is for repairing the BIOS unit 120 for the third electronic equipment.
In specific implementation, first electronic equipment is also possible that usb data processing unit, the USB interface list
The operating mode of member has been also possible that third operating mode, and for details, reference can be made to apparatus embodiments two.
In the present embodiment, the acquiring unit includes control key, is specifically used for according to the received user's operation instruction of control key,
Form the first information.The entity control key in the first electronic equipment appearance can be set in the usual control key, for connecing
Pressing or the touch operation etc. of user is received, with the operating mode of usb interface unit described in determination first electronic equipment.
The present embodiment provides a kind of structure of easy first electronic equipment on the basis of above-mentioned any embodiment, no
Only the event to BIOS unit in the first electronic equipment can be realized by the switching before usb interface unit different working modes
Barrier is determined and is repaired, moreover it is possible to realize the advantages of quickly obtaining the first information with lower hardware cost.
Apparatus embodiments seven:
As shown in figure 9, the electronic equipment is the first electronic equipment, the electricity the present embodiment provides a kind of electronic equipment
Sub- equipment includes usb interface unit 110, BIOS unit 120 and EC unit 130;The BIOS unit 120 and the EC unit
130 connections;
The operating mode of the usb interface unit 110 includes the first operating mode and the second operating mode;
The electronic equipment further include:
Acquiring unit 140, for obtaining the first information;
Determination unit 150, for forming the operating mode for determining the usb interface unit 110 according to the first information
Definitive result;
In this first operative mode, the usb interface unit 110 is set for the EC unit 130 with the second electronics
It is standby to establish the first connection;First connection is for debugging the BIOS unit 120 for second electronic equipment;
In the second mode of operation, the usb interface unit 110 is built for the EC unit with third electronic equipment
Vertical second connection;Second connection is for repairing the BIOS unit 120 for the third electronic equipment.
In specific implementation, first electronic equipment is also possible that usb data processing unit, the USB interface list
The operating mode of member has been also possible that third operating mode, and for details, reference can be made to apparatus embodiments two.
The EC unit 130 includes UART pin and I2C pin;
In this first operative mode, first connection include the UART pin and the usb interface unit it
Between connection;
In the second mode of operation, second connection includes the I2Between C pin and the usb interface unit
Electrical connection.
In the present embodiment, specific to determine the UART pin and I for being multiplexed the EC unit2C pin, directly or indirectly with
Usb interface unit establishes electrical connection, the easy connection realized between EC unit and usb interface unit.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or
It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion
Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit
Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit
The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists
In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing module, it can also
To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned
Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, it is read-only
Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or
The various media that can store program code such as person's CD.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (18)
1. a kind of information processing method, applied to first including BIOS unit, usb interface unit, BIOS unit and EC unit
In electronic equipment;The BIOS unit is connect with the EC unit;The operating mode of the usb interface unit includes the first work
Mode and the second operating mode;The described method includes:
The first information is obtained,
The operating mode of the usb interface unit is determined according to the first information, forms definitive result;
When the definitive result shows that the operating mode of the usb interface unit is the first operating mode, connect by the USB
Mouth unit establishes the first connection between the EC unit and the second electronic equipment;First connection is for supplying described second
Electronic equipment debugs the BIOS unit;
When the definitive result shows that the operating mode of the usb interface unit is the second operating mode, connect by the USB
Mouthful unit, establish the EC unit with third electronic equipment second connect;Second connection is for supplying the third electronics
Equipment repairs the BIOS unit.
2. the method according to claim 1, wherein
First electronic equipment further includes usb data processing unit;The operating mode of the usb interface unit further includes having
Three operating modes;
The method also includes:
When the definitive result shows that the operating mode of the usb interface unit is third operating mode, connect by the USB
Mouth unit, establishes the usb data processing unit and connect with the third of the 4th electronic equipment;The third connection is for described
Usb data processing unit and the 4th electronic equipment interaction data.
3. method according to claim 1 or 2, which is characterized in that
The usb interface unit includes the first pin;
The EC unit includes third pin;
First connection established between the EC unit and the second electronic equipment, comprising:
It is electrically connected first pin and the third pin, so that the usb interface unit and second electronic equipment connect
First connection is formed after connecing.
4. method according to claim 1 or 2, which is characterized in that
The usb interface unit further includes second pin;
The EC unit further includes the 4th pin;
Second connection established between the EC unit and third electronic equipment, comprising:
It is electrically connected the second pin and the 4th pin, so that after usb interface unit is connect with the third electronic equipment
Form second connection.
5. according to the method described in claim 2, it is characterized in that,
First electronic equipment further includes mode switch element;
The usb data processing unit and the EC unit connect by the mode switch element with the usb interface unit
It connects;
It is described to establish the EC unit and connect with the first of the second electronic equipment, comprising:
The connection of the EC unit and the mode switch element is connected in the mode switch element, so that second electronics is set
It is standby connect with the usb interface unit after, formed it is described first connection;
It is described to establish the EC unit and connect with the second of third electronic equipment, comprising:
The connection of the EC unit and the mode switch element is connected in the mode switch element, so that the third electronics is set
It is standby connect with the usb interface unit after, formed it is described second connection.
6. according to the method described in claim 5, it is characterized in that,
First electronic equipment further includes usb data processing unit;The operating mode of the usb interface unit further includes third
Operating mode, under the operating mode, the usb data processing unit passes sequentially through the mode switch element and described
Usb interface unit and the 4th electronic equipment establish connection;
The method also includes:
When usb interface unit work is in third operating mode, the usb data unit is connected in the mode switch element
It forms third with the connection of the mode switch element and connects so that after the 4th electronic equipment is connect with the usb interface unit
It connects.
7. method according to claim 1 or 2, which is characterized in that
The acquisition first information, comprising:
Detect the type for the electronic equipment being connected on the usb interface unit;
The operating mode that the usb interface unit is determined according to the first information forms definitive result, comprising:
According to the type of the electronic equipment, the operating mode of the usb interface unit is determined.
8. method according to claim 1 or 2, which is characterized in that
First electronic equipment further includes control key;
The acquisition first information includes:
According to the received user's operation instruction of the control key, the first information is formed.
9. method according to claim 1 or 2, which is characterized in that
The EC unit includes UART pin and I2C pin;
By the usb interface unit, establish the EC unit with third electronic equipment second connect, comprising:
It is electrically connected the UART pin and the usb interface unit;
By the usb interface unit, establish the EC unit with third electronic equipment second connect, comprising:
It is electrically connected the I2C pin and the usb interface unit.
10. a kind of electronic equipment, the electronic equipment is the first electronic equipment, the electronic equipment include usb interface unit,
BIOS unit and EC unit;The BIOS unit is connect with the EC unit;
The operating mode of the usb interface unit includes the first operating mode and the second operating mode;
The electronic equipment further include:
Acquiring unit, for obtaining the first information;
Determination unit, for forming the definitive result for determining the operating mode of the usb interface unit according to the first information;
In this first operative mode, the usb interface unit is used to show the usb interface unit work when definitive result
In first operating mode, the EC unit and the second electronic equipment establish the first connection;First connection is for supplying
Second electronic equipment debugs the BIOS unit;
In the second mode of operation, the usb interface unit establishes second for the EC unit and third electronic equipment
Connection;Second connection is for repairing the BIOS unit for the third electronic equipment.
11. electronic equipment according to claim 10, which is characterized in that first electronic equipment further includes usb data
Processing unit, the operating mode of the usb interface unit further include third operating mode;
Under the third operating mode, the usb interface unit is used for the usb data processing unit and the 4th electronic equipment
Establish third connection;The third connection is for the usb data processing unit and the 4th electronic equipment interaction data.
12. electronic equipment described in 0 or 11 according to claim 1, which is characterized in that
The usb interface unit includes the first pin;
The EC unit includes third pin;
In this first operative mode, first connection includes being electrically connected between first pin and the third pin
It connects.
13. electronic equipment described in 0 or 11 according to claim 1, which is characterized in that
The usb interface unit further includes second pin;
The EC unit further includes the 4th pin;
In the second mode of operation, second connection includes being electrically connected between the second pin and the 4th pin
It connects.
14. electronic equipment described in 0 or 11 according to claim 1, which is characterized in that
First electronic equipment further includes mode switch element;
In this first operative mode, the mode switch element is for being connected the EC unit and the mode switch element
Connection form first connection so that after second electronic equipment is connect with the usb interface unit;
In the second mode of operation, the mode switch element is for being connected the EC unit and the mode switch element
Connection form second connection so that after the third electronic equipment is connect with the usb interface unit.
15. electronic equipment according to claim 14, which is characterized in that
First electronic equipment further includes usb data processing unit;The operating mode of the usb interface unit further includes third
Operating mode, under the operating mode, the usb data processing unit passes sequentially through the mode switch element and described
Usb interface unit and the 4th electronic equipment establish connection;
In the third operating mode, the mode switch element, for the usb data processing unit and the mould to be connected
The connection of formula switch unit, so as to form third connection after the 4th electronic equipment is connect with the usb interface unit.
16. electronic equipment described in 0 or 11 according to claim 1, which is characterized in that
The acquiring unit, specifically for detecting the type for the electronic equipment being connected on the usb interface unit;
The determination unit, specifically for according to the type for being connected to electronic equipment on the usb interface unit, described in formation
Definitive result.
17. electronic equipment described in 0 or 11 according to claim 1, which is characterized in that
The acquiring unit includes control key, is specifically used for forming the first information according to the received user's operation instruction of control key.
18. electronic equipment described in 0 or 11 according to claim 1, which is characterized in that
The EC unit includes UART pin and I2C pin;
In this first operative mode, first connection includes between the UART pin and the usb interface unit
Electrical connection;
In the second mode of operation, second connection includes the I2Electricity between C pin and the usb interface unit
Connection.
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 CN105718338A (en) | 2016-06-29 |
CN105718338B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Citations (4)
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5191562B1 (en) * | 2011-10-06 | 2013-05-08 | シャープ株式会社 | Electronic equipment system |
-
2014
- 2014-12-05 CN CN201410740931.5A patent/CN105718338B/en active Active
Patent Citations (4)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105718338A (en) | 2016-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101848043B (en) | Radio frequency test system and method | |
CN105718338B (en) | Information processing method and electronic equipment | |
CN203673003U (en) | Multi-core cable automatic tester | |
CN111239617B (en) | Control method and device for charge and discharge test, storage medium and system | |
US20120137027A1 (en) | System and method for monitoring input/output port status of peripheral devices | |
CN101795421A (en) | Method and device for judging reliable in-place of single plate | |
CN104820156B (en) | A kind of Beam Detector and method | |
CN102866948B (en) | Testing platform and testing method for embedded basic software | |
CN106407059A (en) | Server node testing system and method | |
CN104503947B (en) | Multipath server and its signal processing method | |
CN203786242U (en) | Portable multifunctional interface cable test device | |
CN101216529B (en) | Combined test action group test system of micro-electric communication processing structure | |
CN101614758B (en) | Electronic type indicator | |
CN112948186A (en) | Detection device and detection method of interface signal | |
CN107356882B (en) | A kind of PD power supply product ageing testing method | |
CN113985321B (en) | Cable connection performance testing device and method with intelligent self-learning capability | |
CN105527399B (en) | A kind of Water Test Kits | |
CN211830805U (en) | Network detection device | |
CN107481605B (en) | Smart phone teaching practical training equipment and working method thereof | |
CN201828628U (en) | Connector terminal fault detector | |
CN206524184U (en) | A kind of test equipment of integrated circuit memory | |
CN216925623U (en) | Instrument testing device | |
CN106294045B (en) | A method of based on BMC automatic detection burning main board power supply module chip data | |
CN216622550U (en) | Power-on and power-off testing device | |
CN113806152B (en) | Fault diagnosis card and equipment |
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 |