[go: up one dir, main page]

CN104461989B - A kind of method and apparatus of interface module hot plugging - Google Patents

A kind of method and apparatus of interface module hot plugging Download PDF

Info

Publication number
CN104461989B
CN104461989B CN201310439333.XA CN201310439333A CN104461989B CN 104461989 B CN104461989 B CN 104461989B CN 201310439333 A CN201310439333 A CN 201310439333A CN 104461989 B CN104461989 B CN 104461989B
Authority
CN
China
Prior art keywords
system bus
interface module
module
bus
logic module
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
CN201310439333.XA
Other languages
Chinese (zh)
Other versions
CN104461989A (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 CN201310439333.XA priority Critical patent/CN104461989B/en
Publication of CN104461989A publication Critical patent/CN104461989A/en
Application granted granted Critical
Publication of CN104461989B publication Critical patent/CN104461989B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging

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)
  • Bus Control (AREA)

Abstract

The embodiment of the present invention discloses a kind of method and apparatus of interface module hot plugging, it is related to multimedia application technology, it solves in electronic system design, since mainboard can not support corresponding application module equipment hot swap, the problem of causing application module equipment that can not be upgraded or be updated according to actual demand.This method includes:When the system bus detects that the interface module pulls away the logic module, the logic module receives the first enable signal of the system bus transmission by the corresponding bus end of the system bus;The corresponding bus end of the system bus is closed to the signal transmission of the corresponding equipment end of the interface module according to first enable signal so that the interface module pull away after the system bus holding system in signal normal transmission.The embodiment of the present invention is applied to I2S buses and I2S equipment.

Description

A kind of method and apparatus of interface module hot plugging
Technical field
The present invention relates to the methods and apparatus that multimedia application technology more particularly to a kind of interface module plug.
Background technology
Bus I2C is internally integrated in existing electronic system design(Inter-Integrated Circuit)With I2S (Inter-IC Sound) integrated audio interface bus be used for sound data acquisition, processing and transmission, wherein I2c buses with I2S buses are the important components of multimedia technology.For specific I2c for connecting microcontroller and its peripheral equipment, I2S is total Line is applied to such as Digital Audio Tape, Digital Sound Processor.
I2c buses many application module equipment corresponding with I2S buses are due to being direct in existing electronic system design Design does not support hot plug on mainboard, so causes application module equipment that can not be updated according to actual conditions, and It can not be upgraded according to actual demand.
The content of the invention
The embodiment of the present invention provides a kind of method and apparatus of interface module hot plugging, solves and is set in electronic system In meter, since mainboard can not support corresponding application module equipment hot swap, cause application module equipment can not be according to actual need Ask the problem of being upgraded or being updated.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
In a first aspect, a kind of method of interface module hot plugging is provided, applied to integrated audio interface I2S or internal collection Into in the electronic equipment belonging to bus I2c, wherein, the electronic equipment has a logic module, and the logic module can lead to It crosses bus end to be connected with system bus, the logic module can be connected by equipment end with an interface module, the method bag It includes:
When the system bus detects that the interface module pulls away the logic module, the logic module passes through institute It states the corresponding bus end of system bus and receives the first enable signal that the system bus is sent;
It is corresponding to the interface module that the corresponding bus end of the system bus is closed according to first enable signal The signal transmission of equipment end so that the interface module pull away after the system bus holding system in signal normally pass It is defeated.
With reference to first aspect, specifically include in the first possible implementation, the system bus detects described Before interface module pulls away the logic module, further include:
The logic module forwards the detection signal that the interface module is sent to the system bus, the detection signal For informing that the interface module has accessed;
The second enable signal that the system bus is sent according to the detection signal is received, second enable signal is used It is successfully accessed in the instruction interface module;
The interface module and the system bus are connected according to second enable signal.
The first possible realization method in reference to first aspect, is specifically wrapped in second of possible realization method It includes, the detection signal that the logic module forwarding interface module is sent to the system bus, including:
Receive the inspection that the interface module is sent by being connected to the connection terminal of the corresponding equipment end of the logic module Survey signal;
The detection signal is forwarded to the system bus.
Second aspect provides a kind of logic module, applied to integrated audio interface I2S or is internally integrated belonging to bus I2c Electronic equipment in, wherein, the electronic equipment has a logic module, and the logic module can pass through bus end and system Bus connects, and the logic module can be connected by equipment end with an interface module, and the logic module includes:
Receiving unit, it is described for when the system bus detects that the interface module pulls away the logic module Logic module receives the first enable signal of the system bus transmission by the corresponding bus end of the system bus;
Processing unit, first enable signal received for root according to the receiving unit close the system bus Corresponding bus end to the corresponding equipment end of the interface module signal transmission so that the interface module pull away after institute State signal normal transmission in system bus holding system.
It with reference to second aspect, specifically includes in the first possible implementation, the logic module further includes:
Retransmission unit, for before the system bus detects that the interface module pulls away the logic module, turning The detection signal sent out interface module described and sent is to the system bus, and the detection signal is for having informed the interface module Through access;
The receiving unit is additionally operable to receive the second enabled letter that the system bus is sent according to the detection signal Number, second enable signal is used to indicate the interface module and is successfully accessed;
Connected unit, for connecting the interface module and the system bus according to second enable signal.
With reference to the first possible realization method in second aspect, specifically wrapped in second of possible realization method It includes, the retransmission unit is specifically used for:
Receive the inspection that the interface module is sent by being connected to the connection terminal of the corresponding equipment end of the logic module Survey signal;
The detection signal is forwarded to the system bus.
The method and apparatus of interface module hot plugging provided in an embodiment of the present invention, when the system bus detects institute When stating interface module and pulling away the logic module, the first enable signal that logic module is sent by reception system bus end, and According to the corresponding bus end of system bus in first enable signal closing logic module to the corresponding equipment of interface module The signal transmission at end, solves in electronic system design, since mainboard can not support corresponding application module equipment hot swap, The problem of causing application module equipment that can not be upgraded or be updated according to actual demand.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 provides a kind of flow diagram of the method for interface module hot plugging for the embodiment of the present invention;
Fig. 2 is the mount structure figure for the logic module that the embodiment of the present invention provides;
Fig. 3 provides the flow diagram of the method for another interface module hot plugging for the embodiment of the present invention;
Fig. 4 provides the flow diagram of the method for another interface module hot plugging for the embodiment of the present invention;
Fig. 5 is the mount structure figure for the connection terminal that the embodiment of the present invention provides;
Fig. 6 provides a kind of structure diagram of logic module for the embodiment of the present invention;
Fig. 7 provides the structure diagram of another logic module for the embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment belongs to the scope of protection of the invention.
In the method for interface module hot plugging involved by the embodiment of the present invention, suitable for being internally integrated bus I2C (Inter-Integrated Circuit)It is set with the electronics belonging to integrated audio interface bus I2S (Inter-IC Sound) Standby, wherein I2c buses and I2S buses is the important component of multimedia technology, specific I2c for connect microcontroller and Its peripheral equipment, I2S buses are applied to such as Digital Audio Tape, Digital Sound Processor.Embodiment provided by the invention Middle system bus and interface module are illustrated by taking I2S buses and I2S modules as an example, specifically to realize a kind of interface module band It based on the method for hot-line insertion and extraction, is not especially limited, the embodiment of the present invention provides a kind of method of interface module hot plugging, reference Described in Fig. 1, following steps are specifically included:
101st, when system bus detects that interface module pulls away logic module, logic module is corresponding by system bus Bus end receives the first enable signal of system bus transmission.
Here in the logic module that the embodiment of the present invention provides, which includes:Correspondence system bus Bus end and the equipment end of corresponding interface module.
Specifically, for logic module by taking TI SN74AVC4T245PW chips as an example, system is total in embodiment provided by the invention By taking I2S buses as an example, interface module illustrates line by taking I2S equipment as an example, and wherein TI SN74AVC4T245PW chips are two-ways The logic chip of 4 passages by controlling the data flow and enable pin of the TI SN74AVC4T245PW chips, can control The transmission time of data in passage, including the pin knot of the initial time of transmission, here TISN74AVC4T245PW chips Structure is as shown in Figure 2.
102nd, logic module is closed the corresponding bus end of system bus to interface module according to first enable signal and is corresponded to Equipment end signal transmission so that the interface module pull away after system bus holding system in signal normal transmission.
Wherein the first enable signal can be a height of I2S bus marco TI SN74AVC4T245PW chip Enable Pins Level signal or low level signal so that the function signal subsequently sent by I2S buses can be by TI SN74AVC4T245PW cores The A ends of piece are sent to B ends, and the first enable signal is illustrated by taking high level signal as an example in the embodiment of the present invention.
Here the A ends connection I2S buses of TI SN74AVC4T245PW chips, B ends connection I2S equipment, when I2S equipment is pulled out Behind B ends, TI SN74AVC4T245PW chips are received the first enable signal that I2S bus systems ends sends, Ran Houguan by OE ends The signal transmission to B ends by A ends is closed, so that even if I2S equipment pulls away TISN74AVC4T245PW chips, I2S bus ends It will not be subject to being influenced in functional structure.
The logic module proposed in the embodiment of the present invention is only illustrated by taking TI SN74AVC4T245PW chips as an example, tool Body does not limit.
The method of interface module hot plugging provided in an embodiment of the present invention, when the system bus detects the interface When module pulls away the logic module, the first enable signal that logic module is sent by reception system bus end, and according to this First enable signal closes in the logic module the corresponding bus end of system bus to the letter of the corresponding equipment end of interface module Number transmission, solve in electronic system design, since mainboard can not support corresponding application module equipment hot swap, cause should The problem of can not being upgraded or be updated according to actual demand with module device.
Specifically, it is illustrated below in conjunction with specific embodiment.
Can be on the basis of the corresponding embodiments of Fig. 1, with reference to shown in Fig. 3, the embodiment provides one kind to connect The method of mouth mold block hot plugging is the process that interface module is pulled away from the equipment end of logic module, specifically with reference to shown in Fig. 3 Step is as follows:
201st, the detection signal that logic module forwarding interface module is sent is to system bus.
Wherein, signal is detected for informing that system bus interface module has accessed.
Here in the logic module that the embodiment of the present invention provides, which includes:Correspondence system bus Bus end and the equipment end of corresponding interface module, wherein, the enable signal which sends is forwarded to interface by equipment end Module, so that system bus is connected by enable signal with interface module.
Specifically, for logic module by taking TI SN74AVC4T245PW chips as an example, system is total in embodiment provided by the invention By taking I2S buses as an example, interface module illustrates line by taking I2S equipment as an example, and wherein TI SN74AVC4T245PW chips are two-ways The logic chip of 4 passages by controlling the data flow and enable pin of the TI SN74AVC4T245PW chips, can control The transmission time of data in passage, including the initial time of transmission.
Here the A ends connection I2S buses of TI SN74AVC4T245PW chips, B ends connection I2S equipment, wherein, when I2S is set During standby access TI SN74AVC4T245PW chip B ends, I2S equipment can be sent detection signal by Detect pins and control TI The enable pin of SN74AVC4T245PW chips(Such as pin 15 and 14 corresponding OE pins of pin), and then detection signal is sent To I2S bus sides so that I2S buses are apprised of I2S equipment and have been accessed, wherein detection signal is carried out by taking high level signal as an example Explanation.
202nd, the second enable signal that logic module reception system bus is sent according to detection signal.
Wherein, the second enable signal is used to indicate interface module and is successfully accessed.
203rd, logic module connects interface module and system bus according to the second enable signal.
Here when I2S buses receive the detection signal that I2S equipment is sent by TI SN74AVC4T245PW chips, I2S buses send the enable pin of the second enable signal control TISN74AVC4T245PW chips, are thus connected to I2S equipment. So that subsequent I2S bus signals are sent to B ends by the A ends of TI SN74AVC4T245PW chips, and then it is sent to I2S and sets It is standby.
204th, when system bus detects that interface module pulls away logic module, logic module is corresponding by system bus Bus end receives the first enable signal of system bus transmission.
Here in the logic module that the embodiment of the present invention provides, which includes:Correspondence system bus Bus end and the equipment end of corresponding interface module.
Specifically, for logic module by taking TI SN74AVC4T245PW chips as an example, system is total in embodiment provided by the invention By taking I2S buses as an example, interface module illustrates line by taking I2S equipment as an example, and wherein TI SN74AVC4T245PW chips are two-ways The logic chip of 4 passages by controlling the data flow and enable pin of the TI SN74AVC4T245PW chips, can control The transmission time of data in passage, including the pin knot of the initial time of transmission, here TISN74AVC4T245PW chips Structure is as shown in Figure 2.
Here the A ends connection I2S buses of TI SN74AVC4T245PW chips, B ends connection I2S equipment, when I2S equipment is pulled out Behind B ends, TI SN74AVC4T245PW chips receive the first enable signal for sending of I2S bus end systems by OE Enable Pins, so The signal transmission to B ends by A ends is closed afterwards, so that even if I2S equipment pulls away TISN74AVC4T245PW chips, I2S is total Line end will not be subject to being influenced in functional structure.
205th, logic module is closed the corresponding bus end of system bus to interface module according to first enable signal and is corresponded to Equipment end signal transmission so that the interface module pull away after system bus holding system in signal normal transmission.
Wherein the first enable signal can be a height of I2S bus marco TI SN74AVC4T245PW chip Enable Pins Level signal or low level signal so that the function signal subsequently sent by I2S buses can be by TI SN74AVC4T245PW cores The A ends of piece are sent to B ends, and the first enable signal is illustrated by taking high level signal as an example in the embodiment of the present invention.
When I2S system bus detects that the signal at Detect pins for low level signal, then sends the first enable signal Close logic chip(TI SN74AVC4T245PW chips)So that the signal transmission at A ends to B ends is cut off.Accordingly even when I2S is set The internal functional architecture of I2S buses will not be changed for logic chip is pulled away, so as to improve the stability of system.
A logic module is put forward in the embodiment of the present invention only to illustrate by taking TI SN74AVC4T245PW chips as an example, is had Body does not limit.
The method of interface module hot plugging provided in an embodiment of the present invention, when the system bus detects the interface When module pulls away the logic module, the first enable signal that logic module is sent by reception system bus end, and according to this First enable signal closes in the logic module the corresponding bus end of system bus to the letter of the corresponding equipment end of interface module Number transmission, solve in electronic system design, since mainboard can not support corresponding application module equipment hot swap, cause should The problem of can not being upgraded or be updated according to actual demand with module device.
Can be on the basis of Fig. 1 and Fig. 2, with reference to shown in Fig. 4, the embodiment provides a kind of interface modules The method of hot plugging, with reference to shown in Fig. 4, the connection terminal that the equipment end for being connected to logic module is provided for interface module pulls away Process, be as follows:
301st, logic module receiving interface module is sent out by being connected to the connection terminal of the corresponding equipment end of the logic module The detection signal sent.
Wherein, which realizes the company of interface module and system bus by the pin enabled in logic module It connects.Here the connection terminal that the embodiment of the present invention provides is by taking USB3.0 cross-talks as an example, and logic module is with TI Exemplified by SN74AVC4T245PW chips, by taking I2S buses as an example, interface module illustrates system bus by taking I2S equipment as an example, Middle TISN74AVC4T245PW chips are the logic chips of 4 passage of two-way, by controlling the TISN74AVC4T245PW chips Data flow and enable pin, can be with the transmission time of data in control passage, including the initial time of transmission, TI here The mount structure of SN74AVC4T245PW chips is as shown in Figure 2.
Here the A ends connection I2S buses of TI SN74AVC4T245PW chips, B ends connection I2S equipment, wherein, when I2S is set During standby access TI SN74AVC4T245PW chip B ends, I2S equipment can control TI by sending detection signal The enable pin of SN74AVC4T245PW chips, and then detection signal is sent to I2S bus sides so that I2S buses are apprised of I2S equipment has accessed, and detecting the connection of pin here needs a pin of USB3.0 terminals to realize connection, wherein, TI SN74AVC4T245PW chips receive what I2S equipment was sent by the enable pin that the USB3.0 terminals of I2S equipment connect Signal is detected, which can be a high level signal, detect signal in embodiments of the present invention by taking high level as an example It illustrates, does not limit specifically, the mount structure of the USB3.0 terminals of I2S equipment is with reference to shown in Fig. 5 here.
302nd, logic module forwarding detects signal to system bus.
Here I2S equipment controls the enable pin of TISN74AVC4T245PW chips by the 9th pin of USB3.0 terminals, So that TI SN74AVC4T245PW chips are sent to I2S bus ends by signal is detected by the enable pin.
303rd, the second enable signal that logic module reception system bus is sent according to detection signal.
Wherein, the second enable signal is used to indicate interface module and is successfully accessed.
Specifically, with reference to Fig. 2 TI SN74AVC4T245PW chip B ends the 12nd pin be responsible for controlling clock BCLK part, 11st pin is responsible for that left sound identification LRCLK parts and the 10th pin is controlled to be responsible for controlling data SDATA0 parts.
With reference to shown in Fig. 5, the 5th pin of the USB3.0 terminals of I2S equipment is responsible for controlling data SDATA0 parts, the 6th pipe Foot is responsible for that bit clock BCLK parts and the 8th pin is controlled to be responsible for controlling left and right acoustic channels synchronised clock LRCLK parts.
By the 12nd pin, the 11st pin and the 10th pin at TI SN74AVC4T245PW chip B ends and I2S equipment The 6th pin, the 8th pin and the 5th pin of USB3.0 terminals, which correspond to, to be connected, and leads to when I2S bus systems termination receives I2S equipment During the detection signal that the logical channel crossed in USB3.0 terminals is sent, I2S buses send the control of the second enable signal The enable pin of TISN74AVC4T245PW chips so that I2S buses are connected with I2S equipment, and then in subsequent function signal In transmission, the function signal that I2S buses are sent is sent to B ends by the A ends of TISN74AVC4T245PW chips, then passes through B ends The 12nd pin, the 11st pin and the 10th pin be correspondingly connected with the 6th pin of USB3.0 terminals of I2S equipment, the 8th pin with And the 5th pin, function signal is sent to I2S equipment side, the signal flow direction of wherein function signal is by TI The A ends of SN74AVC4T245PW chips to B ends.
304th, when system bus detects that interface module pulls away logic module, logic module is corresponding by system bus Bus end receives the first enable signal of system bus transmission.
305th, logic module is closed the corresponding bus end of system bus to interface module according to first enable signal and is corresponded to Equipment end signal transmission so that the interface module pull away after system bus holding system in signal normal transmission.
Wherein the first enable signal can be a height of I2S bus marco TI SN74AVC4T245PW chip Enable Pins Level signal or low level signal so that the function signal subsequently sent by I2S buses can be by TI SN74AVC4T245PW cores The A ends of piece are sent to B ends, and the first enable signal is illustrated by taking high level signal as an example in the embodiment of the present invention.
Here the A ends connection I2S buses of TI SN74AVC4T245PW chips, B ends connection I2S equipment, when I2S equipment is pulled out Behind B ends, I2S system bus detects the signal at Detect pins as low level signal by enable pin Detect, then It sends the first enable signal and closes logic chip(TI SN74AVC4T245PW chips)So that the signal transmission at A ends to B ends is whole It is disconnected.Accordingly even when I2S equipment, which pulls away logic chip, will not change the internal functional architecture of I2S buses, so as to improve system Stability.
The method of interface module hot plugging provided in an embodiment of the present invention, when the system bus detects the interface When module pulls away the logic module, the first enable signal that logic module is sent by reception system bus end, and according to this First enable signal closes in the logic module the corresponding bus end of system bus to the letter of the corresponding equipment end of interface module Number transmission, solve in electronic system design, since mainboard can not support corresponding application module equipment hot swap, cause should The problem of can not being upgraded or be updated according to actual demand with module device, and interface module by using connection terminal with Logic module connects the driving force for improving system bus.
Logic module provided in an embodiment of the present invention and/or connection terminal only with TISN74AVC4T245PW chips and/or It illustrates exemplified by USB3.0 terminals, does not limit specifically, actual conditions are to realize that any of the above-described kind of interface module plugs Method subject to.
The embodiment of the present invention provides a kind of logic module 4, and the logic module is can realize that the embodiment of the present invention is carried Subject to the method for any of the above-described interface module hot plugging supplied, with reference to shown in Fig. 6, including:
Receiving unit 41, for when system bus detects that interface module pulls away logic module, which to pass through The first enable signal that the corresponding bus end reception system bus of system bus is sent;
Wherein, Detect signal conditions when system bus is by identifying that interface module is extracted send the first enable signal;
Processing unit 42, the first enable signal for being received according to receiving unit 41 close the corresponding bus of system bus Hold to the corresponding equipment end of interface module signal transmission so that the interface module pull away after system bus holding system in Signal normal transmission.
Wherein, the processing unit in logic module 4 is according to enabled in the first enable signal control logic module of reception End(Such as the OE ports in TI SN74AVC4T245PW chips), and then control and close the corresponding bus end of system bus to interface The signal transmission of the corresponding equipment end of module.
Logic module provided in an embodiment of the present invention, when the system bus detects that the interface module pulls away described patrol During volume module, the first enable signal that logic module is sent by reception system bus end, and closed according to first enable signal The corresponding bus end of system bus in the logic module is closed, to the signal transmission of the corresponding equipment end of interface module, to solve In electronic system design, since mainboard can not support corresponding application module equipment hot swap, cause application module equipment can not The problem of being upgraded or updated according to actual demand.
Optionally, with reference to shown in Fig. 7, logic module 4 further includes:
Retransmission unit 43, for before system bus detects that interface module pulls away logic module, forwarding interface module To system bus, which is used to inform that the interface module has accessed the detection signal of transmission;
Receiving unit 41 is additionally operable to the second enable signal that reception system bus is sent according to detection signal, this second makes Energy signal is used to indicate interface module and is successfully accessed;
Connected unit 44, for connecting interface module and system bus according to the second enable signal.
Optionally, retransmission unit 43 are specifically used for:Receiving interface module is by being connected to the corresponding equipment end of logic module Connection terminal send detection signal;
Forwarding detects signal to system bus.
Logic module provided in an embodiment of the present invention, when the system bus detects that the interface module pulls away described patrol During volume module, the first enable signal that logic module is sent by reception system bus end, and closed according to first enable signal The corresponding bus end of system bus in the logic module is closed, to the signal transmission of the corresponding equipment end of interface module, to solve In electronic system design, since mainboard can not support corresponding application module equipment hot swap, cause application module equipment can not The problem of being upgraded or updated according to actual demand, and interface module is connected with logic module by using connection terminal and carried The driving force of system bus is risen.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.

Claims (4)

  1. A kind of 1. method of interface module hot plugging, which is characterized in that applied to integrated audio interface I2S or be internally integrated total In electronic equipment belonging to line I2c, wherein, the electronic equipment has a logic module, and the logic module can be by total Line end is connected with system bus, and the logic module can be connected by the connection terminal of equipment end with an interface module, described Method includes:
    The logic module forwards the detection signal that the interface module is sent, and to the system bus, the detection signal is used for Inform that the interface module has accessed;
    The second enable signal that the system bus is sent according to the detection signal is received, second enable signal is used to refer to Show that the interface module is successfully accessed;
    The interface module and the system bus are connected according to second enable signal;
    When the system bus detects that the interface module pulls away the logic module, the logic module passes through the system The corresponding bus end of bus of uniting receives the first enable signal that the system bus is sent;
    The corresponding bus end of the system bus is closed to the corresponding equipment of the interface module according to first enable signal The signal transmission at end so that the interface module pull away after the system bus holding system in signal normal transmission.
  2. 2. according to the method described in claim 1, it is characterized in that, the logic module forwards the inspection that the interface module is sent Signal is surveyed to the system bus, including:
    It receives the interface module and is believed by being connected to the detection that the connection terminal of the corresponding equipment end of the logic module is sent Number;
    The detection signal is forwarded to the system bus.
  3. 3. a kind of logic module, which is characterized in that applied to integrated audio interface I2S or be internally integrated electricity belonging to bus I2c In sub- equipment, wherein, the electronic equipment has a logic module, and the logic module can pass through bus end and system bus Connection, the logic module can be connected by the connection terminal of equipment end with an interface module, and the logic module includes:
    Receiving unit, for when the system bus detects that the interface module pulls away the logic module, the logic Module receives the first enable signal of the system bus transmission by the corresponding bus end of the system bus;
    Processing unit is closed the system bus for first enable signal that root is received according to the receiving unit and is corresponded to Bus end to the corresponding equipment end of the interface module signal transmission so that the interface module pull away after the system Signal normal transmission in bus holding system of uniting;
    Retransmission unit, for before the system bus detects that the interface module pulls away the logic module, forwarding institute The detection signal of interface module transmission is stated to the system bus, the detection signal is used to inform that the interface module has connect Enter;
    The receiving unit is additionally operable to receive the second enable signal that the system bus is sent according to the detection signal, institute It states the second enable signal and is used to indicate the interface module and be successfully accessed;
    Connected unit, for connecting the interface module and the system bus according to second enable signal.
  4. 4. logic module according to claim 3, which is characterized in that the retransmission unit is specifically used for:
    It receives the interface module and is believed by being connected to the detection that the connection terminal of the corresponding equipment end of the logic module is sent Number;
    The detection signal is forwarded to the system bus.
CN201310439333.XA 2013-09-24 2013-09-24 A kind of method and apparatus of interface module hot plugging Active CN104461989B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310439333.XA CN104461989B (en) 2013-09-24 2013-09-24 A kind of method and apparatus of interface module hot plugging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310439333.XA CN104461989B (en) 2013-09-24 2013-09-24 A kind of method and apparatus of interface module hot plugging

Publications (2)

Publication Number Publication Date
CN104461989A CN104461989A (en) 2015-03-25
CN104461989B true CN104461989B (en) 2018-06-01

Family

ID=52908067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310439333.XA Active CN104461989B (en) 2013-09-24 2013-09-24 A kind of method and apparatus of interface module hot plugging

Country Status (1)

Country Link
CN (1) CN104461989B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2668714C1 (en) 2016-07-07 2018-10-02 Бейдзин Сяоми Мобайл Софтвэр Ко., Лтд. Sound reproduction system, external additional device, as well as method and device for sound reproduction

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727430A (en) * 2009-11-11 2010-06-09 中兴通讯股份有限公司 Method and device for hot plug of card
CN102364452A (en) * 2011-06-27 2012-02-29 浪潮电子信息产业股份有限公司 A Realization Method of Hot Swappable Use of PS2 Interface Keyboard and Mouse
CN102629241A (en) * 2012-03-13 2012-08-08 华为技术有限公司 Isolation circuit of inter-integrated circuit (I2C) bus and I2C bus system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8230151B2 (en) * 2005-04-11 2012-07-24 Linear Technology Corporation Configurable data port for I2C or single-wire broadcast interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727430A (en) * 2009-11-11 2010-06-09 中兴通讯股份有限公司 Method and device for hot plug of card
CN102364452A (en) * 2011-06-27 2012-02-29 浪潮电子信息产业股份有限公司 A Realization Method of Hot Swappable Use of PS2 Interface Keyboard and Mouse
CN102629241A (en) * 2012-03-13 2012-08-08 华为技术有限公司 Isolation circuit of inter-integrated circuit (I2C) bus and I2C bus system

