WO2009045904A1 - System and method for inter-processor communication - Google Patents

System and method for inter-processor communication Download PDF

Info

Publication number
WO2009045904A1
WO2009045904A1 PCT/US2008/077882 US2008077882W WO2009045904A1 WO 2009045904 A1 WO2009045904 A1 WO 2009045904A1 US 2008077882 W US2008077882 W US 2008077882W WO 2009045904 A1 WO2009045904 A1 WO 2009045904A1
Authority
WO
WIPO (PCT)
Prior art keywords
processor
frames
bus
transmitting
transmission
Prior art date
Application number
PCT/US2008/077882
Other languages
French (fr)
Inventor
Paul Krzyzanowski
Mark Grosberg
Eoin Hyden
Original Assignee
Openpeak, Inc.
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 Openpeak, Inc. filed Critical Openpeak, Inc.
Priority to JP2010528044A priority Critical patent/JP5363490B2/en
Priority to EP08836345.2A priority patent/EP2195746B1/en
Priority to CN200880116333A priority patent/CN101861577A/en
Priority to KR1020107009685A priority patent/KR101163868B1/en
Priority to CA2701205A priority patent/CA2701205C/en
Publication of WO2009045904A1 publication Critical patent/WO2009045904A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/14Multichannel or multilink protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1682Allocation of channels according to the instantaneous demands of the users, e.g. concentrated multiplexers, statistical multiplexers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0008Synchronisation information channels, e.g. clock distribution lines
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Definitions

  • the invention generally relates to multi-processor systems, including but not limited to dual-processor systems.
  • Dual-processor systems are those that contain two separate physical microprocessors in the same chassis (either on the same board or on separate boards).
  • a dual-processor architecture provides several advantages over a single -processor architecture. For example, in a dual- processor system, both processors can work simultaneously but separately on isolated tasks. Such multi-tasking computer power is crucial in processor- intensive applications such as creating, editing and rendering graphics and multimedia files.
  • a dual-processing architecture may be implemented to minimize latency and jitter in voice communication.
  • An example dual- processor architecture may include a primary central processing unit (CPU) that is configured to handle traditional operating system (OS) and computational tasks and a digital signal processor (DSP) that is configured to process audio signal data.
  • CPU central processing unit
  • DSP digital signal processor
  • the present invention provides a reliable means for inter-processor communication in a multi-processor system.
  • a specially-configured serial bus is used as a general- purpose data link between a first processor and a second processor.
  • the serial bus may be an Inter-IC Sound (I 2 S) bus.
  • I 2 S Inter-IC Sound
  • a network interface residing on a second processor is made available to a first processor via a data link established over an I 2 S bus. This allows the second processor to be used as a proxy and to support remote configuration and network address traversal.
  • a method for facilitating communication between a first processor and a second processor.
  • a continuous serial clock signal is transmitted from the first processor to the second processor.
  • a first plurality of frames is transmitted from the first processor to the second processor during the transmission of the continuous serial clock signal, wherein the first plurality of frames includes at least one data frame.
  • Transmitting the continuous serial clock signal may comprise transmitting the continuous serial clock signal over a serial clock signal line of an Inter-IC Sound (I 2 S) bus, and transmitting the first plurality of frames may comprise transmitting the first plurality of frames over a first serial data line of the I 2 S bus.
  • I 2 S Inter-IC Sound
  • the method may further include transmitting a second plurality of frames from the second processor to the first processor during the transmission of the continuous clock signal, wherein the transmission of each of the second plurality of frames is synchronized with the transmission of each of a respective one of the first plurality of frames.
  • Transmitting the second plurality of frames comprises transmitting the second plurality of frames over a second serial data line of an Inter-IC Sound (I 2 S) bus.
  • I 2 S Inter-IC Sound
  • the method may still further include transmitting a word select signal from the first processor to the second processor, wherein transmitting the first plurality of frames comprises transmitting each of the first plurality of frames in synchronization with the continuous serial clock signal and the word select signal, and wherein transmitting the second plurality of frames comprises transmitting each of the second plurality of frames in synchronization with the continuous serial clock signal and the word select signal.
  • a multi-processor system is also described herein.
  • the system includes a first processor, a second processor, and a serial bus interface connecting the first processor and the second processor.
  • the first processor is configured to transmit a continuous serial clock signal to the second processor over the serial bus interface and to transmit a first plurality of frames to the second processor over the serial bus interface during the transmission of the continuous serial clock signal.
  • the first plurality of frames includes at least one data frame.
  • the serial bus interface may comprise an I 2 S bus.
  • the second processor may be configured to transmit a second plurality of frames to the first processor during the transmission of the continuous clock signal, wherein the transmission of each of the second plurality of frames is synchronized with the transmission of each of a respective one of the first plurality of frames.
  • a method is also described herein for using a first processor having access to a network interface as a proxy for a second processor that does not have access to the network interface.
  • a data link is established between the first processor and the second processor over an I 2 S bus.
  • the network interface is then accessed by the second processor over the data link.
  • Accessing the network interface may comprise configuring the network interface.
  • Configuring the network interface may comprise configuring network address traversal (NAT) functions or configuring a Transmission Control Protocol (TCP)/Internet Protocol (IP) stack.
  • NAT network address traversal
  • IP Internet Protocol
  • a multi-processor system is also described herein.
  • the system includes a first processor, a second processor, an I 2 S bus connecting the first processor and the second processor, and a network interface connected to the first processor but not connected to the second processor.
  • the second processor is configured to establish a data link with the first processor over the I 2 S bus and to access the network interface over the data link.
  • the second processor may be adapted to configure the network interface by configuring network address traversal (NAT) functions or by configuring a Transmission Control Protocol (TCP)/Internet Protocol (IP) stack.
  • NAT network address traversal
  • IP Internet Protocol
  • FIG. 1 is a block diagram of a system for a Voice over Internet
  • VoIP Voice Protocol
  • FIG. 2 depicts the connection of a first processor to a second processor using an I 2 S bus in accordance with an embodiment of the present invention.
  • FIG. 3 depicts the simultaneous exchange of fixed-length frames between a first and second processor over an I 2 S bus in accordance with an embodiment of the present invention.
  • FIG. 4 is a block diagram that depicts components of a first and second processor that are used to implement a voice prioritization scheme for transmitting frames between the two processors in accordance with an embodiment of the present invention.
  • FIG. 5 depicts a flowchart of a method for facilitating communication between a first processor and a second processor in accordance with an embodiment of the present invention.
  • FIG. 6 is a block diagram that depicts the use of a second processor by a first processor as a network proxy in accordance with an embodiment of the present invention.
  • FIG. 7 is another block diagram that depicts the use of a second processor by a first processor as a network proxy in accordance with an embodiment of the present invention.
  • FIG. 8 depicts a flowchart of a method for using a first processor having access to a network interface as a proxy for a second processor that does not have access to the network interface in accordance with an embodiment of the present invention.
  • FIG. 1 illustrates an example operating environment in which an embodiment of the present invention may operate.
  • FIG. 1 is a block diagram of a system 100 for a VoIP telephone that may implement the present invention.
  • System 100 utilizes a dual-processor architecture.
  • system 100 includes a first processor 102 configured to handle traditional operating system (OS) and computational tasks and a second processor 104 configured to process audio signal data.
  • OS operating system
  • f ⁇ rst processor 102 is an MCIMX31 (LMX31) multimedia application processor sold by Freescale Semiconductor, Inc. of Austin, Texas
  • second processor 104 is an ADSP-BF536 Blackfm® embedded processor sold by Analog Device, Inc. of Norwood, Massachusetts.
  • first processor 102 is configured to serve as a Linux-based central processing unit (CPU) while second processor 104 operates as a digital signal processor (DSP).
  • CPU central processing unit
  • DSP digital signal processor
  • first processor 102 is connected to a memory 112 that stores program instructions for execution by first processor 102 as well as data used or generated during the execution of such instructions.
  • second processor 104 is connected to a memory 116 that stores program instructions for execution by second processor 104 as well as data used or generated during the execution of such instructions.
  • second processor 104 is connected to a network interface 118 that includes an Ethernet PHY and MAC 122 and an RJ45 connection 124 and to an optional POTS (plain old telephone service) interface 120 that includes a PSTN line interface 126 and an RJl 1 connection 128.
  • POTS plain old telephone service
  • an audio subsystem 106 captures voice input from a user via a microphone (not shown in FIG. 1) and converts the voice input into an analog audio signal. Audio subsystem 106 provides the analog audio signal to first processor 102, which converts the analog audio signal to a digital form and then passes the digital audio signal to second processor 104 for compression prior to being sent out to an Internet Protocol (IP) network via network interface 118. Conversely, a compressed audio signal is received by second processor 104 from the IP network via network interface 118. Second processor 104 decompresses the compressed audio signal to produce a digital audio signal and then passes the digital audio signal to first processor 102.
  • IP Internet Protocol
  • First processor 102 converts the digital audio signal to an analog form and then passes the analog audio signal to audio subsystem 106 for playback to the user via a speaker (not shown in FIG. 1).
  • system 100 of FIG. 1 allows first processor 102 to perform certain functions associated with those signals, such as speech recognition or audio signal modification. Also, by connecting first processor 102 directly to audio subsystem 106, system 100 of FIG. 1 allows that processor to use the microphone and speaker of audio subsystem 106 for performing media- or multimedia-related functions such as playing back non-telephony-related audio content.
  • First processor 102 is also configured to perform others functions including but not limited to the presentation of a graphical user interface via a display 110, which may comprise an LCD display, and the processing of user input received via a keypad 108.
  • second processor 104 the primary function of second processor 104 is to compress and decompress an audio signal for respective transmission or reception of the audio signal over an IP network via network interface 118.
  • the compression and decompression function is implemented as a signal processing algorithm by second processor 104 and is computationally intensive.
  • Second processor 104 may also be configured to perform ancillary functions such as voice activity detection, echo cancellation, or other well- known functions related to the transmission or reception of an audio signal over a telephony system.
  • first processor 102 and second processor 104 In order for first processor 102 and second processor 104 to work together in the above-described manner, reliable inter-processor communication must be achieved between first processor 102 and second processor 104. As will be described in more detail below, this reliable inter- processor communication is achieved using a specially-configured link.
  • a specially-configured serial bus is 114 used.
  • the serial bus is a I 2 S (Inter-IC sound) bus.
  • network interface 118 residing on second processor 104 is made available to first processor 102.
  • second processor 104 is used as a proxy and supports remote configuration and network address traversal (NAT). This feature will also be described in more detail below.
  • NAT network address traversal
  • a specially-configured serial bus is used as a general-purpose data link between a first processor and a second processor.
  • the serial bus is an I 2 S bus, although the invention is not so limited.
  • first processor 102 is an LMX31 multimedia application processor
  • second processor 104 is an ADSP-BF536 Blackfin® embedded processor.
  • the invention is not limited to this particular implementation and other processors may be used.
  • the I 2 S bus is an electrical serial bus interface designed by Philips Semiconductors for connecting digital audio devices (such as compact-disc (CD) players, digital audio tape, digital sound processors and digital TV-sound) together.
  • the I 2 S bus can serve as a serial link to carry 2-channel (stereo) Pulse Code Modulation digital data between the CD transport and digital-to-analog (DAC) converter in a CD player.
  • the I 2 S bus is described in the I 2 S Bus Specification (February 1986), published by Philips Semiconductors, the entirety of which is incorporated by reference as if fully set forth herein.
  • the I 2 S bus is typically used to handle audio data only, while other signals (such as sub-coding and control) are transferred separately.
  • the I 2 S bus consists of three serial bus lines: a serial data line with two time-division multiplexed data channels, a word select line, and a continuous serial clock line.
  • a serial data line with two time-division multiplexed data channels
  • a word select line a word select line
  • a continuous serial clock line By separating the data and clock signals, the I 2 S bus avoids time-related errors that cause jitter, thereby eliminating the need for anti-jitter devices. Jitter can cause distortion in a DAC.
  • BF536 Blackfm® embedded processor provide at least one interface for connecting to an I 2 S bus.
  • the i.MX31 multimedia application processor provides two Synchronous Serial Interface (SSI)/I 2 S interfaces, each of which may be used for connecting to an I 2 S bus, while the BF536 Blackfm® embedded processor provides two serial ports, each of which supports I 2 S capable operation.
  • SSI Synchronous Serial Interface
  • I 2 S capable operation each of which supports I 2 S capable operation.
  • LMX31 multimedia application processor 202 also referred to herein as LMX31 processor 202
  • an ADSP-BF536 Blackfm® embedded processor 204 also referred to herein as BF536 processor 204
  • I 2 S bus 206 I 2 S bus 206
  • a first wire 232 is used to carry a continuous serial clock (SCK)
  • a second wire 234 is used to carry a word select signal (WS)
  • a third wire 236 is used for carrying serial data (SDl) from BF536 processor 204 to LMX31 processor 202
  • a fourth wire 238 is used for carrying serial data (SD2) from LMX31 processor 202 to BF536 processor 204.
  • SCK continuous serial clock
  • WS word select signal
  • SDl serial data
  • SD2 serial data
  • SD2 serial data
  • the direction of transmission of SCK and WS is dependent on which processor is acting as the bus master.
  • the use of the two serial data lines permits concurrent bi-directional transfer of data between the two
  • BF536 processor 204 is configured to use I 2 S bus 214 for both the transfer of audio signals in a traditional manner as well as for the transfer of data signals used for multiprocessor communication. In a mode of operation in which it is transmitting data signals over I 2 S bus 214, BF536 processor 204 is configured to stop and restart the serial clock SCK. In contrast, LMX31 processor 202 is configured to use I 2 S bus for the transfer of audio signals only. Consequently, LMX31 processor 202 is not tolerant of the stopping and restarting of the serial clock SCK by BF536 processor 204. Thus, when I 2 S bus 214 is used by LMX31 processor 202 for transferring data signals, data received over that bus and stored in a first-in first-out (FIFO) buffer of i.MX31 processor 202 may become corrupted.
  • FIFO first-in first-out
  • An embodiment of the present invention overcomes this problem by creating and using a continually-running (streaming) protocol that ensures that the serial clock SCK is never stopped.
  • a highly-optimized packet-mode data transport is then layered on top of the I 2 S interface.
  • FIG. 3 depicts a representative fixed-length frame 302 having a fixed-length header 312 and payload 314.
  • Each fixed- length header identifies the type of the frame (e.g., audio or data), and also includes other information such as a length of the packet carried by the frame and a checksum.
  • These fields are respectively denoted length 324 and checksum 326 in representative header 312.
  • the checksum is a 16-bit checksum that is placed over the entire data of the frame.
  • each endpoint exchanges the fixed-length frames simultaneously. Therefore, as the first word of a frame header is being transmitted by i.MX31 processor 202, the first word of another frame header is also being transmitted by BF536 processor 204. This allows each processor to use the same serial clock SCK and word select WS signal for controlling the transmission of data.
  • the simultaneous exchange of representative fixed-length frames 302 and 304 is depicted in FIG. 3.
  • the WS signal is used to denote the frame boundary.
  • each frame is categorized as either an audio frame or a data frame.
  • data frames are formatted as raw Internet Protocol (IP) datagrams having no media access control (MAC) header.
  • IP Internet Protocol
  • MAC media access control
  • An embodiment of the present invention also includes a frame synchronization protocol to allow the two processors to synchronize data transmission.
  • This frame synchronization protocol is used during system startup, and also may be used when either processor reboots or in any situation where synchronization has been lost between the two processors for any reason.
  • the header of each frame includes two marker words. This is further illustrated in FIG. 3, which shows that header 312 of representative frame 302 includes a first marker word 322 and a second marker word 328.
  • the processor acting as bus master continually clocks out "null" (empty) frames until it detects the boundary of frames transmitted by the other processor.
  • a null frame may be denoted by setting the packet length and checksum associated with the frame to zero.
  • the bus master detects the boundary of frames transmitted by the other processor by searching for the marker pattern of the other processor. Once the boundary of frames transmitted by the other processor is detected, the bus master aligns its frame transmission to that of the other processor. All further configuration then occurs in the Transmission Control Protocol (TCP)/IP layer.
  • TCP Transmission Control Protocol
  • each processor 202 and 202 are identical to each other.
  • the two processors 202 and 204 communicate via the I 2 S communications link under a voice prioritization regime. That is, when transmitting frames, a pending voice or audio frame always takes precedence over a pending data frame. This regime is intended to minimize latency and jitter associated with VoIP telephone calls being handled by system 100.
  • FIG. 4 is a block diagram that depicts components of each processor
  • each processor includes a data queue 402 and a voice queue 404 connected via a multiplexer 406 to a transmitter 408.
  • Data queue 402 is configured to hold data frames scheduled for transmission over the I 2 S communications link
  • voice queue 404 is configured to hold voice frames scheduled for transmission over the I 2 S communications link.
  • data queue 402 is holding exemplary data frames 412
  • voice queue 404 is holding exemplary voice frames 414.
  • Multiplexer 406 is configured to selectively provide either a data frame from data queue 402 or a voice frame from voice queue 404 to transmitter 408 for transmission over the I 2 S communications link.
  • Multiplexer 406 is further configured to perform this function by giving voice frames precedence over data frames.
  • the data frames and voice frames are of a fixed size.
  • a large frame size may be used to carry voice information.
  • each frame is transmitted using as few memory copies as possible.
  • a simple 16-bit checksum is placed over the entire data of the frame in the header. Other than that the protocol does not require any inspection of the payload for the majority of its processing.
  • FIG. 5 depicts a flowchart 500 of a method for facilitating communication between a first processor and a second processor in accordance with the foregoing description.
  • Flowchart 500 will now be described with continued reference to system 100 of FIG. 1.
  • the method of flowchart 500 is not limited to that implementation.
  • the method of flowchart 500 begins at step 502, in which a continuous serial clock is transmitted from first processor 102 to second processor 104 over serial bus 114.
  • This step may comprise transmitting the continuous serial clock signal over a serial clock signal line of an I 2 S bus.
  • a first plurality of frames is transmitted from first processor 102 to second processor 104 over serial bus 114 during the transmission of the continuous serial clock signal.
  • This step may comprise transmitting the first plurality of frames over a first serial data line of an I 2 S bus.
  • the first plurality of frames may include voice or data frames.
  • Each of the first plurality of frames may comprise a fixed-length frame.
  • a second plurality of frames is transmitted from second processor 104 to first processor 102 over serial bus 114 during the transmission of the continuous clock signal, wherein the transmission of each of the second plurality of frames is synchronized with the transmission of each of a respective one of the first plurality of frames.
  • This step may comprise transmitting the second plurality of frames over a second serial data line of an I 2 S bus.
  • the second plurality of frames may include voice or data frames.
  • Each of the second plurality of frames may comprise a fixed- length frame.
  • the foregoing method of flowchart 500 may further include the step of transmitting a word select signal from first processor 102 to second processor 104 over serial bus 114.
  • transmitting the first plurality of frames may comprise transmitting each of the first plurality of frames in synchronization with the continuous serial clock signal and the word select signal.
  • transmitting the second plurality of frames may comprise transmitting each of the second plurality of frames in synchronization with the continuous clock signal and the word select signal.
  • Transmitting the word select signal may include transmitting the word select signal over a word select signal line of an I 2 S bus.
  • Network-capable consumer electronics devices that incorporate multiple processors often have only a single network interface (e.g., an Ethernet or Wi-Fi interface) that is accessible by only one processor. It would be beneficial if all the processors in the multi-processor system could use that single network interface. In particular, it would be beneficial if the single processor having network access could act as a proxy to support remote configuration and network address traversal.
  • a single network interface e.g., an Ethernet or Wi-Fi interface
  • a serial bus such as an I 2 S bus, serves as a high-speed, large bandwidth, general-purpose data link between a first processor (which may be, for example a general purpose CPU) and a second processor (which may be, for example, an external/remote DSP), providing reliable data transfer between the two processors.
  • the serial bus can also be used to enable each processor in a multiprocessor system to access a network, such as an Ethernet or Wi-Fi network, without having to resort to the use of internal switches or multiple transceivers.
  • first processor 102 is adapted to configure and use network interface 118 on remote processor 104 via serial bus 114.
  • FIG. 6 An example of such an embodiment is depicted in FIG. 6, wherein first processor 102 is implemented as an LMX31 multimedia application processor 602 (also referred to herein as LMX31 processor 602), second processor 104 is implemented as an ADSP-BF536 Blackfm® embedded processor 604 (also referred to herein as BF536 processor 604) and serial bus 114 is implemented as an I 2 S bus 606.
  • first processor 102 is implemented as an LMX31 multimedia application processor 602 (also referred to herein as LMX31 processor 602)
  • second processor 104 is implemented as an ADSP-BF536 Blackfm® embedded processor 604 (also referred to herein as BF536 processor 604)
  • serial bus 114 is implemented as an I 2 S bus 606.
  • a protocol is employed to allow LMX31 processor 602 to configure BF536 processor 604.
  • This protocol is layered atop I 2 S bus 606 and is used to configure other protocols on the inter-processor data link, including configuration of the NAT (network address traversal) and TCP/IP stack as well as other functions resident on BF536 processor 604.
  • Such other functions may include but are not limited to voice-engine configuration, Public Switched Telephone Network (PSTN) telephony, system heartbeat, and other miscellaneous tasks.
  • PSTN Public Switched Telephone Network
  • FIG. 7 depicts a multiprocessor system 700 in accordance with an embodiment of the present invention in which a first processor 702 is connected to a second processor 704 via an internal link 708.
  • First processor 702 is able to configure NAT/routing logic 712 within second processor 704 using a protocol layered atop of a serial bus interface, such as an I 2 S interface, implemented over internal link 708.
  • Such configuration of NAT/routing logic 712 may include the assignment of a first private IP address (denoted "private address B" in FIG. 6) to first processor 702 and the assignment of a second private IP address (denoted "private address A") to second processor 704.
  • Such private IP addresses may be used by NAT/routing logic 712 in a well-known manner to manage communication between each of the two processors and entities residing on a network 706, wherein such communication is carried out over a single network interface 710.
  • second processor 704 acts as a network router. In such a case, it is necessary to provide network configuration data to second processor 704.
  • internal link 708 is used to pass fixed IP addresses and TCP/IP is used to establish further TCP/IP connectivity.
  • FIG. 8 depicts a flowchart 800 of a method for using a first processor having access to a network interface as a proxy for a second processor that does not have access to the network interface in accordance with the foregoing description.
  • the method of flowchart 800 begins at step 802, in which a data link is established between the first processor and the second processor over an I 2 S bus.
  • the network interface is then accessed by the second processor over the data link.
  • accessing the network interface comprises configuring the network interface.
  • Configuring the network interface may comprise, for example, configuring NAT functions or configuring a TCP/IP stack.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Multi Processors (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A means for reliable inter-processor communication in a multi-processor system is described. In accordance with one aspect, a specially-configured serial bus is used as a general-purpose data link between a first processor and a second processor. The serial bus may be an Inter-IC Sound (I2S) bus. In accordance with another aspect, a network interface residing on a second processor is made available to a first processor via a data link established over an I2S bus. This allows the second processor to be used as a proxy and to support remote configuration and network address traversal.

Description

SYSTEM AND METHOD FOR INTER-PROCESSOR COMMUNICATION
BACKGROUND OF THE INVENTION
Field of the Invention
[0001] The invention generally relates to multi-processor systems, including but not limited to dual-processor systems.
Background
[0002] The use of dual-processor designs to achieve energy efficient, fault- tolerant systems is well known. Dual-processor systems are those that contain two separate physical microprocessors in the same chassis (either on the same board or on separate boards). A dual-processor architecture provides several advantages over a single -processor architecture. For example, in a dual- processor system, both processors can work simultaneously but separately on isolated tasks. Such multi-tasking computer power is crucial in processor- intensive applications such as creating, editing and rendering graphics and multimedia files.
[0003] In a telecommunication system, such as a Voice over Internet Protocol
(VoIP) telephone, a dual-processing architecture may be implemented to minimize latency and jitter in voice communication. An example dual- processor architecture may include a primary central processing unit (CPU) that is configured to handle traditional operating system (OS) and computational tasks and a digital signal processor (DSP) that is configured to process audio signal data. However, in order for two disparate, separated and/or isolated processors to work together cooperatively, a reliable means for the processors to communicate with each other must be provided. BRIEF SUMMARY OF THE INVENTION
[0004] The present invention provides a reliable means for inter-processor communication in a multi-processor system. In accordance with one aspect of the present invention, a specially-configured serial bus is used as a general- purpose data link between a first processor and a second processor. The serial bus may be an Inter-IC Sound (I2S) bus. In accordance with another aspect of the present invention, a network interface residing on a second processor is made available to a first processor via a data link established over an I2S bus. This allows the second processor to be used as a proxy and to support remote configuration and network address traversal.
[0005] In particular, a method is described herein for facilitating communication between a first processor and a second processor. In accordance with the method, a continuous serial clock signal is transmitted from the first processor to the second processor. A first plurality of frames is transmitted from the first processor to the second processor during the transmission of the continuous serial clock signal, wherein the first plurality of frames includes at least one data frame. Transmitting the continuous serial clock signal may comprise transmitting the continuous serial clock signal over a serial clock signal line of an Inter-IC Sound (I2S) bus, and transmitting the first plurality of frames may comprise transmitting the first plurality of frames over a first serial data line of the I2S bus.
[0006] The method may further include transmitting a second plurality of frames from the second processor to the first processor during the transmission of the continuous clock signal, wherein the transmission of each of the second plurality of frames is synchronized with the transmission of each of a respective one of the first plurality of frames. Transmitting the second plurality of frames comprises transmitting the second plurality of frames over a second serial data line of an Inter-IC Sound (I2S) bus.
[0007] The method may still further include transmitting a word select signal from the first processor to the second processor, wherein transmitting the first plurality of frames comprises transmitting each of the first plurality of frames in synchronization with the continuous serial clock signal and the word select signal, and wherein transmitting the second plurality of frames comprises transmitting each of the second plurality of frames in synchronization with the continuous serial clock signal and the word select signal.
[0008] A multi-processor system is also described herein. The system includes a first processor, a second processor, and a serial bus interface connecting the first processor and the second processor. The first processor is configured to transmit a continuous serial clock signal to the second processor over the serial bus interface and to transmit a first plurality of frames to the second processor over the serial bus interface during the transmission of the continuous serial clock signal. The first plurality of frames includes at least one data frame. The serial bus interface may comprise an I2S bus.
[0009] The second processor may be configured to transmit a second plurality of frames to the first processor during the transmission of the continuous clock signal, wherein the transmission of each of the second plurality of frames is synchronized with the transmission of each of a respective one of the first plurality of frames.
[0010] A method is also described herein for using a first processor having access to a network interface as a proxy for a second processor that does not have access to the network interface. In accordance with the method, a data link is established between the first processor and the second processor over an I2S bus. The network interface is then accessed by the second processor over the data link. Accessing the network interface may comprise configuring the network interface. Configuring the network interface may comprise configuring network address traversal (NAT) functions or configuring a Transmission Control Protocol (TCP)/Internet Protocol (IP) stack.
[0011] A multi-processor system is also described herein. The system includes a first processor, a second processor, an I2S bus connecting the first processor and the second processor, and a network interface connected to the first processor but not connected to the second processor. The second processor is configured to establish a data link with the first processor over the I2S bus and to access the network interface over the data link. The second processor may be adapted to configure the network interface by configuring network address traversal (NAT) functions or by configuring a Transmission Control Protocol (TCP)/Internet Protocol (IP) stack.
[0012] Further features and advantages of the invention, as well as the structure and operation of various embodiments of the invention, are described in detail below with reference to the accompanying drawings. It is noted that the invention is not limited to the specific embodiments described herein. Such embodiments are presented herein for illustrative purposes only. Additional embodiments will be apparent to persons skilled in the relevant art(s) based on the teachings contained herein.
BRIEF DESCRIPTION OF THE DRAWINGS/FIGURES
[0013] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate the present invention and, together with the description, further serve to explain the principles of the invention and to enable a person skilled in the relevant art(s) to make and use the invention.
[0014] FIG. 1 is a block diagram of a system for a Voice over Internet
Protocol (VoIP) telephone that may implement the present invention.
[0015] FIG. 2 depicts the connection of a first processor to a second processor using an I2S bus in accordance with an embodiment of the present invention.
[0016] FIG. 3 depicts the simultaneous exchange of fixed-length frames between a first and second processor over an I2S bus in accordance with an embodiment of the present invention.
[0017] FIG. 4 is a block diagram that depicts components of a first and second processor that are used to implement a voice prioritization scheme for transmitting frames between the two processors in accordance with an embodiment of the present invention. [0018] FIG. 5 depicts a flowchart of a method for facilitating communication between a first processor and a second processor in accordance with an embodiment of the present invention.
[0019] FIG. 6 is a block diagram that depicts the use of a second processor by a first processor as a network proxy in accordance with an embodiment of the present invention.
[0020] FIG. 7 is another block diagram that depicts the use of a second processor by a first processor as a network proxy in accordance with an embodiment of the present invention.
[0021] FIG. 8 depicts a flowchart of a method for using a first processor having access to a network interface as a proxy for a second processor that does not have access to the network interface in accordance with an embodiment of the present invention.
[0022] The features and advantages of the present invention will become more apparent from the detailed description set forth below when taken in conjunction with the drawings, in which like reference characters identify corresponding elements throughout. In the drawings, like reference numbers generally indicate identical, functionally similar, and/or structurally similar elements. The drawing in which an element first appears is indicated by the leftmost digit(s) in the corresponding reference number.
DETAILED DESCRIPTION OF THE INVENTION
A. Example Operating Environment
[0023] FIG. 1 illustrates an example operating environment in which an embodiment of the present invention may operate. In particular, FIG. 1 is a block diagram of a system 100 for a VoIP telephone that may implement the present invention. System 100 utilizes a dual-processor architecture. Specifically, system 100 includes a first processor 102 configured to handle traditional operating system (OS) and computational tasks and a second processor 104 configured to process audio signal data. In one embodiment, fϊrst processor 102 is an MCIMX31 (LMX31) multimedia application processor sold by Freescale Semiconductor, Inc. of Austin, Texas and second processor 104 is an ADSP-BF536 Blackfm® embedded processor sold by Analog Device, Inc. of Norwood, Massachusetts. In system 100 of FIG. 1, first processor 102 is configured to serve as a Linux-based central processing unit (CPU) while second processor 104 operates as a digital signal processor (DSP).
[0024] As shown in FIG. 1, first processor 102 is connected to a memory 112 that stores program instructions for execution by first processor 102 as well as data used or generated during the execution of such instructions. Likewise, second processor 104 is connected to a memory 116 that stores program instructions for execution by second processor 104 as well as data used or generated during the execution of such instructions. As also shown in FIG. 1, second processor 104 is connected to a network interface 118 that includes an Ethernet PHY and MAC 122 and an RJ45 connection 124 and to an optional POTS (plain old telephone service) interface 120 that includes a PSTN line interface 126 and an RJl 1 connection 128.
[0025] When system 100 of FIG. 1 is operating as a VoIP speaker phone, an audio subsystem 106 captures voice input from a user via a microphone (not shown in FIG. 1) and converts the voice input into an analog audio signal. Audio subsystem 106 provides the analog audio signal to first processor 102, which converts the analog audio signal to a digital form and then passes the digital audio signal to second processor 104 for compression prior to being sent out to an Internet Protocol (IP) network via network interface 118. Conversely, a compressed audio signal is received by second processor 104 from the IP network via network interface 118. Second processor 104 decompresses the compressed audio signal to produce a digital audio signal and then passes the digital audio signal to first processor 102. First processor 102 converts the digital audio signal to an analog form and then passes the analog audio signal to audio subsystem 106 for playback to the user via a speaker (not shown in FIG. 1). [0026] By providing first processor 102 with access to the analog audio input and output signals, system 100 of FIG. 1 allows first processor 102 to perform certain functions associated with those signals, such as speech recognition or audio signal modification. Also, by connecting first processor 102 directly to audio subsystem 106, system 100 of FIG. 1 allows that processor to use the microphone and speaker of audio subsystem 106 for performing media- or multimedia-related functions such as playing back non-telephony-related audio content. First processor 102 is also configured to perform others functions including but not limited to the presentation of a graphical user interface via a display 110, which may comprise an LCD display, and the processing of user input received via a keypad 108.
[0027] In contrast, the primary function of second processor 104 is to compress and decompress an audio signal for respective transmission or reception of the audio signal over an IP network via network interface 118. The compression and decompression function is implemented as a signal processing algorithm by second processor 104 and is computationally intensive. Second processor 104 may also be configured to perform ancillary functions such as voice activity detection, echo cancellation, or other well- known functions related to the transmission or reception of an audio signal over a telephony system.
[0028] In order for first processor 102 and second processor 104 to work together in the above-described manner, reliable inter-processor communication must be achieved between first processor 102 and second processor 104. As will be described in more detail below, this reliable inter- processor communication is achieved using a specially-configured link. In particular, in accordance with an embodiment of the present invention, a specially-configured serial bus is 114 used. In one embodiment, the serial bus is a I2S (Inter-IC sound) bus.
[0029] Furthermore, in accordance with an embodiment of the present invention, network interface 118 residing on second processor 104 is made available to first processor 102. In effect, second processor 104 is used as a proxy and supports remote configuration and network address traversal (NAT). This feature will also be described in more detail below. [0030] Although aspects of the present invention are described herein with reference to example system 100 of FIG. 1, the invention is not limited to that operating environment. As will be appreciated by persons skilled in the relevant art(s), the present invention may be utilized in any system that utilizes two or more processors for performing system functions.
B. Use of a Serial Bus as a General-Purpose Data Link in
Accordance with an Embodiment of the Present Invention
[0031] In accordance with an embodiment of the present invention, a specially-configured serial bus is used as a general-purpose data link between a first processor and a second processor. In an embodiment described herein, the serial bus is an I2S bus, although the invention is not so limited. This aspect of the present invention will now be described in more detail with reference to the example operating environment of FIG. 1, in which first processor 102 is an LMX31 multimedia application processor and second processor 104 is an ADSP-BF536 Blackfin® embedded processor. However, the invention is not limited to this particular implementation and other processors may be used.
[0032] As will be appreciated by persons skilled in the relevant art(s), the I2S bus is an electrical serial bus interface designed by Philips Semiconductors for connecting digital audio devices (such as compact-disc (CD) players, digital audio tape, digital sound processors and digital TV-sound) together. For example, the I2S bus can serve as a serial link to carry 2-channel (stereo) Pulse Code Modulation digital data between the CD transport and digital-to-analog (DAC) converter in a CD player. The I2S bus is described in the I2S Bus Specification (February 1986), published by Philips Semiconductors, the entirety of which is incorporated by reference as if fully set forth herein.
[0033] The I2S bus is typically used to handle audio data only, while other signals (such as sub-coding and control) are transferred separately. To minimize the number of pins required and to keep wiring simple, the I2S bus consists of three serial bus lines: a serial data line with two time-division multiplexed data channels, a word select line, and a continuous serial clock line. By separating the data and clock signals, the I2S bus avoids time-related errors that cause jitter, thereby eliminating the need for anti-jitter devices. Jitter can cause distortion in a DAC.
[0034] Both the i.MX31 multimedia application processor and the ADSP-
BF536 Blackfm® embedded processor provide at least one interface for connecting to an I2S bus. In particular, the i.MX31 multimedia application processor provides two Synchronous Serial Interface (SSI)/I2S interfaces, each of which may be used for connecting to an I2S bus, while the BF536 Blackfm® embedded processor provides two serial ports, each of which supports I2S capable operation.
[0035] As shown in FIG. 2, in one implementation of system 100 of FIG. 1, an
LMX31 multimedia application processor 202 (also referred to herein as LMX31 processor 202) and an ADSP-BF536 Blackfm® embedded processor 204 (also referred to herein as BF536 processor 204) are connected to each other over an I2S bus 206 using a four-wire configuration. In accordance with this four-wire configuration, a first wire 232 is used to carry a continuous serial clock (SCK), a second wire 234 is used to carry a word select signal (WS), a third wire 236 is used for carrying serial data (SDl) from BF536 processor 204 to LMX31 processor 202 and a fourth wire 238 is used for carrying serial data (SD2) from LMX31 processor 202 to BF536 processor 204. The direction of transmission of SCK and WS is dependent on which processor is acting as the bus master. The use of the two serial data lines permits concurrent bi-directional transfer of data between the two processors.
[0036] BF536 processor 204 is configured to use I2S bus 214 for both the transfer of audio signals in a traditional manner as well as for the transfer of data signals used for multiprocessor communication. In a mode of operation in which it is transmitting data signals over I2S bus 214, BF536 processor 204 is configured to stop and restart the serial clock SCK. In contrast, LMX31 processor 202 is configured to use I2S bus for the transfer of audio signals only. Consequently, LMX31 processor 202 is not tolerant of the stopping and restarting of the serial clock SCK by BF536 processor 204. Thus, when I2S bus 214 is used by LMX31 processor 202 for transferring data signals, data received over that bus and stored in a first-in first-out (FIFO) buffer of i.MX31 processor 202 may become corrupted.
[0037] Ideally one would prefer to send variable length frames between the two processors only when needed. This would save DMA (memory) bandwidth as well as processor cycles. But this is not always achievable. For example, as described above, the stopping of the serial clock SCK during periods in which no data is being transmitted between the two processors may cause i.MX31 processor 202 to lose synchronization and data stored in a FIFO buffer of that processor may be corrupted.
[0038] An embodiment of the present invention overcomes this problem by creating and using a continually-running (streaming) protocol that ensures that the serial clock SCK is never stopped. A highly-optimized packet-mode data transport is then layered on top of the I2S interface.
[0039] The streaming protocol uses fixed-length frames having fixed-length headers. By way of example, FIG. 3 depicts a representative fixed-length frame 302 having a fixed-length header 312 and payload 314. Each fixed- length header identifies the type of the frame (e.g., audio or data), and also includes other information such as a length of the packet carried by the frame and a checksum. These fields are respectively denoted length 324 and checksum 326 in representative header 312. In one embodiment, the checksum is a 16-bit checksum that is placed over the entire data of the frame.
[0040] In accordance with the streaming protocol, each endpoint exchanges the fixed-length frames simultaneously. Therefore, as the first word of a frame header is being transmitted by i.MX31 processor 202, the first word of another frame header is also being transmitted by BF536 processor 204. This allows each processor to use the same serial clock SCK and word select WS signal for controlling the transmission of data. By way of illustration, the simultaneous exchange of representative fixed-length frames 302 and 304 is depicted in FIG. 3. In an embodiment of the present invention the WS signal is used to denote the frame boundary. As noted above, each frame is categorized as either an audio frame or a data frame. In one embodiment, data frames are formatted as raw Internet Protocol (IP) datagrams having no media access control (MAC) header.
[0041] An embodiment of the present invention also includes a frame synchronization protocol to allow the two processors to synchronize data transmission. This frame synchronization protocol is used during system startup, and also may be used when either processor reboots or in any situation where synchronization has been lost between the two processors for any reason.
[0042] In order to facilitate frame synchronization, the header of each frame includes two marker words. This is further illustrated in FIG. 3, which shows that header 312 of representative frame 302 includes a first marker word 322 and a second marker word 328. During frame synchronization, the processor acting as bus master continually clocks out "null" (empty) frames until it detects the boundary of frames transmitted by the other processor. A null frame may be denoted by setting the packet length and checksum associated with the frame to zero. The bus master detects the boundary of frames transmitted by the other processor by searching for the marker pattern of the other processor. Once the boundary of frames transmitted by the other processor is detected, the bus master aligns its frame transmission to that of the other processor. All further configuration then occurs in the Transmission Control Protocol (TCP)/IP layer.
[0043] In one embodiment of the present invention, each processor 202 and
204 is configured to receive an out-of-band reset signal to trigger the foregoing synchronization protocol. Because the execution of the synchronization protocol is expensive in terms of time and processor resources, it is not desirable to use the protocol to support the transmission of variable-length frames, although such an implementation is possible. [0044] In accordance with a further embodiment of the present invention, the two processors 202 and 204 communicate via the I2S communications link under a voice prioritization regime. That is, when transmitting frames, a pending voice or audio frame always takes precedence over a pending data frame. This regime is intended to minimize latency and jitter associated with VoIP telephone calls being handled by system 100.
[0045] FIG. 4 is a block diagram that depicts components of each processor
202 and 204 used to implement the voice prioritization scheme. In particular, as shown in FIG. 4, each processor includes a data queue 402 and a voice queue 404 connected via a multiplexer 406 to a transmitter 408. Data queue 402 is configured to hold data frames scheduled for transmission over the I2S communications link, while voice queue 404 is configured to hold voice frames scheduled for transmission over the I2S communications link. For example, as shown in FIG. 4, data queue 402 is holding exemplary data frames 412 and voice queue 404 is holding exemplary voice frames 414. Multiplexer 406 is configured to selectively provide either a data frame from data queue 402 or a voice frame from voice queue 404 to transmitter 408 for transmission over the I2S communications link. Multiplexer 406 is further configured to perform this function by giving voice frames precedence over data frames.
[0046] As noted above, in accordance with an embodiment of the present invention, the data frames and voice frames are of a fixed size. In order to ensure that a high-bandwidth TCP/IP link is provided for voice communication, a large frame size may be used to carry voice information. For maximum efficiency, each frame is transmitted using as few memory copies as possible. As noted above, a simple 16-bit checksum is placed over the entire data of the frame in the header. Other than that the protocol does not require any inspection of the payload for the majority of its processing.
[0047] FIG. 5 depicts a flowchart 500 of a method for facilitating communication between a first processor and a second processor in accordance with the foregoing description. Flowchart 500 will now be described with continued reference to system 100 of FIG. 1. However, the method of flowchart 500 is not limited to that implementation.
[0048] As shown in FIG. 5, the method of flowchart 500 begins at step 502, in which a continuous serial clock is transmitted from first processor 102 to second processor 104 over serial bus 114. This step may comprise transmitting the continuous serial clock signal over a serial clock signal line of an I2S bus.
[0049] At step 504, a first plurality of frames is transmitted from first processor 102 to second processor 104 over serial bus 114 during the transmission of the continuous serial clock signal. This step may comprise transmitting the first plurality of frames over a first serial data line of an I2S bus. The first plurality of frames may include voice or data frames. Each of the first plurality of frames may comprise a fixed-length frame.
[0050] At step 506, a second plurality of frames is transmitted from second processor 104 to first processor 102 over serial bus 114 during the transmission of the continuous clock signal, wherein the transmission of each of the second plurality of frames is synchronized with the transmission of each of a respective one of the first plurality of frames. This step may comprise transmitting the second plurality of frames over a second serial data line of an I2S bus. The second plurality of frames may include voice or data frames. Each of the second plurality of frames may comprise a fixed- length frame.
[0051] The foregoing method of flowchart 500 may further include the step of transmitting a word select signal from first processor 102 to second processor 104 over serial bus 114. In such an embodiment, transmitting the first plurality of frames may comprise transmitting each of the first plurality of frames in synchronization with the continuous serial clock signal and the word select signal. Additionally, in such an embodiment, transmitting the second plurality of frames may comprise transmitting each of the second plurality of frames in synchronization with the continuous clock signal and the word select signal. Transmitting the word select signal may include transmitting the word select signal over a word select signal line of an I2S bus. C. Use of Second Processor by First Processor as Network Proxy in Accordance with an Embodiment of the Present Invention
[0052] Network-capable consumer electronics devices that incorporate multiple processors often have only a single network interface (e.g., an Ethernet or Wi-Fi interface) that is accessible by only one processor. It would be beneficial if all the processors in the multi-processor system could use that single network interface. In particular, it would be beneficial if the single processor having network access could act as a proxy to support remote configuration and network address traversal.
[0053] As described above, in one embodiment of the present invention, a serial bus, such as an I2S bus, serves as a high-speed, large bandwidth, general-purpose data link between a first processor (which may be, for example a general purpose CPU) and a second processor (which may be, for example, an external/remote DSP), providing reliable data transfer between the two processors. In accordance with another aspect of the present invention, the serial bus can also be used to enable each processor in a multiprocessor system to access a network, such as an Ethernet or Wi-Fi network, without having to resort to the use of internal switches or multiple transceivers.
[0054] For example, in system 100 described above in reference to FIG. 1, network interface 118 resides on second processor 104. In accordance with an embodiment of the present invention, first processor 102 is adapted to configure and use network interface 118 on remote processor 104 via serial bus 114. An example of such an embodiment is depicted in FIG. 6, wherein first processor 102 is implemented as an LMX31 multimedia application processor 602 (also referred to herein as LMX31 processor 602), second processor 104 is implemented as an ADSP-BF536 Blackfm® embedded processor 604 (also referred to herein as BF536 processor 604) and serial bus 114 is implemented as an I2S bus 606. [0055] With reference to the embodiment depicted in FIG. 6, a protocol is employed to allow LMX31 processor 602 to configure BF536 processor 604. This protocol is layered atop I2S bus 606 and is used to configure other protocols on the inter-processor data link, including configuration of the NAT (network address traversal) and TCP/IP stack as well as other functions resident on BF536 processor 604. Such other functions may include but are not limited to voice-engine configuration, Public Switched Telephone Network (PSTN) telephony, system heartbeat, and other miscellaneous tasks.
[0056] This concept is further illustrated in FIG. 7. In particular, FIG. 7 depicts a multiprocessor system 700 in accordance with an embodiment of the present invention in which a first processor 702 is connected to a second processor 704 via an internal link 708. First processor 702 is able to configure NAT/routing logic 712 within second processor 704 using a protocol layered atop of a serial bus interface, such as an I2S interface, implemented over internal link 708. Such configuration of NAT/routing logic 712 may include the assignment of a first private IP address (denoted "private address B" in FIG. 6) to first processor 702 and the assignment of a second private IP address (denoted "private address A") to second processor 704. Such private IP addresses may be used by NAT/routing logic 712 in a well-known manner to manage communication between each of the two processors and entities residing on a network 706, wherein such communication is carried out over a single network interface 710.
[0057] The use of such a protocol is particularly relevant to the extent that second processor 704 acts as a network router. In such a case, it is necessary to provide network configuration data to second processor 704. In accordance with this embodiment, internal link 708 is used to pass fixed IP addresses and TCP/IP is used to establish further TCP/IP connectivity.
[0058] FIG. 8 depicts a flowchart 800 of a method for using a first processor having access to a network interface as a proxy for a second processor that does not have access to the network interface in accordance with the foregoing description. As shown in FIG. 8, the method of flowchart 800 begins at step 802, in which a data link is established between the first processor and the second processor over an I2S bus. At step 804, the network interface is then accessed by the second processor over the data link. In an embodiment, accessing the network interface comprises configuring the network interface. Configuring the network interface may comprise, for example, configuring NAT functions or configuring a TCP/IP stack.
D. Conclusion
[0059] While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. For example, although aspects of the present invention have been described above in reference to the dual-processor architecture of system 100 of FIG. 1, the invention is not limited to that operating environment. Rather, embodiments of the present invention may be implemented in any system that utilizes a multi-processor architecture.
[0060] Furthermore, it will be understood by those skilled in the relevant art(s) that various changes in form and details may be made to the embodiments of the present invention described herein without departing from the spirit and scope of the invention as defined in the appended claims. Accordingly, the breadth and scope of the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.

Claims

WHAT IS CLAIMED IS:
1. A method for facilitating communication between a first processor and a second processor, comprising: transmitting a continuous serial clock signal from the first processor to the second processor, and transmitting a first plurality of frames from the first processor to the second processor during the transmission of the continuous serial clock signal, wherein the first plurality of frames includes at least one data frame.
2. The method of claim 1 , wherein transmitting the continuous serial clock signal comprises transmitting the continuous serial clock signal over a serial clock signal line of an Inter-IC Sound (I2S) bus, and wherein transmitting the first plurality of frames comprises transmitting the first plurality of frames over a first serial data line of the I2S bus.
3. The method of claim 1 , wherein each of the first plurality of frames is a fixed-length frame.
4. The method of claim 1, further comprising: transmitting a second plurality of frames from the second processor to the first processor during the transmission of the continuous clock signal; wherein the transmission of each of the second plurality of frames is synchronized with the transmission of each of a respective one of the first plurality of frames.
5. The method of claim 4, wherein transmitting the second plurality of frames comprises transmitting the second plurality of frames over a second serial data line of an Inter-IC Sound (I2S) bus.
6. The method of claim 4, further comprising: transmitting a word select signal from the first processor to the second processor; wherein transmitting the first plurality of frames comprises transmitting each of the first plurality of frames in synchronization with the continuous serial clock signal and the word select signal, and wherein transmitting the second plurality of frames comprises transmitting each of the second plurality of frames in synchronization with the continuous serial clock signal and the word select signal.
7. The method of claim 6, wherein transmitting the word select signal comprises transmitting the word select signal over a word select signal line of an Inter-IC Sound (I2S) bus.
8. The method of claim 4, further comprising: detecting a marker word in a header of at least one frame transmitted from the first processor to the second processor, and synchronizing the transmission of the second plurality of frames based on the detected marker word.
9. The method of claim 1, further comprising: storing a data frame scheduled for transmission to the second processor in a first queue; storing a voice frame scheduled for transmission to the second processor in a second queue; wherein transmitting the first plurality of frames comprises transmitting the voice frame to the second processor prior to the data frame in accordance with a voice prioritization scheme.
10. A multi-processor system, comprising: a first processor; a second processor; and a serial bus interface connecting the first processor and the second processor; wherein the first processor is configured to transmit a continuous serial clock signal to the second processor over the serial bus interface and to transmit a first plurality of frames to the second processor over the serial bus interface during the transmission of the continuous serial clock signal, wherein the first plurality of frames includes at least one data frame.
11. The system of claim 10, wherein the serial bus interface comprises an Inter-IC Sound (I2S) bus, and wherein the first processor is configured to transmit the continuous serial clock signal over a serial clock signal line of the I2S bus.
12. The system of claim 10, wherein each of the first plurality of frames is a fixed-length frame.
13. The system of claim 10, wherein the second processor is configured to transmit a second plurality of frames to the first processor during the transmission of the continuous clock signal, wherein the transmission of each of the second plurality of frames is synchronized with the transmission of each of a respective one of the first plurality of frames.
14. The system of claim 13, wherein the serial bus interface comprises an Inter-IC Sound (I2S) bus and wherein the second processor is configured to transmit the second plurality of frames over a second serial data line of the I2S bus.
15. The system of claim 13, wherein the first processor is further configured to transmit a word select signal to the second processor and to transmit each of the first plurality of frames in synchronization with the continuous serial clock signal and the word select signal, and wherein the second processor is further configured to transmit the second plurality of frames in synchronization with the continuous serial clock signal and the word select signal.
16. The system of claim 15, wherein the serial bus interface comprises an Inter-IC Sound (I2S) bus and wherein the first processor is configured to transmit the word select signal over a word select signal line of an Inter-IC Sound (I2S) bus.
17. The system of claim 13, wherein the second processor is further configured to detect a marker word in a header of at least one frame transmitted from the first processor and to synchronize the transmission of the second plurality of frames based on the detected marker word.
18. The system of claim 10, wherein the first processor is further configured to store a data frame scheduled for transmission to the second processor in a first queue, to store a voice frame scheduled for transmission to the second processor in a second queue, and to transmit the voice frame to the second processor prior to the data frame based on a voice prioritization scheme.
19. A method for using a first processor having access to a network interface as a proxy for a second processor that does not have access to the network interface, comprising: establishing a data link between the first processor and the second processor over an Inter-IC Sound (I2S) bus; and accessing the network interface by the second processor over the data link.
20. The method of claim 19, wherein accessing the network interface comprises configuring the network interface.
21. The method of claim 20, wherein configuring the network interface comprises configuring network address traversal (NAT) functions.
22. The method of claim 20, wherein configuring the network interface comprises configuring a Transmission Control Protocol (TCP)/Internet Protocol (IP) stack.
23. A multi-processor system, comprising: a first processor; a second processor; an Inter-IC Sound (I2S) bus connecting the first processor and the second processor, and a network interface connected to the first processor but not connected to the second processor; wherein the second processor is configured to establish a data link with the first processor over the I2S bus and to access the network interface over the data link.
24. The system of claim 23, wherein the second processor is adapted to configure the network interface by configuring network address traversal (NAT) functions.
25. The system of claim 24, wherein the second processor is adapted to configure the network interface by configuring a Transmission Control Protocol (TCPyinternet Protocol (IP) stack.
PCT/US2008/077882 2007-10-02 2008-09-26 System and method for inter-processor communication WO2009045904A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2010528044A JP5363490B2 (en) 2007-10-02 2008-09-26 System and method for interprocessor communication
EP08836345.2A EP2195746B1 (en) 2007-10-02 2008-09-26 System and method for inter-processor communication
CN200880116333A CN101861577A (en) 2007-10-02 2008-09-26 System and method for inter-processor communication
KR1020107009685A KR101163868B1 (en) 2007-10-02 2008-09-26 System and method for inter-processor communication
CA2701205A CA2701205C (en) 2007-10-02 2008-09-26 System and method for inter-processor communication

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US97683307P 2007-10-02 2007-10-02
US60/976,833 2007-10-02

Publications (1)

Publication Number Publication Date
WO2009045904A1 true WO2009045904A1 (en) 2009-04-09

Family

ID=40526626

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2008/077882 WO2009045904A1 (en) 2007-10-02 2008-09-26 System and method for inter-processor communication

Country Status (7)

Country Link
US (1) US8755309B2 (en)
EP (1) EP2195746B1 (en)
JP (1) JP5363490B2 (en)
KR (1) KR101163868B1 (en)
CN (1) CN101861577A (en)
CA (1) CA2701205C (en)
WO (1) WO2009045904A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2581903A1 (en) * 2011-10-12 2013-04-17 Research In Motion Limited Systems and methods for reducing audio disturbance associated with control messages in a bitstream
US8718806B2 (en) 2011-09-02 2014-05-06 Apple Inc. Slave mode transmit with zero delay for audio interface
US8755309B2 (en) 2007-10-02 2014-06-17 Id8 Group R2 Studios, Inc. System and method for inter-processor communication
US8825497B2 (en) 2011-10-12 2014-09-02 Blackberry Limited Systems and methods for reducing audio disturbance associated with control messages in a bitstream
US9032131B2 (en) 2011-02-04 2015-05-12 Blackberry Limited Systems and methods for encoding control messages in an audio bitstream
US9252900B2 (en) 2012-06-01 2016-02-02 Blackberry Limited Universal synchronization engine based on probabilistic methods for guarantee of lock in multiformat audio systems
US9461812B2 (en) 2013-03-04 2016-10-04 Blackberry Limited Increased bandwidth encoding scheme
US9473876B2 (en) 2014-03-31 2016-10-18 Blackberry Limited Method and system for tunneling messages between two or more devices using different communication protocols
US9479275B2 (en) 2012-06-01 2016-10-25 Blackberry Limited Multiformat digital audio interface
US10007637B2 (en) 2010-12-02 2018-06-26 Blackberry Limited Single wire bus system
US10422890B2 (en) 2016-01-22 2019-09-24 Canon Kabushiki Kaisha Radiation imaging apparatus, control method of radiation imaging apparatus, and radiation imaging system

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8725931B1 (en) 2010-03-26 2014-05-13 Western Digital Technologies, Inc. System and method for managing the execution of memory commands in a solid-state memory
US8782327B1 (en) 2010-05-11 2014-07-15 Western Digital Technologies, Inc. System and method for managing execution of internal commands and host commands in a solid-state memory
US9026716B2 (en) 2010-05-12 2015-05-05 Western Digital Technologies, Inc. System and method for managing garbage collection in solid-state memory
US8635412B1 (en) 2010-09-09 2014-01-21 Western Digital Technologies, Inc. Inter-processor communication
US9164886B1 (en) 2010-09-21 2015-10-20 Western Digital Technologies, Inc. System and method for multistage processing in a memory storage subsystem
US9021192B1 (en) 2010-09-21 2015-04-28 Western Digital Technologies, Inc. System and method for enhancing processing of memory access requests
CN102156957A (en) * 2011-01-25 2011-08-17 深圳市朗驰欣创科技有限公司 Method, device and system for intelligently analyzing image
EP2487858B1 (en) * 2011-02-04 2013-12-18 BlackBerry Limited Systems and methods for encoding control messages in an audio bitstream
US9158670B1 (en) 2011-06-30 2015-10-13 Western Digital Technologies, Inc. System and method for dynamically adjusting garbage collection policies in solid-state memory
CN103488605A (en) * 2013-09-24 2014-01-01 许继集团有限公司 Bus architecture for multiprocessor parallel communication
US20160012007A1 (en) * 2014-03-06 2016-01-14 Knowles Electronics, Llc Digital Microphone Interface
JP6043764B2 (en) * 2014-08-25 2016-12-14 京セラ株式会社 Communication terminal
KR101797929B1 (en) * 2015-08-26 2017-11-15 서경대학교 산학협력단 Assigning processes to cores in many-core platform and communication method between core processes
US10235324B2 (en) * 2015-09-30 2019-03-19 Nxp Usa, Inc. Interconnect sharing with integrated control for reduced pinout
TWI695313B (en) * 2019-02-15 2020-06-01 矽統科技股份有限公司 Device and method for detecting audio interface
CN113841133A (en) * 2019-02-25 2021-12-24 ams有限公司 Host communication circuit, client communication circuit, communication system, sound reproduction device, and communication method
EP3726393B1 (en) * 2019-04-15 2023-05-31 ams AG Host communication circuit, client communication circuit, communication system, sound reproducing device and communication method
EP4109836A4 (en) * 2020-03-17 2023-07-19 Huawei Technologies Co., Ltd. Data transmission method and apparatus
CN113726485A (en) * 2021-07-15 2021-11-30 深圳市有为信息技术发展有限公司 Communication method between multiple processors for commercial vehicle-mounted terminal and vehicle-mounted terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4177514A (en) * 1976-11-12 1979-12-04 General Electric Company Graph architecture information processing system
US4757525A (en) * 1982-09-29 1988-07-12 Vmx, Inc. Electronic audio communications system with voice command features
US6046823A (en) * 1998-03-12 2000-04-04 Avision Inc. Interface control for analog signal processing
US6535018B1 (en) * 2000-07-26 2003-03-18 Cirrus Logic, Inc. Voltage level shifting circuits and methods and systems using the same
US20070112962A1 (en) * 2005-11-14 2007-05-17 Steve Lewontin Network connection establishment using out of band connection request

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5023778A (en) * 1990-03-23 1991-06-11 General Motors Corporation Interprocessor communication method
US6307868B1 (en) * 1995-08-25 2001-10-23 Terayon Communication Systems, Inc. Apparatus and method for SCDMA digital data transmission using orthogonal codes and a head end modem with no tracking loops
US6763017B1 (en) * 1998-09-30 2004-07-13 Cisco Technology, Inc. Method and apparatus for voice port hunting of remote telephone extensions using voice over packet-data-network systems (VOPS)
JP4006871B2 (en) * 1999-02-25 2007-11-14 株式会社デンソー Serial communication device
AUPR604201A0 (en) * 2001-06-29 2001-07-26 Hearworks Pty Ltd Telephony interface apparatus
US7260090B2 (en) * 2002-04-26 2007-08-21 Ontash & Ermac, Inc. Analog gateway
US7996588B2 (en) * 2002-10-04 2011-08-09 Hewlett-Packard Company Method and apparatus for real-time transport of multi-media information in a network
US7313136B2 (en) * 2003-06-26 2007-12-25 Nokia Corporation Method and system establishing a data link layer protocol on a I2C™ physical layer connection
US20040263695A1 (en) * 2003-06-30 2004-12-30 Castillo Mike J. Multi-processor media center
US20060133343A1 (en) * 2004-12-22 2006-06-22 Nokia Corporation Multi homing transport protocol on a multi-processor arrangement
US7778718B2 (en) * 2005-05-24 2010-08-17 Rockford Corporation Frequency normalization of audio signals
US20070015516A1 (en) * 2005-07-12 2007-01-18 Huotari Allen J Access point with location application systems and methods
JP2007026033A (en) * 2005-07-15 2007-02-01 Fujitsu Ltd Semiconductor device and automatic decision method for operation mode of semiconductor device
US8213895B2 (en) * 2005-10-03 2012-07-03 Broadcom Europe Limited Multi-wideband communications over multiple mediums within a network
WO2008001254A1 (en) * 2006-06-26 2008-01-03 Nxp B.V. Method and device for data packing
US20080233869A1 (en) * 2007-03-19 2008-09-25 Thomas Baker Method and system for a single-chip fm tuning system for transmit and receive antennas
CN101861577A (en) 2007-10-02 2010-10-13 无极公司 System and method for inter-processor communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4177514A (en) * 1976-11-12 1979-12-04 General Electric Company Graph architecture information processing system
US4757525A (en) * 1982-09-29 1988-07-12 Vmx, Inc. Electronic audio communications system with voice command features
US6046823A (en) * 1998-03-12 2000-04-04 Avision Inc. Interface control for analog signal processing
US6535018B1 (en) * 2000-07-26 2003-03-18 Cirrus Logic, Inc. Voltage level shifting circuits and methods and systems using the same
US20070112962A1 (en) * 2005-11-14 2007-05-17 Steve Lewontin Network connection establishment using out of band connection request

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2195746A4 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8755309B2 (en) 2007-10-02 2014-06-17 Id8 Group R2 Studios, Inc. System and method for inter-processor communication
US10007637B2 (en) 2010-12-02 2018-06-26 Blackberry Limited Single wire bus system
US9032131B2 (en) 2011-02-04 2015-05-12 Blackberry Limited Systems and methods for encoding control messages in an audio bitstream
US8718806B2 (en) 2011-09-02 2014-05-06 Apple Inc. Slave mode transmit with zero delay for audio interface
EP2581903A1 (en) * 2011-10-12 2013-04-17 Research In Motion Limited Systems and methods for reducing audio disturbance associated with control messages in a bitstream
US8825497B2 (en) 2011-10-12 2014-09-02 Blackberry Limited Systems and methods for reducing audio disturbance associated with control messages in a bitstream
US9252900B2 (en) 2012-06-01 2016-02-02 Blackberry Limited Universal synchronization engine based on probabilistic methods for guarantee of lock in multiformat audio systems
US9479275B2 (en) 2012-06-01 2016-10-25 Blackberry Limited Multiformat digital audio interface
US9672177B2 (en) 2012-06-01 2017-06-06 Blackberry Limited Synchronization of electronic device with another electronic device on bus using synchronization field
US9461812B2 (en) 2013-03-04 2016-10-04 Blackberry Limited Increased bandwidth encoding scheme
US9473876B2 (en) 2014-03-31 2016-10-18 Blackberry Limited Method and system for tunneling messages between two or more devices using different communication protocols
US10422890B2 (en) 2016-01-22 2019-09-24 Canon Kabushiki Kaisha Radiation imaging apparatus, control method of radiation imaging apparatus, and radiation imaging system

Also Published As

Publication number Publication date
JP2010541101A (en) 2010-12-24
KR20100083806A (en) 2010-07-22
CN101861577A (en) 2010-10-13
CA2701205A1 (en) 2009-04-09
EP2195746A4 (en) 2010-12-22
EP2195746A1 (en) 2010-06-16
US20090116475A1 (en) 2009-05-07
EP2195746B1 (en) 2014-03-26
JP5363490B2 (en) 2013-12-11
US8755309B2 (en) 2014-06-17
CA2701205C (en) 2015-04-28
KR101163868B1 (en) 2012-07-13

Similar Documents

Publication Publication Date Title
US8755309B2 (en) System and method for inter-processor communication
US6240084B1 (en) Telephony-enabled network processing device with separate TDM bus and host system backplane bus
AU2006244646B2 (en) Integrated architecture for the unified processing of visual media
US7089390B2 (en) Apparatus and method to reduce memory footprints in processor architectures
US6233643B1 (en) Apparatus including a host processor and communications adapters interconnected with a bus
US7929518B2 (en) Method and system for a gigabit Ethernet IP telephone chip with integrated DDR interface
KR100204076B1 (en) Communications adaptor with multiple interface options
US5649005A (en) PC with telephony exchange function
US20060287742A1 (en) Distributed processing architecture with scalable processing layers
JP3992100B2 (en) Network to increase transmission link layer core speed
US8451827B2 (en) Time-slot interchange circuit
US20110134912A1 (en) System and method for platform resilient voip processing
JPH0595385A (en) Processor for communication
US6178180B1 (en) Communications adapter for processing ATM and ISDN data
EP1540473B1 (en) System and method for network interfacing in a multiple network environment
US20030046458A1 (en) Data transfer equipment and aligner included in data transfer equipment
US20020143969A1 (en) System with multiple network protocol support
CN111046031A (en) Data processing method, system, terminal equipment and storage medium
WO2023169202A1 (en) Video stream data acquisition method and apparatus, and electronic device and computer-readable medium
WO2010020646A2 (en) A method of processing packetised data
CN110601784B (en) TDM interface extension method, device, equipment and readable storage medium
US20230102871A1 (en) Bluetooth voice communication system and related computer program product for generating stereo voice effect
FR2760917A1 (en) Radio communications terminal for communication with GSM network
JP2000156746A (en) Lsi for voice packet processing and voice packet processor
JP2004112192A (en) Transmitter-receiver for ip packet

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200880116333.3

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08836345

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2701205

Country of ref document: CA

Ref document number: 2008836345

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2010528044

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20107009685

Country of ref document: KR

Kind code of ref document: A