[go: up one dir, main page]

CN103631750B - An information processing method and electronic device - Google Patents

An information processing method and electronic device Download PDF

Info

Publication number
CN103631750B
CN103631750B CN201210313500.1A CN201210313500A CN103631750B CN 103631750 B CN103631750 B CN 103631750B CN 201210313500 A CN201210313500 A CN 201210313500A CN 103631750 B CN103631750 B CN 103631750B
Authority
CN
China
Prior art keywords
chip
interface
data
signal
electronic equipment
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
CN201210313500.1A
Other languages
Chinese (zh)
Other versions
CN103631750A (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 CN201710631849.2A priority Critical patent/CN107402898B/en
Priority to CN201210313500.1A priority patent/CN103631750B/en
Publication of CN103631750A publication Critical patent/CN103631750A/en
Application granted granted Critical
Publication of CN103631750B publication Critical patent/CN103631750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

本发明公开了一种信息处理的方法及电子设备,该方法应用于一电子设备,所述电子设备包括具有第一协议的第一接口,以及不支持所述第一协议的第二芯片,方法包括:从所述第一接口获得第一数据信号,其中,所述第一数据信号由通过第一接口与所述电子设备连接的电子装置产生;基于所述第一接口与所述第二芯片间的一数据通道,传输所述第一数据信号至所述第二芯片;在所述第一数据信号满足第一预设条件时,控制所述第二芯片响应所述第一数据信号,以实现所述电子设备的第一功能。

The present invention discloses an information processing method and electronic device. The method is applied to an electronic device, wherein the electronic device includes a first interface with a first protocol and a second chip that does not support the first protocol. The method includes: obtaining a first data signal from the first interface, wherein the first data signal is generated by an electronic device connected to the electronic device through the first interface; transmitting the first data signal to the second chip based on a data channel between the first interface and the second chip; and controlling the second chip to respond to the first data signal when the first data signal meets a first preset condition, so as to realize a first function of the electronic device.

Description

一种信息处理的方法及电子设备An information processing method and electronic device

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种信息处理的方法及电子设备。The invention relates to the field of computer technology, in particular to an information processing method and electronic equipment.

背景技术Background technique

随着计算机技术的发展,越来越多的数据接口被广泛应用在电子设备上,比如台式电脑,笔记本电脑,平板电脑,智能手机,这些接口包括PS/2接口,USB接口等。在电子设备的主板上都会设置有支持上述接口相应协议的处理芯片,比如,PS/2接口与支持PS/2协议的SIO(Super Input Output,超级输入输出芯片)连接,USB接口与支持USB协议的USB控制芯片连接。With the development of computer technology, more and more data interfaces are widely used in electronic devices, such as desktop computers, notebook computers, tablet computers, smart phones, these interfaces include PS/2 interface, USB interface and so on. A processing chip that supports the corresponding protocols of the above-mentioned interfaces will be provided on the motherboard of the electronic device. For example, the PS/2 interface is connected to the SIO (Super Input Output, Super Input Output chip) that supports the PS/2 protocol, and the USB interface is connected to the SIO (Super Input Output chip) that supports the USB protocol. The USB controller chip is connected.

本申请发明人在实现本申请实施例中技术方案的过程中,至少发现上述现有技术中存在如下技术问题:In the process of implementing the technical solutions in the embodiments of the present application, the inventors of the present application at least found the following technical problems in the above-mentioned prior art:

一个I/O接口就只能与具有与其对应协议的控制芯片连接,以实现这个协议能够实现的功能,比如,USB接口只能与支持USB协议的USB控制芯片连接,通过USB控制芯片的控制来实现键盘输入,数据传输等功能,PS/2接口也只能与支持PS/2协议的SIO连接,这样,就存在I/O接口功能单一的技术问题。An I/O interface can only be connected to a control chip with its corresponding protocol to realize the functions that can be realized by this protocol. For example, a USB interface can only be connected to a USB control chip that supports the USB protocol. Realize functions such as keyboard input, data transmission, PS/2 interface also can only be connected with the SIO that supports PS/2 agreement, like this, just there is the technical problem of single function of I/O interface.

发明内容Contents of the invention

本发明提供一种信息处理的方法及电子设备,用以解决现有技术中存在的I/O接口功能单一的技术问题。The present invention provides an information processing method and electronic equipment to solve the technical problem of single I/O interface function existing in the prior art.

一方面,本发明通过本申请的一个实施例,提供一种信息处理的方法,应用于一电子设备,所述电子设备包括具有第一协议的第一接口,以及不支持所述第一协议的第二芯片,所述方法包括:从所述第一接口获得第一数据信号,其中,所述第一数据信号由通过第一接口与所述电子设备连接的电子装置产生;基于所述第一接口与所述第二芯片间的一数据通道,传输所述第一数据信号至所述第二芯片;在所述第一数据信号满足第一预设条件时,控制所述第二芯片响应所述第一数据信号,以实现所述电子设备的第一功能。On the one hand, the present invention provides an information processing method through an embodiment of the application, which is applied to an electronic device, and the electronic device includes a first interface with a first protocol, and an interface that does not support the first protocol For a second chip, the method includes: obtaining a first data signal from the first interface, wherein the first data signal is generated by an electronic device connected to the electronic device through the first interface; based on the first A data channel between the interface and the second chip transmits the first data signal to the second chip; when the first data signal satisfies a first preset condition, controls the second chip to respond to the the first data signal to realize the first function of the electronic device.

可选的,在所述传输所述第一数据信号至所述第二芯片之前,所述方法还包括:判断所述第一数据信号是否满足第二预设条件;当所述第一数据信号满足所述第二预设条件时,控制一开关单元,将所述第一接口与所述第二芯片连接,使得所述第一接口与所述第二芯片间建立所述数据通道。Optionally, before transmitting the first data signal to the second chip, the method further includes: judging whether the first data signal satisfies a second preset condition; when the first data signal When the second preset condition is satisfied, a switch unit is controlled to connect the first interface to the second chip, so that the data channel is established between the first interface and the second chip.

可选的,所述方法还包括:当所述第一数据信号不满足所述第二预设条件时,控制所述开关单元,将所述第一接口与支持所述第一协议的第一芯片连接,使得所述第一接口与所述第一芯片间建立数据通道;将所述第一数据信号输出给所述第一芯片。Optionally, the method further includes: when the first data signal does not meet the second preset condition, controlling the switch unit to connect the first interface to the first interface supporting the first protocol. The chip is connected so that a data channel is established between the first interface and the first chip; and the first data signal is output to the first chip.

可选的,所述传输所述第一数据信号至所述第二芯片,具体包括:将所述第一数据信号分别输出给支持所述第一协议的第一芯片和所述第二芯片;当所述第一芯片接收到所述第一数据信号后,所述第一芯片不响应所述第一数据信号。Optionally, the transmitting the first data signal to the second chip specifically includes: respectively outputting the first data signal to the first chip and the second chip supporting the first protocol; After the first chip receives the first data signal, the first chip does not respond to the first data signal.

可选的,所述控制所述第二芯片响应所述第一数据信号,具体包括:在所述第一数据信号满足所述第一预设条件时,控制所述第二芯片响应所述第一数据信号,生成一控制指令;执行所述控制指令,控制所述电子设备实现所述第一功能。Optionally, the controlling the second chip to respond to the first data signal specifically includes: when the first data signal satisfies the first preset condition, controlling the second chip to respond to the first data signal. A data signal, generating a control instruction; executing the control instruction, controlling the electronic device to realize the first function.

可选的,所述第二预设条件具体为所述第一数据信号为键盘/鼠标发出的信号。Optionally, the second preset condition is specifically that the first data signal is a signal sent by a keyboard/mouse.

可选的,所述第一协议具体为USB协议。Optionally, the first protocol is specifically a USB protocol.

可选的,所述第二芯片具体为超级输入输出芯片。Optionally, the second chip is specifically a super input and output chip.

另一方面,本发明通过本申请的另一个实施例,提供一种电子设备,包括:电路板;第一接口,设置在所述电路板上,支持所述第一协议,用于获得第一数据信号,其中,所述第一数据信号由通过第一接口与所述电子设备连接的电子装置产生;第二芯片,设置在所述电路板上,与所述第一接口之间能够建立一数据通道,用于响应所述第一数据信号,以实现所述电子设备的第一功能;控制芯片,设置在所述电路板上的所述第一接口与所述第二芯片之间连接,用于在所述第一数据信号满足第一预设条件时,控制所述第二芯片响应所述第一数据信号。On the other hand, the present invention provides an electronic device through another embodiment of the present application, including: a circuit board; a first interface, set on the circuit board, supporting the first protocol, and used to obtain the first A data signal, wherein the first data signal is generated by an electronic device connected to the electronic device through the first interface; the second chip is arranged on the circuit board and can establish a connection with the first interface. a data channel, configured to respond to the first data signal to realize the first function of the electronic device; a control chip, configured to connect between the first interface on the circuit board and the second chip, and controlling the second chip to respond to the first data signal when the first data signal satisfies a first preset condition.

可选的,所述电子设备还包括:第一芯片,设置在所述电路板上,支持所述第一协议,与所述第一接口之间能够建立一数据通道,用于当所述第一数据信号不满足所述第一预设条件时,基于所述第一芯片与所述第一接口之间的数据通道,获得并响应所述第一数据信号。Optionally, the electronic device further includes: a first chip, which is set on the circuit board, supports the first protocol, and can establish a data channel with the first interface for when the first chip When a data signal does not satisfy the first preset condition, obtain and respond to the first data signal based on the data channel between the first chip and the first interface.

可选的,所述电子设备还包括:开关单元,设置在所述电路板上,与所述第一接口连接,用于连接所述第一接口和所述第二芯片;还用于连接所述第一接口与所述第一芯片。Optionally, the electronic device further includes: a switch unit, arranged on the circuit board, connected to the first interface, and used to connect the first interface and the second chip; The first interface and the first chip.

可选的,所述控制芯片与所述开关单元连接,用于控制所述开关单元在所述第一接口与所述第二芯片之间建立数据通道;还用于用于控制所述开关单元在所述第一接口与所述第一芯片之间建立数据通道。Optionally, the control chip is connected to the switch unit, and is used to control the switch unit to establish a data channel between the first interface and the second chip; and is also used to control the switch unit A data channel is established between the first interface and the first chip.

可选的,所述第二预设条件具体为所述第一数据信号为键盘/鼠标发出的信号。Optionally, the second preset condition is specifically that the first data signal is a signal sent by a keyboard/mouse.

可选的,所述第一协议具体为USB协议。Optionally, the first protocol is specifically a USB protocol.

可选的,所述第二芯片具体为超级输入输出芯片。Optionally, the second chip is specifically a super input and output chip.

本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:

1、由于第一数据信号通过第一接口与第二芯片之间的数据通道传输给第二芯片,使得第二芯片能够响应该信号,来实现第一功能,所以,有效地解决了现有技术中的I/O接口功能单一的技术问题,进而实现了I/O接口的功能复用。1. Since the first data signal is transmitted to the second chip through the data channel between the first interface and the second chip, the second chip can respond to the signal to realize the first function, so it effectively solves the problem of the prior art The technical problem of the single function of the I/O interface is solved, and then the function multiplexing of the I/O interface is realized.

2、由于将第一接口分别与第一芯片和第二芯片连接,使得第一数据信号能够直接传输给上述两个芯片,这样,减少了电子设备硬件的复杂程度,还因为信号并行传输,提高了芯片的响应效率。2. Since the first interface is respectively connected to the first chip and the second chip, the first data signal can be directly transmitted to the above two chips, thus reducing the complexity of the hardware of the electronic device and improving the efficiency of the signal due to the parallel transmission of signals. The response efficiency of the chip is improved.

附图说明Description of drawings

图1为本发明一实施例中的信息处理的流程图;Fig. 1 is the flowchart of information processing in an embodiment of the present invention;

图2为本发明一实施例中的电子设备的结构示意图;2 is a schematic structural diagram of an electronic device in an embodiment of the present invention;

图3a为本发明另一实施例中的电子设备的结构示意图;Fig. 3a is a schematic structural diagram of an electronic device in another embodiment of the present invention;

图3b为本发明另一实施例中的电子设备的结构示意图。Fig. 3b is a schematic structural diagram of an electronic device in another embodiment of the present invention.

具体实施方式detailed description

本申请实施例通过提供一种信息处理的方法及电子设备,用以解决现有技术中存在的I/O接口功能单一的技术问题。The embodiments of the present application provide an information processing method and an electronic device to solve the technical problem of the single function of the I/O interface existing in the prior art.

本申请实施例中的技术方案为解决上述存在的I/O接口功能单一技术的问题,总体思路如下:The technical solution in the embodiment of the present application is to solve the problem of the single technology of the I/O interface function existing above, and the general idea is as follows:

通过在第一接口与第二芯片之间建立数据通道,使得通过第一接口获得的由与电子设备连接的外部电子装置产生的第一数据信号能够传输到第二芯片,并被第二芯片响应处理,控制电子设备实现第一功能,进而实现了第一接口的功能复用。By establishing a data channel between the first interface and the second chip, the first data signal obtained through the first interface and generated by the external electronic device connected to the electronic device can be transmitted to the second chip and be responded by the second chip The processing is to control the electronic device to realize the first function, and further realize the function multiplexing of the first interface.

为了更好的理解上述技术方案,下面将结合说明书附图以及具体的实施方式对上述技术方案进行详细的说明。In order to better understand the above-mentioned technical solution, the above-mentioned technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

本申请与一实施例提供一种信息处理的方法,应用于一电子设备,如图2所示,该电子设备,包括:电路板10;第一接口20,比如USB接口,设置在电路板10上,支持第一协议;第二芯片30,比如,SIO,设置在电路板10上,与第一接口10之间能够建立一数据通道;控制芯片40,比如,BIOS(Basic Input Output System,基本输入输出系统)芯片,设置在电路板10上的第一接口20与第二芯片30之间连接。当然,第一接口20,第二芯片30还有控制芯片40还可为一个或者多个其他的接口和芯片,本领域技术人员可以自行设定,本申请不做具体限定。The present application and an embodiment provide a method for information processing, which is applied to an electronic device. As shown in FIG. 2, the electronic device includes: a circuit board 10; support the first protocol; the second chip 30, for example, SIO, is arranged on the circuit board 10, and a data channel can be established between the first interface 10; the control chip 40, for example, BIOS (Basic Input Output System, basically The input/output system) chip is connected between the first interface 20 on the circuit board 10 and the second chip 30 . Of course, the first interface 20, the second chip 30 and the control chip 40 can also be one or more other interfaces and chips, which can be set by those skilled in the art, and this application does not make specific limitations.

如图1所示,该方法包括:As shown in Figure 1, the method includes:

S101:从第一接口20获得第一数据信号,其中,第一数据信号由通过第一接口20与电子设备连接的电子装置产生;S101: Obtain a first data signal from the first interface 20, where the first data signal is generated by an electronic device connected to the electronic device through the first interface 20;

S102:基于第一接口20与第二芯片30间的一数据通道,传输第一数据信号至第二芯片30;S102: Based on a data channel between the first interface 20 and the second chip 30, transmit the first data signal to the second chip 30;

S103:在第一数据信号满足第一预设条件时,控制第二芯片30响应第一数据信号,以实现电子设备的第一功能。S103: When the first data signal satisfies the first preset condition, control the second chip 30 to respond to the first data signal, so as to realize the first function of the electronic device.

下面以键盘/鼠标控制电子设备开机为例,对上述技术方案进行说明。The above technical solution will be described below by taking the keyboard/mouse to control the startup of the electronic device as an example.

请结合图3a,比如,用户需要使用键盘来控制台式电脑上电开机,那么,首先,用户将键盘通过电脑上的USB接口与电脑连接,然后按下设置在键盘上的开机键,比如“电源键”,此时,键盘就会将这个控制指令发送给键盘上的USB接口,再通过这个接口与电脑上的第一接口20的连接,执行S101,电脑就能够获得第一数据信号,根据USB协议,第一数据信号中可以包含发出第一数据信号的电子装置的属性信息,比如,装置名称,型号等。Please combine Figure 3a, for example, the user needs to use the keyboard to control the desktop computer to power on and start, then, first, the user connects the keyboard to the computer through the USB interface on the computer, and then presses the power button set on the keyboard, such as "power key", at this time, the keyboard will send this control command to the USB interface on the keyboard, and then connect this interface with the first interface 20 on the computer, execute S101, and the computer can obtain the first data signal, according to the USB protocol, the first data signal may include attribute information of the electronic device sending the first data signal, such as device name, model, and so on.

在具体实施过程中,第一数据信号还有可能是由别的USB设备发出的,比如,鼠标。那么,用户在需要鼠标开机时,将鼠标通过电脑上的USB接口与电脑连接,然后用户可以通过点击鼠标按键,比如双击左键,就能产生开机指令,然后同上述键盘开机一样,将开机指令传输给第一接口20。In a specific implementation process, the first data signal may also be sent by other USB devices, such as a mouse. Then, when the user needs to start the mouse, connect the mouse to the computer through the USB interface on the computer, and then the user can click the mouse button, such as double-clicking the left button, to generate a power-on command, and then the power-on command will be the same as the above-mentioned keyboard power-on. transmitted to the first interface 20.

当然,通过USB接口连接在电脑上的电子装置不一定是键盘/鼠标,还有可能是U盘,或者是手机,那么,此时,这些电子装置发出的就不是开机指令了,也就是说第一数据信号还可能是别的信号,比如,U盘连接,本申请不做具体限定。Of course, the electronic device connected to the computer through the USB interface is not necessarily a keyboard/mouse, and may also be a USB flash drive or a mobile phone. Then, at this time, these electronic devices are not boot commands. A data signal may also be other signals, for example, a U disk connection, which is not specifically limited in this application.

接下来,由S101获得第一数据信号之后,执行S102,即:基于第一接口20与第二芯片30间的一数据通道,传输第一数据信号至第二芯片30。Next, after obtaining the first data signal in S101 , execute S102 , that is, transmit the first data signal to the second chip 30 based on a data channel between the first interface 20 and the second chip 30 .

在具体实施过程中,如图3a所示,电子设备还包括:开关单元50,可以是单刀双掷开关,或者是电子开关;第一芯片60,支持第一协议,比如USB控制芯片。当然,第一芯片60还可为其他芯片,只要是第一接口20相应的控制芯片即可,本申请不做具体限定。那么此时,在S102之前,该方法还包括:判断第一数据信号是否为满足第二预设条件的数据信号;当第一数据信号满足第二预设条件时,控制开关单元50,将第一接口20与第二芯片30连接,使得第一接口20与第二芯片30间建立数据通道。In a specific implementation process, as shown in FIG. 3a, the electronic device further includes: a switch unit 50, which may be a single-pole double-throw switch, or an electronic switch; a first chip 60, which supports the first protocol, such as a USB control chip. Of course, the first chip 60 may also be other chips, as long as it is a corresponding control chip of the first interface 20, which is not specifically limited in this application. Then, before S102, the method further includes: judging whether the first data signal is a data signal satisfying the second preset condition; when the first data signal satisfies the second preset condition, controlling the switch unit 50 to switch the second An interface 20 is connected to the second chip 30 such that a data channel is established between the first interface 20 and the second chip 30 .

具体来说,如上所述,第一数据信号不限于是开机指令,而且也不一定是由键盘发出的,所以在建立数据通道之前需要对接收到的第一数据信号进行判断,判断其是否满足第二预设条件。比如,第二预设条件为第一数据信号为键盘发出的数据信号的时候,首先,第一接口20就会将第一数据信号传输给控制芯片40,然后,在控制芯片40判断第一数据信号满足上述预设条件时,控制芯片40就会控制开关单元50连通第一接口20与第二芯片30,在两者之间建立一数据通道。当然,第二预设条件还可以为第一数据信号为鼠标发出的数据信号,本申请不做具体限定。Specifically, as mentioned above, the first data signal is not limited to a power-on command, and it is not necessarily sent by the keyboard, so before establishing the data channel, it is necessary to judge the received first data signal to determine whether it satisfies the Second preset condition. For example, when the second preset condition is that the first data signal is a data signal sent by the keyboard, first, the first interface 20 will transmit the first data signal to the control chip 40, and then, the control chip 40 judges the first data signal When the signal meets the above preset conditions, the control chip 40 will control the switch unit 50 to connect the first interface 20 and the second chip 30 to establish a data channel between the two. Certainly, the second preset condition may also be that the first data signal is a data signal sent by a mouse, which is not specifically limited in this application.

进一步,为了不影响其他USB设备的正常工作,比如,当第一接口20上连接的是一个U盘时,为了能让U盘正常使用,所以,该方法还包括:在第一数据信号不满足第二预设条件时,控制开关单元50,将第一接口20与支持第一协议的第一芯片60连接,使得第一接口20与第一芯片60间建立数据通道;将第一数据信号也输出给第一芯片60。Further, in order not to affect the normal operation of other USB devices, for example, when a U disk is connected to the first interface 20, in order to allow the U disk to be used normally, the method also includes: when the first data signal does not satisfy During the second preset condition, the switch unit 50 is controlled to connect the first interface 20 with the first chip 60 supporting the first protocol, so that a data channel is established between the first interface 20 and the first chip 60; output to the first chip 60.

具体来说,U盘通过第一接口20与电脑连接,那么,由U盘产生的第一数据信号,就不满足第二预设条件,控制芯片40就会将开关单元50切换去与第一芯片60连接,然后将第一数据信号输出给第一芯片60。Specifically, if the U disk is connected to the computer through the first interface 20, then the first data signal generated by the U disk does not meet the second preset condition, and the control chip 40 will switch the switch unit 50 to the first data signal. The chip 60 is connected, and then outputs the first data signal to the first chip 60 .

第三步,执行S103,即:在第一数据信号满足第一预设条件时,控制第二芯片30响应第一数据信号,以实现电子设备的第一功能。这里所说的第一预设条件可以为第一数据信号为第二芯片30能够响应的数据信号,当然,还可以是一个或多个其他的条件,只要能够让第二芯片30实现第一功能即可,本申请不做具体限定。The third step is to execute S103, that is, when the first data signal satisfies the first preset condition, control the second chip 30 to respond to the first data signal, so as to realize the first function of the electronic device. The first preset condition mentioned here can be that the first data signal is a data signal that the second chip 30 can respond to, of course, it can also be one or more other conditions, as long as the second chip 30 can realize the first function That is, the present application does not make a specific limitation.

在具体实施过程中,S103可以为:在第一数据信号满足第一预设条件时,控制第二芯片30响应第一数据信号,生成一控制指令;执行控制指令,控制电子设备第一功能。在本实施例中,第一功能为键盘/鼠标控制电子设备上电开机,当然在具体实施过程中,第一功能还可以是键盘或者鼠标输入功能,只要第一功能是第二芯片30能够响应实现的功能即可,本申请不做具体限定。In a specific implementation process, S103 may be: when the first data signal satisfies the first preset condition, control the second chip 30 to generate a control instruction in response to the first data signal; execute the control instruction to control the first function of the electronic device. In this embodiment, the first function is the keyboard/mouse to control the power-on and start-up of the electronic equipment. Of course, in the specific implementation process, the first function can also be the keyboard or mouse input function, as long as the first function is that the second chip 30 can respond The realized functions are sufficient, and are not specifically limited in this application.

具体来说,在第一接口20与第二芯片30之间建立好数据通道之后,控制芯片40会进一步判断第一数据信号是否满足上述第一预设条件,当第一数据信号满足第一预设条件时,控制芯片40将第一数据信号解析,并生成一个第二芯片能够响应的信号,然后,传输给第二芯片30,接下来,第二芯片30根据这个信号生成一控制指令,比如,第一数据信号为开机信号,那么第二芯片30就会生成开机控制指令,接下来,第二芯片30执行该开机控制指令,控制电子设备开机。Specifically, after the data channel is established between the first interface 20 and the second chip 30, the control chip 40 will further judge whether the first data signal satisfies the above-mentioned first preset condition. When setting the condition, the control chip 40 analyzes the first data signal, and generates a signal that the second chip can respond to, and then transmits it to the second chip 30, and then, the second chip 30 generates a control instruction according to the signal, such as , the first data signal is a power-on signal, then the second chip 30 will generate a power-on control command, and then, the second chip 30 executes the power-on control command to control the power-on of the electronic device.

在另一实施例中,如图3b所示,电子设备还包括:第一芯片60。将第一接口20分别与第一芯片60和第二芯片30连接,这样,第一芯片60和第二芯片30都能够接收到由第一接口20输出的第一数据信号。这样的硬件连接结构使得电子设备的硬件结构简单,信号被直接传输处理芯片,所以提高了芯片对外部电子装置的响应效率。此时,S102可以为:将第一数据信号分别输出给支持第一协议的第一芯片60和第二芯片30;当第一芯片60接收到第一数据信号后,第一芯片60不响应第一数据信号。In another embodiment, as shown in FIG. 3 b , the electronic device further includes: a first chip 60 . Connect the first interface 20 to the first chip 60 and the second chip 30 respectively, so that both the first chip 60 and the second chip 30 can receive the first data signal output by the first interface 20 . Such a hardware connection structure makes the hardware structure of the electronic device simple, and the signal is directly transmitted to the processing chip, thus improving the response efficiency of the chip to the external electronic device. At this time, S102 may be: respectively output the first data signal to the first chip 60 and the second chip 30 supporting the first protocol; when the first chip 60 receives the first data signal, the first chip 60 does not respond to the first chip 60 a data signal.

具体来说,当第一数据信号为开机信号时,第一接口20将这个信号同时发送给第一芯片60和第二芯片30,由于第一芯片60不支持键盘开机这一功能,所以就无法响应第一数据信号;而由于第一接口20与第二芯片30之间的数据通道已建立,所以,控制芯片只需将第一数据信号解析成第二芯片30能够响应的信号,并传输给第二芯片30,由第二芯片30进行响应。Specifically, when the first data signal is a power-on signal, the first interface 20 sends this signal to the first chip 60 and the second chip 30 at the same time, because the first chip 60 does not support the function of keyboard power-on, so it cannot Respond to the first data signal; and since the data channel between the first interface 20 and the second chip 30 has been established, the control chip only needs to analyze the first data signal into a signal that the second chip 30 can respond to, and transmit it to the The second chip 30, and the second chip 30 responds.

应用上述方法控制电子设备开机,能够使得通过第一接口20传输给电子设备的第一数据信号能够被第二芯片30响应,进而控制电子设备开机,这样就使得原本不支持键盘/鼠标开机的USB接口,能够实现这一功能,实现了USB接口的功能复用;而且在电子设备上电开机之后,控制芯片40还控制开关单元50连通第一接口20与第一芯片60,也就是说将开关单元50切换到第一芯片60,使得其他的电子装置能够正常工作;进一步,由于将第一接口20分别于第一芯片60和第二芯片30连接,使得第一数据信号能够传输给上述两个芯片,这样,减少了电子设备硬件的复杂程度,还因为信号并行传输,提高了芯片的响应效率。Applying the above method to control the startup of the electronic device can enable the first data signal transmitted to the electronic device through the first interface 20 to be responded by the second chip 30, and then control the startup of the electronic device, so that the USB that does not originally support keyboard/mouse startup The interface can realize this function and realize the function multiplexing of the USB interface; and after the electronic device is powered on, the control chip 40 also controls the switch unit 50 to communicate with the first interface 20 and the first chip 60, that is to say, the switch The unit 50 is switched to the first chip 60, so that other electronic devices can work normally; further, since the first interface 20 is respectively connected to the first chip 60 and the second chip 30, the first data signal can be transmitted to the above two The chip, in this way, reduces the complexity of the hardware of the electronic device, and also improves the response efficiency of the chip because of the parallel transmission of signals.

上述本申请实施例中的技术方案,至少具有如下的技术效果或优点:The above-mentioned technical solutions in the embodiments of the present application have at least the following technical effects or advantages:

1、由于第一数据信号通过第一接口与第二芯片之间的数据通道传输给第二芯片,使得第二芯片能够响应该信号,来实现第一功能,所以,有效地解决了现有技术中的I/O接口功能单一的技术问题,进而实现了接口的功能复用。1. Since the first data signal is transmitted to the second chip through the data channel between the first interface and the second chip, the second chip can respond to the signal to realize the first function, so it effectively solves the problem of the prior art The technical problem of the single function of the I/O interface in the system is solved, and then the function reuse of the interface is realized.

2、由于将第一接口分别与第一芯片和第二芯片连接,使得第一数据信号能够直接传输给上述两个芯片,这样,减少了电子设备硬件的复杂程度,还因为信号并行传输,提高了芯片的响应效率。2. Since the first interface is respectively connected to the first chip and the second chip, the first data signal can be directly transmitted to the above two chips, thus reducing the complexity of the hardware of the electronic device and improving the efficiency of the signal due to the parallel transmission of signals. The response efficiency of the chip is improved.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.

Claims (13)

1. a kind of method of information processing, applied to an electronic equipment, it is characterised in that the electronic equipment includes having first The first interface of agreement, and the second chip of first agreement is not supported, methods described includes:
Obtain the first data-signal from the first interface, wherein, first data-signal by by first interface with it is described The electronic installation of electronic equipment connection is produced;
A data channel based on the first interface Yu second chip chamber, transmits first data-signal to described the Two chips;
When first data-signal meets the first preparatory condition, second chip is controlled to respond the first data letter Number, to realize the first function of the electronic equipment;
Wherein, before transmission first data-signal to second chip, methods described also includes:
Judge whether first data-signal meets the second preparatory condition;
When first data-signal meets second preparatory condition, control a switch element, by the first interface with The second chip connection so that the first interface sets up the data channel with second chip chamber.
2. the method as described in claim 1, it is characterised in that methods described also includes:
When first data-signal is unsatisfactory for second preparatory condition, the switch element is controlled, described first is connect Mouth is with supporting the first chip of first agreement to be connected so that the first interface is set up data with first chip chamber and led to Road;
First data-signal is exported to first chip.
3. the method as described in claim 1, it is characterised in that control second chip responds the first data letter Number, specifically include:
When first data-signal meets first preparatory condition, second chip is controlled to respond first data Signal, generates a control instruction;
The control instruction is performed, controls the electronic equipment to realize first function.
4. the method as described in claim 1, it is characterised in that second preparatory condition is specially first data-signal The signal sent for keyboard/mouse.
5. the method as described in claim any one of 1-4, it is characterised in that first agreement is specially usb protocol.
6. the method as described in claim any one of 1-4, it is characterised in that second chip is specially super input and output Chip.
7. a kind of electronic equipment, it is characterised in that including:
Circuit board;
First interface, is arranged on the circuit board, supports the first agreement, for obtaining the first data-signal, wherein, described the One data-signal is produced by the electronic installation being connected by first interface with the electronic equipment;
Second chip, is arranged on the circuit board, a data channel can be set up between the first interface, for responding First data-signal, to realize the first function of the electronic equipment;
Control chip, is connected between the first interface being arranged on the circuit board and second chip, in institute When stating the first data-signal the first preparatory condition of satisfaction, second chip is controlled to respond first data-signal;
Switch element, is arranged on the circuit board, is connected with the first interface, for being met in first data-signal During the second preparatory condition, the first interface and second chip are connected.
8. electronic equipment as claimed in claim 7, it is characterised in that the electronic equipment also includes:
First chip, is arranged on the circuit board, supports first agreement, one can be set up between the first interface Data channel, for when first data-signal is unsatisfactory for first preparatory condition, based on first chip and institute The data channel between first interface is stated, obtains and responds first data-signal.
9. electronic equipment as claimed in claim 8, it is characterised in that the switch element is additionally operable to connect the first interface With first chip.
10. electronic equipment as claimed in claim 9, it is characterised in that the control chip is connected with the switch element, is used In controlling the switch element data channel is set up between the first interface and second chip;It is additionally operable to be used to control The switch element sets up data channel between the first interface and first chip.
11. electronic equipment as claimed in claim 7, it is characterised in that second preparatory condition is specially first number It is believed that number signal sent for keyboard/mouse.
12. the electronic equipment as described in claim any one of 7-11, it is characterised in that first agreement is specially USB associations View.
13. the electronic equipment as described in claim any one of 7-11, it is characterised in that second chip is specially super defeated Enter pio chip.
CN201210313500.1A 2012-08-29 2012-08-29 An information processing method and electronic device Active CN103631750B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710631849.2A CN107402898B (en) 2012-08-29 2012-08-29 Information processing method and electronic equipment
CN201210313500.1A CN103631750B (en) 2012-08-29 2012-08-29 An information processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210313500.1A CN103631750B (en) 2012-08-29 2012-08-29 An information processing method and electronic device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201710631849.2A Division CN107402898B (en) 2012-08-29 2012-08-29 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103631750A CN103631750A (en) 2014-03-12
CN103631750B true CN103631750B (en) 2017-07-25

Family

ID=50212828

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710631849.2A Active CN107402898B (en) 2012-08-29 2012-08-29 Information processing method and electronic equipment
CN201210313500.1A Active CN103631750B (en) 2012-08-29 2012-08-29 An information processing method and electronic device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201710631849.2A Active CN107402898B (en) 2012-08-29 2012-08-29 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (2) CN107402898B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109669911A (en) * 2018-11-12 2019-04-23 珠海慧联科技有限公司 A kind of chip system communication means and its chip communication system
CN111930659B (en) * 2020-07-23 2022-07-26 联想(北京)有限公司 Information processing method, electronic equipment and computer storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101581964A (en) * 2009-06-22 2009-11-18 威盛电子股份有限公司 Computer system and peripheral device driving method
CN102156528A (en) * 2010-02-11 2011-08-17 联想(北京)有限公司 Data processing equipment and universal serial bus (USB) external connection driving method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1208707C (en) * 2002-09-20 2005-06-29 新巨企业股份有限公司 The coordination method of the built-in Bluetooth module
CN1285992C (en) * 2003-09-25 2006-11-22 联想(北京)有限公司 Computer I/O port selector and selection method
CN101630182A (en) * 2009-08-19 2010-01-20 浪潮电子信息产业股份有限公司 Computer system capable of configuring SIO
CN201616094U (en) * 2010-02-11 2010-10-27 北京爱国者存储科技有限责任公司 Host device with multiple connectors and protocol selection device
CN202177893U (en) * 2011-07-04 2012-03-28 联想(北京)有限公司 Terminal device
CN102253716A (en) * 2011-07-22 2011-11-23 苏州工业园区七星电子有限公司 Remote control device and method for computer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101581964A (en) * 2009-06-22 2009-11-18 威盛电子股份有限公司 Computer system and peripheral device driving method
CN102156528A (en) * 2010-02-11 2011-08-17 联想(北京)有限公司 Data processing equipment and universal serial bus (USB) external connection driving method thereof

Also Published As

Publication number Publication date
CN107402898A (en) 2017-11-28
CN107402898B (en) 2020-08-25
CN103631750A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
CN102749985B (en) Method and device for dynamically adjusting bus clock
US9256563B2 (en) Dual-operating-system architecture for sharing USB devices, and method thereof
US10585832B2 (en) Apparatus and methods for dynamic role switching among USB hosts and devices
CN103294562B (en) Method for sharing peripheral device by dual operating systems and electronic device
CN106776385B (en) Log log information transmission method and device and terminal
CN105306682A (en) Method and device for automatically disconnecting network connection
CN103995567B (en) A kind of dual system intelligent interaction all-in-one and its dual system switching method
CN107391419B (en) Support general sequence busbar concentrator of many host computers and automobile-used host computer
CN104079415A (en) Network device and connection detection method thereof
CN102467402B (en) Methods for Selective Suspend of Network Devices
CN102202132B (en) Method, system and equipment for initializing networking equipment
JP2015170292A (en) Semiconductor device
CN108292153A (en) System event in universal serial bus (USB) power Transmission equipment
US8788734B2 (en) Methods and devices for universal serial bus port event extension
CN114116415B (en) Hard disk backboard, hard disk lighting control system, method, device and medium
CN103631750B (en) An information processing method and electronic device
US7549009B2 (en) High-speed PCI interface system and a reset method thereof
CN105630718A (en) Electronic device for providing instant switching and sharing of universal serial bus electronic equipment by host
CN102810054B (en) Display device and method for controlling display device
US20170142245A1 (en) Electronic apparatus with shareable input devices and input device sharing method thereof
CN108388534A (en) A kind of display and the method for display program upgrading
CN105068952A (en) SD interface multiplexing apparatus and method and electronic device
US20150181646A1 (en) Method and system for bridging an input signal from a human interface device between a computer and a mobile device
WO2020103099A1 (en) Data processing apparatus
CN100403288C (en) High-speed PCI interface system with reset function and reset method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant