CN104866451B - A kind of electronic equipment, information processing method and control circuit - Google Patents
A kind of electronic equipment, information processing method and control circuit Download PDFInfo
- Publication number
- CN104866451B CN104866451B CN201510236680.1A CN201510236680A CN104866451B CN 104866451 B CN104866451 B CN 104866451B CN 201510236680 A CN201510236680 A CN 201510236680A CN 104866451 B CN104866451 B CN 104866451B
- Authority
- CN
- China
- Prior art keywords
- circuit
- interface
- connecting interface
- semiconductor
- oxide
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4027—Coupling between buses using bus bridges
- G06F13/4045—Coupling between buses using bus bridges where the bus bridge performs an extender function
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Semiconductor Integrated Circuits (AREA)
Abstract
The embodiment of the present invention provides a kind of electronic equipment, information processing method and control circuit, for realizing the technique effect of the independent connecting interface for closing electronic equipment, improves the control to interface in electronic equipment.The electronic equipment includes:Body;At least one connecting interface, it is arranged on the body, the interface circuit of each connecting interface at least one connecting interface includes at least two transmission circuits, a circuit controller is provided with every transmission circuit at least two transmission circuits, being capable of at least two transmission circuits ground connection described in general by the circuit controller.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of electronic equipment, information processing method and control circuit.
Background technology
As developing rapidly for science and technology is increasingly fierce with market competition, the performance and outward appearance of electronic equipment have obtained energetically
Lifting, wherein notebook computer with its small volume and less weight, be easy to carry, it is recreational strong the advantages that just by increasing people's
Like, turn into an indispensable part in studying and living.The thing that user can be done using electronic equipment is also more and more,
Such as:User can be communicated by the tablet personal computer with communication function, see video, play game etc..
At present, most of electronic equipment is provided with multiple connectivity ports, and people can be connected by the USB interface of electronic equipment
Connect mouse, USB flash disk, mobile hard disk etc..But sometimes, people may need to close the connection work(of part of interface in electronic equipment
Can, such as when needing to carry out secrecy to electronic equipment internal file, only retain a small amount of interface or do not retain the connection work(of interface
Energy.At present, realize it is independent close one or more interfaces in electronic equipment when, the method that mainly uses is passes through BIOS
The power supply circuit of (Basic Input Output System, basic input output system) control de-interfaced inhibits itself from
The linkage function of interface, but be to be unable to reach down interface when connection is with the peripheral hardware individually powered the defects of this solution method
The effect of connection.
Also, it is necessary to which the interface quantity used is more in some platforms, such as similar to Braswell/
Baytrail architecture platforms, typically at least need to use to 8 USB2.0 interfaces, it is fewer for USB interface quantity, generally
Hub is needed to use to provide expansion interface.Now, the if desired linkage function of independent down interface, may be selected to have can
The hub of independent down interface function, but the price of the hub costly, is unfavorable for commonly used at present.
As can be seen here, in the prior art when independently closing the interface function of electronic equipment, it is impossible to preferably control interface
Linkage function technical problem.
The content of the invention
The embodiment of the present invention provides a kind of electronic equipment, information processing method and control circuit, for realizing independent closing
The technique effect of the connecting interface of electronic equipment, improve the control to interface in electronic equipment.
A kind of electronic equipment, including:
Body;
At least one connecting interface, it is arranged on the body, each connection at least one connecting interface connects
Mouthful interface circuit include at least two transmission circuits, be provided with every transmission circuit at least two transmission circuits
One circuit controller, being capable of at least two transmission circuits ground connection described in general by the circuit controller.
Optionally, the electronic equipment also includes:
At least one bus extender GPIO, it is connected by the way that circuit controller is corresponding with least one connecting interface,
For to provide voltage signal with the grid of the metal-oxide-semiconductor at least two transmission circuits.
Optionally, the circuit controller is specially field effect transistor metal-oxide-semiconductor;Wherein, the grid of the metal-oxide-semiconductor with it is described
At least one GPIO is connected, and drain electrode is connected with the interface circuit, and source electrode is connected with including the earthed circuit of configuration resistance, and
Voltage between the source electrode and the grid is first voltage.
Optionally, when the first GPIO being connected with the first connecting interface at least one connecting interface receives electricity
When pressure draws high information, the leakage of the metal-oxide-semiconductor in the first transmission circuit and the second transmission circuit that are connected with first connecting interface
Pole and source conduction, at least two transmission circuit ground connection, first connecting interface are in non-enabled state.
Optionally, the electronic equipment also includes:
Electrostatic impedor ESD, between the interface circuit and the metal-oxide-semiconductor, for by the electric conduction of the metal-oxide-semiconductor
Pressure is limited in predetermined voltage range.
A kind of information processing method, applied to an electronic equipment, methods described includes:
Detection obtains the connection for being used for closing the first connecting interface in the electronic equipment at least one connecting interface
First operation information of function;At least one connecting interface is in enabled state;
It is determined that first bus extender GPIO corresponding with first connecting interface, controls the first GPIO to be based on institute
State the first operation information and generate the first control instruction;
According to first control instruction, first connecting interface is controlled to switch to non-enabled shape by the enabled state
State.
Optionally, it is described according to first control instruction, control first connecting interface to be cut by the enabled state
Non- enabled state is changed to, is specifically included:
First control instruction is sent at least two transmission circuits being connected with first connecting interface;Its
In, it is respectively arranged with a field effect transistor in the first transmission circuit and the second transmission circuit of at least two transmission circuits
Metal-oxide-semiconductor, the grid of the metal-oxide-semiconductor are connected with circuit where the first GPIO, drain electrode and at least two transmission circuit phases
Even, source electrode is connected with including the earthed circuit of configuration resistance;
According to first control instruction, the current first voltage of the metal-oxide-semiconductor is drawn high to not less than predeterminated voltage
Second voltage, so that the source electrode turns on the drain electrode, at least two transmission circuit ground connection, control first connection
Interface switches to non-enabled state by the enabled state.
Optionally, according to first control instruction, first connecting interface is controlled to be switched by the enabled state
After non-enabled state, methods described also includes:
Obtain the second behaviour for being used to open the linkage function of first connecting interface carried out for the electronic equipment
Make information;
According to second operation information, the first GPIO is controlled to send the second control instruction;Wherein, second control
System instruction is the control instruction for the conducting voltage for dragging down the metal-oxide-semiconductor;
Second control instruction is sent to first connecting interface, controls first connecting interface by described non-
Enabled state switches to the enabled state.
Optionally, a kind of control circuit, including:
Interface circuit, including at least two transmission circuits, for connecting at least one connecting interface and at least one GPIO;
GPIO circuits where at least one GPIO can be used in sending voltage configuration signal;
Control circuit, between the interface circuit and the GPIO circuits, include MOS in the control circuit
Pipe, the grid of the metal-oxide-semiconductor are connected with the GPIO circuits, and drain electrode is connected with least two transmission circuits, source electrode and bag
Earthed circuit containing configuration resistance is connected;
Wherein, it is described when being raised according to voltage configuration information by the conducting voltage of the metal-oxide-semiconductor and being more than predeterminated voltage
Source electrode turns on the drain electrode, the interface circuit ground connection.
Optionally, the circuit also includes:
Anti-static circuit, comprising electrostatic impedor ESD, between the control circuit and the interface circuit, it is used for
The conducting voltage of the metal-oxide-semiconductor is limited in predetermined voltage range.
The one or more technical schemes provided in the embodiment of the present invention, have at least the following technical effects or advantages:
In the embodiment of the present invention, due at least one connecting interface for being set in the electronic equipment, each connecting interface
Interface circuit in include at least two transmission circuits, and on every transmission circuit at least two transmission circuits all
A circuit controller is provided with, by circuit controller, at least two transmission circuits can be grounded simultaneously, therefore can cut
The connection of the data connection circuitry of corresponding connecting interface of breaking and device interior, so as to realize the connection work(for closing the connecting interface
Energy.Even the peripheral hardware with independently-powered circuit is connected with the connecting interface, due at least two transmission of the connecting interface
Circuit is grounded, therefore also can not carry out data interaction with the peripheral hardware, improves the security of electronic equipment.
Also, due to only carrying out being partially improved increase partial circuit device to the interface circuit of electronic equipment in the present invention,
Without increasing extra hardware components, USB interface in independent closing electronic equipment can be realized on the basis of lower cost
Linkage function, improve the Experience Degree of user.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of interface circuit in connecting interface in the embodiment of the present invention;
Fig. 2 is the schematic diagram of information processing method in the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of electronic equipment, information processing method and control circuit, for realizing independent closing
The technique effect of the connecting interface of electronic equipment, improve the control to interface in electronic equipment.
The embodiment of the present invention discloses a kind of electronic equipment, and the electronic equipment includes:Body;At least one connecting interface, if
It is placed on the body, the interface circuit of each connecting interface at least one connecting interface includes at least two transmission
Circuit, a circuit controller is provided with every transmission circuit at least two transmission circuits, passes through the circuit
Controller can at least two transmission circuits be grounded by described in.To make the purpose, technical scheme and advantage of the embodiment of the present invention more
Add clear, below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on the present invention
In embodiment, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, expression may have three kinds of passes
System, for example, A and/or B, can be represented:Individualism A, while A and B be present, these three situations of individualism B.In addition, herein
Middle character "/", it is a kind of relation of "or" to typically represent forward-backward correlation object.
Embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.
The embodiment of the present invention discloses a kind of electronic equipment, and the electronic equipment can include body and at least one connect
Mouthful.Wherein, body can refer to the integral body of electronic equipment, and at least one connecting interface can refer to set in the body
Input/output interface.
In practical application, multiple input/output interfaces can be provided with electronic equipment, inputted with will pass through these/defeated
Incoming interface disclosure satisfy that user when using electronic equipment, uses multiple interface functions, such as charging, data transfer.
Optionally, in the real-time example of the present invention, at least one connecting interface can specifically refer to USB interface.USB interface can be with
It is the serial ports that electronic equipment is used to connect external device (ED), such as connects mouse, USB flash disk and keyboard, and supports to connect equipment
Plug and play and warm connection function.
As a rule, 4 contact stitch can be included in USB interface, can specifically be divided into power line, data input pin,
Data input pin, earth terminal.In the embodiment of the present invention, at least two transmission circuits can refer to the circuit for data transfer,
Circuit controller can specifically refer to field effect transistor metal-oxide-semiconductor.
In the embodiment of the present invention, the electronic equipment can also include at least one bus extender (General Purpose
Input Output, abbreviation GPIO), at least one GPIO it is corresponding with least one connecting interface be connected, for for
The grid of metal-oxide-semiconductor at least two transmission circuits provides voltage control signal.
Optionally, in the embodiment of the present invention, the circuit controller can be respectively arranged with least two transmission circuits.
Specifically, when the circuit controller is metal-oxide-semiconductor, the grid of the metal-oxide-semiconductor can be and circuit where at least one GPIO
It is connected, drain electrode can be connected with least two transmission circuits, and source electrode can be the ground connection with including configuration resistance
Circuit is connected, and when connecting interface is in enabled, i.e., at least in the case of two transmission circuit normal works, the source of metal-oxide-semiconductor
First voltage between pole and grid be present, the first voltage can be the operating voltage for stablizing metal-oxide-semiconductor, in order to control
Metal-oxide-semiconductor opens or closes.
In addition, the resistance value of the configuration resistance in source circuit can be adjusted under GPIO voltage signal, with reality
Now to the adjustment of the electric current of metal-oxide-semiconductor.I.e. the configuration resistance can be swept resistance, such as when GPIO sends voltage high signal,
Can be by the way that the resistance value for configuring resistance is tuned up come increasing circuit voltage.
It is shown in Figure 1, it is interface circuit schematic diagram each at least one connecting interface in electronic equipment.Its
In, Q1 and Q2 represent the control circuit for including metal-oxide-semiconductor being arranged in transmission circuit, its grid (G) and circuit phase where GPIO
Even, its drain electrode (D) is connected with interface circuit (i.e. the first transmission circuit and the second transmission circuit), and source electrode (S) is by configuring resistance
(R1, R2) is grounded.
In the embodiment of the present invention, in the state of normal connection, the first voltage that is maintained between grid and source electrode, this
Control of one voltage in GPIO can be changed within the specific limits, and different value ranges can change more than mobile spy
During definite value, drain electrode and source electrode could turn on, and if the first voltage can be 0.7V, and control source electrode in metal-oxide-semiconductor to be turned on drain electrode
Voltage can be 3.3V.
Because metal-oxide-semiconductor is the electric current that is drained by the voltage for being added in input grid come control output end, i.e. metal-oxide-semiconductor is voltage-controlled
Device, it by the characteristic for the voltage control device being added on grid, will not occur as when triode switchs because of base stage electricity
Charge-storage effect caused by stream, therefore in switch application, the switching speed of metal-oxide-semiconductor is faster than triode.
In the embodiment of the present invention, as the first GPIO being connected with the first connecting interface at least one connecting interface
When receiving voltage high information, in the first transmission circuit and the second transmission circuit that are connected with first connecting interface
The drain electrode of metal-oxide-semiconductor and source conduction, first transmission circuit and second transmission circuit are grounded, and the first connecting interface is broken
The connection with GPIO is opened, first connecting interface is in non-enabled state.
Wherein, the voltage high information can be by setting the connecting interface for needing to close in BIOS in electronic equipment
Afterwards, metal-oxide-semiconductor (i.e. Q1 and Q2 in Fig. 1) is opened by GPIO voltage high signal, that is, increases the electricity between grid and source electrode
Pressure, source electrode is turned on drain electrode, make metal-oxide-semiconductor circuit ground, so as to which the usb signal of the first connecting interface be dragged down, be at
Non- enabled state.
For example, the first voltage between grid and source electrode can be 0.7V or so, when needing to disconnect the first connecting interface,
Will by GPIO by voltage high, when such as drawing high to 3.5V more than 3.3V, then now source electrode just and gate turn-on, at metal-oxide-semiconductor
In open mode, at least two transmission circuit ground connection, data can not be transmitted, the first connecting interface is in non-enabled state.
And when needing to recover the first connecting interface linkage function, GPIO drawings can be sent by the chip being connected with GPIO
The control signal of low-voltage, such as by voltage pull-down to be less than 0.7 0.3V, then now, metal-oxide-semiconductor is closed, drain electrode with
Do not turned between source electrode, i.e., at least two transmission circuits disconnect the connection with ground connection, so that electronic equipment can connect by first
Connection interface carries out data transmission.
It is especially sensitive to electrostatic because USB is that one kind supports hot plug and moveable system in practical application, therefore,
In the embodiment of the present invention, electronic equipment can also include:Electrostatic impedor ESD, positioned at the interface circuit and the metal-oxide-semiconductor it
Between, for the conducting voltage of the metal-oxide-semiconductor to be limited in predetermined voltage range.
In practical application, ESD protection device can be arranged at the connector or port of electronic system so that electric current stream
Electrostatic neutralization is carried out through protection element, and is not passed through sensing element, to maintain the low-voltage of sensing element.The predetermined voltage range
It can be the conducting voltage 3.3V that the voltage loaded on metal-oxide-semiconductor is no more than drain electrode and source electrode, such as can be 0.7V-3.3V.So as to,
During GPIO is drawn high or drags down the voltage of metal-oxide-semiconductor, USB interface can be protected by ESD chip.
Refer to Fig. 2, based on same inventive concept, information processing method during the embodiment of the present invention discloses one, applied to
In electronic equipment, this method includes:
S21:Detection is obtained for closing the first connecting interface in the electronic equipment at least one connecting interface
First operation information of linkage function;At least one connecting interface is in enabled state;
S22:It is determined that first bus extender GPIO corresponding with first connecting interface, controls the first GPIO bases
The first control instruction is generated in first operation information;
S23:According to first control instruction, first connecting interface is controlled to switch to non-make by the enabled state
Can state.
As it was previously stated, at least one connecting interface in the electronic equipment is corresponding with least one GPIO, and each connection
Interface circuit in interface can include at least two transmission circuits, and at least two transmission circuits can be provided with circuit control
Device, i.e. metal-oxide-semiconductor, and the metal-oxide-semiconductor can at least one GPIO voltage signal control under be turned on or off drain electrode with source electrode it
Between connection.
In the embodiment of the present invention, the first operation information can refer to that user is set in the electronic device and close connecting interface
Operation information corresponding to operation is set.For example, when setting the connecting interface for needing to close by BIOS, corresponding operation signal will
Operating system is sent to, to generate corresponding voltage control signal.
Optionally, in the embodiment of the present invention, when at least one connecting interface is in enabled state, with connecing for connecting interface
The connected metal-oxide-semiconductor drain electrode of mouthful circuit not source conduction with ground connection, i.e., now, the voltage between grid and source electrode, which can be less than, leads
The pressure that is powered 3.3V.
Next, in step S22, when electronic equipment detects the first operation information, operating system can control
One GPIO produces the first control instruction, to draw high the voltage of metal-oxide-semiconductor.
Further, first control instruction is sent at least two transmission circuits corresponding with the first connecting interface, with
First connecting interface is switched into non-enabled state.Specifically, step S23 can include procedure below:
1) first control instruction is sent at least two transmission circuits being connected with first connecting interface;Its
In, it is respectively arranged with a field effect transistor in the first transmission circuit and the second transmission circuit of at least two transmission circuits
Metal-oxide-semiconductor, the grid of the metal-oxide-semiconductor are connected with circuit where the first GPIO, drain electrode and at least two transmission circuit phases
Even, source electrode is connected with including the earthed circuit of configuration resistance;
2) according to first control instruction, the current first voltage of the metal-oxide-semiconductor is drawn high to not less than predeterminated voltage
Second voltage so that the source electrode turns on the drain electrode, at least two transmission circuits ground connection, control described first connects
Connection interface switches to non-enabled state by the enabled state.
From preceding sections, the interface circuit of at least one connecting interface of electronic equipment includes at least two in the present invention
Bar transmission circuit, and metal-oxide-semiconductor is respectively arranged with least two transmission circuits, therefore in 1), the first control instruction will arrive first
The grid for the metal-oxide-semiconductor being connected with GPIO, and then drawn high the first voltage between grid and source electrode according to the first control instruction, with
Predeterminated voltage is larger than, so that source electrode turns on drain electrode, wherein predeterminated voltage is usually 3.3V, the second voltage after drawing high
Can be the voltage higher than predeterminated voltage, such as 3.5V, 3.7V.
As shown in Figure 1, when the drain electrode (D) in metal-oxide-semiconductor (Q1, Q2) and source electrode (S) turn on, the transmission to connect with drain electrode is electric
Road is grounded, and causes transmission circuit to fail, and so as to disconnect the data transfer of the transmission circuit and electronic equipment internal, realizes independent close
Close the linkage function of the connecting interface.
Optionally, in the embodiment of the present invention, adjusted by the first connecting interface to non-enabled state, can also by with
Lower step recovers the enabled state of the first connecting interface.It is specifically as follows:
1) the second of the linkage function for opening first connecting interface carried out for the electronic equipment is obtained
Operation information;
2) according to second operation information, the first GPIO is controlled to send the second control instruction;Wherein, described second
Control instruction is the control instruction for the conducting voltage for dragging down the metal-oxide-semiconductor;
3) second control instruction is sent to first connecting interface, controls first connecting interface by described
Non- enabled state switches to the enabled state.
Wherein, the second operation information can also be that the operating system of electronic equipment is detecting that user is provided for recovery
During the setting operation of the linkage function of two connecting interfaces, the operation information that is generated, and then can be selected according to user first
Connecting interface, the control instruction of the conducting voltage for dragging down metal-oxide-semiconductor, now, metal-oxide-semiconductor are sent by corresponding first GPIO
Source electrode be connected with drain electrode, and the voltage between source electrode and grid could possibly be higher than predeterminated voltage 3.3V.
Further, by the second control instruction, voltage between grid and source electrode can will be dragged down, is such as pulled low to and is less than
0.7V, then source electrode disconnected with drain electrode, metal-oxide-semiconductor switches to closed mode, and transmission circuit recovers transfer function, and then recovers the
The linkage function of one connecting interface, the copy function of usb file such as can be achieved.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of control circuit, due to control circuit with it is above-mentioned
The principle that electronic equipment solves problem is similar to information processing method, therefore the concrete structure of the control circuit and function can join
See the implementation of electronic equipment and method, repeat part and repeat no more.
Please a kind of control circuit, the art that the control circuit shown in Fig. 1 is related to are provided again referring to Fig. 1, the embodiment of the present invention
The implication of language and specific implementation refer to the associated description of earlier figures 1 and embodiment.The control circuit can include:
Interface circuit, including at least two transmission circuits, for connecting at least one connecting interface and at least one GPIO;
GPIO circuits where at least one GPIO can be used in sending voltage configuration signal;
Control circuit, between the interface circuit and the GPIO circuits, include MOS in the control circuit
Pipe, the grid of the metal-oxide-semiconductor are connected with the GPIO circuits, and drain electrode is connected with least two transmission circuits, source electrode and bag
Earthed circuit containing configuration resistance is connected;
Wherein, it is described when being raised according to voltage configuration information by the conducting voltage of the metal-oxide-semiconductor and being more than predeterminated voltage
Source electrode turns on the drain electrode, the interface circuit ground connection.
In practical application, the voltage configuration information can be produced by the chip controls being connected with least one GPIO
, such as control GPIO to produce concurrent power transmission by the BIOS in chip and press configuration information.
Optionally, the control circuit can also include:Anti-static circuit, comprising electrostatic impedor ESD, positioned at the control
Between circuit and the interface circuit, for the conducting voltage of the metal-oxide-semiconductor to be limited in predetermined voltage range.
The various change mode and instantiation in electronic equipment and information processing method in earlier figures 1- Fig. 2 embodiments
The control circuit of the present embodiment is equally applicable to, by foregoing to sub- equipment and the detailed description of information processing method, this area
Technical staff is clear that the implementation of control circuit in the present embodiment, thus it is succinct for specification, herein
No longer it is described in detail.
The one or more technical schemes provided in the embodiment of the present invention, have at least the following technical effects or advantages:
In the embodiment of the present invention, due at least one connecting interface for being set in the electronic equipment, each connecting interface
Interface circuit in include at least two transmission circuits, and on every transmission circuit at least two transmission circuits all
A circuit controller is provided with, by circuit controller, at least two transmission circuits can be grounded simultaneously, therefore can cut
The data connection circuitry of corresponding connecting interface of breaking and device interior, so as to realize the linkage function for closing the connecting interface.Even if
It is that the peripheral hardware with independently-powered circuit is connected with the connecting interface, because at least two transmission circuits of the connecting interface connect
Ground, therefore also data interaction can not be carried out with the peripheral hardware, improve the security of electronic equipment.
Also, due to only carrying out being partially improved increase partial circuit device to the interface circuit of electronic equipment in the present invention,
Without increasing extra hardware components, USB interface in independent closing electronic equipment can be realized on the basis of lower cost
Linkage function, improve the Experience Degree of user.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Specifically, computer program instructions can be stored in corresponding to the information processing method in the embodiment of the present application
In the storage mediums such as CD, hard disk, USB flash disk, when computer program instructions quilt corresponding with information processing method in storage medium
When electronic equipment reads or is performed, comprise the following steps:
Detection obtains the connection for being used for closing the first connecting interface in the electronic equipment at least one connecting interface
First operation information of function;At least one connecting interface is in enabled state;
It is determined that first bus extender GPIO corresponding with first connecting interface, controls the first GPIO to be based on institute
State the first operation information and generate the first control instruction;
According to first control instruction, first connecting interface is controlled to switch to non-enabled shape by the enabled state
State.
Optionally, stored in the storage medium and step:According to first control instruction, control described first connects
Connection interface switches to non-enabled state by the enabled state, and corresponding computer instruction is during specific be performed, specifically
Comprise the following steps:
First control instruction is sent at least two transmission circuits being connected with first connecting interface;Its
In, it is respectively arranged with a field effect transistor in the first transmission circuit and the second transmission circuit of at least two transmission circuits
Metal-oxide-semiconductor, the grid of the metal-oxide-semiconductor are connected with circuit where the first GPIO, drain electrode and at least two transmission circuit phases
Even, source electrode is connected with including the earthed circuit of configuration resistance;
According to first control instruction, the current first voltage of the metal-oxide-semiconductor is drawn high to not less than predeterminated voltage
Second voltage, so that the source electrode turns on the drain electrode, at least two transmission circuit ground connection, control first connection
Interface switches to non-enabled state by the enabled state.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
Suddenly:According to first control instruction, first connecting interface is controlled to switch to non-enabled state pair by the enabled state
The instruction answered is performed after performing, and is comprised the following steps when executed:
Obtain the second behaviour for being used to open the linkage function of first connecting interface carried out for the electronic equipment
Make information;
According to second operation information, the first GPIO is controlled to send the second control instruction;Wherein, second control
System instruction is the control instruction for the conducting voltage for dragging down the metal-oxide-semiconductor;
Second control instruction is sent to first connecting interface, controls first connecting interface by described non-
Enabled state switches to the enabled state.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (10)
1. a kind of electronic equipment, including:
Body;
At least one connecting interface, it is arranged on the body, each connecting interface at least one connecting interface
Interface circuit includes at least two transmission circuits, and one is provided with every transmission circuit at least two transmission circuits
Circuit controller, being capable of at least two transmission circuits ground connection described in general by the circuit controller.
2. electronic equipment as claimed in claim 1, it is characterised in that the electronic equipment also includes:
At least one bus extender GPIO, it is connected by the way that circuit controller is corresponding with least one connecting interface, it is described
Circuit controller is specially field effect transistor metal-oxide-semiconductor, and at least one bus extender GPIO is used for at least two transmission
The grid of metal-oxide-semiconductor in circuit provides voltage signal.
3. electronic equipment as claimed in claim 2, it is characterised in that the grid of the metal-oxide-semiconductor and at least one GPIO
It is connected, drain electrode is connected with the interface circuit, and source electrode is connected with including the earthed circuit of configuration resistance, and the source electrode and institute
It is first voltage to state the voltage between grid.
4. electronic equipment as claimed in claim 3, it is characterised in that connect when with first at least one connecting interface
When the first connected GPIO of connection interface receives voltage high information, the first transmission circuit for being connected with first connecting interface
Drain electrode and source conduction with the metal-oxide-semiconductor in the second transmission circuit, at least two transmission circuit ground connection, first connection
Interface is in non-enabled state.
5. electronic equipment as claimed in claim 4, it is characterised in that the electronic equipment also includes:
Electrostatic impedor ESD, between the interface circuit and the metal-oxide-semiconductor, for the conducting voltage of the metal-oxide-semiconductor to be limited
System is in predetermined voltage range.
6. a kind of information processing method, applied to an electronic equipment, methods described includes:
Detection obtains the linkage function for being used for closing the first connecting interface in the electronic equipment at least one connecting interface
The first operation information;At least one connecting interface is in enabled state;
It is determined that first bus extender GPIO corresponding with first connecting interface, controls the first bus extender GPIO
First control instruction is generated based on first operation information;
According to first control instruction, first connecting interface is controlled to switch to non-enabled state by the enabled state.
7. method as claimed in claim 6, it is characterised in that described according to first control instruction, control described first
Connecting interface switches to non-enabled state by the enabled state, specifically includes:
First control instruction is sent at least two transmission circuits described in being connected with first connecting interface;Its
In, it is respectively arranged with a field effect transistor in the first transmission circuit and the second transmission circuit of at least two transmission circuits
Metal-oxide-semiconductor, the grid of the metal-oxide-semiconductor are connected with circuit where the first bus extender GPIO, drain and described at least two
Transmission circuit is connected, and source electrode is connected with including the earthed circuit of configuration resistance;
According to first control instruction, the current first voltage of the metal-oxide-semiconductor is drawn high to second not less than predeterminated voltage
Voltage, so that the source electrode turns on the drain electrode, at least two transmission circuit ground connection, control first connecting interface
Non- enabled state is switched to by the enabled state.
8. method as claimed in claim 7, it is characterised in that connect according to first control instruction, control described first
After connection interface switches to non-enabled state by the enabled state, methods described also includes:
Obtain the second operation letter for being used to open the linkage function of first connecting interface carried out for the electronic equipment
Breath;
According to second operation information, the first bus extender GPIO is controlled to send the second control instruction;Wherein, it is described
Second control instruction is the control instruction for the conducting voltage for dragging down the metal-oxide-semiconductor;
Second control instruction is sent to first connecting interface, controls first connecting interface by described non-enabled
State switches to the enabled state.
9. a kind of control circuit, including:
Interface circuit, including at least two transmission circuits, for connecting at least one connecting interface and at least one GPIO;It is described
GPIO circuits where at least one GPIO can be used in sending voltage configuration signal;
Control circuit, between the interface circuit and the GPIO circuits, metal-oxide-semiconductor, institute are included in the control circuit
The grid for stating metal-oxide-semiconductor is connected with the GPIO circuits, and drain electrode is connected with least two transmission circuits, and source electrode is matched somebody with somebody with including
The earthed circuit for putting resistance is connected;
Wherein, when being raised according to voltage configuration information by the conducting voltage of the metal-oxide-semiconductor and being more than predeterminated voltage, the source electrode
Turned on the drain electrode, the interface circuit ground connection.
10. circuit as claimed in claim 9, it is characterised in that the circuit also includes:
Anti-static circuit, comprising electrostatic impedor ESD, between the control circuit and the interface circuit, for by institute
The conducting voltage for stating metal-oxide-semiconductor is limited in predetermined voltage range.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510236680.1A CN104866451B (en) | 2015-05-11 | 2015-05-11 | A kind of electronic equipment, information processing method and control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510236680.1A CN104866451B (en) | 2015-05-11 | 2015-05-11 | A kind of electronic equipment, information processing method and control circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104866451A CN104866451A (en) | 2015-08-26 |
CN104866451B true CN104866451B (en) | 2018-01-23 |
Family
ID=53912293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510236680.1A Active CN104866451B (en) | 2015-05-11 | 2015-05-11 | A kind of electronic equipment, information processing method and control circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104866451B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107482736B (en) * | 2017-09-29 | 2019-04-09 | 维沃移动通信有限公司 | A kind of method for preventing USB interface short circuit from burning and electronic equipment |
CN111169409B (en) * | 2020-02-21 | 2022-03-18 | 广州小鹏汽车科技有限公司 | Control method and vehicle |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201654825U (en) * | 2010-04-07 | 2010-11-24 | 北京天地融科技有限公司 | Usb key device |
CN101997963A (en) * | 2009-08-31 | 2011-03-30 | 英华达股份有限公司 | Power supply management method and system of portable communication device |
CN203733112U (en) * | 2013-12-30 | 2014-07-23 | 深圳Tcl新技术有限公司 | Multifunctional USB interface achieving circuit and USB connector |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101246464B (en) * | 2008-03-07 | 2010-11-03 | 威盛电子股份有限公司 | Master control module, electronic device, electric system and data transmission method thereof |
-
2015
- 2015-05-11 CN CN201510236680.1A patent/CN104866451B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997963A (en) * | 2009-08-31 | 2011-03-30 | 英华达股份有限公司 | Power supply management method and system of portable communication device |
CN201654825U (en) * | 2010-04-07 | 2010-11-24 | 北京天地融科技有限公司 | Usb key device |
CN203733112U (en) * | 2013-12-30 | 2014-07-23 | 深圳Tcl新技术有限公司 | Multifunctional USB interface achieving circuit and USB connector |
Also Published As
Publication number | Publication date |
---|---|
CN104866451A (en) | 2015-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203387203U (en) | Charging switching system possessing USB on-the-go (OTG) function | |
CN106104506B (en) | For entering the method, apparatus and computer program product of attachment joint mode in USB c-type interface | |
CN106301342B (en) | Interface circuit and terminal device | |
CN104953629B (en) | Charging equipment | |
CN107229579A (en) | The USB mode of USB interface and the compatibility method and device of MHL patterns | |
CN104516578B (en) | Touch screen contact processing method, device and terminal | |
CN104866451B (en) | A kind of electronic equipment, information processing method and control circuit | |
WO2022063067A1 (en) | Power adapter, terminal device, electronic device, and charging control method thereof | |
CN108920397A (en) | device identification method, device, storage medium and electronic equipment | |
CN107332208A (en) | A kind of protection circuit, mainboard guard method and terminal | |
CN106488019B (en) | A kind of starting-up method of mobile terminal and mobile terminal | |
CN106025727B (en) | A kind of intelligent socket with speech identifying function | |
CN106155969A (en) | Data transmission system and transmission method thereof | |
CN108647047A (en) | A kind of awakening method and system based on mobile terminal | |
CN102467400B (en) | Control method on multiport network interface card | |
CN102854417B (en) | Master test board and testing method thereof | |
CN107038030A (en) | A kind of switching method and device of terminal system pattern | |
CN108664430A (en) | Recognition methods, device, storage medium and the electronic equipment of equipment | |
CN107742909A (en) | Charging circuit, intelligent terminal and its charging method | |
CN207968479U (en) | A kind of mobile terminal | |
CN206003076U (en) | Gesture induction device, mobile terminal and control system | |
CN107809229A (en) | A kind of more key combination hardware reset circuits and electronic product | |
CN206431612U (en) | One kind touches screen pointing device, terminal and system | |
CN106788360A (en) | A kind of reset circuit | |
CN106469129A (en) | A kind of equipment method of attachment and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |