CN105824775A - Electronic equipment and information processing method - Google Patents
Electronic equipment and information processing method Download PDFInfo
- Publication number
- CN105824775A CN105824775A CN201610141394.1A CN201610141394A CN105824775A CN 105824775 A CN105824775 A CN 105824775A CN 201610141394 A CN201610141394 A CN 201610141394A CN 105824775 A CN105824775 A CN 105824775A
- Authority
- CN
- China
- Prior art keywords
- usb
- control signal
- electronic equipment
- controller
- behaviour
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- 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/4022—Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
Abstract
The embodiment of the invention discloses electronic equipment and an information processing method. The electronic equipment comprises a processing chip, a USB (Universal Serial Bus) interface, a USB switch module and a controller, wherein the USB switch module is connected with the processing chip and the USB interface, and is used for switching own switch state to keep or cut off a first USB connection between the processing chip and the USB interface; a control connection is established between the controller and the USB switch module, and is used for the controller to send a control signal to the USB switch module; the control signal can be used for controlling the switch state of the USB switch module to control the first USB connection to be kept or cut off.
Description
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of electronic equipment and information processing method.
Background technology
Electronic equipment is usually provided with USB (universal serial bus) (UniversalSerialBus, USB) interface, is used for connecting USB device.The process chip of electronic equipment is directly connected with USB interface, but USB device there will be safety problem after connecting, such as, and Snowdon safety door event, it is simply that because what USB device caused.
In the prior art, only extracting USB device could disconnection process chip and the physical connection of USB device;And USB device can not be monitored.If desired disabling USB interface, then need to rewrite basic input output system (BasicInput/OutputSystem, BIOS), change is correspondingly arranged, and could disable USB interface, and such electronic equipment must be restarted;And for some important server, restart and can cause heavy losses and customer complaint.
Summary of the invention
In view of this, embodiment of the present invention expectation provides a kind of electronic equipment and information processing method, at least partly solves the problems referred to above.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
Embodiment of the present invention first aspect provides a kind of electronic equipment, and described electronic equipment includes:
Process chip;
General-purpose serial bus USB interface;
USB switch module, is connected with described process chip and described USB interface respectively, and for by the switching of its own switch state, the USB being turned on or off between described process chip and described USB interface is connected;
Controller, has control to be connected with setting up between described USB switch module;Wherein, described control is connected to described controller by sending control signal to described USB switch module;Described control signal can be used in controlling the on off state of described USB switch module, to control being turned on or off of a described USB connection.
Based on such scheme, described controller is baseboard management controller BMC.
Based on such scheme, described controller, there is the 2nd USB to be connected by setting up between described USB switch module and described USB interface;
Described USB switch module, is additionally operable to the control according to described control signal, and described 2nd USB that is turned on or off connects.
Based on such scheme, described controller, it is additionally operable to utilize described 2nd USB to successively win the behaviour in service information taking USB interface, and generates described control signal according to described behaviour in service information.
Based on such scheme, described controller, reads the identification information of the USB device being connected to described USB interface, determines whether described USB device meets safety condition and formation determines result according to described identification information specifically for utilizing described 2nd USB to connect;And determine that result generates described control signal according to described.
Based on such scheme, described controller, it is additionally operable to store the described behaviour in service information in the first moment, wherein, whether the USB device that the behaviour in service information in described first moment connects for providing USB interface described in the second moment meets the basis for estimation of safety condition;
Described second moment is later than described first moment.
Based on such scheme, described 2nd USB connects, it is possible to the USB device that control system identification the use for described controller is connected in described USB interface;
A described USB connects, it is possible to the USB device that operating system identification the use for described electronic equipment is connected in described USB interface.
Embodiment of the present invention second aspect provides a kind of information processing method, including:
Generate control signal;
It is connected according to the USB that described control signal is turned on or off between process chip and USB interface.
Based on such scheme, described generation control signal, including:
Obtain the behaviour in service information connecting USB interface;
According to described behaviour in service information, determine whether the USB device being connected in described USB interface meets safety condition, formed and determine result;
Determine result according to described, generate control signal.
Based on such scheme, described acquisition connects the behaviour in service information of USB interface, including:
Obtain the identification information of the USB device being connected in described USB interface;
Described determine whether described USB device meets safety condition and formation determines result according to described identification information, including:
According to described identification information, query safe list;
If described identification information is positioned in described safe list, it is determined that described USB device meets described safety condition.
Based on such scheme, described method also includes:
Store the behaviour in service information in the first moment;
Described acquisition is connected to the identification information of the USB device in described USB interface, including:
Obtain the behaviour in service information in the second moment;Wherein, described second moment is later than described first moment;
Described determine whether described USB device meets safety condition and formation determines result according to described identification information, including:
In conjunction with behaviour in service information and the behaviour in service information in described second moment in described first moment, determine whether described USB device meets safety condition.
Based on such scheme, described method also includes:
Utilizing described control signal, the 2nd USB being turned on or off between controller with USB interface is connected.
The electronic equipment of embodiment of the present invention offer and information processing method, the USB processed between chip and USB interface is connected, it is provided with USB switch module, connection by controller Yu USB switch module, the switching of USB switch module oneself state can be controlled, thus control being turned on or off of a USB connection, it is thus possible to do not shut down do not re-start BIOS arrange on the premise of, can directly isolate USB interface and process chip, realize the connection disconnection of phy chip and USB interface, thus reduce the USB device being connected in USB interface, in the phenomenon that physical connection disconnects not in time or the security risk that causes when being inserted into illegal USB device is high, improve the safety in utilization of electronic equipment.
Accompanying drawing explanation
The structural representation of the first electronic equipment that Fig. 1 provides for the embodiment of the present invention;
The structural representation of the second electronic equipment that Fig. 2 provides for the embodiment of the present invention;
The structural representation of the third electronic equipment that Fig. 3 provides for the embodiment of the present invention;
The schematic flow sheet of a kind of information processing method that Fig. 4 provides for the embodiment of the present invention;
A kind of schematic flow sheet of the acquisition behaviour in service information that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of mainboard that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with Figure of description and specific embodiment, technical scheme is further elaborated.
Embodiment one:
As it is shown in figure 1, the present embodiment provides a kind of electronic equipment, described electronic equipment includes:
Process chip 110;
General-purpose serial bus USB interface 120;
USB switch module 130, is connected with described process chip 110 and described usb 1 20 respectively, and for by the switching of its own switch state, the USB being turned on or off between described process chip 110 with described usb 1 20 is connected;
Controller 140, has control to be connected with setting up between described USB switch module;Wherein, described control is connected to described controller by sending control signal to described USB switch module;Described control signal can be used in controlling the on off state of described USB switch module, to control being turned on or off of a described USB connection.
The present embodiment provides a kind of electronic equipment, and this electronic equipment can include in the equipment of USB, and described usb 1 20 can be the USB in USB interface, it is possible to the USB device accepting to include USB plug inserts.Certainly processing chip 110, controller 140, USB switch module 130 and USB interface can be to be only the part in above-mentioned electronic equipment;Described electronic equipment may also include other structures do not enumerated in embodiments of the present invention.
Described process chip 110 can be various process chip, and process chip here can include various types of process chip, such as, the process chip of central processing unit, microcontroller chip, digital signal processing chip or programmable array process chip.Such as South Bridge chip, the chip that processes here can be the PCH chip in South Bridge chip.
Described USB switch module 130 can be various controlled switch, such as, has field effect transistor or the audion etc. of on-off action.
Setting up to have between the most described process chip and described USB interface and be connected, the most referred to as the oneth USB connects.Described switch module 130 may be provided in a described USB connection, switching by the on off state of self, close or turn on a described USB to connect, when a described USB connects conducting, between described process chip 110 and USB interface, there is data transmission path, so can carry out data interaction by usb 1 20 with processing chip 110.
Described controller 140 can be the various processor with signal processing function or process circuit, it is possible to according to producing control signal, controls the on off state of USB switch module 130, thus controls to process the connection between chip 110 and USB interface.Setting up between the most described controller 140 and switch module and have control to be connected, this control connection at least can be used in by controller 140 to USB switch module 130 transmission of control signals.Control signal in this example can include Continuity signal and cut-off signal;Continuity signal can be used for turning on a USB and connects, and cut-off signal connects for disconnecting a USB.Such as, described Continuity signal can be the high level of conducting field effect transistor, and described cut-off signal can be the low level disconnecting field effect transistor.Here high level and low level are comparatively speaking, and the voltage of high level is usually above the low low-voltage of same reference.
Obviously a kind of electronic equipment that the present embodiment provides, in the case of the BIOS that need not reset electronic equipment, it also is able to the physical connection between direct disconnection process chip 110 and usb 1 20, it is to avoid USB device is extracted not in time or needs to restart great USB device event and the customer complaint that electronic equipment causes.
Embodiment two:
As it is shown in figure 1, the present embodiment provides a kind of electronic equipment, described electronic equipment includes:
Process chip 110;
General-purpose serial bus USB interface 120;
USB switch module 130, is connected with described process chip 110 and described usb 1 20 respectively, and for by the switching of its own switch state, the USB being turned on or off between described process chip 110 with described usb 1 20 is connected;
Controller 140, has control to be connected with setting up between described USB switch module;Wherein, described control is connected to described controller by sending control signal to described USB switch module;Described control signal can be used in controlling the on off state of described USB switch module, to control being turned on or off of a described USB connection.
As in figure 2 it is shown, described controller 140 is baseboard management controller BMC.
The most described controller 140 is preferably baseboard management controller (BaseboardManagementController, BMC), multiplexing BMC is selected to be used as described controller in the present embodiment, one control the most just need not be set specially, on the one hand can be good at and the structure compatible of existing electronic equipment, on the other hand ensure that the structure complexity of electronic equipment is unlikely to bigger increase occur, simultaneously can also reuse the software and hardware resources of BMC, improve the resource utilization of BMC.
Embodiment three:
As it is shown in figure 1, the present embodiment provides a kind of electronic equipment, described electronic equipment includes:
Process chip 110;
General-purpose serial bus USB interface 120;
USB switch module 130, is connected with described process chip 110 and described usb 1 20 respectively, and for by the switching of its own switch state, the USB being turned on or off between described process chip 110 with described usb 1 20 is connected;
Controller 140, has control to be connected with setting up between described USB switch module;Wherein, described control is connected to described controller by sending control signal to described USB switch module;Described control signal can be used in controlling the on off state of described USB switch module, to control being turned on or off of a described USB connection.
As it is shown on figure 3, described controller 140, the 2nd USB is had to be connected by setting up between described USB switch module with described usb 1 20;
Described USB switch module 130, is additionally operable to the control according to described control signal, and described 2nd USB that is turned on or off connects.
The most described controller 130 also with usb 1 20, between set up have the 2nd USB connect, like this, be connected to the USB device on usb 1 20, both can to carry out information mutual with processing chip 110, it is also possible to carry out information mutual with controller 140.
If the as above embodiment of controller 140 described in the present embodiment record for BMC, the most described usb 1 20, can be not only used for carrying out information between process chip 110 and USB device mutual, can be additionally used in that to carry out information between BMC and USB device mutual, like this, it is clear that availability and the use value of usb 1 20 can be promoted.Such a usb 1 20, the chip 110 that both can be processed uses, it is also possible to used by BMC, it is achieved that the multiplexing of the structure that usb 1 20 is had the information processing function by two.
Certainly in the present embodiment for the use safety of USB interface, the control signal of described controller 140 can be not only used for controlling conducting and the disconnection that a USB connects, and can be used for controlling conducting and the disconnection that the 2nd USB connects simultaneously.
The control signal of described controller 140 connects and time the 2nd USB connects controlling a USB, have following several can implementation:
Scheme one, a described USB connects and the 2nd USB connection is controlled by same control signal, this time, described USB switch module 130 is when receiving a control signal, simultaneously turn on a described USB to connect and the 2nd USB connection, or, simultaneously switch off a described USB and connect or the 2nd USB connection.
Scheme two: described control signal includes the first control signal and the second control signal;Described first control signal is for controlling conducting and the disconnection of a USB connection, and described second control signal is used for controlling conducting and the disconnection that the 2nd USB connects.Like this, described controller 140 will control, with different control signals, conducting and the disconnection that a USB connects and the 2nd USB connects, like this, it is possible to appearance the oneth USB connection turns on and the 2nd USB connection disconnects, or the 2nd USB connection turns on and the phenomenon of a USB connection disconnection.
During concrete implementation, can optional a kind of above-mentioned method.
When the connection of above-mentioned two USB is all held on, when the information of carrying out is mutual, described USB switch module 130 can include identification chip or identification circuit, can be by the mark of carrying in interactive information, connected by a described USB or the 2nd USB connection is sent to process chip 110 or controller 140 (such as, BMC).Here mark can be the mark processing chip 110 with controller 140, it is also possible to connect for a described USB and the mark of described 2nd USB connection.
The most described 2nd USB connects to be connected with described control and may correspond to Same Physical and connect, and uses time-multiplexed method, respectively transmission control signal and realize the data interaction of non-control signal between controller 140 and USB interface.When disconnecting described 2nd USB and connecting, i.e. represent that described 2nd USB of disabling connects the data beyond transmission non-control signal.Be preferably described 2nd USB in the present embodiment connecting and control to connect is two independent physical connections, does not interfere with each other mutually, controls connection and is only used for transmission of control signals, and the 2nd USB connects user and transmits the data beyond described control signal.
It should be noted that: control connection fine line in figure 3 and represent, heavy line represents that a USB connects and the 2nd USB connects respectively.
Embodiment four:
As it is shown in figure 1, the present embodiment provides a kind of electronic equipment, described electronic equipment includes:
Process chip 110;
General-purpose serial bus USB interface 120;
USB switch module 130, is connected with described process chip 110 and described usb 1 20 respectively, and for by the switching of its own switch state, the USB being turned on or off between described process chip 110 with described usb 1 20 is connected;
Controller 140, has control to be connected with setting up between described USB switch module;Wherein, described control is connected to described controller by sending control signal to described USB switch module;Described control signal can be used in controlling the on off state of described USB switch module, to control being turned on or off of a described USB connection.
Described controller 140, has the 2nd USB to be connected by setting up between described USB switch module with described usb 1 20;
Described USB switch module 130, is additionally operable to the control according to described control signal, and described 2nd USB that is turned on or off connects.
Described controller 140, is additionally operable to utilize described 2nd USB to successively win the behaviour in service information taking USB interface, and generates described control signal according to described behaviour in service information.
The most described controller 140 obtains the behaviour in service of USB interface by utilizing described 2nd USB to connect, first, described 2nd USB connection is the data cube computation between described controller and USB interface beyond interactive controlling signal, and the most described 2nd USB connects the behaviour in service information that can be used in reading USB interface.
The behaviour in service information of USB interface here, it may include whether USB interface connects USB device, the which type of USB device of connection, the information such as mark of the USB device of connection.
The control signal of correspondence is generated further according to behaviour in service information.
Such as, the behaviour in service information that described controller 140 obtains includes the title of the USB device currently connected, find that this USB device is an illegality equipment, such as, when this USB device is connected on this TV station electronic equipment before, it is found to have and has been infected virus by it, this electronic equipment has been considered as illegality equipment, this time by controller 140, it is necessary at least disconnect the physical connection that a USB connects, in order to avoid USB device transmitted virus again, cause the fault processing chip 110.
Above is only as one example, is used for showing that described controller 140, by obtaining behaviour in service information, generates the control signal of correspondence;But the generating mode of control signal is not limited to aforesaid way.
Embodiment five:
As it is shown in figure 1, the present embodiment provides a kind of electronic equipment, described electronic equipment includes:
Process chip 110;
General-purpose serial bus USB interface 120;
USB switch module 130, is connected with described process chip 110 and described usb 1 20 respectively, and for by the switching of its own switch state, the USB being turned on or off between described process chip 110 with described usb 1 20 is connected;
Controller 140, has control to be connected with setting up between described USB switch module;Wherein, described control is connected to described controller by sending control signal to described USB switch module;Described control signal can be used in controlling the on off state of described USB switch module, to control being turned on or off of a described USB connection.
Described controller 140, has the 2nd USB to be connected by setting up between described USB switch module with described usb 1 20;
Described USB switch module 130, is additionally operable to the control according to described control signal, and described 2nd USB that is turned on or off connects.
Described controller 140, is additionally operable to utilize described 2nd USB to successively win the behaviour in service information taking USB interface, and generates described control signal according to described behaviour in service information.
Described controller 140, reads the identification information of the USB device being connected to described USB interface, determines whether described USB device meets safety condition and formation determines result according to described identification information specifically for utilizing described 2nd USB to connect;And determine that result generates described control signal according to described.
The most described controller 140 is connected by described 2nd USB, the identification information of the USB device that the USB interface of reading connects.Here identification information can include that equipment Serial Number or the device name etc. of described USB device can be identified for that the information of this equipment.
This standard information of Citrus can judge whether this USB device meets the safety condition preset, preset security condition here, it may include whether this USB device matches with the equipment in safe list in the present embodiment.Such as, another safe list it is previously stored with in this electronic equipment, in this safe list, storage has the identification information allowing to use the USB device of this usb 1 20, so just can determine whether this USB device meets safety condition by the coupling of identification information.This safe list may be based on user and indicates formation, it is also possible to receive from other electronic equipments.Certainly can also include that non-security list, storage have the safe list of the identification information prohibitting the use of USB device in the present embodiment.The most such as, being generated as Continuity signal when being determined for compliance with safety condition in the present embodiment, if not meeting safety condition, the storage that expresses possibility uses potential safety hazard, then generate cut-off signal.
Certainly, the most described controller 140 can also be when obtaining the described identification information arriving described USB device, corresponding dialog box is ejected based on described identification information, prompt the user whether to determine connection, receiving the user's instruction formed based on described dialog box, according to the user's instruction received, generate corresponding control signal.Such as, eject the identification information (such as, the title of USB device) of described USB device, facilitate user to check.Such as, current server is running, multiple servers shares a monitoring device, staff is by the operation of this monitoring device monitoring server, such as, identification information or the dialog box of acquisition are sent to monitoring device, after monitoring device receives described identification information by described controller 140, eject corresponding dialog box, or directly receive dialog box and export;Monitoring device receives user's instruction, and user's instruction is returned to server by monitoring device, after the controller in server receives this user instruction, will generate corresponding control signal.
The most such as, the behaviour in service information of described USB interface, it may include the authorization message from the USB device that usb 1 20 connects.Such as, in a machine room, there is multiple stage to have the electronic equipment of usb 1 20, if for the abuse preventing USB device, in the present embodiment, need the USB device used to need to receive an authorization code from main control device.After the USB device that storage has authorization code is found on usb 1 20, described controller 140 is by running the code to, it will from the designated storage area of USB device, read described authorization code, if reading this authorization code, it is believed that this USB device is legitimate device, otherwise it is assumed that illegality equipment.Here authorization code is the one of described use authorization message, it is also possible to for identifying the identification information that this USB device is illegality equipment or legitimate device.
In a word, in the present embodiment by obtaining identification information, then by the information processing to identification information, corresponding control signal will be generated, to control conducting and the disconnection that a USB connects and/or the 2nd USB connects.
Embodiment six:
As it is shown in figure 1, the present embodiment provides a kind of electronic equipment, described electronic equipment includes:
Process chip 110;
General-purpose serial bus USB interface 120;
USB switch module 130, is connected with described process chip 110 and described usb 1 20 respectively, and for by the switching of its own switch state, the USB being turned on or off between described process chip 110 with described usb 1 20 is connected;
Controller 140, has control to be connected with setting up between described USB switch module;Wherein, described control is connected to described controller by sending control signal to described USB switch module;Described control signal can be used in controlling the on off state of described USB switch module, to control being turned on or off of a described USB connection.
Described controller 140, has the 2nd USB to be connected by setting up between described USB switch module with described usb 1 20;
Described USB switch module 130, is additionally operable to the control according to described control signal, and described 2nd USB that is turned on or off connects.
Described controller 140, is additionally operable to store the described behaviour in service information in the first moment, and wherein, whether the USB device that the behaviour in service information in described first moment connects for providing usb 1 250 described in the second moment meets the basis for estimation of safety condition;
Described second moment is later than described first moment.
The most described controller 140 also will store the behaviour in service information in the first moment, and the first moment here can be the historical juncture, is the moment passed.Described second moment is the moment being later than for the first moment, may correspond to current time.In the present embodiment by the behaviour in service information of historical juncture, whether the USB device being used as current time usb 1 20 connection meets the basis for estimation that safety condition judges.
Such as, described use time information can include history frequency of usage, as history frequency of usage shows that the USB device currently connected once was connected on usb 1 20 and was used safely, it is fair to consider that current USB device meets described safety condition, generate Continuity signal;Otherwise it is assumed that do not meet safety condition, generate cut-off signal.In the present embodiment, it is also possible to be when described history frequency of usage is more than predetermined number of times, it is believed that meet safety condition, otherwise it is assumed that do not meet safety condition.
If do not meet safety condition in the present embodiment, by output safety warning in local electronic equipment or the remote equipment that is remotely connected with local electronic equipment, if user releases safety warning, then generate Continuity signal, it is allowed to the use of current USB device.Here local electronic equipment is to include the electronic equipment that the present embodiment provides, and remote equipment is the equipment of the electronic equipment connection that the present embodiment provides.
Embodiment seven:
As it is shown in figure 1, the present embodiment provides a kind of electronic equipment, described electronic equipment includes:
Process chip 110;
General-purpose serial bus USB interface 120;
USB switch module 130, is connected with described process chip 110 and described usb 1 20 respectively, and for by the switching of its own switch state, the USB being turned on or off between described process chip 110 with described usb 1 20 is connected;
Controller 140, has control to be connected with setting up between described USB switch module;Wherein, described control is connected to described controller by sending control signal to described USB switch module;Described control signal can be used in controlling the on off state of described USB switch module, to control being turned on or off of a described USB connection.
Described controller 140, has the 2nd USB to be connected by setting up between described USB switch module with described usb 1 20;
Described USB switch module 130, is additionally operable to the control according to described control signal, and described 2nd USB that is turned on or off connects.
Described 2nd USB connects, it is possible to the USB device that control system identification the use for described controller 140 is connected on described usb 1 20;
A described USB connects, it is possible to the USB device that operating system identification the use for described electronic equipment is connected in described USB interface.The USB device that the operating system identification of described electronic equipment use are connected in described USB interface.
The most described 2nd USB connects, additionally it is possible to for control system identification and use the USB device on described usb 1 20.Assume presently described USB device for from equipment, the most described USB device can be process chip 110 from equipment, it is also possible to the described controller 140 of group committee from equipment.Here control system is the system that described controller 140 runs, the system that such as BMC runs.Here operating system can be to process the system that chip runs, such as, the visible operating system of user, and such as, the Windows operating system that Windows equipment runs is the one of the operating system described in the present embodiment.
In a word, electronic equipment described in the present embodiment can be connected by a USB and the 2nd USB connects, and utilizes different system degree USB devices to be identified and to carry out information mutual;Improve effective utilization of the software and hardware resources of electronic equipment.
Embodiment eight:
As shown in Figure 4, the present embodiment provides a kind of information processing method, including:
Step S110: generate control signal;
Step S120: be connected according to the USB that described control signal is turned on or off between process chip and USB interface.
Information processing method in the present embodiment can apply in the electronic equipment that embodiment one to embodiment seven provides, concrete as in the various electronic equipments such as notebook computer, desktop computer, panel computer, a notebook flat board two and computer, server.Generating control signal in step s 110, control signal here can include Continuity signal or cut-off signal.Can be generated by the controller 140 in aforementioned electronic devices, concrete for example, it is possible to generated by BMC.
Can be connected according to the USB that control signal is turned on or off between process chip and USB interface in the step s 120.Disconnect a described USB in the present embodiment to connect, for disconnecting physically, after disconnecting a described USB connection, it will cause a described USB to connect and cannot transmit usb signal.The most described control signal can be control level, such as, corresponding to voltage cut-outs such as field effect transistor, after receiving corresponding level, can be turned on or off.The most described control signal can be done directly on controlled switch and controls conducting or the section card that a described USB connects, and controlled switch here can be the equipment in a described USB connection.
Information processing method described in the present embodiment, can be in the case of not restarting equipment, in the case of not resetting the BIOS of electronic equipment, forbid the USB device connected in USB interface and be connected with processing to set up between chip, it is thus possible to raising processes the safety of chip, the safety in utilization of USB interface can be improved hence for electronic equipment.
Embodiment nine:
As shown in Figure 4, the present embodiment provides a kind of information processing method, including:
Step S110: generate control signal;
Step S120: be connected according to the USB that described control signal is turned on or off between process chip and USB interface.
As it is shown in figure 5, described step S110 comprises the steps that
Step S111: obtain the behaviour in service information connecting USB interface;
Step S112: according to described behaviour in service information, determines whether the USB device being connected in described USB interface meets safety condition, is formed and determines result;
Step S113: determine result according to described, generate control signal.
It is divided into three sub-steps in step S110 described in the present embodiment, has been that step S111 is to step S113 respectively.Obtaining the behaviour in service information of USB interface in step S111, such as, controller utilizes the connection with USB interface, reads the behaviour in service information of the USB device being connected in USB interface.The controller performing described step S110 in the present embodiment is elected as and different disposal chip with described process chip, and the most physically-isolated chip.,
In step S122, will determine whether USB device meets safety condition according to described behaviour in service information, and be formed and determine result.The most described determine that result includes the logical judgment results such as "Yes" or "No".In step S113 when described USB device meets described safety condition, Continuity signal can be generated, when described USB device is unsatisfactory for described safety condition, cut-off signal can be generated.Like this, be unsatisfactory for the security risk coefficients such as safety condition higher when, will be switched off a described USB to connect, isolate described process chip and described USB interface, thus avoid USB device pass through USB interface and described oneth USB connect steal the information in described process chip, or send the invalid informations such as virus, anthelmintic to processing chip, improve the safety of described process chip.
Embodiment ten:
As shown in Figure 4, the present embodiment provides a kind of information processing method, including:
Step S110: generate control signal;
Step S120: be connected according to the USB that described control signal is turned on or off between process chip and USB interface.
As it is shown in figure 5, described step S110 comprises the steps that
Step S111: obtain the behaviour in service information connecting USB interface;
Step S112: according to described behaviour in service information, determines whether the USB device being connected in described USB interface meets safety condition, is formed and determines result;
Step S113: determine result according to described, generate control signal.
Described step S111 comprises the steps that
Obtain the identification information of the USB device being connected in described USB interface;
Described step S112 comprises the steps that
According to described identification information, query safe list;
If described identification information is positioned in described safe list, it is determined that described USB device meets described safety condition.
In the most described electronic equipment, storage has safe list.The most described safe list can store electronic equipment think and use the identification information of the low USB device of security risk.Here identification information can be the identification information of electronic equipment self, the device identification of such as USB device.Described identification information can also be authorization identification information.Here authorization identification information can include that the authorization code etc. mentioned in previous embodiment stores information in the electronic device.
In the present embodiment according to obtain identification information, retrieve described safe list, if obtain identification information be positioned in described safe list, then it is believed that described USB device meet safety condition,
The present embodiment is on the basis of previous embodiment, it is provided that a kind of information processing method, it is possible to easy determination USB device whether meet safety condition, to promote the safety in utilization of USB interface.
Embodiment 11:
As shown in Figure 4, the present embodiment provides a kind of information processing method, including:
Step S110: generate control signal;
Step S120: be connected according to the USB that described control signal is turned on or off between process chip and USB interface.
As it is shown in figure 5, described step S110 comprises the steps that
Step S111: obtain the behaviour in service information connecting USB interface;
Step S112: according to described behaviour in service information, determines whether the USB device being connected in described USB interface meets safety condition, is formed and determines result;
Step S113: determine result according to described, generate control signal.
Described method also includes:
Store the behaviour in service information in the first moment;
Described step S111 comprises the steps that
Obtain the behaviour in service information in the second moment;Wherein, described second moment is later than described first moment;
Described step S112 comprises the steps that
In conjunction with behaviour in service information and the behaviour in service information in described second moment in described first moment, determine whether described USB device meets safety condition.
The behaviour in service information in the most described first moment of storage, during the once execution before performing described information processing method at this, when execution of step S111, synchronizes execution.
The most described first moment is a time point early than the second moment, if described second moment is current time, the most described first moment is the historical juncture.
The behaviour in service information in the most described first moment can be described as history behaviour in service information, history frequency of usage can be included, history uses duration and the information such as history access times, each average duration used, and these information can show the behaviour in service that a USB device utilizes this USB interface and electronic equipment to be attached.A usual USB device its history use during in do not occurred abnormal, then history frequency of usage is the highest, history use duration is the longest and history access times are the most, indicate that the safety of this USB device is the highest, then combining the behaviour in service information in the first moment and the second moment, the probability that the USB device determined meets safety condition is the highest.
In a word, present embodiments provide a kind of information processing method using USB interface safely, there is realization simplicity, the feature that the safety of electronic equipment is high.
Embodiment 12:
As shown in Figure 4, the present embodiment provides a kind of information processing method, including:
Step S110: generate control signal;
Step S120: be connected according to the USB that described control signal is turned on or off between process chip and USB interface.
Described method also includes:
Utilizing described control signal, the 2nd USB being turned on or off between controller with USB interface is connected.
In the electronic equipment that the most described information processing method can apply to include controller, process chip and UB interface.The 2nd USB can be set up between the most described controller and USB interface be connected.Described control signal can be utilized in the present embodiment to connect to control described 2nd USB.
In the present embodiment, described controller can be connected by described 2nd USB and the USB device being connected in USB interface to carry out information mutual.Described USB device can as control using from equipment, described controller can also as described USB device from equipment.
The most described control signal can be the master control signal that a USB connects and the 2nd USB connects, and a USB connects under the effect being connected to this control signal with the 2nd USB, simultaneously turns on or disconnect.Certain described control signal can include two subsignals, and one is the first control signal, and another is the second control signal, and the first control signal connects for controlling a USB, and the second control signal connects for controlling the 2nd USB.Like this, by the process of above-mentioned information processing method, it is possible to realize the control respectively that a described USB connects and the 2nd USB connects.
In a word, the information processing method described in the present embodiment, can not only improve the safety of electronic equipment, also by the 2nd USB establishment of connection and control so that process chip and one USB interface of controller multiplexing, carry out information with a USB device respectively mutual.
A concrete example is provided below in conjunction with any one embodiment above-mentioned;
As shown in Figure 6, the present embodiment is supplied to a kind of mainboard, and this mainboard may correspond to aforesaid electronic equipment, including PCH chip, BMC, USB interface and USB derailing switch.
The most described PCH chip is the one of aforementioned processing chip 110;Described BMC is the one of aforementioned controllers 140, and described USB derailing switch is an example of aforementioned USB switch module.The most described PCH passes through USB derailing switch, and the PCHUSB being to connect corresponding to an aforementioned USB that connects set up between USB interface connects.BMC is connected for the BMCUSB connected corresponding to aforementioned 2nd USB by connecting of setting up between USB derailing switch and USB interface.
In several embodiments provided herein, it should be understood that disclosed equipment and method, can realize by another way.Apparatus embodiments described above is only schematically, such as, the division of described unit, it is only a kind of logic function to divide, actual can have other dividing mode, such as when realizing: multiple unit or assembly can be in conjunction with, or are desirably integrated into another system, or some features can ignore, or do not perform.It addition, the coupling each other of shown or discussed each ingredient or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, equipment or unit or communication connection, can be being electrical, machinery or other form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, i.e. may be located at a place, it is also possible to be distributed on multiple NE;Part or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be fully integrated in a processing module, it is also possible to be that each unit is individually as a unit, it is also possible to two or more unit are integrated in a unit;Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program upon execution, performs to include the step of said method embodiment;And aforesaid storage medium includes: movable storage device, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.
The above; being only the detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; change can be readily occurred in or replace, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.
Claims (12)
1. an electronic equipment, it is characterised in that described electronic equipment includes:
Process chip;
General-purpose serial bus USB interface;
USB switch module, is connected with described process chip and described USB interface respectively, and for by the switching of its own switch state, the USB being turned on or off between described process chip and described USB interface is connected;
Controller, has control to be connected with setting up between described USB switch module;Wherein, described control is connected to described controller by sending control signal to described USB switch module;Described control signal can be used in controlling the on off state of described USB switch module, to control being turned on or off of a described USB connection.
Electronic equipment the most according to claim 1, it is characterised in that
Described controller is baseboard management controller BMC.
Electronic equipment the most according to claim 1 and 2, it is characterised in that
Described controller, has the 2nd USB to be connected by setting up between described USB switch module and described USB interface;
Described USB switch module, is additionally operable to the control according to described control signal, and described 2nd USB that is turned on or off connects.
Electronic equipment the most according to claim 3, it is characterised in that
Described controller, is additionally operable to utilize described 2nd USB to successively win the behaviour in service information taking USB interface, and generates described control signal according to described behaviour in service information.
Electronic equipment the most according to claim 4, it is characterised in that
Described controller, reads the identification information of the USB device being connected to described USB interface, determines whether described USB device meets safety condition and formation determines result according to described identification information specifically for utilizing described 2nd USB to connect;And determine that result generates described control signal according to described.
Electronic equipment the most according to claim 4, it is characterised in that
Described controller, is additionally operable to store the described behaviour in service information in the first moment, and wherein, whether the USB device that the behaviour in service information in described first moment connects for providing USB interface described in the second moment meets the basis for estimation of safety condition;
Described second moment is later than described first moment.
7. basic electronic equipment described in claim 3, it is characterised in that
Described 2nd USB connects, it is possible to the USB device that control system identification the use for described controller is connected in described USB interface;
A described USB connects, it is possible to the USB device that operating system identification the use for described electronic equipment is connected in described USB interface.
8. an information processing method, it is characterised in that including:
Generate control signal;
It is connected according to the USB that described control signal is turned on or off between process chip and USB interface.
Method the most according to claim 8, it is characterised in that
Described generation control signal, including:
Obtain the behaviour in service information connecting USB interface;
According to described behaviour in service information, determine whether the USB device being connected in described USB interface meets safety condition, formed and determine result;
Determine result according to described, generate control signal.
Method the most according to claim 9, it is characterised in that
The described behaviour in service information obtaining connection USB interface, including:
Obtain the identification information of the USB device being connected in described USB interface;
Described determine whether described USB device meets safety condition and formation determines result according to described identification information, including:
According to described identification information, query safe list;
If described identification information is positioned in described safe list, it is determined that described USB device meets described safety condition.
11. methods according to claim 9, it is characterised in that
Described method also includes:
Store the behaviour in service information in the first moment;
Described acquisition is connected to the identification information of the USB device in described USB interface, including:
Obtain the behaviour in service information in the second moment;Wherein, described second moment is later than described first moment;
Described determine whether described USB device meets safety condition and formation determines result according to described identification information, including:
In conjunction with behaviour in service information and the behaviour in service information in described second moment in described first moment, determine whether described USB device meets safety condition.
12. methods according to claim 8, it is characterised in that
Described method also includes:
Utilizing described control signal, the 2nd USB being turned on or off between controller with USB interface is connected.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610141394.1A CN105824775A (en) | 2016-03-11 | 2016-03-11 | Electronic equipment and information processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610141394.1A CN105824775A (en) | 2016-03-11 | 2016-03-11 | Electronic equipment and information processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105824775A true CN105824775A (en) | 2016-08-03 |
Family
ID=56987273
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610141394.1A Pending CN105824775A (en) | 2016-03-11 | 2016-03-11 | Electronic equipment and information processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105824775A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107644001A (en) * | 2016-07-20 | 2018-01-30 | 联阳半导体股份有限公司 | Peripheral interface chip and data transmission method thereof |
CN108874700A (en) * | 2018-06-01 | 2018-11-23 | 联想(北京)有限公司 | Electronic equipment |
CN109063459A (en) * | 2018-07-17 | 2018-12-21 | 北京云智信安科技有限公司 | A kind of USB device filter device and method |
CN109117402A (en) * | 2017-06-23 | 2019-01-01 | 英业达科技有限公司 | The system for obtaining controller information via universal sequence bus Port |
CN110471359A (en) * | 2019-09-22 | 2019-11-19 | 南京时仓信息科技有限公司 | Information security control mould group and control method suitable for embedded host |
CN113495859A (en) * | 2020-03-18 | 2021-10-12 | 合肥杰发科技有限公司 | Communication system and electronic equipment |
CN114625686A (en) * | 2020-12-10 | 2022-06-14 | 明基智能科技(上海)有限公司 | Data control method and data control system |
US11921663B2 (en) | 2020-09-18 | 2024-03-05 | K-Tronics (Suzhou) Technology Co., Ltd. | Electronic apparatus and USB interface switching method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003140784A (en) * | 2001-10-17 | 2003-05-16 | Internatl Business Mach Corp <Ibm> | Information processor, computer, and mode control method for information processor |
CN201508549U (en) * | 2009-09-02 | 2010-06-16 | 中兴通讯股份有限公司 | Device and system for controlling on-off of USB (universal serial bus) interface |
CN102542192A (en) * | 2011-01-04 | 2012-07-04 | 联想(北京)有限公司 | Method and device for carrying out selective starting on USB (Universal Serial Bus) device, and computer terminal |
CN105224876A (en) * | 2015-09-21 | 2016-01-06 | 山东超越数控电子有限公司 | The equipment of the guard method of USB interface data and device, band USB interface |
-
2016
- 2016-03-11 CN CN201610141394.1A patent/CN105824775A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003140784A (en) * | 2001-10-17 | 2003-05-16 | Internatl Business Mach Corp <Ibm> | Information processor, computer, and mode control method for information processor |
CN201508549U (en) * | 2009-09-02 | 2010-06-16 | 中兴通讯股份有限公司 | Device and system for controlling on-off of USB (universal serial bus) interface |
CN102542192A (en) * | 2011-01-04 | 2012-07-04 | 联想(北京)有限公司 | Method and device for carrying out selective starting on USB (Universal Serial Bus) device, and computer terminal |
CN105224876A (en) * | 2015-09-21 | 2016-01-06 | 山东超越数控电子有限公司 | The equipment of the guard method of USB interface data and device, band USB interface |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107644001A (en) * | 2016-07-20 | 2018-01-30 | 联阳半导体股份有限公司 | Peripheral interface chip and data transmission method thereof |
CN107644001B (en) * | 2016-07-20 | 2020-06-09 | 联阳半导体股份有限公司 | Peripheral interface chip and data transmission method thereof |
CN109117402A (en) * | 2017-06-23 | 2019-01-01 | 英业达科技有限公司 | The system for obtaining controller information via universal sequence bus Port |
CN108874700A (en) * | 2018-06-01 | 2018-11-23 | 联想(北京)有限公司 | Electronic equipment |
CN108874700B (en) * | 2018-06-01 | 2021-07-16 | 联想(北京)有限公司 | Electronic device |
CN109063459A (en) * | 2018-07-17 | 2018-12-21 | 北京云智信安科技有限公司 | A kind of USB device filter device and method |
CN110471359A (en) * | 2019-09-22 | 2019-11-19 | 南京时仓信息科技有限公司 | Information security control mould group and control method suitable for embedded host |
CN110471359B (en) * | 2019-09-22 | 2023-02-14 | 南京时仓信息科技有限公司 | Information security control module and control method suitable for embedded host |
CN113495859A (en) * | 2020-03-18 | 2021-10-12 | 合肥杰发科技有限公司 | Communication system and electronic equipment |
US11921663B2 (en) | 2020-09-18 | 2024-03-05 | K-Tronics (Suzhou) Technology Co., Ltd. | Electronic apparatus and USB interface switching method |
CN114625686A (en) * | 2020-12-10 | 2022-06-14 | 明基智能科技(上海)有限公司 | Data control method and data control system |
CN114625686B (en) * | 2020-12-10 | 2023-11-14 | 明基智能科技(上海)有限公司 | Data control method and data control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105824775A (en) | Electronic equipment and information processing method | |
CN101963929B (en) | The method preserving/resume work scene | |
CN100492309C (en) | Method and host equipment for implementing virtual hot-swap | |
CN101291243A (en) | Split brain preventing method for highly available cluster system | |
EP3835903B1 (en) | Fault diagnosis system and server | |
CN109976926A (en) | Method, circuit, terminal and the storage medium of protection BMC renewal process are restarted in a kind of shielding | |
CN106446654A (en) | Isolation method based on fingerprint recognition of computer input and output devices | |
US20240303382A1 (en) | Method, apparatus and system for monitoring i2c, and storage medium | |
CN104809046A (en) | Application program networking control method and application program networking control device | |
CN107111568A (en) | System and method for driver installation file to be presented when enabling USB equipment | |
CN113064651B (en) | Initialization control device, method and equipment applied to multistage interface series equipment | |
CN105306407A (en) | User account number login method and device | |
EP4206697A1 (en) | Self-locking and detection circuit and apparatus, and control method | |
US20150149677A1 (en) | Hot plugging system and method | |
CN105515826B (en) | A kind of stratification state machine realizes the method and device of PON line card hot plug mechanism | |
CN109582626B (en) | Method, device and equipment for accessing bus and readable storage medium | |
CN101510240A (en) | Safety management system for multiple independent operation platforms | |
CN116643904A (en) | Automatic repair system and method for PCIe link faults and server | |
US20030023843A1 (en) | Remote processor intelligent reset apparatus and method | |
CN105100344A (en) | Hot plug processing method for user recognition module card, and mobile terminal | |
CN110764829A (en) | Multi-path server CPU isolation method and system | |
CN205121564U (en) | Embedded spare still original mounting encrypts in system | |
CN201657197U (en) | Intelligent power supply management video monitoring equipment | |
CN104883340A (en) | Method for preventing invasions and access equipment | |
CN105630654B (en) | System and method for the IP address for showing BMC |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160803 |