Method, system, and medium for providing interprocessor data communication

Information

  • Patent Application
  • 20070198879
  • Publication Number
    20070198879
  • Date Filed
    January 17, 2007
    17 years ago
  • Date Published
    August 23, 2007
    17 years ago
Abstract
A method of transmitting data between processors, including: establishing and storing an encoding method for each area of virtual address space of a first processor in a predetermined storage device; determining an area of virtual address space corresponding to data to be transmitted to a second processor; and determining the encoding method corresponding to the determined area of the virtual address space with reference to the storage device and transmitting the data to the second processor by using the determined encoding method.
Description

BRIEF DESCRIPTION OF THE DRAWINGS

The above and/or other aspects, features, and advantages of the present invention will become apparent and more readily appreciated from the following description of exemplary embodiments, taken in conjunction with the accompanying drawings of which:



FIG. 1 is a diagram illustrating a network connection of an MPSoC according to an exemplary embodiment of the present invention;



FIG. 2 is a flowchart illustrating operations of a data transmission system when a processor supports a virtual memory, according to an exemplary embodiment of the present invention;



FIG. 3 is a diagram illustrating an example of a Translation Lookaside Buffer (TLB) according to an exemplary embodiment of the present invention;



FIG. 4 is a flowchart illustrating operations of a data transmission system when a processor does not support a virtual memory, according to an exemplary embodiment of the present invention;



FIG. 5 is a diagram illustrating a storage device according to an exemplary embodiment of the present invention;



FIG. 6 is a flowchart illustrating operations of the data transmission system when a processor is a data input/output unit, according to an exemplary embodiment of the present invention;



FIG. 7 is a block diagram illustrating a configuration of the data transmission system according to an exemplary embodiment of the present invention;



FIG. 8 is a diagram illustrating a process of transmitting encoding method information by using an expanded bus, according to an exemplary embodiment of the present invention;



FIG. 9 is a diagram illustrating a process of transmitting encoding method information by using a conventional bus; and



FIG. 10 is a diagram illustrating an example of a plurality of encoding circuits included in the data transmission system according to an exemplary embodiment of the present invention.


Claims
  • 1. A method of transmitting data between processors, comprising: establishing and storing an encoding method for each area of virtual address space of a first processor in a predetermined storage device;determining an area of virtual address space corresponding to data to be transmitted to a second processor; anddetermining the encoding method corresponding to the determined area of the virtual address space with reference to the storage device and transmitting the data to the second processor by using the determined encoding method.
  • 2. The method of claim 1, further comprising transmitting information on the determined encoding method to the second processor, wherein the second processor decodes the transmitted data according to the information on the encoding method.
  • 3. The method of claim 1, wherein the storage device is a Translation Lookaside Buffer (TLB).
  • 4. The method of claim 3, further comprising transmitting the data by using a default encoding method when the encoding method corresponding to the determined area of the virtual address space is not determined in the TLB.
  • 5. The method of claim 1, wherein, in the establishing and storing an encoding method for each area of a virtual address space of a first processor in a predetermined storage device, the encoding method is established and stored for the each area of the virtual address space when generating a task of a minimum execution unit, having an independent virtual address space.
  • 6. The method of claim 1, wherein, in the establishing and storing an encoding method for each area of a virtual address space of a first processor in a predetermined storage device, information on a kind of the data is received from an application program, and the encoding method is established for the each area of the virtual address space by using the information.
  • 7. A method of transmitting data between processors, comprising: establishing and storing an encoding method for each area of physical address space of a first processor in a predetermined storage device;determining an area of physical address space corresponding to data to be transmitted to a second processor; anddetermining the encoding method corresponding to the determined area of the physical address space with reference to the storage device and transmitting the data to the second processor by using determined encoding method.
  • 8. The method of claim 7, further comprising transmitting information on the determined encoding method to the second processor, wherein the second processor decodes the transmitted data according to the information on the encoding method.
  • 9. A method of transmitting data between processors, comprising: establishing and storing an encoding method for each of a plurality of processors in a predetermined storage device;determining the encoding method corresponding to a first processor to which the data is transmitted, with reference to the storage device and transmitting the data to a second processor by using the determined encoding method; andtransmitting information on the determined encoding method to the second processor,wherein the second processor decodes the transmitted data according to the information on the encoding method.
  • 10. At least one computer readable recording medium in which instructions for executing a method of transmitting data between processors is stored, the method comprising: establishing and storing an encoding method for each area of virtual address space of a first processor in a predetermined storage device;determining an area of virtual address space corresponding to data to be transmitted to a second processor; anddetermining the encoding method corresponding to the determined area of the virtual address space with reference to the storage device and transmitting the data to the second processor by using the determined encoding method.
  • 11. A system for transmitting data between processors, comprising: a storage device storing an encoding method established for each area of virtual address space of a first processor; anda data transmission control module determining an area of virtual address space corresponding to the data to be transmitted to a second processor, determining an encoding method corresponding to the determined area of the virtual address space with reference to the storage device, and transmitting the data to the second processor by using the determined encoding method.
  • 12. system of claim 11, wherein: the data transmission control module transmits information on the determined encoding method to the second processor; andthe second processor decodes the transmitted data according to the information on the encoding method.
  • 13. The system of claim 11, wherein the storage device is a TLB.
  • 14. The system of claim 13, wherein the data transmission control module transmits the data by using a default encoding method when the encoding method corresponding to the determined area of the virtual address space is not determined in the TLB.
  • 15. A system for transmitting data between processors, comprising: a storage device storing an encoding method established for each area of physical address space of a first processor; anda data transmission control module determining an area of physical address space corresponding to the data to be transmitted to a second processor, determining an encoding method corresponding to the determined area of the physical address space with reference to the storage device, and transmitting the data to the second processor by using the determined encoding method.
  • 16. The system of claim 11, wherein: the data transmission control module transmits information on the determined encoding method to the second processor; andthe second processor decodes the transmitted data according to the information on the encoding method.
  • 17. A system for transmitting data between processors, comprising: a storage device storing an encoding method established for each of a plurality of processors in a predetermined storage device; anda data transmission control module determining an encoding method corresponding to a first processor to which the data is transmitted, with reference to the storage device, transmitting the data to a second processor by using the determined encoding method; and transmitting information on the determined encoding method to the second processor,wherein the second processor decodes the transmitted data according to the information on the encoding method.
  • 18. At least one computer readable recording medium in which instructions for executing a method of transmitting data between processors is stored, the method comprising: establishing and storing an encoding method for each area of physical address space of a first processor in a predetermined storage device;determining an area of physical address space corresponding to data to be transmitted to a second processor; anddetermining the encoding method corresponding to the determined area of the physical address space with reference to the storage device and transmitting the data to the second processor by using determined encoding method.
Priority Claims (1)
Number Date Country Kind
10-2006-0012227 Feb 2006 KR national