Also Published As

Publication number Publication date
CN104461989A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
US10204069B2 (en) USB PHY adapter IC with and circuit VBUS present output
CN103064489B (en) A kind of method and terminal of carrying out internal circuit selection according to USB interface state
CN201117091Y (en) Automobile lamp state feedback device based on CAN bus
US20130101132A1 (en) Method and Device for Earphone and USB to Share Micro-USB Interface
CN101526930A (en) USB interface master-slave machine detection device and detection method
CN104081368A (en) Mobile device automatic detection apparatus and method
CN102981916B (en) A kind of mobile terminal and control method thereof and device
CN101771178A (en) Charging method adopting USB interfaces
CN112799985B (en) USB interface control method, USB control circuit and intelligent networking equipment mainboard
CN103514127A (en) Implementation method for achieving self-adaption of baud rate
CN104461989B (en) A kind of method and apparatus of interface module hot plugging
CN217880302U (en) TYPE-C interface circuit
CN108448350B (en) Automatic switching control equipment and method between multiple access equipments based on the port vehicle OBD
CN105049584B (en) Attachment management and data communication are carried out using audio port
CN201667067U (en) USB interface
CN203760209U (en) MHL cable and MHL cable hot plug detecting system
CN107070547B (en) A kind of CPCI type gigabit Ethernet device with failure monitoring ability
CN115168253A (en) A USB working mode switching method and electronic device
CN211375595U (en) Solid state disk recognition device
CN209215520U (en) A kind of automatic information broadcast testing device
CN204204056U (en) A kind of data collector for aeronautical data recording instrument
CN103631186B (en) A kind of on-board equipment plug and play test interface circuit and realize instant inserted and instant using type data transmission method
CN105655838B (en) A kind of the power supply energy control method and system of HDMI connector
CN202541459U (en) Vehicle body control system adopting Bluetooth technology
CN103700444B (en) A kind of MHL cable, MHL cable hot plug detection system and detection method

Legal Events

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