GB2542988B - Embedded computing device comprising processing units interfaced with a shared information space - Google Patents
Embedded computing device comprising processing units interfaced with a shared information space Download PDFInfo
- Publication number
- GB2542988B GB2542988B GB1700416.9A GB201700416A GB2542988B GB 2542988 B GB2542988 B GB 2542988B GB 201700416 A GB201700416 A GB 201700416A GB 2542988 B GB2542988 B GB 2542988B
- Authority
- GB
- United Kingdom
- Prior art keywords
- processing unit
- information space
- processing
- control signal
- shared information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations 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
- G06F15/163—Interprocessor communication
- G06F15/167—Interprocessor communication using a common memory, e.g. mailbox
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3293—Power saving characterised by the action undertaken by switching to a less power-consuming processor, e.g. sub-CPU
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations 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
- G06F15/163—Interprocessor communication
- G06F15/173—Interprocessor communication using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake
- G06F15/17306—Intercommunication techniques
- G06F15/17331—Distributed shared memory [DSM], e.g. remote direct memory access [RDMA]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/78—Architectures of general purpose stored program computers comprising a single central processing unit
- G06F15/7807—System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Multimedia (AREA)
- Computing Systems (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Power Sources (AREA)
- Telephone Function (AREA)
- Multi Processors (AREA)
Description
EMBEDDED COMPUTING DEVICE COMPRISING PROCESSING UNITS INTERFACED WITH A SHARED INFORMATION SPACE
FIELD OF INVENTION
[0001] The present invention in general relates, for example, to implementing multicore or multi-chip solutions in devices intended to be used by humans through user interfaces.
BACKGROUND OF INVENTION
[0002] Embedded devices generally comprise objects that contain an embedded computing system, which may be enclosed by the object. The embedded computer system may be designed with a specific use in mind, or the embedded computer system may be at least in part general-purpose in the sense that a user may be enabled to install software in it. An embedded computer system may be based on a microcontroller or microprocessor CPU, for example.
[0003] Embedded devices may comprise one or more processors, user interfaces and displays, such that a user may interact with the device using the user interface. The user interface may comprise buttons, for example. An embedded device may comprise a connectivity function configured to communicate with a communications network, such as, for example, a wireless communications network.
[0004] More complex embedded devices, such as cellular telephones, may allow a user to install applications into a memory, such as, for example, a solid-state memory, comprised in the device. Embedded devices are frequently resource-constrained when compared to desktop or laptop computers. For example, memory capacity may be more limited than in desktop or laptop computers, processor computational capacity may be lower and energy may be available from a battery. The battery, which may be small, may be rechargeable.
[0005] An embedded device may be enabled to receive from a communications network information relating to, for example, a current time and current time zone. In the context of multiple processors in embedded devices, also the communication between processors and the memory they use becomes an issue. A fundamental question of traditional parallel computer design is to select between the two parallel computing paradigms: [0006] Shared Memory - Usually via threads, all processors can access all memory directly at any time, and
Distributed Memory - A processor can access only its own memory, but processors can share data using message passing, as in the NUMA (Non Uniform Memory Access) architecture.
[0007] For various reasons and design considerations, an embedded system may comprise more than one processor and/or microcontroller. In consumer devices, one of the processors may be dedicated for specific tasks, such as for digital signal processing (DSP) or graphics processing, or the processors may be have multiple cores for processing power. However, in small consumer devices, where conserving battery power is a task competing with power requirements, the number of processors must usually be kept as small and their power consumption as low as possible. As the development is towards embedded and distributed computing, which may include a multitude of sensors and connectivity needs with other peripheral devices, the traditional one-processor approach is not always possible, in practice the processors may, although embedded, be more like independent computers with a variety of processes and tasks to perform.
[0008] For example, a multitude of sensors, or a sensor hub containing or supporting such sensors, may be connected to a low power microcontroller running its independent applications for collecting and displaying basic information. A main processing unit running more computing-intensive applications, like color displays and graphics-intensive software, may be then waked up only on request, thus saving energy.
[0009] Asynchronous operation accounts for unpredictability in events and their timing. Concurrency may occur when peripherals like sensors share and may interrupt the same processor, or when multiple processors share the same memory. A major job of an operating system is to manage concurrent operations and the running applications. Concurrency control has however also become an integral part of many applications through multi- thread processes and their memory sharing algorithms that are working on memory pools or heaps.
[0011] There is a general problem in implementing communication in embedded multi-processor solutions in devices, i.e. how to enable the processors and their applications running on them to send, share and retrieve information between themselves, both on an ad-hoc (asynchronous) basis and concurrently. There are also specific problems in low-power embedded devices regarding the division of tasks and optimization of the power consumption of the processors.
[0012] It is an object of at least some of the embodiments of the present invention to provide a solution to interoperability and data sharing issues relating to embedded systems. The inventive idea is based on the use of a common information resource, hereafter a whiteboard, which is shared by different processors, processes and/or threads. The processes may be running in embedded devices themselves, on servers or on the internet. The whiteboard may be shared by a multitude of such devices. By managing the resources of such a memory e g. by formatting and mapping techniques, naming and name space conventions and/or interface segmentation, the whiteboard may be used to improve interoperability and data sharing between different processors such as identified above, and the applications running on them.
SUMMARY OF THE INVENTION
[0013] The invention is defined by the features of the independent claims. Some specific embodiments are defined in the dependent claims.
[0014] Definitions
For the purpose of correct understanding of the various terms and components used in the following description, a non-exhaustive list of definition is offered as follows: logical memory unit - a memory space accessible to a processing unit via a mapping or translating function - may be shared between two or more processing units sensor hub - a unit (e.g. a microcontroller) that integrates and processes data from a multitude of sensors whiteboard - a shared information space, shared between any number of said processing unit being interfaced with it. A whiteboard acts as a shared memory space, but may work differently for different processes and applications according to their needs [0015] According to a first aspect of the present invention, there is provided an apparatus comprising: at least one first processing unit configured to run a first computer program application capable of receiving and processing signals received from at least one interface or device connected to said first processing unit and to write data retrieved from said processed signals to an information space; at least one second processing unit configured to run a second computer program application capable of further processing at least some information processed in said first processing unit, to receive a notification about said data written to said information space provided by an interrupt signal raised by said at least one first processing unit, and to retrieve from said information space said data written by said first processing unit for further processing; wherein said information space is shared between and interfaced with said first and second processing units and said first application is further configured to write a control signal to said information space and to notify the second application running in the second processing unit of said control signal, whereby said second application is configured to read the control signal from said information space and cause the second processing unit to enter a hibernation state in order to reduce the power consumption of the apparatus.
[0016] Various embodiments of the first aspect may comprise at least one feature from the following bulleted list: • the first processing unit is electrically interfaced with at least one of: a user interface, an external memory unit, a wireless communications port, a first wired communications port, satellite positioning circuitry, a magnetometer, a gyroscope, an accelerometer and a pressure sensor; • the second processing unit is electrically interfaced with at least one of: a display, an external memory unit, a sensor, a cellular communication circuitry, a non-cellular wireless communication circuitry and a second wired communications port; • the shared information space consists of at least one random access memory unit interfaced with each processing unit, wherein the memory units are configured to communicate between each other by a data interchange protocol; • the shared information space consists of at least one random access memory unit interfaced with at least the first and the second processing unit, wherein the memory unit is configured to serve as a logical memory unit with at least one address space mapped to both the first and the second processing unit; • the apparatus comprises additionally at least one random access memory unit interfaced with at least the first and the second processing unit, wherein said random access memory is configured to receive address data written by said first processing unit that is pointing to an address in said external memory space, and said external memory space is configured to receive data written by said first processing unit at said address, whereby said second processing unit is configured to read the written address in said random access memory and to fetch data from said shared information space at said address; • a first application running on said first processing unit is adapted to write a current value of a parameter, such as time, to an address in said information space, and a second application running on said second processing unit is adapted to retrieve the parameter value from said information space; • a second application running on said second processing unit is adapted to put a request for the value of a parameter to be written in said information space, whereby a first application running on said first processing unit is adapted to write the parameter value to an address in said information space, and whereby said second application is adapted to fetch the parameter value from said address; • a first application running on said first processing unit overwrites in a constant and frequent fashion the previous value of a parameter with a current value in said information space; • a first application running on said first processing unit writes a value of a parameter valid for a period of time to an address in said information space, to be accessible for any application running in the apparatus and capable of reading said address; • a first application running in the first processing unit is further configured to write a control signal to said information space and to notify a second application running in the second processing unit of said control signal, whereby said second application is configured to fetch the control signal from said information space and cause the second processing unit to enter a hibernation state; • the first processing unit and the second processing unit have cores that are comprised in the same integrated circuit • the first processing unit is has a microcontroller and the second processing unit has a microprocessor, the microcontroller being external to the microprocessor and the microprocessor being external to the microcontroller.
According to a second aspect of the present invention, there is provided an apparatus comprising: at least one first processing unit configured to run a first computer program application capable of receiving and processing signals received from at least one interface or device connected to said first processing unit and to write data retrieved from said processed signals to an information space; at least one second processing unit configured to run a second computer program application capable of further processing at least some information processed in said first processing unit, to receive a notification about said data written to said information space, and to retrieve from said information space said data written by said first processing unit for further processing; wherein said information space is shared between and interfaced with said first and second processing units and said first application is further configured to write a control signal to said information space and to notify the second application running in the second processing unit of said control signal by writing to at least one random access memory unit, which is interfaced with said first and second processing units, address data that points to an address in said shared information space, whereby said second application is configured to read the control signal from said information space and cause the second processing unit to enter a hibernation state in order to reduce the power consumption of the apparatus.
[0017] According to a third aspect of the present invention, there is provided a method for reducing the power consumption of a device comprising the steps of: providing, in said device, a shared information space between at least a first processing unit configured to run a first computer program application capable of receiving signals from at least one interface or device connected to said first processing unit, and at least one second processing unit configured to run a second computer program application capable of further processing at least some information processed in said first processing unit; enabling said first computer program application to write data retrieved from said processed signals to said shared information space; enabling said second computer program application to receive a notification of said data written to said shared information space provided by an interrupt signal raised by said at least one first processing unit, and to read and further process said data stored in said shared information space; writing a control signal from said first processing unit to said shared information space; notifying said second processing unit of said control signal; reading by said second processing unit the control signal from said information space, and causing said second processing unit to enter a hibernation state based on said control signal, in order to reduce the power consumption of the apparatus.
[0018] Various embodiments of the third aspect may comprise at least one feature from the following bulleted list: • the first processing unit is interfaced with at least one of: a user interface, an external memory unit, a wireless communications port, a wired communications port, satellite positioning circuitry, a magnetometer, a gyroscope, an accelerometer and a pressure sensor; • the second processing unit is electrically interfaced with at least one of: a display, an external memoiy unit, a cellular communication circuitry, non-cellular wireless communication circuitry and a second wired communications port; • the shared information space consists of at least one random access memory unit interfaced with each processing unit, and wherein the memory units are configured to communicate between each other by a data interchange protocol; • the shared information space consists of at least one random access memory unit interfaced with at least the first and the second processing unit, and wherein the memory unit is configured to serve as a logical memory unit with at least one address space mapped to both the first and the second processing unit; • the shared information space consists of an external memory space interfaced with at least the first and the second processing unit, and wherein said external memory space is configured to serve as a logical memory unit with at least one address space mapped to both the first and the second processing unit; • at least one random access memory unit being interfaced with at least the first and the second processing unit, receiving in said random access memory address data written by said first processing unit that is pointing to an address in said external memory space, receiving in said external memory space data written by said first processing unit at said address, reading in said second processing unit the written address in said random access memory, fetching by said second processing unit data from said shared information space at said address; • a first application running on said first processing unit is adapted to write the current value of a parameter, such as time, to an address in said information space, and a second application running on said second processing unit being adapted to retrieve the parameter value from said information space; • a second application running on said second processing unit is adapted to request for the value of a parameter to be written in said information space, whereby a first application running on said first processing unit is adapted to write the parameter value to said address, and whereby said second application is adapted to fetch said parameter value from said address; • the first application running on said first processing unit is adapted to overwrite in a constant and frequent fashion the previous value of a parameter with a current value in said information space; • a first application running on said first processing unit being adapted to write a value of a parameter valid for a period of time to an address in said information space, to be accessible for any application running in the apparatus capable of reading said address; • a first application running in the first processing unit is further configured to: - writing a control signal to said information space, and - notifying a second application running in the second processing unit of said control signal, and said second application running in the second processing unit is configured to fetch the control signal from said information space and cause the second processing unit to enter a hibernation state.
According to a fourth aspect of the present invention, there is provided a method for reducing the power consumption of a device, comprising the steps of: providing, in said device, a shared information space between at least a first processing unit configured to run a first computer program application capable of receiving signals from at least one interface or device connected to said first processing unit, and at least one second processing unit configured to run a second computer program application capable of further processing at least some information processed in said first processing unit; enabling said first computer program application to write data retrieved from said processed signals to said shared information space; enabling said second computer program application to receive a notification of said data written to said shared information space, and to read and further process said data stored in said shared information space; writing a control signal from said first processing unit to said shared information space; notifying said second processing unit of said control signal by writing to at least one random access memory unit, which is interfaced with said first and second processing units, address data that points to an address in said shared information space; reading by said second processing unit the control signal from said information space, and causing said second processing unit to enter a hibernation state based on said control signal, in order to reduce the power consumption of the apparatus.
[0019] According to a fifth aspect of the present invention, there is provided an apparatus comprising: in a first processing unit, means for receiving and processing signals received from at least one interface or device connected to said first processing unit; means for enabling the first processing unit to write data retrieved from said processed signals to a shared information space, means for notifying a second processing unit that data has been written to said shared information space provided by an interrupt signal raised by said at least one first processing unit, in said second processing unit, means to enable said second processing unit to read from said shared information space data written by said first processing unit, means to enable further processing of at least some information read from said shared information space being processed in said first processing unit, and means for further processing of said read data in said second processing unit, and when said data includes a control signal aimed to reduce the power consumption of the apparatus, causing the second processing unit to enter a hibernation state.
[0020] According to a sixth aspect of the present invention, there is provided computer program configured to cause a method in accordance with at least one of the method claims to be performed, when run.
Industrial Applicability [0021] At least some embodiments of the present invention find industrial application in embedded multi-chip or multi-core and memory usage optimization thereof.
BRIEF DESCRIPTION OF THE DRAWINGS
[0022] FIGURE 1 illustrates an example of an embedded device having two processors and a number of peripherals; [0023] FIGURE 2 illustrates a first example apparatus capable of supporting at least some embodiments of the present invention; [0024] FIGURE 3 illustrates a second example apparatus capable of supporting at least some embodiments of the present invention.
DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS
[0025] FIGURE 1 illustrates an example of a modem embedded device having two processors 110 and 120, each of which comprises at least one processor core. 110 corresponds to, for example, to a less capable processor of a microcontroller consuming less power, and 120 corresponds to, for example, a more capable microprocessor consuming more power. The processors have a number of peripherals, such as user interfaces, sensors and displays. A user may interact with the device using the user interfaces, which may comprise buttons, for example. An embedded device may comprise a connectivity function configured to communicate with a communications network, such as, for example, a wireless communications network. Some embodiments of the present invention may include a similar device like the one in FIGURE 1, with modifications according to the invention in order to allow the processors and the applications running on them to communicate with each other, as described below.
[0026] The less capable or the more capable one of the processing units may be configured to control, at least in part, the other processing unit. For example, the less capable processing unit having a less capable processing core, may be enabled to cause the more capable processing unit, to transition into and from a hibernating state. These transitions may be caused to occur by signalling via an inter-processing unit interface, such as for example a whiteboard interface.
[0027] The illustrated apparatus comprises a microcontroller 110 and a microprocessor 120. Microcontroller 110 may comprise, for example, a Renesas (RTM) RL78 or Toshiba (RTM) TLCS-870 microcontroller, or similar. Microprocessor 120 may comprise, for example, a Qualcomm (RTM) Snapdragon (RTM) processor or an ARM (RTM) Cortex-based (RTM) processor. Microcontroller 110 and microprocessor 120 are in the example of Fig. 1 communicatively coupled with a prior art inter-processing interface 115 , which in this case may comprise, for example, a serial or a parallel communication interface.
[0028] Each processing unit may comprise one or multiple uniform or heterogeneous processor cores and/or different volatile and non-volatile memories. For example, device 110 may comprise a microcontroller with at least one processing core. It is also possible to integrate the two processors 110 and 120 into the same processing unit or chip, but functionally this may not make any difference to what has been said above about the two processors.
[0029] Each of the processing units may be enabled to control a display 130 of the device. The more capable processing unit 120 may be configured to provide a richer visual experience via the display. The less capable processing unit 110 may be configured to provide a reduced visual experience via the display. An example of a reduced visual experience is one which is black-and-white. An example of a richer visual experience is one which uses colours. Colours may be represented with 16 bits or 24 bits, for example.
[0030] Microcontroller 110 is communicatively coupled, in the illustrated example, with a buzzer 170, a universal serial bus, USB, interface 180, a pressure sensor 190, an acceleration sensor 1100, a gyroscope 1110, a magnetometer 1120, satellite positioning circuitry 1130, a Bluetooth interface 1140, user interface buttons 1150 and a touch interface 1160. Pressure sensor 190 may comprise an atmospheric pressure sensor, for example. Further examples of peripherals that may be coupled to the microcontroller 110 include an external flash memory 1190, or a sensor hub (not shown) containing or supporting sensors, for example. Such sensor hubs may include processors for providing radio connectivity to Bluetooth (RTM) or GPS/Glonass (GNSS) (RTM) circuitry, or the hub may be connected to sensor devices having in-built radio connectivity.
[0031] Microprocessor 120 is communicatively coupled with an optional cellular interface 140, a non-cellular wireless interface 150 and a USB interface 160. Microprocessor 120 is further communicatively coupled, via microprocessor display interface 122, with display 130. Microcontroller 110 is likewise communicatively coupled, via microcontroller display interface 122, with display 130. Microprocessor display interface 122 may comprise communication circuitry comprised in microprocessor 120. Microcontroller display interface 112 may comprise communication circuitry comprised in microcontroller 110.
[0032] Microcontroller 110 may be configured to determine whether triggering events occur, wherein responsive to the triggering events microcontroller 110 may be configured to cause microprocessor 120 to transition into and out of the hibernating state described above. When microprocessor 120 is in the hibernating state, microcontroller 110 may control display 130 via microcontroller display interface 122. Microcontroller 110 may thus provide, when microprocessor 120 is hibernated, for example, a reduced experience to a user via display 130.
[0033] At least two elements illustrated in FIGURE 1 may be integrated on a same integrated circuit. For example, microprocessor 120 and microcontroller 110 may be disposed as processing cores in a same integrated circuit. Where this is the case, for example, cellular interface 140 may be a cellular interface of this integrated circuit, comprised in this integrated circuit, with cellular interface 140 being controllable by microprocessor 120 but not by microcontroller 110. In other words, individual hardware features of the integrated circuit may be controllable by one of microcontroller 110 and microprocessor 120, but not both. On the other hand, some hardware features may be controllable by either processing unit. For example, USB interface 160 and USB interface 180 may be in such an integrated embodiment one and the same USB interface of the integrated circuit, controllable by either processing core.
[0034] In FIGURE 1 are further illustrated memory 1170 and memory 1180. Memory 1170 is used by microprocessor 120, and may be based on random access memory technology, such as DDR2 or DDR3, for example. Memory 1180 is used by microcontroller 110, and may be based on SRAM technology, for example.
[0035] FIGURE 2 illustrates an example of an inventive solution where a first processing unit 210 is configured to run computer program applications 260A and 260B and is capable of receiving, processing and delivering information to and from a physical whiteboard memory 240. Likewise, a second processing unit 220 is configured to run computer program applications 260C - 260E and is capable of receiving, processing and delivering information to and from a physical whiteboard memory 250. External devices 270A-270D, such as user interfaces, sensors, measuring instruments or timing devices are capable of delivering information to the physical whiteboard memory units 240 and 250.
[0036] The two physical whiteboards 240 and 250 form together an intra-device logical whiteboard 230 which is a uniquely addressable memory space for both processing units 210 and 220, and consisting of at least the two physical whiteboards 240 and 250, and any further required memory circuitry (not shown). A logical whiteboard need of course to be mapped onto the physical entities that it consists of. The first and second processing units 210 and 220 are thus being connected to the logical whiteboard 230 to send information delivered by an application running in any of the processing units to a second application running in the other processing unit.
[0037] A whiteboard may thus be seen as a middleware between processors, which may have their own operating systems and applications, but a common memory space. Logical mapping of a whiteboard may be done by reserving separate name spaces for different entities, like sensors etc. Interface mapping may be required for different programming domains, for example for JavaScript (RTM), Java (RTM) and Objective-C (RTM).
[0038] For example, a sensor or data provider 270B writes data A1 (e.g. the time, updated every second) to the logical whiteboard 230, to an address residing in the physical memory 240 of the first processing unit 210. A consumer application 260D running in the second processing unit 220 fetch the time information from the physical memory 250 at A2. The communication between the physical memories (and all other whiteboard memories) is handled by an data interchange (inter-whiteboard) protocol, that may be run on top of a bus 280 controlled by a bus controller protocol, like the I2C protocol, for example. I2C may be used for attaching low-speed peripherals (slave nodes) to processing units and microcontrollers (master nodes) in embedded systems. The I2C bus has two roles for nodes: master and slave. The bus is a multi-master bus, which means any number of master nodes can be present. Master and slave roles may also be changed between messages. The four potential modes of operation for a given bus device are : • master transmit — master node is sending data to a slave • master receive — master node is receiving data from a slave • slave transmit — slave node is sending data to the master • slave receive — slave node is receiving data from the master [0039] The bus 280 or a common external memory 290 may provide a means for first processing unit to notify the second processing unit that data has been written to a shared information space. An interrupt signal line in the bus 280 may be raised by the first processing unit 210 to provide such notification. The second processing unit 220 may then fetch the data from an agreed address in the whiteboard 230. Alternatively, the first processing unit 210 may be interfaced to a random access memory unit 290 that is also interfaced with the second processing unit 220. Such a memory unit may be an external flash memory unit 1190 as described in connection with Fig. 1, but now and according to the invention interfaced with both processing units 210 and 220. The random access memory unit 290 is configured to receive data written by the first processing unit 210. The data written may be a pointer to an address in the whiteboard 230, for example. The whiteboard 230 is configured to receive the actual payload data written by the first processing unit at said pointer address. The second processing unit may then, once notified of the availability of the address in memory unit 290, read the address from memory unit 290 and fetch the payload data from the whiteboard at the pointed-to address.
[0040] Preferably, if the processing units 210 and 220 are residing in separate devices or housings, such as a wristop computer and a handheld or fixedly mounted display device for example, the bus 280 may be implemented in a wireless fashion by using a wireless communication protocol. Radio transceiver units (units 150 and 1140 of Fig. 1) functionally connected to their respective processing units may thus perform the function of the bus 280. The wireless communication protocol can be one used for communication between computers, and/or between any remote sensors, such as a Bluetooth LE or the proprietary ANT+ protocol. These are using direct-sequence spread spectrum (DSSS) modulation techniques and an adaptive isochronous network configuration, respectively. Enabling descriptions of necessary hardware for various implementations for wireless links are available e.g. from the Texas Instrument®’s handbook “Wireless Connectivity” which includes IC circuits and related hardware configurations for protocols working in sub-1- and 2.4-GHz frequency bands, such as ANT(RTM), Bluetooth®, Bluetooth® low energy, RFID/NFC, PurePath (RTM) Wireless audio, ZigBee®, IEEE (RTM) 802.15.4, ZigBee (RTM) RF4CE, 6L0WPAN, Wi-Fi®.
[0041] Another example is shown as a consumer application 260C places at B1 a subscription for data (e.g. GPS data) to the whiteboard. The GPS unit at 270A provides the position coordinates at B2, and the application 260C is notified of the availability of the data at B3. The notification may include the data itself, or it may contain a pointer to a place where the data can be retrieved, as explained above. In a further embodiment, an application 260B running in the first processing unit 210 is configured to write at Cl a control signal to the whiteboard 230, and a second application 260E running in the second processing unit 220 is configured at C2 to read the control signal from the whiteboard 230 and cause the core of the second processing unit 220 to enter a hibernation state. This is a method to provide for a significant reduction in the power consumption of the device. Examples of situations when the processing unit 220 need not be active and its core may be put into a hibernation state are when only background processing of timing and/or sensor devices are required with no or little displaying or communication needs. Activation of the processing unit 220 from a hibernation state, e.g. when the user starts a data-intensive application, may be done in a number of ways, which are outside the scope of the present invention.
[0042] The information written to the whiteboard may be a result from automatic inputs from providers, such as time, heart rate or acceleration, for example. The information may in such instances be volatile, i.e. it may be constantly overwritten with current updates. A consumer application (e.g. a heart rate belt) may need then to retrieve the time from the whiteboard and timestamp pulse readings, e.g. in order to store data for a heart rate diagram over time. Alternatively, the data may be requested by a client - e.g. storm alert, a compass reading, etc. In such a case, a provider 270 gets order to start working, and the client application 260 fetches the information and displays the alert or reading on a display.
[0043] In FIGURE 3 is shown an alternative embodiment of the inventive solution to provide for a shared memory for multiple processors and their applications. The devices are here grouped for clarity into peripherals 310, devices 320, mobile applications 330 and a cloud computing platform 340. Here, various processing units 360 or “consumers” are connected to an inter-device whiteboard 350 as a shared memory platform, while various data “providers” 370, such as sensors and user interfaces, are likewise connected to the same whiteboard 350. According to the same examples as in Fig. 2, a provider 370 writes at A1 the current time to the whiteboard 350. A consumer application 360 running in a device 320 fetch the time information at A2, as a matter of routine or otherwise, from the whiteboard 350. The management of such an inter-device whiteboard may, for example, be based on a system like REST (Representational State Transfer) protocol, which is a coordinated set of constraints applied to the design of components in distributed systems, and well known in web-based services.
[0044] From the examples shown in FIGURES 2 and 3, it is evident that physically, a whiteboard may any kind of accessible memory, i.e. a processor-specific interconnected memory, a shared memory device, or a memory space available on a computer network, such as the internet.
[0045] In the second example, a mobile application 330 places a request for data at Bl, a data provider 370 operating from the cloud 340 writes the required data at B2, and the same application 330 retrieves the information at B3.
[0046] It is to be understood that the embodiments of the invention disclosed are not limited to the particular structures, process steps, or materials disclosed herein, but are extended to equivalents thereof as would be recognized by those ordinarily skilled in the relevant arts. It should also be understood that terminology employed herein is used for the purpose of describing particular embodiments only and is not intended to be limiting.
[0047] Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment.
[0048] As used herein, a plurality of items, structural elements, compositional elements, and/or materials may be presented in a common list for convenience. However, these lists should be construed as though each member of the list is individually identified as a separate and unique member. Thus, no individual member of such list should be construed as a de facto equivalent of any other member of the same list solely based on their presentation in a common group without indications to the contrary. In addition, various embodiments and example of the present invention may be referred to herein along with alternatives for the various components thereof. It is understood that such embodiments, examples, and alternatives are not to be construed as de facto equivalents of one another, but are to be considered as separate and autonomous representations of the present invention.
[0049] Furthermore, described features, structures, or characteristics may be combined in any suitable or technically feasible manner in one or more embodiments. In the following description, numerous specific details are provided, such as examples of lengths, widths, shapes, etc., to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention can be practiced without one or more of the specific details, or with other methods, components, materials, etc. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
[0050] While the forgoing examples are illustrative of the principles of the present invention in one or more particular applications, it will be apparent to those of ordinary skill in the art that numerous modifications in form, usage and details of implementation can be made without the exercise of inventive faculty, and without departing from the principles and concepts of the invention. Accordingly, it is not intended that the invention be limited, except as by the claims set forth below.
Claims (18)
1. An apparatus comprising: at least one first processing unit configured to run a first computer program application capable of receiving and processing signals received from at least one interface or device connected to said first processing unit and to write data retrieved from said processed signals to an information space; at least one second processing unit configured to run a second computer program application capable of further processing at least some information processed in said first processing unit, to receive a notification about said data written to said information space provided by an interrupt signal raised by said at least one first processing unit, and to retrieve from said information space said data written by said first processing unit for further processing; wherein said information space is shared between and interfaced with said first and second processing units and said first application is further configured to write a control signal to said information space and to notify the second application running in the second processing unit of said control signal, whereby said second application is configured to read the control signal from said information space and cause the second processing unit to enter a hibernation state in order to reduce the power consumption of the apparatus.
2. An apparatus comprising: at least one first processing unit configured to run a first computer program application capable of receiving and processing signals received from at least one interface or device connected to said first processing unit and to write data retrieved from said processed signals to an information space; at least one second processing unit configured to run a second computer program application capable of further processing at least some information processed in said first processing unit, to receive a notification about said data written to said information space, and to retrieve from said information space said data written by said first processing unit for further processing; wherein said information space is shared between and interfaced with said first and second processing units and said first application is further configured to write a control signal to said information space and to notify the second application running in the second processing unit of said control signal by writing to at least one random access memory unit, which is interfaced with said first and second processing units, address data that points to an address in said shared information space, whereby said second application is configured to read the control signal from said information space and cause the second processing unit to enter a hibernation state in order to reduce the power consumption of the apparatus.
3. An apparatus according to claim 1 or claim 2, wherein the first processing unit is electrically interfaced with at least one of: a user interface, an external memory unit, a wireless communications port, a first wired communications port, satellite positioning circuitry, a magnetometer, a gyroscope, an accelerometer and a pressure sensor.
4. An apparatus according to any of claims 1 to 3, wherein the second processing unit is electrically interfaced with at least one of: a display, an external memory unit, a sensor, a cellular communication circuitry, a non-cellular wireless communication circuitry and a second wired communications port.
5. The apparatus according to any of claims 1 - 4, wherein the shared information space consists of random access memory units interfaced with each processing unit, wherein the memory units of said first and second processing units are configured to communicate between each other by a data interchange protocol.
6. The apparatus according to any of claims 1-4, wherein the shared information space consists of at least one memory unit interfaced with at least the first and the second processing unit, and having at least one address space mapped to both the first and the second processing unit.
7. The apparatus according to any of claims 1-6, wherein the first processing unit and the second processing unit have cores that are comprised in the same integrated circuit.
8. The apparatus according to any of claims 1-6, wherein the first processing unit is has a microcontroller and the second processing unit has a microprocessor, the microcontroller being external to the microprocessor and the microprocessor being external to the microcontroller.
9. A method for reducing the power consumption of a device, comprising the steps of: providing, in said device, a shared information space between at least one first processing unit configured to run a first computer program application capable of receiving signals from at least one interface or device connected to said first processing unit, and at least one second processing unit configured to run a second computer program application capable of further processing at least some information processed in said first processing unit; enabling said first computer program application to write data retrieved from said processed signals to said shared information space; enabling said second computer program application to receive a notification of said data written to said shared information space provided by an interrupt signal raised by said at least one first processing unit, and to read and further process said data stored in said shared information space; writing a control signal from said first processing unit to said shared information space; notifying said second processing unit of said control signal; reading by said second processing unit the control signal from said information space, and causing said second processing unit to enter a hibernation state based on said control signal, in order to reduce the power consumption of the apparatus.
10. A method for reducing the power consumption of a device, comprising the steps of: providing, in said device, a shared information space between at least a first processing unit configured to run a first computer program application capable of receiving signals from at least one interface or device connected to said first processing unit, and at least one second processing unit configured to run a second computer program application capable of further processing at least some information processed in said first processing unit; enabling said first computer program application to write data retrieved from said processed signals to said shared information space; enabling said second computer program application to receive a notification of said data written to said shared information space, and to read and further process said data stored in said shared information space; writing a control signal from said first processing unit to said shared information space; notifying said second processing unit of said control signal by writing to at least one random access memory unit, which is interfaced with said first and second processing units, address data that points to an address in said shared information space; reading by said second processing unit the control signal from said information space, and causing said second processing unit to enter a hibernation state based on said control signal, in order to reduce the power consumption of the apparatus.
11. The method according to claim 9 or 10, wherein said first computer program application running in said first processing unit is writing said control signal to said shared information space.
12. The method according to any of claims 9 to 11, wherein said second computer program application running in said second processing unit is been notified of said control signal and is reading the control signal from said shared information space.
13. The method according to any of claims 9 - 12, wherein the first processing unit is interfaced with at least one of: a user interface, an external memory unit, a wireless communications port, a wired communications port, satellite positioning circuitry, a magnetometer, a gyroscope, an accelerometer and a pressure sensor.
14. The method according to any of claims 9-13, wherein the second processing unit is electrically interfaced with at least one of: a display, an external memory unit, a cellular communication circuitry, non-cellular wireless communication circuitry and a second wired communications port.
15. The method according to any of claims 9-14, wherein the shared information space consists of at least one random access memory unit interfaced with each processing unit, and wherein the memory units are configured to communicate between each other by a data interchange protocol.
16. The method according to any of claims 9-15, wherein the shared information space consists of at least one memory unit interfaced with at least the first and the second processing unit, with at least one address space mapped to both the first and the second processing unit.
17. An apparatus comprising: in a first processing unit, means for receiving and processing signals received from at least one interface or device connected to said first processing unit; means for enabling the first processing unit to write data retrieved from said processed signals to a shared information space, means for notifying a second processing unit that data has been written to said shared information space provided by an interrupt signal raised by said at least one first processing unit, in said second processing unit, means to enable said second processing unit to read from said shared information space data written by said first processing unit, means to enable further processing of at least some information read from said shared information space being processed in said first processing unit, and means for further processing of said read data in said second processing unit, and when said data includes a control signal aimed to reduce the power consumption of the apparatus, causing the second processing unit to enter a hibernation state.
18. A computer program configured to cause a method in accordance with at least one of claims 9 - 16 to be performed, when run.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB1700416.9A GB2542988B (en) | 2015-04-17 | 2015-04-17 | Embedded computing device comprising processing units interfaced with a shared information space |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB1506568.3A GB2537420B (en) | 2015-04-17 | 2015-04-17 | Embedded computing device comprising processing units interfaced with a shared information space |
GB1700416.9A GB2542988B (en) | 2015-04-17 | 2015-04-17 | Embedded computing device comprising processing units interfaced with a shared information space |
Publications (3)
Publication Number | Publication Date |
---|---|
GB201700416D0 GB201700416D0 (en) | 2017-02-22 |
GB2542988A GB2542988A (en) | 2017-04-05 |
GB2542988B true GB2542988B (en) | 2019-11-13 |
Family
ID=53298766
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GB1700416.9A Active GB2542988B (en) | 2015-04-17 | 2015-04-17 | Embedded computing device comprising processing units interfaced with a shared information space |
GB1506568.3A Active GB2537420B (en) | 2015-04-17 | 2015-04-17 | Embedded computing device comprising processing units interfaced with a shared information space |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GB1506568.3A Active GB2537420B (en) | 2015-04-17 | 2015-04-17 | Embedded computing device comprising processing units interfaced with a shared information space |
Country Status (1)
Country | Link |
---|---|
GB (2) | GB2542988B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004064119A2 (en) * | 2003-01-13 | 2004-07-29 | Dualcor Technologies Inc | Novel personal electronics device |
US20070140199A1 (en) * | 2002-02-25 | 2007-06-21 | Palm, Inc. | Power saving in multi-processor device |
US20080170460A1 (en) * | 2007-01-17 | 2008-07-17 | Samsung Electronics Co., Ltd | Multi-path accessible semiconductor memory device having mailbox areas and mailbox access control method thereof |
US20100318725A1 (en) * | 2009-06-12 | 2010-12-16 | Kwon Jin-Hyoung | Multi-Processor System Having Function of Preventing Data Loss During Power-Off in Memory Link Architecture |
WO2014193672A1 (en) * | 2013-05-27 | 2014-12-04 | Motorola Mobility Llc | Method and electronic device for bringing a primary processor out of sleep mode |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2284494B (en) * | 1993-11-26 | 1998-09-09 | Hitachi Ltd | Distributed shared memory management system |
US7451182B2 (en) * | 2002-06-28 | 2008-11-11 | Intel Corporation | Coordinating operations of network and host processors |
US7124255B2 (en) * | 2003-06-30 | 2006-10-17 | Microsoft Corporation | Message based inter-process for high volume data |
US20060112226A1 (en) * | 2004-11-19 | 2006-05-25 | Hady Frank T | Heterogeneous processors sharing a common cache |
US20070174411A1 (en) * | 2006-01-26 | 2007-07-26 | Brokenshire Daniel A | Apparatus and method for efficient communication of producer/consumer buffer status |
US8041854B2 (en) * | 2007-09-28 | 2011-10-18 | Intel Corporation | Steering data units to a consumer |
JP4920015B2 (en) * | 2008-09-03 | 2012-04-18 | 日立オートモティブシステムズ株式会社 | Control software for distributed control and electronic control device |
US8868848B2 (en) * | 2009-12-21 | 2014-10-21 | Intel Corporation | Sharing virtual memory-based multi-version data between the heterogenous processors of a computer platform |
GB2483884A (en) * | 2010-09-23 | 2012-03-28 | Trinity College Dublin | Parallel processing system using dual port memories to communicate between each processor and the public memory bus |
US8706172B2 (en) * | 2010-10-26 | 2014-04-22 | Miscrosoft Corporation | Energy efficient continuous sensing for communications devices |
US8898399B2 (en) * | 2010-11-16 | 2014-11-25 | Tibco Software Inc. | Locking and signaling for implementing messaging transports with shared memory |
US20120254878A1 (en) * | 2011-04-01 | 2012-10-04 | Lama Nachman | Mechanism for outsourcing context-aware application-related functionalities to a sensor hub |
GB2503477A (en) * | 2012-06-28 | 2014-01-01 | Ibm | Managing persistent messages between a message producer and a remote message consumer using references pointing to messages |
-
2015
- 2015-04-17 GB GB1700416.9A patent/GB2542988B/en active Active
- 2015-04-17 GB GB1506568.3A patent/GB2537420B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070140199A1 (en) * | 2002-02-25 | 2007-06-21 | Palm, Inc. | Power saving in multi-processor device |
WO2004064119A2 (en) * | 2003-01-13 | 2004-07-29 | Dualcor Technologies Inc | Novel personal electronics device |
US20080170460A1 (en) * | 2007-01-17 | 2008-07-17 | Samsung Electronics Co., Ltd | Multi-path accessible semiconductor memory device having mailbox areas and mailbox access control method thereof |
US20100318725A1 (en) * | 2009-06-12 | 2010-12-16 | Kwon Jin-Hyoung | Multi-Processor System Having Function of Preventing Data Loss During Power-Off in Memory Link Architecture |
WO2014193672A1 (en) * | 2013-05-27 | 2014-12-04 | Motorola Mobility Llc | Method and electronic device for bringing a primary processor out of sleep mode |
Also Published As
Publication number | Publication date |
---|---|
GB201506568D0 (en) | 2015-06-03 |
GB201700416D0 (en) | 2017-02-22 |
GB2542988A (en) | 2017-04-05 |
GB2537420A (en) | 2016-10-19 |
GB2537420B (en) | 2018-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210333132A1 (en) | System on a Chip with Always-On Processor | |
JP5707598B2 (en) | Mechanism for outsourcing context-aware application-related functions to the sensor hub | |
US9778728B2 (en) | System on a chip with fast wake from sleep | |
US8332606B2 (en) | System and method for distributed persistent computing platform | |
US9619377B2 (en) | System on a chip with always-on processor which reconfigures SOC and supports memory-only communication mode | |
KR101748747B1 (en) | Controlling configurable peak performance limits of a processor | |
CN106062661A (en) | Location aware power management scheme for always-on-always-listen voice recognition system | |
US20150362980A1 (en) | Always-On Processor as a Coprocessor | |
JP2018515822A (en) | Method and system for operating state coordination among multiple SOCs in a computing device | |
US9021143B2 (en) | Polling of I/O devices on host initiated communication transports | |
US20140282578A1 (en) | Locality aware work stealing runtime scheduler | |
WO2019128588A1 (en) | Process processing method and apparatus, electronic device, computer readable storage medium | |
US20210149803A1 (en) | Methods and apparatus to enable secure multi-coherent and pooled memory in an edge network | |
CN115865911A (en) | Method and apparatus for sharing memory across distributed coherent edge computing systems | |
WO2022271231A1 (en) | Platform data aging for adaptive memory scaling | |
WO2023113969A1 (en) | Methods and apparatus for performing a machine learning operation using storage element pointers | |
US20160071480A1 (en) | Low-power operation method and associated electronic device | |
US10417045B2 (en) | Embedded computing device | |
TWI658356B (en) | Power management system, system-on-chip including the same and mobile device including the same | |
GB2542988B (en) | Embedded computing device comprising processing units interfaced with a shared information space | |
FI129845B (en) | Embedded computing device | |
FI129088B (en) | Embedded computing device | |
US20140156895A1 (en) | Usb device interrupt signal | |
US11043158B2 (en) | Video bandwidth optimization for multi-monitor systems | |
US9158357B2 (en) | System and method for conveying service latency requirements for devices connected to low power input/output sub-systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1233005 Country of ref document: HK |
|
732E | Amendments to the register in respect of changes of name or changes affecting rights (sect. 32/1977) |
Free format text: REGISTERED BETWEEN 20210617 AND 20210623 |
|
732E | Amendments to the register in respect of changes of name or changes affecting rights (sect. 32/1977) |
Free format text: REGISTERED BETWEEN 20220908 AND 20220914 |