CN106201938A - A kind of chip, hub, electronic equipment and the method for interruption U SB signal - Google Patents

A kind of chip, hub, electronic equipment and the method for interruption U SB signal Download PDF

Info

Publication number
CN106201938A
CN106201938A CN201610488181.6A CN201610488181A CN106201938A CN 106201938 A CN106201938 A CN 106201938A CN 201610488181 A CN201610488181 A CN 201610488181A CN 106201938 A CN106201938 A CN 106201938A
Authority
CN
China
Prior art keywords
usb signal
signal output
output pin
usb
pin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610488181.6A
Other languages
Chinese (zh)
Other versions
CN106201938B (en
Inventor
朱冲
何凤龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610488181.6A priority Critical patent/CN106201938B/en
Publication of CN106201938A publication Critical patent/CN106201938A/en
Application granted granted Critical
Publication of CN106201938B publication Critical patent/CN106201938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling requests for interconnection or transfer for access to input/output bus using interrupt

Abstract

The embodiment of the present invention provides a kind of chip, hub, electronic equipment and the method for interruption U SB signal, a kind of preferably for closing the technical problem of the mode of USB device for solving to lack in prior art.Described chip includes: usb signal input pin, is used for accessing usb signal;M usb signal output pin, each usb signal output pin in M usb signal output pin is used to export usb signal, provides usb signal for the USB device being connected with each usb signal output pin, and M is the integer more than or equal to 2;Controller, it is connected with usb signal input pin, and be connected respectively with M usb signal output pin, for when receiving the first control instruction, performing the first control instruction and stop output usb signal with the N number of usb signal output pin controlling in M usb signal output pin, N is the integer less than or equal to M.

Description

A kind of chip, hub, electronic equipment and the method for interruption U SB signal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of chip, hub, electronic equipment and interruption U SB signal Method.
Background technology
Current most of electronic equipment all supports that USB (Universal Serial Bus, USB (universal serial bus)) extends merit Can, such as AIO (All In One, integrated computer), PC (Personal Computer, PC), Desktop (desktop Computer), notebook computer etc., these electronic equipments generally comprise multiple USB port (or referred to as USB interface), in order to energy Enough by the more external USB devices of USB port, such as can connect USB mouse, USB keyboard, USB flash disk or USB by USB port Printer, etc., to strengthen the expanded function of electronic equipment.In actual use, it may be necessary to close external USB and set Standby, USB device is closed by the most general employing following two mode.
First kind of way: refer to shown in Figure 1A, the CPU (central processing unit) of electronic equipment passes through USB chip to multiple USB port provides usb signal, i.e. by USB chip, usb signal is guided to multiple USB port, in order to the multiple USB devices of confession make With, Figure 1A is as a example by three USB ports.In first kind of way, be directly to close the usb signal at CPU, due to be from Usb signal is directly closed, then the usb signal of whole USB ports of USB chip all will be cut off, namely simultaneously at CPU Say, the whole USB devices being connected with electronic equipment can only be simultaneously closed off by first kind of way, or open simultaneously, and nothing Method to one of them or partly individually controls.
The second way: refer to shown in Figure 1B, can be that each USB port arranges single power supply, be USB port 1 USB_VCC1 is set, USB_VCC is set for USB port 2, and USB_VCC3 is set for USB port 3, when needs are closed wherein Part USB port connect USB device time, such as need close USB port 1 connected USB device time 1, can directly close Close the power supply corresponding with this USB port, the most directly close USB_VCC1, although by the power-off of USB port 1, but It is the usb signal connected with USB port 1 or exists, if the equipment being now connected with USB port 1 is active setting always Standby and itself need not the power supply of USB port 1, then now hacker then can utilize the usb signal that USB port 1 is provided Steal the data of storage in electronic equipment, cause data to damage or privacy leakage, especially for commercial use such as such as banks For family, consequence may be more serious.
Visible, in the prior art, when closing the USB device that USB port connects, or can only simultaneously close off, and nothing Part USB device is individually controlled by method, or is likely to be due to close thorough and does not causes privacy data to be revealed, and causes safety Risk, lacks a kind of preferably for closing the mode of the USB device being connected with electronic equipment in prior art.
Summary of the invention
The embodiment of the present invention provides a kind of chip, hub, electronic equipment and the method for interruption U SB signal, is used for solving Prior art lack a kind of preferably for closing the technical problem of the mode of USB device.
First aspect, it is provided that a kind of chip, including:
Usb signal input pin, is used for accessing usb signal;
M usb signal output pin, each usb signal output pin in described M usb signal output pin is all used In exporting described usb signal, providing described usb signal for the USB device being connected with described each usb signal output pin, M is Integer more than or equal to 2;
Controller, is connected with described usb signal input pin, and connects respectively with described M usb signal output pin Connect, for when receiving the first control instruction, performing described first control instruction to control described M usb signal output pin In N number of usb signal output pin stop export described usb signal, N is the integer less than or equal to M.
Optionally, described chip also includes:
At least one depositor, for storing the control instruction for described M usb signal output pin.
Optionally, described chip also includes:
Control signal receives pin, is connected with described controller, is used for receiving described first control instruction and by described the One control instruction is sent to described controller.
Optionally, described M usb signal output pin has the pin mark of correspondence;Described controller is additionally operable to:
N number of usb signal output pin in controlling described M usb signal output pin stops exporting described usb signal Before, the pin mark that described first control instruction is targeted is determined;
Described M usb signal output pin will have the USB letter of the targeted pin mark of described first control instruction Number output pin is defined as described N number of usb signal output pin.
Optionally, described controller is additionally operable to:
N number of usb signal output pin in controlling described M usb signal output pin stops exporting described usb signal Before, it is defined as the power supply that described N number of usb signal output pin is powered all to be closed.
Optionally, described controller is additionally operable to:
N number of usb signal output pin in controlling described M usb signal output pin stops exporting described usb signal Afterwards, defeated with P the usb signal output pin controlled in described M usb signal output pin by performing the second control instruction Going out described usb signal, P is the integer less than or equal to M.
Second aspect, it is provided that a kind of hub, including:
Housing;
Chip as described in arbitrary in first aspect, described chip is placed in described housing.
Optionally, described housing includes M opening, and described M opening is relative with described M usb signal output pin.
The third aspect, it is provided that a kind of electronic equipment, including:
Chip, described chip includes usb signal input pin, M usb signal output pin and controller, wherein, described Controller is connected with described usb signal input pin, and is connected respectively with described M usb signal output pin, is used for passing through Usb signal is accessed described chip by described usb signal input pin, and M is the integer more than or equal to 2;
Processor, is connected with described usb signal input pin, is used for by described usb signal input pin to described core Sheet transmits described usb signal, and for sending the first control instruction to described chip;Wherein, described first control instruction is used Exporting described usb signal in indicating the N number of usb signal output pin in described M usb signal output pin to stop, N is for being less than Integer equal to M.
Optionally, described processor is connected with described usb signal input pin by SMBus.
Fourth aspect, it is provided that a kind of method of interruption U SB signal, including:
Receive the first control instruction;Wherein, described first control instruction is defeated for M the usb signal indicating chip to include Going out the N number of usb signal output pin in pin and stop output usb signal, M is the integer more than or equal to 2, and N is less than or equal to M's Integer;
Perform described first control instruction, all stop exporting described USB letter controlling described N number of usb signal output pin Number.
Optionally, described M usb signal output pin has the pin mark of correspondence;Control to refer to performing described first Before order, also include:
Determine the pin mark that described first control instruction is targeted;
Described M usb signal output pin will have the USB letter of the targeted pin mark of described first control instruction Number output pin is defined as described N number of usb signal output pin.
Optionally, before performing described first control instruction, also include:
It is defined as the power supply that described N number of usb signal output pin is powered all to be closed.
5th aspect, it is provided that a kind of electronic equipment, including:
Receiver module, for receiving the first control instruction;Wherein, described first control instruction is for indicating chip to include N number of usb signal output pin in M usb signal output pin stops output usb signal, and M is the integer more than or equal to 2, N For the integer less than or equal to M;
Perform module, be used for performing described first control instruction, all stop controlling described N number of usb signal output pin Export described usb signal.
Optionally, described M usb signal output pin has the pin mark of correspondence;Described electronic equipment also includes One determines that module and second determines module;Wherein,
Described first determine module in described execution module before performing described first control instruction, determine institute State the pin mark that the first control instruction is targeted;
Described second determines module, for having described first control instruction institute in described M usb signal output pin For pin mark usb signal output pin be defined as described N number of usb signal output pin.
Optionally, described electronic equipment also includes that the 3rd determines module, is used for:
Before described execution module is used for performing described first control instruction, it is defined as the output of described N number of usb signal and draws The power supply that foot is powered all is closed.
The embodiment of the present invention provides a kind of chip, including usb signal input pin, M usb signal output pin and control Device, and controller can export with the N number of usb signal controlling in M usb signal output pin by performing the first control instruction Pin stops output usb signal, say, that by the control action of the controller in chip, can be in multiple USB ports Section ports be independently controlled and manage, i.e. can control simultaneously in usb signal output pin part usb signal output Pin persistently exports usb signal, and the usb signal output pin controlling remainder stops output usb signal, i.e. can control Part usb signal output pin interrupt output usb signal, to reach the output of the usb signal to part usb signal output pin The purpose individually controlled.
The chip provided by the embodiment of the present invention, owing to individually can control part usb signal output pin System, and then the control action of chip itself can be promoted, simultaneously as be to control part usb signal output pin interrupt output Usb signal, the USB device connected by these usb signal output pins just cannot obtain usb signal, then the most just The USB function of correspondence cannot be performed, be the equal of the USB function having cut off these usb signal output pins from source, so Even if the USB device connected is active equipment, also cannot perform USB function, the most just cannot obtain the information of chip internal, And also cannot obtain the information stored in electronic equipment, such that it is able to the safety of the information of lifting.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Inventive embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to carrying The accompanying drawing of confession obtains other accompanying drawing.
Figure 1A is the schematic diagram of a kind of mode closing USB device in prior art;
Figure 1B is the schematic diagram of the another kind of mode closing USB device in prior art;
Fig. 2 is the structural representation of embodiment of the present invention chips;
Fig. 3 is another structural representation of embodiment of the present invention chips;
Fig. 4 is the structural representation of hub in the embodiment of the present invention;
Fig. 5 is another structural representation of hub in the embodiment of the present invention;
Fig. 6 is the structural representation of electronic equipment in the embodiment of the present invention;
Fig. 7 is the flow chart of the method for interruption U SB signal in the embodiment of the present invention;
Fig. 8 is the structured flowchart of electronic equipment in the embodiment of the present invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with in the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only It is a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under not making creative work premise, broadly falls into the scope of protection of the invention.? In the case of not conflicting, the embodiment in the present invention and the feature in embodiment can mutual combination in any.And, although at stream Journey figure shows logical order, but in some cases, can perform with the order being different from herein shown or described Step.
It addition, the terms "and/or", a kind of incidence relation describing affiliated partner, expression can exist Three kinds of relations, such as, A and/or B, can represent: individualism A, there is A and B, individualism B these three situation simultaneously.Separately Outward, character "/" herein, in the case of not illustrating, typically represent the forward-backward correlation relation to liking a kind of "or".
In order to be better understood from technique scheme, below in conjunction with Figure of description and specific embodiment to upper State technical scheme to be described in detail.
Referring to Fig. 2, the embodiment of the present invention provides a kind of chip 20, and this chip 20 can apply in electronic equipment, example As may apply in AIO, notebook computer or PC, can be that electronic equipment expands multiple USB port, institute by chip 20 The chip 20 in the embodiment of the present invention can be referred to as usb expansion chip, or referred to as USB interface chip.The present invention Chip 20 in embodiment can include usb signal input pin 21, M usb signal output pin 22 and controller 23.
Wherein, usb signal input pin 21, it is used for accessing usb signal, and usb signal can be by aforesaid electronics Equipment is provided, such as, shown in Figure 1A or Figure 1B, usb signal can be that the CPU by electronic equipment is provided, and USB letter The effect of number input pin 21 is the usb signal access chip 20 provided by electronic equipment, is the equal of as CPU and chip The transmission channel of the usb signal between 20.It addition, the quantity of usb signal input pin 21 can be one, or can also be Multiple, when its quantity is one, be the equal of as the total lock for accessing usb signal for chip 20, and when its quantity is Time multiple, are the equal of can to access usb signal with a plurality of path for chip 20, and the every road usb signal accessed can be phase Same usb signal, and be to illustrate as a example by a usb signal input pin 21 in fig. 2.
In specific implementation process, usb signal input pin 21 can pass through SMBus (System Management Bus, System Management Bus) it is connected with CPU, then usb signal input pin 21 then can be regarded as SMBus interface.Wherein, SMBus is system and the such task of power management provides one and controls bus, uses the system of SMBus, electronic equipment it Between to send and receive message be all by SMBus rather than to use single control line, it is possible to save the pipe of electronic equipment Foot number, can also save the number of pins of chip 20 simultaneously, uses SMBus, and electronic equipment may be provided for its production information, accuses Tell its model of system, part number etc., preserve its state for the event of hang-up, report different classes of mistake, receive and control Parameter, and return its state, etc..
M usb signal output pin 22, M is the integer more than or equal to 2, i.e. chip 20 can include that multiple usb signal is defeated Go out pin 22, and be to illustrate as a example by 3 usb signal output pins 22 in fig. 2.Wherein, M usb signal is defeated Go out each usb signal output pin 22 in pin 22 to be used to export usb signal, and then can be defeated with each usb signal Go out the USB device offer usb signal that pin 22 connects, owing to each usb signal output pin 22 can export a road USB letter Number, be the equal of can to expand M road usb signal by M usb signal output pin 22, and due to every road usb signal pair Answer a USB port, then just can realize the usb expansion function of chip 20.
It addition, the concrete structure of M usb signal output pin 22 can be identical, or can also be different, if its equal energy Output usb signal.
In specific implementation process, USB device may refer to electronic equipment external, need provided according to electronic equipment The external equipment that is operated of usb signal, such as USB mouse, USB keyboard, USB printout or USB flash disk, etc., or, also Apparatus assembly that may refer to electronic equipment self, that need the usb signal provided according to electronic equipment to be operated, such as Bluetooth module set by electronic equipment internal, or need to use the display of the usb signal of electronic equipment, etc..
Controller 23, is connected with usb signal input pin 21, and connects the most respectively with M usb signal output pin 22 Connecing, connection mentioned here may refer to be electrically connected with, and in specific implementation process, the concrete manifestation form of controller 23 can Think a control circuit, can be such as ASIC (Application Specific Integrated Circuit, specific should With integrated circuit), or can be one or more for controlling the integrated circuit that program performs, etc..
Controller 23 is for when receiving the first control instruction, by performing the first control instruction to control M usb signal N number of usb signal output pin 22 in output pin 22 stops output usb signal, i.e. interrupts N number of usb signal output pin 22 Usb signal output, say, that by setting up controller 23 in chip 20, can be for each usb signal output pin 22 usb signals transmitted individually control, and the most only control one of them usb signal output pin 22 and stop output Usb signal, or two usb signal output pins 22 stopping output usb signal therein can be controlled simultaneously, etc., and also Non-is directly to disconnect the total lock for providing usb signal, is the most not directly to disconnect the usb signal provided at CPU, so may be used So that each usb signal output pin 22 individually to be controlled, strengthen control and management energy that chip 20 exports for usb signal Power, simultaneously as be not to close the power supply corresponding with usb signal output pin 22, but interrupt the output of each usb signal and draws The usb signal that foot 22 is transmitted, the most just can fundamentally cut off the transmission of usb signal, then though external USB device It is active equipment, but owing to the output of the usb signal of corresponding usb signal output pin 22 has been interrupted, so These USB devices also cannot carry out usb communication by chip 20 and electronic equipment, then the most just cannot obtain in chip 20 The information that portion is stored, the most unlikely obtains the information that electronic equipment internal is stored, such that it is able to prevent information from letting out as far as possible Dew, to improve the safety of information.
Wherein, the first control instruction can be to be generated concurrently by the CPU of the electronic equipment as shown in Figure 1A or Figure 1B Giving chip 20, the first control instruction is for indicating N number of usb signal output pin in M usb signal output pin 22 The output of usb signal.Such as wish to interrupt the usb signal output pin 22 of the most topmost as user During the output of usb signal, then can be controlled operation by the interactive interface of electronic equipment, such as by clicking on interactive interface On interruption button, then electronic equipment, after control that user is carried out operation being detected, i.e. can be grasped according to this control Making to generate corresponding control instruction, the control instruction such as generated is the first control instruction.
Referring to Fig. 3, chip 20 can also include at least one depositor 24, for storage for M usb signal output The control instruction of pin 22, such as, may be used for storing aforesaid first control instruction, at least one depositor 24 and controller All keeping between 23 being electrically connected with, the control instruction being used for controlling usb signal output pin 22 can be stored by controller 23 In corresponding depositor 24.In specific implementation process, chip 20 can include one or more depositor 24, and in Fig. 3 is Illustrate as a example by including three depositors 24.
When chip 20 includes a depositor 24, this depositor 24 and all of usb signal output pin 22 it Between all keep being electrically connected with, now this depositor 24 may be used for storing for the control of all usb signal output pins 22 System instruction.
When chip 20 includes multiple depositor 24, optionally, can include equal with usb signal output pin 22 quantity Depositor 24, such as shown in Fig. 3, chip 20 includes 3 usb signal output pins 22, then then can be correspondingly arranged 3 and post Storage 24, the most each depositor 24 and usb signal output pin 22 one_to_one corresponding, each depositor 24 and corresponding USB Keep between signal output pin 22 being electrically connected with, be the equal of, be separately provided one specially for each usb signal output pin 22 The depositor 24 belonged to, exclusive depositor 24 is then served only for storing the control for corresponding usb signal output pin 22 and refers to Order, in order to independent, efficient control and management is carried out for each usb signal output pin 22.
When chip 20 includes multiple depositor 24, optionally, it is also possible to be that multiple USB letter served by a depositor 24 Number output pin 22.Such as, when chip 20 includes 3 usb signal output pins 22,2 depositors 24 now can be set, One of them depositor 24 is for storing the control instruction for two of which usb signal output pin 22, and another one Depositor 24 is for storing the control instruction for another one usb signal output pin 22.
In specific implementation process, such as can according to chip 20 hardware performance to be reached or concrete structure etc. because of Element determines the quantity of depositor 24, and the present invention is not particularly limited.
With continued reference to shown in Fig. 3, chip 20 also includes that control signal receives pin 25, is connected with controller 23, is used for connecing Receive the control instruction that sent of CPU of electronic equipment and the control instruction received is passed to controller 23, say, that core Sheet 20 is to receive pin 25 by control signal and obtain the control instruction that electronic equipment sends, such as, connect by control signal Spasm foot 25 obtains the first control instruction.
Further, with continued reference to Fig. 3, chip 20 also includes package casing 26, for the first device included by chip 20 Part is packaged protection, and the components and parts included by chip 20 can carry out integration packaging, improves the integrated level of chip 20. Wherein, usb signal input pin 21, M usb signal output pin 22, control signal receives pin 25 all can be with pricking with needle Form is arranged at the outside of package casing 26, and controller 23 can be arranged at the inside of package casing 26.
It addition, chip 20 can also include power pins, grounding pin or have the pin of other function, etc., this Place just illustrates the most one by one.
M usb signal output pin 22 can have the pin mark of correspondence, and pin mark such as can be with numeral table Show, such as pin 1, pin 2, pin 3 etc., each usb signal output pin 22 can be made a distinction by pin mark.
In the controlling the usb signal of the N number of usb signal output pin 22 in M usb signal output pin 22 of disconnected output it Before, in order to ensure the accuracy of usb signal interrupt output, controller 23 can first according to the first control instruction from M usb signal Output pin 22 is determined the N number of usb signal output pin 22 needing to be interrupted, specifically, the such as first control instruction In can include the pin mark of usb signal output pin 22 that needs interrupt, or electronic equipment is sending to controller 23 The control letter needing which usb signal output pin 22 is carried out interrupts controlling can also be sent during the first control instruction simultaneously Breath, and this control information can including, the pin of the usb signal output pin 22 that needs interrupt identifies, then, work as controller 23 receive the first control instruction or control information time, it is possible to according to the first control instruction or according to control information from M USB Signal output pin 22 is determined the N number of usb signal output pin 22 needing to carry out usb signal interruption, and then guarantees that USB believes Number interrupt accuracy.
In practice, when user needs to close external USB device, may just simply turn off according to habituation operation The external power supply of USB device, or cut off, by programme-control, the power supply that electronic equipment provides for USB device, so, at this In bright embodiment, the controller 23 N number of usb signal output pin 22 in controlling M usb signal output pin stops output Before usb signal, can first be judged as that the power supply that N number of usb signal output pin 22 is powered the most all is closed, however, it is determined that All it is closed, shows that user really has the actual demand closing USB device, the most then can control the output of N number of usb signal and draw Foot 22 stops output usb signal, fundamentally to cut off usb signal, other users so can be avoided to utilize N number of USB as far as possible The usb signal that signal output pin 22 is provided carries out other illegal operation, improves the safety of information.
Further, after controlling N number of usb signal output pin 22 and stopping output usb signal, when user needs again again During secondary use USB device, the most then need usb signal is recovered output, then, now controller 23 can be by performing second Control instruction exports usb signal to control P usb signal output pin 22 in M usb signal output pin 22, i.e. recovers Output to the UBS signal of P usb signal output pin 22.
P usb signal output pin 22 in the embodiment of the present invention can be with aforesaid N number of usb signal output pin 22 Identical, or can also be different, when both are different, P usb signal output pin 22 can include that the output of N number of usb signal is drawn The part of foot 22, or N number of usb signal output pin 22 can not also be included, and P usb signal output pin 22 is specially Which usb signal output pin 22, can be according to the actually used demand of user depending on, the present invention is not particularly limited.
Referring to Fig. 4, based on same inventive concept, the embodiment of the present invention provides a kind of hub 40, and hub 40 includes Housing 41 and foregoing chip 20, chip 20 is placed in the inside of housing 41, further, shown in Figure 5, housing Can arrange M opening 51 on 41, M opening 51 can be relative with M usb signal output pin 22 included by chip 20, M opening 51 can be not understood as M USB port, say, that M opening 51 can be drawn with M usb signal output Foot 22 is set to relative position, so can be so that directly being passed by M usb signal output pin 22 by M opening 51 Defeated usb signal derives the outside to hub 40, and then accesses, by USB port, the USB device that user needs to use.
Hub 40 in the embodiment of the present invention can be used alone, such as, can be external in electronics as USB device and set Standby USB port, so can expand more USB port by hub 40, strengthens the autgmentability of equipment and multi-functional Property.Owing to the hub 40 in the embodiment of the present invention is for expanding more USB port, it is possible to the present invention is implemented Hub 40 in example is not understood as usb hub.
Referring to Fig. 6, based on unified inventive concept, the embodiment of the present invention provides a kind of electronic equipment 60, electronic equipment 60 Including foregoing chip 20 and processor 61.
Wherein, as it was previously stated, chip 20 includes usb signal input pin 21, M usb signal output pin 22 and controls Device 23, wherein, controller 23 is connected with usb signal input pin 21, and is connected respectively with M usb signal output pin 22, For by usb signal input pin 21 by usb signal access chip 20, M is the integer more than or equal to 2, for example, 3,8, etc. Deng.
Processor 61, is connected with usb signal input pin 21, for being passed to chip 20 by usb signal input pin 21 Defeated usb signal, and for sending the first control instruction to chip 20;Wherein, the first control instruction is used for indicating M USB letter N number of usb signal output pin 22 in number output pin 22 stops output usb signal, and N is the integer less than or equal to M.
Further, processor 61 can be connected with usb signal input pin 21 by SMBus, so can pass through The first control instruction that processor 61 is generated by SMBus passes to chip 20.
Referring to Fig. 7, based on same inventive concept, the embodiment of the present invention provides a kind of method of interruption U SB signal, the party Method can apply to chip 20 as shown in Figure 2 or Figure 3, it is also possible to is applied to the hub 40 as shown in Fig. 4 or Fig. 5, or Electronic equipment 60 as shown in Figure 6 can also be applied to.The flow process of the method for this interruption U SB signal is as follows.
Step 71: receive the first control instruction;Wherein, the first control instruction is used for indicating foregoing chip 20 to include M usb signal output pin 22 in N number of usb signal output pin 22 stop output usb signal, M is more than or equal to 2 Integer, N is the integer less than or equal to M;
Step 72: perform the first control instruction, with control N number of usb signal output pin 22 all stop export usb signal.
Owing to being the output that is particularly used for interruption U SB signal of the method for interruption U SB signal in inventive embodiments, so The method that the method for the interruption U SB signal in the embodiment of the present invention can be referred to as the output of interruption U SB signal, or be referred to as The method of interrupt output usb signal.
Optionally, M usb signal output pin 22 has corresponding pin mark;Before performing the first control instruction, It may also be determined that the pin mark that the first control instruction is targeted, and M usb signal output pin 22 will have the first control The usb signal output pin 22 instructing targeted pin mark is defined as N number of usb signal output pin 22.
Optionally, before performing the first control instruction, it is also possible to be defined as N number of usb signal output pin 22 and supply The power supply of electricity is all closed.
Owing to the method for the interruption U SB signal in the embodiment of the present invention solves the former of problem with the chip 20 in Fig. 2 and Fig. 3 Managing similar, therefore in the embodiment of the present invention, the enforcement of the method for interruption U SB signal may refer to the chip 20 in Fig. 2 and Fig. 3 Implement, do not repeat them here.
Referring to Fig. 8, based on same inventive concept, the embodiment of the present invention provides another kind of electronic equipment 80, and this electronics sets Standby 80 include receiver module 81 and perform module 82.
Receiver module 81, for receiving the first control instruction;Wherein, the M that the first control instruction includes for indicating chip N number of usb signal output pin in individual usb signal output pin stops output usb signal, and M is the integer more than or equal to 2, and N is Integer less than or equal to M;
Perform module 82, be used for performing the first control instruction, with control N number of usb signal output pin all stop export Usb signal.
Optionally, M usb signal output pin has corresponding pin mark;Electronic equipment 80 also includes that first determines Module and second determines module;Wherein,
First determine module for perform module 82 before performing the first control instruction, determine the first control instruction Targeted pin mark;
Second determines module, for having the pin mark that the first control instruction is targeted in M usb signal output pin The usb signal output pin known is defined as N number of usb signal output pin.
Optionally, electronic equipment also includes that the 3rd determines module, is used for:
In execution module 82 before performing the first control instruction, it is defined as N number of usb signal output pin and is powered Power supply be all closed.
Owing to the method for the electronic equipment 80 in the embodiment of the present invention with above-mentioned interruption U SB signal solves the principle phase of problem Seemingly, therefore in the embodiment of the present invention, the enforcement of electronic equipment 80 may refer to the enforcement of the method for above-mentioned interruption U SB signal, at this Repeat no more.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, only with above-mentioned each function The division of module is illustrated, and in actual application, can distribute above-mentioned functions by different function lists as desired Unit completes, and the internal structure of device will be divided into different functional units, to complete all or part of merit described above Energy.The specific works process of the system of foregoing description, device and unit, the corresponding mistake being referred in preceding method embodiment Journey, does not repeats them here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method are permissible Realize by another way.Such as, device embodiment described above is only schematically, such as, described module or The division of unit, is only a kind of logic function and divides, and actual can have other dividing mode, the most multiple unit when realizing Or assembly can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, institute The coupling each other shown or discuss or direct-coupling or communication connection can be by some interfaces, device or unit INDIRECT COUPLING or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part that in other words prior art contributed or this technical scheme completely or partially can be with the form of software product Embodying, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform the present invention each All or part of step of method described in embodiment.And aforesaid storage medium includes: USB flash disk, portable hard drive, ROM (Read- Only Memory, read only memory), RAM (Random Access Memory, random access memory), magnetic disc or CD Etc. the various media that can store program code.
Specifically, the computer program instructions that a kind of in the embodiment of the present invention exports the method for usb signal corresponding can To be stored in CD, hard disk, on the storage medium such as USB flash disk, when a kind of method with interruption U SB signal in storage medium is corresponding Computer program instructions read or when being performed by an electronic equipment, comprise the steps:
Receive the first control instruction;Wherein, M the usb signal output that the first control instruction includes for indicating chip is drawn N number of usb signal output pin in foot stops output usb signal, and M is the integer more than or equal to 2, and N is whole less than or equal to M Number;
Perform the first control instruction, to control N number of usb signal output pin stopping output usb signal.
Optionally, M usb signal output pin has corresponding pin mark;In storage medium storage and step: hold Row the first control instruction, corresponding computer instruction before being executed, also includes:
Determine the pin mark that the first control instruction is targeted;
The usb signal output in M usb signal output pin with the targeted pin mark of the first control instruction is drawn Foot is defined as N number of usb signal output pin.
Optionally, store in storage medium and step: perform the first control instruction, corresponding computer instruction is being held Before row, also include:
It is defined as the power supply that N number of usb signal output pin is powered all to be closed.
The above, above example is only in order to be described in detail technical scheme, but implements above The explanation of example is only intended to help to understand method and the core concept thereof of the present invention, should not be construed as limitation of the present invention.This Those skilled in the art in the technical scope that the invention discloses, the change that can readily occur in or replacement, all should contain Within protection scope of the present invention.

Claims (13)

1. a chip, including:
General-purpose serial bus USB signal input pin, is used for accessing usb signal;
M usb signal output pin, each usb signal output pin in described M usb signal output pin is used to defeated Going out described usb signal, provide described usb signal for the USB device being connected with described each usb signal output pin, M is for being more than Integer equal to 2;
Controller, is connected with described usb signal input pin, and is connected respectively with described M usb signal output pin, uses In when receiving the first control instruction, perform described first control instruction to control the N in described M usb signal output pin Individual usb signal output pin stops exporting described usb signal, and N is the integer less than or equal to M.
2. chip as claimed in claim 1, it is characterised in that described chip also includes:
At least one depositor, for storing the control instruction for described M usb signal output pin.
3. chip as claimed in claim 1, it is characterised in that described chip also includes:
Control signal receives pin, is connected with described controller, is used for receiving described first control instruction and by described first control Instruction processed is sent to described controller.
4. the chip as described in any claim in claim 1-3, it is characterised in that described M usb signal output pin There is the pin mark of correspondence;
Described controller is additionally operable to:
The N number of usb signal output pin controlled in described M usb signal output pin stop the described usb signal of output it Before, determine the pin mark that described first control instruction is targeted;
By described M usb signal output pin has described first control instruction targeted pin mark usb signal defeated Go out pin and be defined as described N number of usb signal output pin.
5. the chip as described in any claim in claim 1-3, it is characterised in that described controller is additionally operable to:
The N number of usb signal output pin controlled in described M usb signal output pin stop the described usb signal of output it Before, it is defined as the power supply that described N number of usb signal output pin is powered and is all closed.
6. the chip as described in any claim in claim 1-3, it is characterised in that described controller is additionally operable to:
The N number of usb signal output pin controlled in described M usb signal output pin stop the described usb signal of output it After, export with P the usb signal output pin controlling in described M usb signal output pin by performing the second control instruction Described usb signal, P is the integer less than or equal to M.
7. a hub, including:
Housing;
Chip as described in any claim in claim 1-6, described chip is placed in described housing.
8. hub as claimed in claim 7, it is characterised in that described housing includes M opening, described M opening and institute State M usb signal output pin relative.
9. an electronic equipment, including:
Chip, described chip includes usb signal input pin, M usb signal output pin and controller, wherein, described control Device is connected with described usb signal input pin, and is connected respectively with described M usb signal output pin, for by described Usb signal is accessed described chip by usb signal input pin, and M is the integer more than or equal to 2;
Processor, is connected with described usb signal input pin, for being passed to described chip by described usb signal input pin Defeated described usb signal, and for sending the first control instruction to described chip;Wherein, described first control instruction is used for referring to Showing that the N number of usb signal output pin in described M usb signal output pin stops exporting described usb signal, N is for being less than or equal to The integer of M.
10. electronic equipment as claimed in claim 9, it is characterised in that described processor by System Management Bus SMBus with Described usb signal input pin connects.
The method of 11. 1 kinds of interruption U SB signals, including:
Receive the first control instruction;Wherein, described first control instruction is drawn for M the usb signal output indicating chip to include N number of usb signal output pin in foot stops output usb signal, and M is the integer more than or equal to 2, and N is whole less than or equal to M Number;
Perform described first control instruction, all stop exporting described usb signal controlling described N number of usb signal output pin.
12. methods as claimed in claim 11, it is characterised in that described M usb signal output pin has the pin of correspondence Mark;Before performing described first control instruction, also include:
Determine the pin mark that described first control instruction is targeted;
By described M usb signal output pin has described first control instruction targeted pin mark usb signal defeated Go out pin and be defined as described N number of usb signal output pin.
13. methods as claimed in claim 11, it is characterised in that before performing described first control instruction, also include:
It is defined as the power supply that described N number of usb signal output pin is powered all to be closed.
CN201610488181.6A 2016-06-28 2016-06-28 Chip, hub, electronic equipment and method for interrupting USB signal Active CN106201938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610488181.6A CN106201938B (en) 2016-06-28 2016-06-28 Chip, hub, electronic equipment and method for interrupting USB signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610488181.6A CN106201938B (en) 2016-06-28 2016-06-28 Chip, hub, electronic equipment and method for interrupting USB signal

Publications (2)

Publication Number Publication Date
CN106201938A true CN106201938A (en) 2016-12-07
CN106201938B CN106201938B (en) 2020-06-23

Family

ID=57462174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610488181.6A Active CN106201938B (en) 2016-06-28 2016-06-28 Chip, hub, electronic equipment and method for interrupting USB signal

Country Status (1)

Country Link
CN (1) CN106201938B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628786A (en) * 2017-03-22 2018-10-09 鸿富锦精密工业(武汉)有限公司 Interface control circuit
CN115391255A (en) * 2022-10-27 2022-11-25 北京恩威特科技有限公司 High-availability USB equipment sharing server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086726A (en) * 2006-06-06 2007-12-12 国际商业机器公司 Method and apparatus for disabling a universal serial bus port
CN101794267A (en) * 2010-03-12 2010-08-04 上海华申智能卡应用系统有限公司 USB (Universal Serial Bus) switching device and realizing method thereof
CN102096479A (en) * 2011-02-28 2011-06-15 浪潮电子信息产业股份有限公司 SMBUS-based KVM switch with local and remote functions
CN202257437U (en) * 2011-10-10 2012-05-30 浪潮电子信息产业股份有限公司 Power management bus (PMBUS) power supply structure capable of achieving general use
EP2849078A1 (en) * 2013-09-04 2015-03-18 Samsung Electronics Co., Ltd Electronic device, control method of electronic device, and image forming apparatus
CN105653483A (en) * 2015-12-25 2016-06-08 河海大学常州校区 Tandem mass USB expansion apparatus, working method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086726A (en) * 2006-06-06 2007-12-12 国际商业机器公司 Method and apparatus for disabling a universal serial bus port
CN101794267A (en) * 2010-03-12 2010-08-04 上海华申智能卡应用系统有限公司 USB (Universal Serial Bus) switching device and realizing method thereof
CN102096479A (en) * 2011-02-28 2011-06-15 浪潮电子信息产业股份有限公司 SMBUS-based KVM switch with local and remote functions
CN202257437U (en) * 2011-10-10 2012-05-30 浪潮电子信息产业股份有限公司 Power management bus (PMBUS) power supply structure capable of achieving general use
EP2849078A1 (en) * 2013-09-04 2015-03-18 Samsung Electronics Co., Ltd Electronic device, control method of electronic device, and image forming apparatus
CN105653483A (en) * 2015-12-25 2016-06-08 河海大学常州校区 Tandem mass USB expansion apparatus, working method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628786A (en) * 2017-03-22 2018-10-09 鸿富锦精密工业(武汉)有限公司 Interface control circuit
CN108628786B (en) * 2017-03-22 2023-02-07 鸿富锦精密工业(武汉)有限公司 Interface control circuit
CN115391255A (en) * 2022-10-27 2022-11-25 北京恩威特科技有限公司 High-availability USB equipment sharing server
CN115391255B (en) * 2022-10-27 2023-01-31 北京恩威特科技有限公司 High-availability USB equipment sharing server

Also Published As

Publication number Publication date
CN106201938B (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN100489823C (en) Method and apparatus for disabling a universal serial bus port
CN101589574B (en) Data structure for budgeting power for multiple devices
US7895386B2 (en) USB interface provided with host/device function and its control method
CN101065740B (en) USB On-The-Go controller
JP5878606B2 (en) Enumerate virtual USB composite devices
CN105556417A (en) Electronic device for controlling power and method therefor
US9806959B2 (en) Baseboard management controller (BMC) to host communication through device independent universal serial bus (USB) interface
CN108427649A (en) Access management method, terminal device, system and the storage medium of USB interface
TWI734950B (en) A computer-implemented method, computing device, and non-transitory computer-readable storage medium for managing a computing system
US9928206B2 (en) Dedicated LAN interface per IPMI instance on a multiple baseboard management controller (BMC) system with single physical network interface
CN103793347A (en) Methods and structure for Serial Attached SCSI (SAS) expanders that self-configure routing attributes of their ports
CN104038803A (en) Modularized smart television and interactive method applied to same
CN101772761A (en) Electronic device interface control system
CN204117142U (en) Electronic device for providing instant switching and sharing of universal serial bus electronic equipment by host
US20160156518A1 (en) Server for automatically switching sharing-network
CN107111568A (en) System and method for driver installation file to be presented when enabling USB equipment
CN106201938A (en) A kind of chip, hub, electronic equipment and the method for interruption U SB signal
US11354259B1 (en) Computer system configurations based on accessing data elements presented by baseboard management controllers
CN109791593B (en) Modifying access to services based on configuration data
CN103561089A (en) Virtual machine desktop log-in method, device and system
CN110515662B (en) Remote control method, system, equipment and readable storage medium for dual-system equipment
KR102428450B1 (en) Host controller, secure element and serial peripheral interface
CN105786145A (en) Method for controlling electronic equipment and electronic equipment
CN108170289A (en) The driving method of keyboard is customized based on USB
CN109164987A (en) A kind of control method of magnetic disc array card, device and electronic 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