FI129088B - Embedded computing device - Google Patents

Embedded computing device Download PDF

Info

Publication number
FI129088B
FI129088B FI20165623A FI20165623A FI129088B FI 129088 B FI129088 B FI 129088B FI 20165623 A FI20165623 A FI 20165623A FI 20165623 A FI20165623 A FI 20165623A FI 129088 B FI129088 B FI 129088B
Authority
FI
Finland
Prior art keywords
processing unit
information space
processing
shared information
control signal
Prior art date
Application number
FI20165623A
Other languages
Finnish (fi)
Swedish (sv)
Other versions
FI20165623A (en
Inventor
Erik Lindman
Jyrki Uusitalo
Timo Eriksson
Tomi Lehto
Tero Aurto
Original Assignee
Suunto Oy
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suunto Oy filed Critical Suunto Oy
Priority to FI20165623A priority Critical patent/FI129088B/en
Publication of FI20165623A publication Critical patent/FI20165623A/en
Application granted granted Critical
Publication of FI129088B publication Critical patent/FI129088B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/167Interprocessor communication using a common memory, e.g. mailbox
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3218Monitoring of peripheral devices of display devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3293Power saving characterised by the action undertaken by switching to a less power-consuming processor, e.g. sub-CPU
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5044Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering hardware capabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5094Allocation of resources, e.g. of the central processing unit [CPU] where the allocation takes into account power or heat criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0287Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level changing the clock frequency of a controller in the equipment
    • H04W52/0293Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level changing the clock frequency of a controller in the equipment having a sub-controller with a low clock frequency switching on and off a main controller with a high clock frequency
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multi Processors (AREA)

Abstract

An apparatus and a method is provided that comprises at least one first processing unit (210) configured to run at least one first computer program application (260A) capable of receiving and processing signals received from at least one interface or device connected to said first processing unit and to write data to an information space (230). At least one second processing unit (220) is configured to run at least a second Computer program application (260C) 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. According to the invention the 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 (B3; 290) a 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 (220) to enter a hibernation state

Description

EMBEDDED COMPUTING DEVICE FIELD OF INVENTION
[0001] The present invention in general relates, for example, to implementing multi- core 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 freguently resource-constrained when N compared to desktop or laptop computers. For example, memory capacity may be more S limited than in desktop or laptop computers, processor computational capacity may be N lower and energy may be available from a battery. The battery, which may be small, may E 25 — 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 N 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.
a N [0009] Asynchronous operation accounts for unpredictability in events and their S 25 — timing. Concurrency may occur when peripherals like sensors share and may interrupt the N same processor, or when multiple processors share the same memory. A major job of an E operating system is to manage concurrent operations and the running applications. & Concurrency control has however also become an integral part of many applications 9 through multi- thread processes and their memory sharing algorithms that are working on 2 30 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.
[0013] US2006069738 discloses a multi-processor computer system comprising at least two processors for parallel execution of processes, at least two cache memory units, each being associated with and connected to a separate processor, a connection bus connecting said processors and said cache memory units, and a process list unit connected to said connection line for storing a process list of processes to be available for execution — by said processors. In order to enable power saving if no processes for execution are available while guaranteeing a fast wake-up procedure if such processes are available it is proposed that said processors are adapted for loading a global wake-up variable signalling process additions of processes to said process list into their associated cache memory unit, S for switching into a low-power mode if said process list contains no process for execution x 25 — by said processors and for switching into a normal-power mode if said wake-up variable N signals an addition of a process to said process list. Thus, the cache coherence protocol is I used for communicating and signalling the availability of processes for execution.
a D [0014] US2007140199 discloses a mobile computing device which comprises a first O microprocessor having a sleep mode and a wake mode and a second microprocessor > 30 configured for wireless communication. A communication port is configured to communicate data from the second processor to the first processor, wherein the second processor is configured to provide a wake signal to the first microprocessor and the first microprocessor is configured to open the communication port in response to the wake signal and to receive data from the second microprocessor through the communication port.
[0015] US2012100895 discloses a communication device with energy efficient sensing which provides various techniques for enabling a variety of sensor-based applications and processes while conserving energy on mobile communications devices. More specifically, the communication device with energy efficient sensing provides a sensing architecture for mobile communications devices where sampling and, in various embodiments, processing, of sensor data received from one or more sensors is offloaded to a dedicated low-power processor having the capability to interact with a primary processor of the communications device. Such sensors include, but are not limited to accelerometers, ambient light sensors, compasses, microphones, pressure sensors, touch sensors, low- power radio devices, etc. This approach enables the communications device to perform continuous sensing with a low power overhead.
SUMMARY OF THE INVENTION
[0016] The invention is defined by the features of the independent claims. Some specific embodiments are defined in the dependent claims.
[0017] 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 O mapping or translating function — may be shared between two or more processing units 3 K sensor hub - a unit (e.g. a microcontroller) that integrates and processes data - from a multitude of sensors a a ™ 25 whiteboard - a shared information space, shared between any number of said 3 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
[0018] According to a first aspect of the present invention, there is provided an apparatus comprising: at least one first processing unit configured to run at least one first computer program application capable of receiving and processing signals received from at least one interface 5 — or device connected to said first processing unit; at least one second processing unit configured to run at least a second computer program application capable of further processing at least some information processed in said first processing unit; wherein said first and second processing unit are interfaced with a shared information space, — whereby a first application running in the first processing unit is configured to enable said first processing unit to write data to said information space, and a second application running in the second processing unit is configured to receive a notification about said data being written to said shared information space, and to enable said second processing unit to retrieve from said information space said data written by said first processing unit for — further processing.
[0019] Various embodiments of the first aspect may comprise at least one feature from the following bulleted list: o 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; o the second processing unit is electrically interfaced with at least one of: a display, N . K. o an external memory unit, a sensor, a cellular communication circuitry, a non-cellular x wireless communication circuitry and a second wired communications port; N 25 e the shared information space consists of at least one random access memory unit E interfaced with each processing unit, wherein the memory units are configured to 0 communicate between each other by a data interchange protocol; © 0 . . . . © o the shared information space consists of at least one random access memory unit N 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;
o 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; O 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; o a second application running on said second processing unit is adapted to put a reguest 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; o a first application running on said first processing unit overwrites in a constant and freguent fashion the previous value of a parameter with a current value in said information — space; o 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;
O 5 o a first application running in the first processing unit is further configured to write a 7 25 — 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 E configured to fetch the control signal from said information space and cause the second & processing unit to enter a hibernation state;
O S o the first processing unit and the second processing unit have cores that are N 30 comprised in the same integrated circuit o 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
[0020] According to a second aspect of the present invention, there is provided a method comprising the steps of: receiving, by a first processing unit, signals from at least one interface or device connected to said first processing unit; processing said received signals in a first computer program application running on said first processing unit; enabling said first computer program application to write data retrieved from said processed signals to a shared information space, receiving in a second computer program application running in a second processing unit a notification of said data written to said shared information space, enabling said second computer program application to read said data stored in said — shared information space; further processing said data in said second processing unit.
[0021] Various embodiments of the second aspect may comprise at least one feature from the following bulleted list: e 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 N sensor;
N 3 e the second processing unit is electrically interfaced with at least one of: a display, an N external memory unit, a cellular communication circuitry, non-cellular wireless E 25 communication circuitry and a second wired communications port; a 2 e the shared information space consists of at least one random access memory unit © O interfaced with each processing unit, and wherein the memory units are configured to Q communicate between each other by a data interchange protocol; e 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; e 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; e 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; e 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; e 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
O N running on said first processing unit is adapted to write the parameter value to said address, = . . Q and whereby said second application is adapted to fetch said parameter value from said
K N 25 — address; x + e the first application running on said first processing unit is adapted to overwrite in a
O S constant and freguent fashion the previous value of a parameter with a current value in said
LO © information space;
O N . . . . . . . . e 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;
e 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.
[0022] According to a third aspect of the present invention, there is provided an apparatus comprising: — 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 to a shared information space, means for notifying a second processing unit that data has been written to said shared information space, 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; N means to enable further processing of at least some information read from said shared
O N information space being processed in said first processing unit, and ; + O . K means for further processing of said read data in said second processing unit to in
N - order to display, communicate over a communication link, or to cause the second a + 25 processing unit to enter a hibernation state.
O N . . . . . O [0023] According to a fourth aspect of the present invention, there is provided O . . S computer program configured to cause a method in accordance with at least one of the
N method claims to be performed, when run. Industrial Applicability
[0024] 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
[0025] FIGURE 1 illustrates an example of an embedded device having two processors and a number of peripherals;
[0026] FIGURE 2 illustrates a first example apparatus capable of supporting at least some embodiments of the present invention;
[0027] FIGURE 3 illustrates a second example apparatus capable of supporting at least some embodiments of the present invention.
DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS
[0028] FIGURE 1 illustrates an example of a modern 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 N 20 interfaces, sensors and displays. A user may interact with the device using the user
N < interfaces, which may comprise buttons, for example. An embedded device may comprise
O K a connectivity function configured to communicate with a communications network, such
N I as, for example, a wireless communications network. Some embodiments of the present a - invention may include a similar device like the one in FIGURE 1, with modifications
O S 25 — according to the invention in order to allow the processors and the applications running on
LO © them to communicate with each other, as described below.
N
[0029] 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.
[0030] The illustrated apparatus comprises a microcontroller 110 and a microprocessor 120. Microcontroller 110 may comprise, for example, a Renesas RL78 or Toshiba TLCS-870 microcontroller, or similar. Microprocessor 120 may comprise, for example, a Qualcomm Snapdragon processor or an ARM Cortex-based 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.
[0031] 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.
[0032] 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 SN one which uses colours. Colours may be represented with 16 bits or 24 bits, for example.
O
N + [0033] Microcontroller 110 is communicatively coupled, in the illustrated example, 7 25 — with a buzzer 170, a universal serial bus, USB, interface 180, a pressure sensor 190, an 2 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 2 example. Further examples of peripherals that may be coupled to the microcontroller 110 N 30 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 or GPS/Glonass (GNSS) circuitry, or the hub may be connected to sensor devices having in-built radio connectivity.
[0034] 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.
[0035] 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.
[0036] 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 SN microprocessor 120 but not by microcontroller 110. In other words, individual hardware N features of the integrated circuit may be controllable by one of microcontroller 110 and S 25 — microprocessor 120, but not both. On the other hand, some hardware features may be N controllable by either processing unit. For example, USB interface 160 and USB interface z 180 may be in such an integrated embodiment one and the same USB interface of the D integrated circuit, controllable by either processing core. © 2 [0037] In FIGURE 1 are further illustrated memory 1170 and memory 1180. N 30 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.
[0038] 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.
[0039] 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.
[0040] 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, Java and Objective-C.
[0041] For example, a sensor or data provider 270B writes data Al (e.g. the time, — updated every second) to the logical whiteboard 230, to an address residing in the physical S memory 240 of the first processing unit 210. A consumer application 260D running in the 3 25 — second processing unit 220 fetch the time information from the physical memory 250 at N A2. The communication between the physical memories (and all other whiteboard E memories) is handled by an data interchange (inter-whiteboard) protocol, that may be run 0 on top of a bus 280 controlled by a bus controller protocol, like the PC protocol, for S example. PC may be used for attaching low-speed peripherals (slave nodes) to processing 2 30 — units and microcontrollers (master nodes) in embedded systems. The PC 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 : e master transmit — master node is sending data to a slave e master receive — master node is receiving data from a slave e slave transmit — slave node is sending data to the master e slave receive — slave node is receiving data from the master
[0042] 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.
[0043] Preferably, if the processing units 210 and 220 are residing in separate N devices or housings, such as a wristop computer and a handheld or fixedly mounted 5 display device for example, the bus 280 may be implemented in a wireless fashion by 7 25 — 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 i function of the bus 280. The wireless communication protocol can be one used for S 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 N 30 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™ Bluetooth®, Bluetooth® low energy, RFID/NFC, PurePath™ Wireless audio, ZigBee®, IEEE 802.15 4, ZigBee RF4CE, 6LoWPAN, Wi-Fi®.
[0044] Another example is shown as a consumer application 260C places at BI 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 C1 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.
[0045] 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 N current updates. A consumer application (e.g. a heart rate belt) may need then to retrieve N 25 — the time from the whiteboard and timestamp pulse readings, e.g. in order to store data for a S heart rate diagram over time. Alternatively, the data may be requested by a client — e.g.
N storm alert, a compass reading, etc. In such a case, a provider 270 gets order to start E working, and the client application 260 fetches the information and displays the alert or 2 reading on a display.
O 30 2 [0046] 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 Al 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.
[0047] 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.
[0048] In the second example, a mobile application 330 places a request for data at B1, 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.
[0049] 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 eguivalents 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.
N [0050] Reference throughout this specification to “one embodiment” or “an 5 25 embodiment” means that a particular feature, structure, or characteristic described in 7 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” E in various places throughout this specification are not necessarily all referring to the same 3 embodiment. 5 30 [0051] As used herein, a plurality of items, structural elements, compositional N 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.
[0052] 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.
[0053] 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.
N O
N <+ <Q
MN N
I a a
O
N ©
LO ©
O N

Claims (16)

CLAIMS:
1. An apparatus comprising: at least one first processing unit (210) configured to run at least one first computer program application (260A, 260B) capable of receiving and processing signals received from at least one interface or device (270A — 270D) connected to said first processing unit and to write data to an information space (230); at least one second processing unit (220) configured to run at least a second computer program application (260C — 260E) 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 (230) is shared between and interfaced with said first and second processing units and said first application (260B) is further configured to write (C1) a control signal to said information space and to notify (B3; 290) a second application (260E) running in the second processing unit (220) of said control signal, whereby said second application is configured to read (C2) the control signal from said information space (230) and cause the second processing unit to enter a hibernation state. —
2. An apparatus according to claim 1, wherein the first processing unit (210) is electrically interfaced with at least one of: a user interface (1160), an external memory unit (1190), a wireless communications port (1140), a first wired communications port (180), satellite N positioning circuitry (1130), a magnetometer (1120), a gyroscope (1110), an accelerometer
O 5 (1100) and a pressure sensor (190).
O N 25
3. An apparatus according to claim 1 or 2, wherein the second processing unit (220) is
N I electrically interfaced with at least one of: a display (130), an external memory unit (1170), Ac > a sensor, a cellular communication circuitry (140), a non-cellular wireless communication ™ O circuitry (150) and a second wired communications port (160).
LO © O
4. The apparatus according to any of claims 1 - 3, wherein the shared information space
N — (230) consists of random access memory units (240, 250) interfaced with each processing unit (210, 220), wherein the memory units (240, 250) of said first and second processing units are configured to communicate between each other by a data interchange protocol (280).
5. The apparatus according to any of claims 1 - 3, wherein the shared information space (230) consists of at least one memory unit (240, 250) interfaced with at least the first and the second processing unit (210, 220), and having at least one address space mapped to both the first and the second processing unit.
6. The apparatus according to any of claims 1 — 5, wherein the first processing unit (210) and the second processing unit (220) have cores that are comprised in the same integrated circuit.
7. The apparatus according to any of claims 1 —5, wherein the first processing unit (210) has a microcontroller (110) and the second processing unit (220) has a microprocessor (120), the microcontroller being external to the microprocessor and the microprocessor being external to the microcontroller.
8. A method, comprising the steps of: providing a shared information space (230) between at least a first processing unit (210) configured to run at least one first computer program application (260A, 260B) capable of receiving signals from at least one interface or device connected to said first processing unit, and at least one second processing unit (220) configured to run at least a second computer program application (260C — 260D) capable of further processing at least some information processed in said first processing unit; enabling said first computer program application to write data retrieved N from said processed signals to said shared information space (230) and enabling 5 said second computer program application (260C — 260D) to receive a notification 7 25 of said data written to said shared information space, and to read and further - process said data stored in said shared information space, by: a a JN writing (C1) a control signal from said first processing unit (210) to said O shared information space (230);
O > notifying (B3; 290) said second processing unit (220) of said control signal; and reading (C2) by said second processing unit (220) the control signal from said information space, whereby said second processing unit (220) is caused to enter a hibernation state based on said control signal.
9. The method according to claim 8, wherein said first computer program application (260A, 260B) running in said first processing unit (210) is writing said control signal to said shared information space (230).
10. The method according to claim 8 or 9, wherein said second computer program application (260C — 260E) running in said second processing unit (220) is notified (290) of said control signal and is reading the control signal from said shared information space (230).
11. The method according to any of claims 8 - 10, wherein the first processing unit (210) is interfaced with at least one of: a user interface (1160), an external memory unit (1190), a wireless communications port (1140), a first wired communications port (180), satellite positioning circuitry (1130), a magnetometer (1120), a gyroscope (1110), an accelerometer (1100) and a pressure sensor (190).
12. The method according to any of claims 8 - 11, wherein the second processing unit (220) is electrically interfaced with at least one of: a display (130), an external memory unit (1170), a sensor, a cellular communication circuitry (140), a non-cellular wireless communication circuitry (150) and a second wired communications port (160).
13. The method according to any of claims 8 - 12, wherein the shared information space O (230) consists of random access memory units (240, 250) interfaced with each processing x unit (210, 220), wherein the memory units (240, 250) of said first and second processing N 25 — units are configured to communicate between each other by a data interchange protocol E (280). 0
14. The method according to any of claims 8 - 13, wherein the shared information space O (230) consists of at least one memory unit (240, 250) interfaced with at least the first and > the second processing unit (210, 220), and having at least one address space mapped to — both the first and the second processing unit.
15. An apparatus comprising: in a first processing unit (210), 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 (Al, BI, C1) to a shared information space (230), means for notifying (B3; 290) a second processing unit (220) that data has been written to said shared information space, in said second processing unit (220), means to enable said second processing unit to read (A2, C2) from said shared information space (230) data written by said first processing unit, and means for further processing of said read data in said second processing unit (220) in order to cause the second processing unit to enter a hibernation state.
16. A computer program configured to — cause the first processing unit (210) of the apparatus of claim 15, when run therein, to perform method steps comprising: receiving and processing signals received from at least one interface or device connected to said first processing unit (210); enabling a first computer program application to write data to a shared information space provided between at least the first processing unit (210) and at least one — second processing unit (220) of the apparatus of claim 15 by writing a control signal from
N S said first processing unit (210) to said shared information space; < Q@ notifying said at least one second processing unit (220) that data has been
K N written to said shared information space by notifying said second processing unit (220) of
I g 25 — said control signal; ™ N and to cause said at least one second processing unit (220), when run therein, to perform
LO © method steps comprising
N enabling a 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, by reading the control signal from said information space; and causing the second processing unit (220) to enter a hibernation state based on said control signal.
N
O
N <
O
K
N
I a a ™
N ©
LO © Oo
N
FI20165623A 2015-04-17 2015-04-17 Embedded computing device FI129088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
FI20165623A FI129088B (en) 2015-04-17 2015-04-17 Embedded computing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
FI20165623A FI129088B (en) 2015-04-17 2015-04-17 Embedded computing device

Publications (2)

Publication Number Publication Date
FI20165623A FI20165623A (en) 2016-10-18
FI129088B true FI129088B (en) 2021-06-30

Family

ID=57234783

Family Applications (1)

Application Number Title Priority Date Filing Date
FI20165623A FI129088B (en) 2015-04-17 2015-04-17 Embedded computing device

Country Status (1)

Country Link
FI (1) FI129088B (en)

Also Published As

Publication number Publication date
FI20165623A (en) 2016-10-18

Similar Documents

Publication Publication Date Title
US11079261B2 (en) System on a chip with always-on processor
US20200150745A1 (en) System on a Chip with Fast Wake from Sleep
TWI547878B (en) Computer-implemented method, system for outsourcing context-aware application-related functionalilties to a sensor hub, and non-transitory machine-readable medium
US8706172B2 (en) Energy efficient continuous sensing for communications devices
US9959124B1 (en) Secure bypass of low-level configuration in reconfiguration of a computing system
US9619377B2 (en) System on a chip with always-on processor which reconfigures SOC and supports memory-only communication mode
US20150362980A1 (en) Always-On Processor as a Coprocessor
WO2010146225A1 (en) System and method for distributed persistent computing platform
US20170060646A1 (en) Multi-function button for wearable device
WO2019128588A1 (en) Process processing method and apparatus, electronic device, computer readable storage medium
EP4109258A1 (en) Methods and apparatus to offload execution of a portion of a machine learning model
CN115865911A (en) Method and apparatus for sharing memory across distributed coherent edge computing systems
US20160071480A1 (en) Low-power operation method and associated electronic device
FI129088B (en) Embedded computing device
US10417045B2 (en) Embedded computing device
FI129845B (en) Embedded computing device
GB2542988B (en) Embedded computing device comprising processing units interfaced with a shared information space
US10146913B2 (en) Portable electronic device
US9575551B2 (en) GNSS services on low power hub
US20220167132A1 (en) Sensor hierarchy for context inference
CN111459462B (en) Decentralized relock demotion
CN111813737A (en) System level chip and intelligent wearing equipment
WO2023174158A1 (en) Terminal device control method and terminal device
KR20210123901A (en) Method for transmitting application functionalities to a sensor hub
CN116701101A (en) Abnormality detection method of SensorHUB and electronic equipment

Legal Events

Date Code Title Description
PC Transfer of assignment of patent

Owner name: AMER SPORTS DIGITAL SERVICES OY

FG Patent granted

Ref document number: 129088

Country of ref document: FI

Kind code of ref document: B

PC Transfer of assignment of patent

Owner name: SUUNTO OY