Abstract:
A computer apparatus comprising: a plurality of hardware devices. The apparatus also comprising a representation of a functionality which the apparatus is to implement in terms of a plurality of communicating abstract proxy components, means for locating a concrete proxy component corresponding to each abstract proxy component, each concrete proxy component corresponding also to a respective hardware device of the computer apparatus, and means for controlling each of said corresponding hardware devices through interfaces provided by the plurality of concrete proxy components.

Description:
FIELD OF THE INVENTION  
       [0001]     The present invention relates to a method for configuring a computer apparatus.  
       BACKGROUND OF THE INVENTION  
       [0002]     Modern communications terminals typically comprise a heterogeneous collection of hardware devices suited to signal processing. Such devices include Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), and Reconfigurable Hardware (R-HW).  
         [0003]     The rapid growth in the field of communications, and in particular in the field of wireless communications, has resulted in a number of different protocols being adopted. For example, some telecommunications devices use the GSM (Global System for Mobile communication) protocol, while others use UMTS (Universal Mobile telecommunications service) protocol. Conventional communications terminals, comprise fixed signal processing elements which cannot be reconfigured. Such terminals are therefore not able to alter their behaviour so as to handle one protocol in place of an other, and therefore suffer from problems of flexibility.  
         [0004]     Software defined radio allows the operation of a device such as a wireless terminal to be defined at runtime by downloading various software components which execute on suitable microprocessors to affect operation of the terminal. Published U.S. patent application US2002/0144134A1 (Watanabe et al) describes one such software defined radio system.  
         [0005]     In general terms, the transmitted software allows the baseband behaviour of a terminal to be changed. Changes to baseband behaviour can in some cases be total reconfiguration from one protocol to another, for example configuring a terminal to operate using the GSM protocol in place of the UMTS protocol. Alternatively, partial reconfiguration can be carried out, such that behaviour is affected without changing the operating standard.  
         [0006]     WO01/90890 (Roke Manor Research Limited) describes a reconfiguration manager for use in reconfiguring a software defined radio terminal. A reconfiguration handler manages requests from various sources and conducts reconfiguration by downloading appropriate software, and executing this software on appropriate devices within the terminal. WO01/90890 also describes an object-oriented implementation in which suitable classes are downloaded and instantiated to provide the necessary functionality. When reconfiguration results in a first class being replaced with a second class, it is explained that dynamic binding is necessary to support changes in functionality, behaviour and interface.  
         [0007]     Although software defined radio systems such as those described above provide flexibility, they assume that communications terminals will comprise solely of microprocessors which can execute downloaded software to affect behaviour. Current hardware defined radio is therefore built on an assumption that microprocessors be able to execute the necessary software sufficiently quickly. It is widely accepted that although microprocessor performance is increasing in accordance with Moore&#39;s Law (Moore, Gordon E.: “Cramming More Components Onto Integrated Circuits”, Electronics, 19 Apr. 1965), the requirements of wireless technologies will always be greater than can be satisfied by contemporaneous microprocessors. Therefore, to implement necessary communications functions some form of hardware acceleration must be employed using hardware devices such as for example ASICs or R-HW. Current software defined radio can not accommodate such devices.  
         [0008]     Conventionally, a computer program written in a high level programming language is compiled for use on a specific type of computer. Once compiled the computer program will operate only on that type of computer, and will no longer be portable between different computer types. The now widely used Java® programming language provides portable applications by defining a framework where Java source code is “compiled” to generate Java byte-code. Java byte-code is then interpreted by a Java Virtual Machine (JVM) at runtime. Thus, applications compiled into Java byte-code are readily transportable between computer types, assuming that a JVM is provided for that computer type.  
         [0009]     WO/0153932 (Radioscape Limited) describes methods for designing, modelling and performing digital signal processing. More specifically, there is disclosed a virtual machine which allows architecture independent code to be operated on a variety of different DSPs. That is, a virtual machine is provided for a plurality of different DSPs, and code written in a common language can then execute on all these DSPs using the virtual machine. Although such a virtual machine provides considerable benefits in terms of portability of software, the virtual machine must be written to operate on all DSPs, and some low level operations will need to be created individually for all DSPs. Furthermore, WO 01/153932 does not provide a way of providing software defined radio using devices other than microprocessors capable of executing code presented in a well defined instruction set.  
         [0010]     It is an object of the present invention to obviate or mitigate at least some of the problems identified above.  
       SUMMARY OF THE INVENTION  
       [0011]     According to a first aspect of the present invention, there is provided a computer apparatus comprising: 
        a plurality of hardware devices;     a plurality of communicating abstract proxy components representing a functionality which the apparatus is to implement;     means for locating for each abstract proxy component a corresponding concrete proxy component, each concrete proxy component corresponding also to a respective hardware device of the computer apparatus; and     means for controlling each of said corresponding hardware devices through interfaces provided by the plurality of concrete proxy components.        
 
         [0016]     The computer apparatus may be a communications terminal.  
         [0017]     The locating means may comprise means for searching at least one library containing a plurality of concrete proxy components. At least one library may be stored on a data storage device of the computer apparatus. At least one library may be stored on a data storage device remote from the computer apparatus. The computer apparatus may communicate with the at least one library stored on a data storage device remote from the computer apparatus using a wireless link.  
         [0018]     At least one hardware device may be an application specific integrated circuit (ASIC), at least one hardware device may be a reconfigurable hardware element, and at least one hardware device may be a digital signal processor.  
         [0019]     At least one concrete proxy component may include a configuration for a corresponding hardware device.  
         [0020]     The interface provided by a concrete proxy component may be defined by the corresponding abstract proxy component. At least one abstract proxy component may define at least one method which is implemented by the or each corresponding concrete proxy component. At least one abstract proxy component may implement an interface comprising at least one method. Each concrete proxy component corresponding to the at least one abstract proxy component may provide an implementation for the said at least one method. The plurality of abstract proxy components may be implemented as abstract classes. The or each concrete proxy component corresponding to a respective abstract proxy component is a child of the abstract class representing that abstract proxy component. The abstract proxy components may be abstract Java® classes and said concrete proxy components may be Java® classes.  
         [0021]     According to a further aspect of the present invention, there is provided a method for configuring a computer apparatus comprising a plurality of hardware devices, wherein the method comprises: 
        obtaining a plurality of communicating abstract proxy components representing a functionality which the apparatus is to implement;     locating for each abstract proxy component a corresponding concrete proxy component, each concrete proxy component corresponding also to a respective hardware device of the computer apparatus; and     controlling each of said corresponding hardware devices through interfaces provided by the plurality of concrete proxy components.        
 
         [0025]     The invention also provides a data carrier carrying computer readable program code means to cause a computer comprising a plurality of hardware devices to: 
        obtain a plurality of communicating abstract proxy components representing a functionality which the apparatus is to implement;     locate for each abstract proxy component a corresponding concrete proxy component, each concrete proxy component corresponding also to a respective hardware device of the computer apparatus; and     control each of said corresponding hardware devices through interfaces provided by the plurality of concrete proxy components.        
 
         [0029]     According to a second aspect of the present invention, there is provided a method for configuring a computer apparatus comprising first and second hardware devices, the first hardware device defining a first control protocol and the second hardware device defining a second different control protocol and the method comprising: 
        defining an interface for an entity which implements a functionality of the computer apparatus by means of an abstract proxy component;     defining a first implementation for the entity using a first concrete proxy component which is associated with the first hardware device and comprises means to control said first hardware device; and     defining a second implementation for the entity using a second concrete proxy component which is associated with the second hardware device, and comprises means to control said second hardware device;     wherein the abstract proxy component and the first and second concrete proxy components define a common control protocol.        
 
         [0034]     The computer apparatus may be a communications device.  
         [0035]     The abstract proxy component may be represented by an abstract class. Each concrete proxy component may be represented by a class which is a child of the said abstract class. The abstract class may implement an interface defining at least one public method. The term “method” is used in its usual object oriented sense to denote what in an imperative programming language is referred to as a function.  
         [0036]     The method may be implemented using the Java® programming language.  
         [0037]     According to a further aspect of the present invention, there is provided a computer apparatus comprising: 
        first and second hardware devices, the first hardware device defining a first control protocol and the second hardware device defining a second different control protocol;     means for defining an interface for entity which implements a functionality of the computer apparatus by means of an abstract proxy component;     means for defining a first implementation for the entity using a first concrete proxy component which is associated with the first hardware device and which comprises means to control said first hardware device; and     means for defining a second implementation for the entity using a second concrete proxy component being associated with the second hardware device, and comprising means to control said second hardware device;     wherein the abstract proxy component and the first and second concrete proxy components define a common control protocol .        
 
         [0043]     The present invention further provides a data carrier carrying computer readable program code means to cause a computer apparatus comprising first and second hardware devices, the first hardware device defining a first control protocol and the second hardware device defining a second different control protocol to: 
        define an interface entity which implements a functionality of the computer apparatus by means of an abstract proxy component;     define a first implementation for the entity using a first concrete proxy component being associated with the first hardware device; and     define a second implementation for the entity using a second concrete proxy component being associated with the second hardware device, and comprising means to control said second hardware device;     wherein the abstract proxy component and the first and second concrete proxy components define a common control protocol        
 
         [0048]     In the present specification terms normally used in connection with the Java® programming language are used to describe features of the invention. It will be appreciated that the invention is in no way restricted to an implementation using the Java programming language, and terms used to refer to features of the Java programming language should be construed so as to include any equivalent feature of any other programming language. 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0049]     Embodiments of the present invention will now be described, by way of example, with reference to the accompanying drawings, in which:  
         [0050]      FIG. 1  is a schematic illustration of a network of communicating wireless communications terminals;  
         [0051]      FIG. 2  is a schematic illustration showing configuration of the communications terminals of  FIG. 1 , in accordance with the present invention;  
         [0052]      FIG. 3  is a schematic illustration of part of a communications terminal of  FIGS. 1 and 2  showing configuration in accordance with the present invention in further detail;  
         [0053]      FIG. 4  is a schematic illustration of the algorithm map of  FIG. 3 ; and  
         [0054]      FIG. 5  is a UML class diagram showing classes used in the configuration of  FIG. 3 .  
     
    
     DETAILED DESCRIPTION  
       [0055]     Referring first to  FIG. 1 , there is illustrated a plurality of communications terminals  1 , which are configured to communicate with one another, and with other communications terminals not shown in  FIG. 1 . It will be appreciated that the communications terminals can communicate using either wireless or wired means, and may communicate using any one of the wide variety of available communications protocols. Each terminal may, for example, be a mobile telephone, a computer such as a laptop containing suitable communications hardware, or a handheld computer incorporating a mobile telephone.  
         [0056]      FIG. 1  also includes a configuration device  2  which communicates with the terminals  1  using wired, or more preferably wireless connection means  3 . In a known software defined radio system, the configuration device  2  transmits software to one of the communications terminals  1  to affect behaviour of that communications terminal. The software is then executed on microprocessors within the terminal to affect behaviour of the terminal.  
         [0057]     The present invention allows the behaviour of the terminal to be affected not only by executing downloaded software on microprocessors within the terminal, but also by configuring suitable hardware accelerators such as Application Specific Integrated Circuits (ASICs) or Reconfigurable Hardware (R-HW).  
         [0058]      FIG. 2  illustrates configuration in accordance with the present invention. The terminal  1  comprises a local configuration manager  4  executing on a control processor  5 . In general, the control processor  5  runs control tasks to affect behaviour of the terminal  1 . The terminal  1  also comprises a plurality of hardware accelerator processing resources  6  which are dedicated to signal processing tasks. The hardware accelerator processing resources  6  will typically comprise a heterogeneous collection of hardware devices including digital signal processors (DSPs) which are microprocessors capable of executing code specified in a well defined instruction set, and ASICs which are configured using various parameters.  
         [0059]     The terminal communicates with a remote network node  7  by means of a wireless link  8 . The network node comprises a remote configuration manager  9  which can be accessed by the terminal  1  by means of the wireless link  8 .  
         [0060]     The local configuration manager  4  has access to a software component library  10 . The remote configuration manager  9  has access to a remote software component library  11 . Both the local and remote libraries  10 ,  11  store details of devices and configurations for those devices which cause the devices to operate in various ways. The remote software component library  11  is typically the master library, to which new devices and device configurations are added. The local software component library  10  contains details of devices and device configurations which are in use or have been used by the terminal  1 . Additionally, the local software component library  10  contains device configurations required for default behaviour. Data can be copied between the remote software component library  11  and the local software component library  10  as necessary under the control of the configuration managers  4 , 9 .  
         [0061]     In the configuration shown in  FIG. 2  the system comprises both a local configuration manager  4  and a remote configuration manager  9  which communicate over the wireless link  8 . However, it will be appreciated that in some embodiments of the present invention, configuration of the terminal  1  can be carried out solely by the remote configuration manager  9  communicating with the terminal over the wireless link  8 , or alternatively solely by the local configuration manager  4 .  
         [0062]     Configuration using the architecture illustrated in  FIG. 2  allows not only the use of microprocessors such as DSPs, as in conventional software defined radio, but also the use of faster hardware devices such as ASICs.  
         [0063]     The local configuration manager  4  builds application models  12  and hardware models  13  which are built and manipulated using the control processor  5 . The remote configuration manager  9  also has application models  14  and hardware models  15 . The function of these models in the configuration of the terminal  1  is described below with reference to  FIG. 3 .  
         [0064]      FIG. 3  illustrates configuration of the terminal  1 , where the terminal is to implement UMTS radio behaviour. An algorithm map  16  representing UMTS base band behaviour is retrieved from the local library  10  by the local configuration manager  4  executing on the control processor  5 . This algorithm map describes the functions required to implement UMTS behaviour in terms of a data flow model. The algorithm map  16  describes structure (i.e. the manner in which components are connected to provide the necessary functions) and the interface which each component is required to provide. The algorithm map  16  provides this modelling by representing each required component as an abstract proxy component. Each abstract proxy component defines an interface, but no implementation. It is the function of the configuration manager  4  to locate concrete proxy components which provide the interface defined by the abstract proxy, together with an associated implementation. These concrete proxy components provide the software necessary to implement the behaviour of the algorithm map  16 . This process is described below.  
         [0065]     The algorithm map  16  of  FIG. 3  is shown in further detail in  FIG. 4 . It can be seen that UMTS behaviour is defined using three abstract proxy components: a rake receiver proxy  17 , a turbo decoder proxy  18  and a filter proxy  19 . The rake receiver proxy  17  is connected to the turbo decoder proxy  18  by an abstract channel component  20 . The rake receiver proxy  17  is connected to the filter proxy  19  by an abstract channel component  21 .  
         [0066]     Referring again to  FIG. 3 , the configuration manager builds and manages a hardware model  22  representing hardware available on the communications terminal which is being configured. This hardware model  22  models each component of the terminal. In the example of  FIG. 3 , it can be seen that the hardware accelerator resources  6  of the terminal comprise a DSP  23  under the control of a DSP manager  24 , a configurable computer (CC)  25  (an example of R-HW mentioned above) under the control of a CC Manager  26 , and an ASIC  27  under the control of an ASIC manager  28 .  
         [0067]     The configuration manager  4  must locate in the library  10  (or the remote library  11  of  FIG. 2 ), a suitable concrete proxy component for each function defined by an abstract proxy component in the algorithm map of  FIG. 4 . Each concrete proxy component must correspond to a hardware device of the hardware model  22 . When suitable concrete proxy components have been located, an application model  29  is created which is a runtime model of concrete proxy components corresponding to the abstract proxy components specified in the algorithm map  16  is created. Each concrete proxy component interfaces with a corresponding component of the hardware model  22  to allow control of the appropriate hardware accelerator resource  6 .  
         [0068]     The hardware accelerator resources  6  may be configured in different ways. For example, to configure the DSP  23  to provide filter functionality, a block of code  30  written in the DSP&#39;s instruction set is executed on the DSP. To configure the CC  25  to implement a rake receiver, suitable configuration data  31  must be provided to the CC, while the ASIC  27  requires suitable parameters  32  to operate as a turbo decoder. The appropriate configuration data is linked to the respective concrete proxy component within the application model  29 , and supplied to the appropriate manager in the hardware model  22  for configuration of the corresponding hardware accelerator resource  6 .  
         [0069]     It can be seen from the description set out above that a concrete proxy component provides an interface as defined by the abstract proxy to which it corresponds, while providing means for addressing a specific hardware accelerator. Thus, the architecture provides a mechanism for addressing a plurality of different hardware implementations of any given component by means of a respective concrete proxy component, each concrete proxy component defining a common interface to higher level functions. Thus, terminal behaviour can be reconfigured using not only DSPs as in the case of conventional software defined radio, but also using hardware accelerator elements such as ASICs or CCs, assuming that an appropriate concrete proxy component is provided. All concrete proxies are handled in the same way by the configuration manager  4 , and higher level functions can address components in common manner regardless of their underlying implementations.  
         [0070]     The application model  29  is one of the application models  12  of  FIG. 2 , and the hardware model  22  is one of the hardware models  13  of  FIG. 2 . However, if configuration is carried out by the remote configuration manager  9 , the application model  29  would then be one of the models  14  of  FIG. 2  and the hardware model  22  would be one of the models  15  of  FIG. 2 .  
         [0071]      FIG. 5  is a UML class diagram showing the hierarchical relationships between the components described above. At the top of the hierarchy a Proxy interface  33  which defines two public methods. As in the Java Programming language, interfaces define methods which are implemented by classes declared as implementing the interface. The interface itself contains no more than a method header (similar to a function prototype) with no implementation of the method. The use of interfaces in Java will be readily understood by those skilled in the art, and is described in Flanagan, D.: “Java in a nutshell”, 2 nd  Edition, O&#39;Reilly, 1997, pages 77 to 80, this description is herein incorporated by reference.  
         [0072]      FIG. 5  shows that an abstract class RakeReceiverProxy  34  implements the Proxy interface. This means that all instances of this class must provide the public methods described above or delegate provision of these methods to its children. Given that the RakeReceiverProxy class is abstract it can never be instantiated itself, but merely serves as an extra layer in the class hierarchy, and can act as a parent of other classes, any class which is a child of RakeReceiverProxy must then implement any methods specified either in the Proxy interface  33  of the RakeReceiverProxy class  34 , for which no implementation is provided in the class  33 . This use of abstract classes in an object oriented inheritance hierarchy will be readily understood by those skilled in the art, and is described in Java in a Nutshell, referenced above, at pages 49 to 101.  
         [0073]     Any class having RakeReceiverProxy as its parent must provide the methods getActualExectionTime( ) and getActualPowerConsumption( ) specified by the Proxy interface, given that the RakeReceiverProxy does not implement these methods itself. Thus, the RakeReceiverProxy class delegates implementation of these methods to its children.  
         [0074]     In  FIG. 5 , the RakeReceiverProxy class has two child classes RakeDSP  35  and RakeASIC  36 . Both these concrete classes implement the getActualExectionTime( ) and getActualPowerConsumption( ) specified in the ProxyInterface  33 . Any concrete proxy component representing a rake receiver is a child of the abstract class  34 . Thus all proxy components representing rake receivers present a unified interface to the outside world.  
         [0075]     The RakeDSP class  35  is a concrete proxy component which implements a rake receiver on a DSP. The RakeASIC class  36  is a concrete proxy component which implements a rake receiver on an ASIC. Thus the classes  35 ,  36  could be included in an application model of the form illustrated in  FIG. 3 .  
         [0076]     In the description set out above, the algorithm map has been described as being implemented in terms of a plurality of abstract proxy components, each of which is an abstract Java class. It will be appreciated that the algorithm map can be implemented in any number of ways which provide the necessary behavioural specification. For example, in some embodiments of the invention, the algorithm map is implemented as a plain text document, written in accordance with a predefined syntax.  
         [0077]     It will be appreciated that in some embodiments of the present invention, a plurality of different algorithm maps may be provided, each corresponding to a different functionality which the terminal is to implement. In such embodiments, the terminal can be reconfigured by selecting an appropriate algorithm map from a library and building an application model containing concrete proxy components corresponding to the abstract proxy components of that algorithm map. For example, algorithm maps for both GSM and UMTS functionality can be provided, and the terminal can then be configured to provide either functionality by creating an appropriate application model in the manner described above. It will be appreciated that in some circumstances it may be desirable for a plurality of application models to be created for use in parallel, so that, for example, both GSM and UMTS functionality can be provided concurrently.  
         [0078]     Although parts of the description set out above make reference to the Java programming language, it will be readily appreciated by one skilled in the art that any other object oriented programming language could be used in a similar way. Furthermore, the invention is not restricted to an object oriented implementation, but could be implemented, in any suitable computer programming language.