CN103778088B - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN103778088B
CN103778088B CN201210406264.8A CN201210406264A CN103778088B CN 103778088 B CN103778088 B CN 103778088B CN 201210406264 A CN201210406264 A CN 201210406264A CN 103778088 B CN103778088 B CN 103778088B
Authority
CN
China
Prior art keywords
electronic equipment
data
signal
identification information
usb
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210406264.8A
Other languages
Chinese (zh)
Other versions
CN103778088A (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 CN201210406264.8A priority Critical patent/CN103778088B/en
Publication of CN103778088A publication Critical patent/CN103778088A/en
Application granted granted Critical
Publication of CN103778088B publication Critical patent/CN103778088B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides an information processing method and an electronic device. The electronic device comprises a first interface. The method includes detecting whether a second electronic device is connected onto the first interface when a first chip with a first function and corresponding to the first interface is in the energy forbidden state, then detecting whether the second electronic device is the electronic device that a second function corresponds to, and controlling the first interface to receive data signals from the second electronic device on yes judgment to enable the first electronic device to receive and process data signals generated by the second electronic device. Therefore, the technical problem in the prior art that devices such as a keyboard and a mouse cannot be connected with the electronic device due to the fact that the input devices such as the keyboard and the mouse are forbidden when a universal serial bus (USB) interface in the electronic device is in the forbidden state is solved.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, more particularly to a kind of information processing method and electronic equipment.
Background technology
With continuing to develop for electronic technology, the performance of electronic equipment is constantly improving, such as computer, originally computer On be provided that PS/2 interfaces, the interface can connect correspondence and possess the keyboard or mouse of PS/2 interfaces, so that user can With by the interface other electronic equipments external on computers.
Because PS/2 interfaces deposit interface limitation, therefore, all used in computer or other electronic equipments in the prior art USB interface, because USB interface is open interface, and then can on computers connect USB flash disk, movement firmly by USB interface The external connected electronic equipment such as disk, USB keyboard, USB mouse, but, in order to ensure the security of data content in computer, therefore, User can control computer to disable the USB interface in computer in the prior art, that is to say, that when USB is disabled, by USB The external connected electronic equipment that interface is connected with computer will not can connect in the computer, it is simple for, the computer will be forbidden owning The communication of USB interface, this ensures that theres in the data that other users can not be replicated in the computer using movable storage device Hold, so as to ensure that the security of data content in computer.
But, the present inventor has found to have following technical problem in the prior art in the practice of the invention or lacks Fall into:
When the USB interface in electronic equipment is in disabled status, the input equipment such as keyboard, mouse also will be simultaneously banned With so that the equipment such as keyboard, mouse cannot also be realized being connected with electronic equipment.
When the USB interface in electronic equipment is in disabled status, the input equipment such as keyboard, mouse also will be simultaneously banned With interface disabling mode is single, can not realize selective disabling, so as to need to use keyboard, mouse etc. to set in user When standby, user also needs to reopen interface, so allows for the cumbersome of user, and electronic equipment control is also more multiple It is miscellaneous.
The content of the invention
The invention provides a kind of information processing method and electronic equipment, it is used to solve in the prior art when in electronic equipment USB interface be in disabled status when, the input equipment such as keyboard, mouse also will simultaneously it is disabled so that keyboard, mouse etc. The technical problem that equipment cannot also be connected with electronic equipment realization.Its concrete technical scheme is as follows:
A kind of information processing method, is applied in the first electronic equipment comprising the first connecting interface, and methods described includes:
When the first chip of corresponding first function of being connected with first connecting interface is in disabled state, institute is detected State and whether the second electronic equipment is connected with the first connecting interface;
When second electronic equipment is detected, determine whether second electronic equipment is corresponding with the second function Electronic equipment, wherein, first function is the functions different from second function, and second function is and described first The corresponding function of second chip of connecting interface connection;
When second electronic equipment is electronic equipment corresponding with second function, first chip is being kept In the disabled state simultaneously, first connecting interface is controlled to receive the data-signal from second electronic equipment, So that first electronic equipment can be received and process the data-signal of the second electronic equipment generation;
It is described after control first connecting interface receives the data-signal from second electronic equipment Method also includes:
The data-signal of second electronic equipment is converted into the first data-signal, wherein, first data-signal For the data-signal that first electronic equipment can be processed.
Optionally, it is described to determine whether second electronic equipment is electronic equipment corresponding with the second function, specific bag Include:
Obtain the identification information in second electronic equipment;
Judge whether the identification information is default identification information, and generate a result of determination;
If the result of determination characterizes the identification information for the default identification information, it is determined that second electronics Equipment is the corresponding electronic equipment of second function.
Optionally, the data-signal by second electronic equipment is converted to the first data-signal, specifically includes:
By the data signal transmission of second electronic equipment to the chromacoder in first electronic equipment;
The data-signal of second electronic equipment is converted into first data by the chromacoder to believe Number.
Optionally, judge whether the identification information is default identification information described, and after one result of determination of generation, Methods described also includes:
If the result of determination sign identification information is not the default identification information, first electricity is controlled Sub- equipment is in the state that can not carry out data transmission with second electric room.
Optionally, the data-signal of second electronic equipment is converted to by institute by the chromacoder described State after the first data-signal, methods described also includes:
Obtain in the second electronic equipment equipment for opening the first key of first electronic equipment;
The first key is matched with pre-stored criteria key in first electronic equipment, the second matching knot is obtained Really;
If second matching result characterizes the first key with the pre-stored criteria cipher key match, open described First electronic equipment.
Optionally, first connecting interface is USB connection interface.
Optionally, second electronic equipment is USB keyboard and/or USB mouse.
A kind of electronic equipment, the electronic equipment includes:
First chip, is arranged in the electronic equipment, for processing data signal;
First connecting interface, is connected with first chip, for connecting one first electronic equipment;
Detection unit, is connected with first connecting interface, for when first chip processes the first function, detecting Whether the second electronic equipment is connected with first connecting interface;
Determining unit, for when second electronic equipment is detected, determine second electronic equipment whether be with The corresponding electronic equipment of second function;
Control unit, for controlling first connecting interface to receive the data-signal from second electronic equipment, The data-signal of second electronic equipment is converted into the first data-signal, wherein, first data-signal is described the The data-signal that one electronic equipment can be processed.
Optionally, the determining unit includes:
Acquisition module, for obtaining the identification information in second electronic equipment;
Determination module, for judging whether the identification information is default identification information, and generates a result of determination;
Determining module, if characterize the identification information for the default identification information for the result of determination, really Fixed second electronic equipment is the corresponding electronic equipment of second function.
At least there is following technique effect or advantage in one or more embodiment that the present invention is provided:
When USB functions are disabled in embodiments of the present invention, by setting conversion equipment in the electronic device by USB key Other input equipments of disk or USB interface are connected to other recording controllers repeatedly, then transmit the input of USB input units Processor in electronic equipment, so as to solve when the USB interface in electronic equipment is in disabled status, keyboard, mouse Deng input equipment also by simultaneously disabled technical problem, so that the equipment such as keyboard, mouse also cannot be with electronic equipment reality Now connect.And then realize when USB functions are disabled, USB inputs still can be connected with electronic equipment, and the electronics sets The standby input signal for remaining able to process USB interface input equipment.
When USB functions are disabled in embodiments of the present invention, by setting conversion equipment in the electronic device by USB key Other input equipments of disk or USB interface are connected to other recording controllers repeatedly, then transmit the input of USB input units Processor in electronic equipment, so as to solve when the USB interface in electronic equipment is in disabled status, keyboard, mouse Also will be simultaneously disabled Deng input equipment, interface disabling mode is single, can not realize selective disabling, so as in user When needing to use the equipment such as keyboard, mouse, user also needs to reopen interface, is thus so that user's is cumbersome, And electronic equipment controls also complex technical problem.So as to realize at the variation to electronic equipment interfaces use state Reason, and cumbersome control of the user to USB functions is it also avoid, also reduce the complexity of electronic equipment control.
Brief description of the drawings
Fig. 1 is a kind of flow chart of information processing method of the embodiment of the present invention;
Fig. 2 is the concrete structure schematic diagram of embodiment of the present invention a kind of electronic equipment;
Fig. 3 is the concrete structure schematic diagram of determining unit 204 in the embodiment of the present invention;
Fig. 4 is the practical structures schematic diagram of the electronic equipment in inventive embodiments.
Specific embodiment
The invention provides a kind of information processing method and electronic equipment, first, the electronic equipment connects including first Mouth (such as USB interface), the method includes:When the first chip of corresponding first function of the first connecting interface processes disabled state (namely when USB interface is in disabled status, USB interface will must realize the biography of data with electric room It is defeated), whether the second electronic equipment is connected with the first connecting interface of detection, then detect whether second electronic equipment is second The corresponding electronic equipment of function is (such as:The electronic equipment of the input datas such as keyboard, mouse), when second electronic equipment is the second work( During the corresponding electronic equipment of energy, the first connecting interface of control receives the data-signal from the second electronic equipment, so that the first electricity Sub- equipment can be received and process the data-signal of the second electronic equipment generation.So as to solve in the prior art when in electronic equipment When USB interface is in disabled status, the input equipment such as keyboard, mouse also will be simultaneously disabled, so that keyboard, mouse etc. set The standby technical problem that cannot be also connected with electronic equipment realization.
Specifically, such as in computer, when the USB interface of user's control computer is disabled, when user inserts USB keyboard When entering the USB interface in computer, then the computer will first determine whether the external electronic equipment is USB keyboard, work as computer When recognizing the electronic equipment for USB keyboard, then the computer will receive the input signal of the USB keyboard, it is achieved thereby that in computer When middle USB keyboard is disabled, computer is capable of identify that the USB keyboard, and to the information processing of the USB keyboard.
Technical scheme is described in detail below by accompanying drawing and embodiment, it will be appreciated that the present invention Embodiment is that technical solution of the present invention is described in detail, and rather than the restriction to technical solution of the present invention, is not being conflicted In the case of, the technical characteristic in the embodiment of the present invention and embodiment can be mutually combined.
It is as shown in Figure 1 a kind of flow chart of information processing method of the embodiment of the present invention, the method includes:
Step 101, when the first chip of corresponding first function of being connected with the first connecting interface is in disabled state, inspection Survey and whether the second electronic equipment is connected with the first connecting interface.
First, the first connecting interface is provided with first electronic equipment, first connecting interface can connect external Electronic equipment, the external connected electronic equipment can be the electronic equipments such as keyboard, mouse, USB flash disk, mobile hard disk, that is, first company Connection interface is USB connection interface, so that these external connected electronic equipment can be with the first electronic equipment by first connecting interface Between realize connection, and mutual communication can be carried out.
When the first chip of the first function corresponding with the first connecting interface in the first electronic equipment is in disabled state, Now whether the electronic equipment will detect be connected with the second electronic equipment in the first connecting interface.
Such as, in computer, in order that obtaining the data content security in user computer, the user is by computer When USB interface is disabled, then the computer will start and be arranged on detection means in computer, the detection means can real-time detection whether Be connected on the computer in the presence of the second electronic equipment, wherein, second electronic equipment can be USB keyboard, USB mouse, USB flash disk, The electronic equipment that mobile hard disk etc. can be connected by USB interface.
When having detected the second electronic equipment and connecting on the electronic equipment, then the electronic equipment will perform step 102.
Whether step 102, it is electronic equipment corresponding with the second function to determine that the second electronics is started to write.
First, in a step 101, the detection means in the first electronic equipment has detected external connected electronic equipment by first When connecting interface is connected with the first electronic equipment, the testing equipment on the electronic equipment detected and connected in first connecting interface When having the second electronic equipment, first electronic equipment is gone in the second electronic equipment of acquisition by first connecting interface first Identification information, then first electronic equipment will judge whether the identification information is default identification information, and generate a judgement knot Really, if it is when presetting identification information that the result of determination characterizes the identification information, it is determined that second electronic equipment is the second function Corresponding electronic equipment.
Specifically, when first electronic equipment is computer, first connecting interface is USB interface, when a USB keyboard is logical When crossing the USB interface and being connected with computer, when the USB keyboard is connected with computer, the computer first will be by the USB interface Go to obtain the identification information in the USB keyboard, certain identification information can be the mark letter being stored in advance in the USB keyboard Breath, can also be the distinctive characteristic information in USB keyboard, and then computer is after the identification information is obtained, and the computer will be adjusted Take and be pre-stored in default identification information in the computer, the default identification information is the corresponding characteristic information of USB keyboard of standard, finally The computer is contrasted the identification information of acquisition with default identification information, finally determines whether the identification information for obtaining is pre- Bidding is known.
After having judged to obtain identification information, first electronic equipment will perform step 103.
Step 103, the first connecting interface of control receives the data-signal from the second electronic equipment.
In the first electronic equipment it is determined that the second electronic equipment connected on the first electronic equipment is corresponding for the second function During electronic equipment, by the converter in first electronic equipment, by the control in the second electronic equipment and first electronic equipment Device connection processed, so that the controller can receive the input signal of the second electronic equipment input, and the input signal is sent To corresponding processing unit, so that the processing unit makes corresponding response according to the input signal.
Specifically, such as then it is arranged on electricity when it is determined that this is USB keyboard by the electronic equipment that USB interface is connected DTU in brain will obtain the input signal of the USB keyboard, and the data-signal is converted into the first data letter Number, wherein, the first data-signal is the data-signal that the first electronic equipment is capable of identify that, then the Super I/O in the computer The USB converter set in chip (EingangsAusgangsSchnittstelle) is converted to and PS/2Controller chips USB interface (PS/2 controller chips) is connected, so that the data-signal of the input on USB interface can be transferred to PS/ 2Controller chips, then PS/2Controller chips process chip most at last in data signal transmission to computer, from And realize in USB interface in the case of disabled, computer remains able to receive the input signal of USB keyboard, and according to The input signal makes corresponding response.
In addition, in embodiments of the present invention, this also includes another processing mode, can be specifically following manner:
When the USB functions in computer are disabled, the detection means in computer will in real time detect that the USB in the computer connects The electronic equipment whether mouth has USB interface is connected on the computer, is connected on the computer when the detection means in the computer is detected When being connected to the electronic equipment of USB interface, such as the keyboard for having USB interface is connected to when on the computer, then the computer will be obtained The identification information of the USB interface keyboard, and the identification information is compared with default identification information, so that it is determined that being connected to External equipment on the computer is the keyboard of USB interface.
After it is determined that the external equipment is the keyboard of USB interface, then the computer will open USB functions, and the electricity Be connected to the corresponding USB connection interface of the keyboard of USB interface on the chip with USB functions by the switching device in brain, and then The USB interface can receive the input signal of USB keyboard input, and the input signal is sent into corresponding process chip, The input signal of USB keyboard can be just responded so as to the computer, certainly, if what is connected on the USB interface is have storage work( During the electronic equipment of energy, then the computer will not open the USB functions, so as to avoid the connection of storage device, Jin Ershi Show when USB functions are disabled, still can connect USB input equipment on the computer, and by the defeated of the USB input equipment Enter signal and be sent to corresponding processor, corresponding response is made finally according to the input signal.
Further, in embodiments of the present invention, the second external electronic equipment can also set a first key, when this Second electronic equipment is connected to when on the first electronic equipment by the first connecting interface, when second electronic equipment is defined as second During the corresponding electronic equipment of function, first electronic equipment will obtain the first key during the second electronics sets, then close by first Key is compared with the preset standard key being preset in first electronic equipment and matches, and generates a matching result, if this When characterizing the first key with preset standard cipher key match with result, then the electronic equipment fills the switching in the electronic equipment Put, finally by second electronic equipment be switched to the connection of corresponding controller, and then enable the controller receive this Input signal on two electronic equipments, and the input signal is transferred to corresponding process chip, finally first electronic equipment Corresponding response can be made according to the input signal.
Certainly, in embodiments of the present invention, the first key can be also used for the Auto Power On of the first electronic equipment, specifically For, be exactly first electronic equipment after the first key is got, first electronic equipment by first key with it is default Standard key is matched, if the first key is with preset standard cipher key match, first electronic equipment would automatically turn on. Certainly, this mode is to want to be used under the first electronic equipment treatment off-mode.
When USB functions are disabled in embodiments of the present invention, by setting conversion equipment in the electronic device by USB key Other input equipments of disk or USB interface are connected to other recording controllers, are then transferred to the input of USB input units Processor in electronic equipment, so as to solve when the USB interface in electronic equipment is in disabled status, keyboard, mouse etc. Input equipment also by disabled technical problem simultaneously so that the equipment such as keyboard, mouse cannot also be realized with electronic equipment Connection.And then realize when USB functions are disabled, USB inputs still can be connected with electronic equipment, and the electronic equipment Remain able to process the input signal of USB interface input equipment.
When USB functions are disabled in embodiments of the present invention, by setting conversion equipment in the electronic device by USB key Other input equipments of disk or USB interface are connected to other recording controllers repeatedly, then transmit the input of USB input units Processor in electronic equipment, so as to solve when the USB interface in electronic equipment is in disabled status, keyboard, mouse Also will be simultaneously disabled Deng input equipment, interface disabling mode is single, can not realize selective disabling, so as in user When needing to use the equipment such as keyboard, mouse, user also needs to reopen interface, is thus so that user's is cumbersome, And electronic equipment controls also complex technical problem.So as to realize at the variation to electronic equipment interfaces use state Reason, and cumbersome control of the user to USB functions is it also avoid, also reduce the complexity of electronic equipment control.
A kind of correspondence method of information processing of the embodiment of the present invention, the embodiment of the present invention additionally provides a kind of electronic equipment, The concrete structure schematic diagram of embodiment of the present invention a kind of electronic equipment is illustrated in figure 2, the electronic equipment includes:
First chip 201, is arranged in the electronic equipment, for processing data signal;
First connecting interface 202, is connected with first chip, for connecting one first electronic equipment;
Detection unit 203, is connected with first connecting interface, for first chip process the first function when, Detect and whether be connected with the second electronic equipment in first connecting interface;
Determining unit 204, for when second electronic equipment is detected, determine second electronic equipment whether be Electronic equipment corresponding with the second function;
Control unit 205, believes for controlling first connecting interface to receive the data from second electronic equipment Number.
When external input equipment is connected by the first connecting interface 202 with the first electronic equipment, examined in the electronic equipment The identification information that unit 203 will be obtained in external input equipment by the first connecting interface 202 is surveyed, and the identification information is sent To determining unit 204, so that the determining unit 204 will be transferred is pre-stored in the electronic equipment Plays identification information, and will obtain Identification information matched with standard logo information, if obtain identification information and standard logo information matches, this is true Order unit 204 is sent to the first chip by a command information is generated, so that data transmission interface is transformed into control by the first chip Unit 205, so that control unit 205 can just receive the input data transmitted by the first connecting interface 202.
Further, determining unit 204 also includes corresponding processing module in embodiments of the present invention, is illustrated in figure 3 this The concrete structure schematic diagram of determining unit 204 in inventive embodiments, the determining unit 204 includes:
Acquisition module 301, for obtaining the identification information in second electronic equipment;
Determination module 302, for judging whether the identification information is default identification information, and generates a result of determination;
Determining module 303, if characterize the identification information for the default identification information for the result of determination, Determine that second electronic equipment is the corresponding electronic equipment of second function.
In addition, being illustrated in figure 4 the practical structures schematic diagram of the electronic equipment in inventive embodiments, electronic equipment includes :
Usb interface controller 401 is connected, for receiving and the data transfer that controls on USB.
I/O chip 402, is connected with usb interface controller 401, for control external equipment signal input and Output.
USB converter 403, is connected with usb interface controller 401, for the input signal on USB controller to be transformed into In PS/2 controllers, that is to say, that in embodiments of the present invention, the input signal transmitted on the usb interface controller is transferred to In PS/2 controllers.
PS/2 controllers 404, are connected with USB converter 403, so as to receive the data-signal of USB interface controlling transmission Afterwards, the data-signal can be sent to corresponding process chip, so that corresponding process chip will be done according to the data-signal Go out corresponding response.Certainly, a judgement chip is further comprises in the I/O chip 402 in embodiments of the present invention, this is sentenced Disconnected chip can obtain the identification information of the circumscribed USB equipment connected by usb interface controller, and judge the identification information Whether it is standard logo information, if the identification information is preset standard identification information, the signal can just be transferred to USB conversions Device 403 and PS/2 controllers 404.
Application below by specific application scenarios to electronic equipment in the embodiment of the present invention elaborates.
When user is for Information Security in computer, then user needs to adjust the usb interface controller in computer, from And usb interface controller treatment disabled status are caused, if in the prior art, when the USB interface is in disabled status, should USB interface will can not carry out any data transfer, and certainly, USB keyboard or USB mouse can not equally will be connected with computer Use.
But in the embodiment of the present application when the USB interface is disabled, when be connected to for USB keyboard on the computer by user When, I/O chip 402 in the computer will obtain the identification information in the USB keyboard, the identification information be USB keyboard or The distinctive identification information of person's USB mouse, after the identification information is got, the I/O chip 402 transfers the mark for prestoring Quasi- identification information, and obtain identification information matched with standard logo information, and generation one matching result, if the matching When result characterizes mark identification information and the standard logo information matches for obtaining, then the control USB controller 403 is by USB interface control The input signal of device processed 401 is transferred to PS/2 controllers 404, wherein USB converter 403 and usb interface controller 401 and PS/2 controllers 404 are connected.
So as to USB keyboard then can be for transmission to PS/2 controllers by the input signal that usb interface controller 401 is input into In 404, the input signal of USB keyboard can be transferred to corresponding process chip in computer by final PS/2 controllers 404, so that Process chip can make corresponding response according to the input signal, and certainly, the I/O chip 402 in the computer is recognized When to be connected to USB on computer be USB flash disk or mobile hard disk, then the USB converter 403 will not work, therefore, USB flash disk or Mobile hard disk can not be realized being connected with computer.
At least there is following technique effect or advantage in one or more embodiment that the present invention is provided:
When USB functions are disabled in embodiments of the present invention, by setting conversion equipment in the electronic device by USB key Other input equipments of disk or USB interface are connected to other recording controllers, are then transferred to the input of USB input units Processor in electronic equipment, so as to solve when the USB interface in electronic equipment is in disabled status, keyboard, mouse etc. Input equipment also by disabled technical problem simultaneously so that the equipment such as keyboard, mouse cannot also be realized with electronic equipment Connection.And then realize when USB functions are disabled, USB inputs still can be connected with electronic equipment, and the electronic equipment Remain able to process the input signal of USB interface input equipment.
When USB functions are disabled in embodiments of the present invention, by setting conversion equipment in the electronic device by USB key Other input equipments of disk or USB interface are connected to other recording controllers, are then transferred to the input of USB input units Processor in electronic equipment, so as to solve when the USB interface in electronic equipment is in disabled status, keyboard, mouse etc. Input equipment also will be simultaneously disabled, and interface disabling mode is single, can not realize selective disabling, so as to be needed in user When using the equipment such as keyboard, mouse, user also needs to reopen interface, is thus so that user's is cumbersome, and And electronic equipment controls also complex technical problem.So as to realize at the variation to electronic equipment interfaces use state Reason, and cumbersome control of the user to USB functions is it also avoid, also reduce the complexity of electronic equipment control.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or more The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) is produced The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without deviating from essence of the invention to the present invention God and scope.So, if these modifications of the invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (9)

1. a kind of information processing method, is applied in the first electronic equipment comprising the first connecting interface, it is characterised in that described Method includes:
When the first chip of corresponding first function of being connected with first connecting interface is in disabled state, described the is detected Whether second electronic equipment is connected with one connecting interface;
When second electronic equipment is detected, determine whether second electronic equipment is electronics corresponding with the second function Equipment, wherein, first function is the functions different from second function, and second function is to be connected with described first The corresponding function of second chip of interface connection;
When second electronic equipment is electronic equipment corresponding with second function, it is in first chip is kept The disabled state simultaneously, controls first connecting interface to receive the data-signal from second electronic equipment, so that First electronic equipment can be received and process the data-signal of the second electronic equipment generation;
After control first connecting interface receives the data-signal from second electronic equipment, methods described Also include:
The data-signal of second electronic equipment is converted into the first data-signal, wherein, first data-signal is institute State the data-signal that the first electronic equipment can be processed.
2. the method for claim 1, it is characterised in that determination second electronic equipment whether be and the second work( The corresponding electronic equipment of energy, specifically includes:
Obtain the identification information in second electronic equipment;
Judge whether the identification information is default identification information, and generate a result of determination;
If the result of determination characterizes the identification information for the default identification information, it is determined that second electronic equipment It is the corresponding electronic equipment of second function.
3. the method for claim 1, it is characterised in that the data-signal by second electronic equipment is converted to First data-signal, specifically includes:
By the data signal transmission of second electronic equipment to the chromacoder in first electronic equipment;
The data-signal of second electronic equipment is converted to by first data-signal by the chromacoder.
4. method as claimed in claim 2, it is characterised in that judge whether the identification information is default mark letter described After breath, and one result of determination of generation, methods described also includes:
If the result of determination sign identification information is not the default identification information, first electronics is controlled to set The standby state in that can not carry out data transmission with second electric room.
5. method as claimed in claim 3, it is characterised in that it is described by the chromacoder by the described second electricity The data-signal of sub- equipment is converted to after first data-signal, and methods described also includes:
Obtain in the second electronic equipment equipment for opening the first key of first electronic equipment;
The first key is matched with pre-stored criteria key in first electronic equipment, the second matching result is obtained;
If second matching result characterizes the first key with the pre-stored criteria cipher key match, described first is opened Electronic equipment.
6. the method for claim 1, it is characterised in that first connecting interface is USB connection interface.
7. the method for claim 1, it is characterised in that second electronic equipment is USB keyboard and/or USB mouse.
8. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
First chip, is arranged in the electronic equipment, for processing data signal;
First connecting interface, is connected with first chip, for connecting one first electronic equipment;
Detection unit, is connected with first connecting interface, for when first chip processes the first function, detection to be described Whether second electronic equipment is connected with first connecting interface;
Determining unit, for when second electronic equipment is detected, determine second electronic equipment whether be and second The corresponding electronic equipment of function;
Control unit, for controlling first connecting interface to receive the data-signal from second electronic equipment, by institute The data-signal for stating the second electronic equipment is converted to the first data-signal, wherein, first data-signal is the described first electricity The data-signal that sub- equipment can be processed.
9. electronic equipment as claimed in claim 8, it is characterised in that the determining unit includes:
Acquisition module, for obtaining the identification information in second electronic equipment;
Determination module, for judging whether the identification information is default identification information, and generates a result of determination;
Determining module, if characterize the identification information for the default identification information for the result of determination, it is determined that institute The second electronic equipment is stated for the corresponding electronic equipment of second function.
CN201210406264.8A 2012-10-23 2012-10-23 Information processing method and electronic device Active CN103778088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210406264.8A CN103778088B (en) 2012-10-23 2012-10-23 Information processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210406264.8A CN103778088B (en) 2012-10-23 2012-10-23 Information processing method and electronic device

Publications (2)

Publication Number Publication Date
CN103778088A CN103778088A (en) 2014-05-07
CN103778088B true CN103778088B (en) 2017-05-24

Family

ID=50570339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210406264.8A Active CN103778088B (en) 2012-10-23 2012-10-23 Information processing method and electronic device

Country Status (1)

Country Link
CN (1) CN103778088B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382469B (en) * 2018-12-29 2022-03-25 北京淳中科技股份有限公司 Signal transmission management method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101082892A (en) * 2006-05-30 2007-12-05 三星电子株式会社 Electronic device having usb interface capable of supporting multiple usb interface standards and methods of operating same
CN201796367U (en) * 2010-09-06 2011-04-13 航天信息股份有限公司 Usb isolator
CN102103674A (en) * 2009-12-18 2011-06-22 联想(北京)有限公司 Equipment control method and computer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7111324B2 (en) * 1999-01-15 2006-09-19 Safenet, Inc. USB hub keypad

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101082892A (en) * 2006-05-30 2007-12-05 三星电子株式会社 Electronic device having usb interface capable of supporting multiple usb interface standards and methods of operating same
CN102103674A (en) * 2009-12-18 2011-06-22 联想(北京)有限公司 Equipment control method and computer
CN201796367U (en) * 2010-09-06 2011-04-13 航天信息股份有限公司 Usb isolator

Also Published As

Publication number Publication date
CN103778088A (en) 2014-05-07

Similar Documents

Publication Publication Date Title
CN106716297B (en) A kind of method, apparatus and touch screen terminal of fingerprint recognition
CN102890776B (en) The method that expression figure explanation is transferred by facial expression
CN102663842B (en) Method for mobile device to control multiple external devices
CN107578519A (en) A kind of intelligent access control system and intelligent entrance guard method for unlocking
CN105975823A (en) Verification method and apparatus used for distinguishing man and machine
CN107533599A (en) A kind of gesture identification method, device and electronic equipment
CN102890777B (en) The computer system of recognizable facial expression
CN104809402B (en) A kind of information fuzzy display methods and terminal
CN106843729A (en) A kind of terminal control method and terminal
CN106844268A (en) A kind of USB device test system, method of testing and test device
CN106531654A (en) Chip input pin test method and device
CN104036195A (en) Information processing method and device
CN104091109A (en) System and method for verifying identity of computer administrator through fingerprint and vein double modes
CN104063642A (en) Intelligent terminal safety authentication method and device based on pressure sensor
TWI679586B (en) Handwriting data processing method and device
CN103577772B (en) Cipher-code input method, electronic installation, unlocking method, data verification method
CN107734177A (en) A kind of terminal Synergistic method and device
CN108762659A (en) Control method, device, storage medium and the electronic device of cloud terminal
CN103778088B (en) Information processing method and electronic device
CN106355684A (en) Control method, device and system of controlled equipment
CN103049954A (en) Graphic control strategy configuration method for door control system
CN106940764A (en) A kind of user authentication method and terminal device
CN105539340B (en) A kind of command control method and control device
CN108540357A (en) Voice control method and device and sound equipment
CN105787313B (en) Cryptographic system and electronic equipment with the cryptographic system

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