OA20903A - A method and a communication device for updating software. - Google Patents

A method and a communication device for updating software. Download PDF

Info

Publication number
OA20903A
OA20903A OA1202200211 OA20903A OA 20903 A OA20903 A OA 20903A OA 1202200211 OA1202200211 OA 1202200211 OA 20903 A OA20903 A OA 20903A
Authority
OA
OAPI
Prior art keywords
communication device
data
sensor
software
captured
Prior art date
Application number
OA1202200211
Inventor
Tommy Arngren
Daniel BERGSTRÖM
Hakan Englund
Original Assignee
Telefonaktiebolaget Lm Ericsson (Publ)
Filing date
Publication date
Application filed by Telefonaktiebolaget Lm Ericsson (Publ) filed Critical Telefonaktiebolaget Lm Ericsson (Publ)
Publication of OA20903A publication Critical patent/OA20903A/en

Links

Abstract

A method in a communication device, and a communication device, for executing a software updating process at the communication device is suggested, where the method is executed by acquiring data captured by at least one sensor which is accessible to the communication device, by comparing the acquired data to predefined conditions for initiating a software updating process, and by initiating the software updating process at the communication device in response to determining that the acquired data meet with predefined conditions for updating software at the communication device.

Description

A METHOD AND A COMMUNICATION DEVICE FOR UPDATING SOFTWARE
Technical field
[0001] The présent disclosure relates to a method for updating software and a communication device, capable of executing such a method.
Background
[0002] Internet of Things (loT) devices are used in a large variety of fields, including consumer products, such as e.g. products related to home automation, wearable technologies, devices enabling connected health and appliances with remote monitoring capabilities, and industrial products, applicable for e.g. manufacturing, monitoring and controlling operations. loT devices may be configured with various advanced functions, but there is also a growing demand for simpler devices, capable of handling spécifie tasks with limited resources available. The latter devices are often referred to as constrained devices, i.e. battery driven devices that has limited processing and storage capabilities, which typically comprise a device interface, such as e.g. an inductive interface, adapted for data exchange and possibly also for energy harvesting; and a battery-powered processor, capable of executing spécifie software instructions. Such a device may be configured to perform periodic measurements via one or more sensors and possibly also to store the measured data in a memory of the device or at another location, accessible to the device.
[0003] It is common practice to offer the option of perîorming a factory reset of an loT device, where, when applicable, configurations, set by a user or an owner of the device, are erased, and where, potentially, software of the device is reverted to a factory installed image, which is stored on the device, e.g. in a Read-Only Memory (ROM), or a write protected partition of a non-volatile memory.
[0004] Flash memories, such as e.g. embedded MultiMediaCards (eMMCs), normally support various types of write protection parts of the memory, such as e.g. permanent, temporary or power-on-reset write locking of a particular area or areas. In orderto obtaîn a higher level of securîty, memory areas may also be password protected. A temporary write protected area can be opened up du ring runtime, while a power-onreset write protected area can be configured, using a write once register, which can be locked during a boot process, but reset and opened up by performing a power-on cycle or a reset of the device. A permanently write protected area, however, can never be updated.
[0005] For loT devices, such as e.g. constrained devices which do not comprise any User Interface (Ui), it can be difficult to trigger spécifie software updating procedures.
[0006] If a software updating procedure, such as e.g. a factory reset image updating procedure involves security issues it may be critical to perform such an update procedure reset on a constrained device, as it may be vulnérable to attacks until it has been properly updated or upgraded. If a factory image or other software is stored in a permanently whte protected non-volatile memory, such an updating procedure may not even be possible to execute.
Summary
[0007] It is an aim of the present disclosure to provide a method, an arrangement and a computer program product which, to at least some extent, address one or more of the issues mentioned above.
[0008] More specifically, according to one aspect, there is provided a method in a communication device for executing a software updating process at the communication device, where the method is executed by acquiring data captured by at least one sensor which is accessible to the communication device, by comparing the acquired data to predefined conditions for initiating a software updating process, and by initiating the software updating process at the communication device in response to determining that the acquired data meet with predefined conditions for updating software at the communication device.
[0009] The suggested method will enable a simple and user friendly, as well as secure, way of initiating a software updating procedure at a device which does not comprise any UI. Typically, the suggested method is usable at a constrained device, but also devices which are not considered to be constrained, or even devices which comprise a UI, may be adapted to apply the suggested method, since the procedure for initiating an updating procedure may be very user friendly and robust.
[00010] According to another aspect, a communication device for executing a software updating process is suggested, where the communication device is configured to: acquire data captured by at least one sensor which is accessible to the communication device; compare the acquired data to predefined conditions for initiating a software updating process and initiate the software updating process at the communication device in response to determining that the acquired data meet with predefined conditions for updating software at the communication device,
[00011] According to yet another embodiment a computer program product is suggested, where the computer program product comprise a non-transitory computer readable medium on which a computer program is stored, which, when run on the communication device, will cause the communication device to execute the suggested method.
Brief description of drawings
[00012] Embodiments will now be described in more detail in relation to the accompanying drawings, in which:
[00013] Fig. 1 is a flowchart, illustrating a method forexecuting a software updating procedure according to one embodiment.
[00014] Fig. 2 is another flowchart, illustrating an alternative method for executing a software updating procedure according to another embodiment.
[00015] Fig. 3 is an overview of a system, comprising functional entities, capable of executing a software updating procedure of software of a communication device, forming part of the system.
[00016] Fig. 4a is a block scheme, illustrating a communication device, capable of executing a software updating procedure according to one embodiment.
[00017] Fig. 4b is another block scheme, illustrating a communication device, capable of executing a software updating procedure according to another embodiment.
[00018] Fig. 4c is another block scheme, illustrating a communication device, 20 capable of executing a software updating procedure according to another aspect.
Detailed description
[00019] In order to enable software updatability in a simple and predictable way, yet with at least a basic level of security, a method is suggested where a communication device, which may be e.g. a constrained communication device, such as e.g. an loT device, a Machine to Machine (M2M) device, a Machine Type Communication (MTC) device, or any other type of device which is adapted to détermine a need for, initiate and execute a software updating procedure, based on some external manipulation of the environment of one or more sensors which are accessible to the device.
[00020] The suggested method is very suitable for manual, as well as automated execution of a software updating procedure. Especially in a situation with hundreds, or maybe even thousands, of devices, an automated procedure of the suggested software updating procedure may be preferred.
[00021] Although the suggested method is particularly suitable for initiating updating of software at a communication device which does not comprise any Ui, it is however to be understood that the suggested method is also applicable for communication devices which do hâve a Ul, but where the intention is e.g. to provide a reliable and easy method for updating software of a communication device according to an alternative approach which does not require a user to interact with the device via any Ul. The suggested method may e.g. replace a physical reset button on a communication device, which has the disadvantage that it may be pressed unintentionally.
[00022] In situations where a communication device is placed in a rough environment, such as e.g. in an ironworks or underwater, where the device needs to be sealed the suggested method may also be suitable.
[00023] Referring to Fig. 1, a method is suggested where a communication device, as defined above, is acquiring data, captured by one or more sensors, which form part of the communication device or which is/are connected to the communication device via wire or wireless connection. Such a step is executed according to step 120 of Fig. 1. Such data may be captured on a regular or irregular basis, and the capturing may rely on a timing schedule, such that data is e.g. captured at regular time intervals, e.g. every 20 minutes or every third hour; at certain time instances during a 24 hour time interval, such as e.g. at 06:00 and 24:00, or when a respective measurable parameter exceeds or cornes below a certain threshold value, thereby calling for attention at the communication device.
[00024] Altematively, data may be captured according to a combination of conditions, where some or ail conditions may be applicable at ail times or in an optimized or scheduled manner, such that e.g. certain time based conditions become applicable if a threshold based condition has not triggered data capturing from a spécifie sensor when a pre~defined time interval has elapsed. It is also to be understood that according to one embodiment, data may be acquired by data being sent to the communication device from a sensor, without requiring any intervention from the communication device, whereas according to another embodiment, data is being acquired from a sensor on request from the device.
[00025] If any of the approaches mentioned above is applied, data, relevant for the mentioned method can be captured at any time, providing that predetermined conditions for capturing the data hâve been fulfilled with or without requiring any intervention for initiating the acquiring of data from the device. According to an alternative embodiment, the initiation of the suggested method and acquiring of data, is instead triggered at a preceding, optional step 110, where a function ofthe communication device, which may be referred to as an analysis function, or a software updating analysis function, détermines that a software updating procedure is required. Such a détermination may comprise one or more considération, aiready mentioned above, such as e.g. expiry of a time interval, indicating that the total runtime calls for a software update, or expiry of a time interval, without receiving any sensor data. Such a détermination may altematively be based on more or less complex analysis of the functioning of the device, such as e.g. based on unpredictable outcome of one or more exécutable functions of the communication device, such as e.g. when processing and analyzing sensor data, captured for conventional purposes.
[00026] According to one embodiment, détection or suspicion of spécifie security issues related to certain software of a communication device, such as e.g. presence of data virus may trigger the device to initiate the suggested method. According to another embodiment, repeated occurrence of a spécifie error message may trigger initiation of the suggested method. According to yet another embodiment, a sensor which is considered by the communication device to be faulty may trigger execution of the suggested method at the communication device.
[00027] Once data has been acquired by the communication device it is compared to predeftned updating conditions, as indicated with step 130. The predetermined conditions may comprise a threshold, a spécifie pattern of the captured data or a combination thereof.
[00028] According to another step 140, it is determined if the acquired data, compared at step 130, meet with the predefined updating conditions. The conditions are specifically selected such that captured data will not fall within a normal range without the environment of a respective sensor being manipulated. More specifically, in order to meet with the conditions, the environment need to be manipulated, either manually or automatically. This means that under normal conditions, data acquired from one or more sensors will not meet with the predefined conditions associated with the method described herein. Instead the described method will, under those circumstances, be terminated, as indicated with the “No” branch pointing to the right in the figure, which is applicable if no timer or counter is applied by the method.
[00029] Altematively, in case an optional timer is applied, the timer is started at step 130, i.e. upon comparing the first acquired data. If the acquired data does not meet the predefine condition in step 140, it is determined if the timer has expired in a subséquent step 150, and the method is to terminale, or if time still permits further data to be acquired, whereas the method instead continues from step 120. As long as the timer has not expired, steps 120-140 are repeated, allowing data to be acquired for the duration of the time interval of the timer, whereas when the timer expires, without the acquired data meeting with the predefined conditions, the suggested method is terminated.
[00030] Although not shown in the figure, the timer may altematively be replaced by a counter, where, instead of applying a certain time limit, data may be captured a predefined number of times, and if data meet with predefined conditions for any of the captured data sets, a software updating procedure is triggered.
[00031] Manipulated data is to be construed as meaning that acquired data has been manually or automatically forced to fait within a spécifie interval, pattern or in a spécifie way in relation to a threshold value, contrary to data which is fulty représentative of the environment in which the respective is located, where the environment has not been, at least intentionally, affected, neither manually, nor automatically.
[00032] Environment is to be construed as one or both of the air surrounding, and effecting the data acquired from a sensor, or a device on which the sensor is attached, which may be the actual communication device or another device which is connected to the communication device. When the environment of a sensor is the surrounding air, the air may e.g. be manipulated by warming it up if e.g. a température sensor is used for measuring the air température, whereas in case a device comprising a pressure sensor, the device may e.g. be manipulated by a user pressing the device and the pressure sensor together.
[00033] If the acquired data meet with the predefined conditions, a software updating procedure is initiated by the device, as indicated with step 170. According to one embodiment, the communication device requests software update from one or more extemal servers, typically by transmitting a request to the server tn an out-of-band communication between the server and the communication device, after which the software is transmitted to the communication device 300. According to one possible embodiment, another communication device, storing updatable software, acts. as a server, from which the communication device can request the software.
[00034] According to another embodiment, an initiation of a software updating procedure will involve that software, such as e.g. a spécifie software image, available at a storage of the communication device itself is acquired and used in a software updating procedure, executed at the communication device.
[00035] Depending on the severity of the reason for requiring software update, steps 130-170 may be executed by conventional functionality of the communication device or by a spécifie function or circuitry, which may be referred to as a secure function or circuitry, where a secure function or circuitry is isolated from the remaining functionality of the device, so that it is still able to operate also when the remaining functionality of the device does not operate in an adéquate or predicted way. The secure function or circuitry may be controlled by the same processor as the processor which is controlling the conventional functionality of the communication device, or it may be controlled by another, separate processor, thereby increasing the chances of successful execution of the mentioned method also is situations where the processor managing the conventional functionality of the communication device has stopped working.
[00036] The functionality of the communication device may, according to one embodiment, be arranged so that data acquired for determining if it meet with the predefined conditions is always processed by the same functionality as the one handling data, which is captured for conventional sensordata processing.
[00037] According to another embodiment the communication device has a primary function and a secondary function, where the primary function is limited to handling data captured by a communication device, operating under normal conditions, i.e. without initiating any software updating procedure according to any of the embodiments described herein, whereas the second function is activated and executed when it is found that captured data meet with predefined conditions for initiation of the suggested software updating procedure. The séparation of a first and a second function may provide a way of separating functionality to be executed for conventional sensor capturing processing from functionality to be executed when a software updating is required.
[00038] Irrespective of whether or not the communication device has one single function for acquiring sensor data, or a primary and a secondary function, as suggested above, one or more physical quantifies, which are suitable for manipulation, is applied, together with suitable, associated condition settings, which may refer to one or more of e.g. température, pressure, accélération force, backscattering coefficients, angle, rotation, motion, vibrations, length or light. Ail of the mentioned physical quantifies are suitable for being measured by a sensor when the environment of the sensor is being manipulated so that a value within a wanted range, which differs from the range to expect in an un-manipulated environment, can be acquired.
[00039] Suitable sensors may be connected to, attached to, or integrated with the communication device. A température sensor may e.g. be arranged to capture the température of its environment, i.e. the air surrounding it, a pressure sensor may capture the pressure exposed to a device on which the sensor is attached, an accelerometer may capture an accélération force exposed to a device on which the accelerometer is arranged, a radar equipment may capture backscattering coefficients associated with a device on which the radar equipment is arranged, an angel measuring sensor may capture an angle of a device on which the angle measuring sensor is arranged, a rotation sensor may capture a rotation of a device on which the rotation sensor is arranged, a motion sensor may capture motion of a device on which the rotation sensor is arranged, a vibration sensor may capture vibration of a device on which the vibration sensor is arranged, a length sensor, which may e.g. be located in a sonar, may capture a spécifie length, and a light sensor, such as e.g. a photocell, may capture light in the environment of the sensor.
[00040] When applying manipulated sensor values, a température sensor may e.g. be placed in a location where the température of the environment is typically varying within the range of -10 °C - +30 °C, but not above 50 °C. By applying a threshold at 50 °C, setting a rule for initiation of a software update procedure to when a température is captured above 50 °C and by manipulating the environment of the sensor by warming up the air close to the sensor so that it reach above 50 °C, it will be possible to trigger a software update at the communication device to be initiated at such an occasion.
[00041] According to another embodiment, light puises may e.g. be flashed at a light sensor so that a light pattern is recognized as a pattern which triggers a software update procedure at a communication device.
[00042] Altematively, two sensors, capable of measuring different physical quantifies, may be combined so that e.g. data from an accélération force sensor and an angle sensor may capture data indicative of a user shaking a communication device according to a certain instruction or pattern when the angle sensor at the same time is being tilted above a certain angle. The latter embodiment is particularly suitable when both sensors are attached to the communication device, but one sensor may altematively be attached to the device while another senor is connected to it. By combining different sensors, e.g. as suggested, an even more robust procedure for when to actually initiate a software update may be achieved, since the spécifie combination of manipulations ofthe varions sensors may typically be very difficult to execute in the specified combination, without knowing the required combination of conditions in advance.
[00043] In addition to any of the approaches mentioned above, the mentioned conditions may be applied to consider data captured from one or more sensors, suitable for capturîng manipulated data in combination with data captured from one or more sensors suitable for capturing un-manipulated data.
[00044] Physical quantifies suitable to be captured as un-manipulated data may comprise e.g. geographical coordinates, distance, orientation, biométries or Visual sensor data, where e.g. a GPS may be used for capturing geographical coordinates, an ultrasonic sensor may be used for capturing distance data, an accelerometer may be used for capturing data indicative of an orientation, a biométrie fingerprint reader may capture a fingerprint, or visual sensor data, which may include e.g. digital pictures, which may e.g. be captured by a digital caméra.
[00045] By combining manipuiated data, such as e.g. motion, captured e.g. with a motion sensor with un-manipulated data, such as e.g. geographical coordinates, captured with e.g. a GPS, ît will be possible to trigger an updating procedure of software e.g.. when a communication device is shaken according to a certain predefined pattern when, at the same time, located at a certain geographical location, such as e.g. at a car service station, where the respective software update may be required and initiated by a person being aware of the required pressure pattern, which may e.g. only be known to authorized Personal of the service station.
[00046] In another scénario a communication device may be shaken or squeezed according to a certain pattern in combination with exposing a fingerprint of a user to a fingerprint sensor, where the fingerprint sensor may be configured to sense any human fingerprint or identify a spécifie fingerprint. In one alternative scénario the device may be shaken in combination with covering a light sensor with the shaking hand of the user, i.e. the combination of a shaking pattern and no light exposed to the light sensor will initiate a software updating procedure.
[00047] By combining capturing of one or more spécifie physical quantities, suitable for manipulation with capturing of e.g. geographical coordinates, the suggested method is not only very suitable for initiating a software update procedure for a constrained device, but also for devices, for which a spécifie software update is to be executed only when the communication device is at a certain location, but once at that location it shall be easy for a user, who is aware of the spécifie pattern, to initiate the update by manipulating the environment of a manipulatable sensor.
[00048] Due to the fact that a spécifie pattern may be required for triggering a spécifie software updating procedure, different patterns may be applicable for updating different parts, or areas of a memory. Altemativeiy, or additionally, different software versions may be selected depending on the applied pattern, which is triggering the software updating procedure.
[00049] Manipulation of an environment in which there is one or more sensors may be executed manually, so that e.g. a pressure sensor is being squeezed or the environment of a température sensor is being warmed up. Manual manipulation may corne in handy e.g. if one or a few communication devices are to be updated. However, in case of a large number of communication devices that need to be updated at more or less the same time, an automated process may be more appropriate. The latter use case may, especially for communication devices located in remote places, involve e.g. drones or land- based or underwater-based robots that are sent out to the relevant one or more sensors to manipulate the environment of these one or more sensors in a manner which will trigger a software updating procedure to be initiated at the communication devices.
[00050] In case one or a few sensors are to be used only for sensing manipuiated data, this or these sensors may be connected to a plurality of communication devices. Thereby, a manipulation of the environment of oniy one or a few sensors may, with a relatively limited effort, trigger a software updating procedure at a plurality of communication devices.
[00051] In order to increase the security with respect to the software updating procedure, certain relevant memory areas of a communication device may be adapted accordingly when software updating is to be executed at the device, as well as when the process has been completed. Fig. 2 discloses a method according to an alternative embodiment, which, to a large extend, corresponds to the method as disclosed above with reference to Fig. 1. What differs from the method of Fig. 1 are steps 160, 180 and 190. More specifically, once it has been determined, in step 140, that acquîred data meet with predefined conditions, the initiating step 170 is preceded by another step 160, where one or more relevant memory areas, about to be updated, are set to writeable area(s), thereby opening up for updating of these memory areas, which would otherwise hâve been write protected. The writeable area(s) is/are then updated, as indicated with step 170, where the mentioned areas remain writeable as long as the updating procedure commence, as indicated with step 180. Once the software updating procedure has been completed, the mentioned area(s) is/are set back to un-writable or write protected areas(s), as indicated with step 190, and the suggested method is completed.
[00052] Fig. 3 is giving an overview of a system in which the method mentioned above can be executed. A communication device 300 is connected to two sensors 400a,400b, from which data can be acquired and evaluated accordingly. As mentioned above, the sensors 400a,400b may be any type of sensors which can be adapted for sensing manipuiated and/or unmanipulated data. Although there are two sensors indicated in the figure it is to be understood that the communication device 300 may aiternatively be connected to one single sensor or to a plurality of sensors. As aiready mentioned above, one single sensor may be connected to a plurality of communication devices. As an alternative to being connected to the communication device 300, one or more of the sensors 400a,400b may form an intégral part of the communication device 300, or sensors may be arranged as a combination of integrated and stand-alone sensors.
[00053] The communication device 300 of Fig. 3 may also by connected to one or more servers, here represented by server 500, capable of providing updated software during an updating procedure. Alternatively, or in addition, a server 500 may be configured to receive data provided from the communication device, e.g. when it is operating in a conventional manner, such as e.g. according to a primary function. Although the figure only comprises one server 500 it is to be understood that the communication device 300 may be connected to a plurality of servers 500, or devices having software updating capabilities or one or more other communication devices, acting as servers. Communication between the communication device 300 and the server 500, as well as the sensors 400a,400b may be executed via any type of availabie wireless or wired communication technology, or a combination thereof. In case software to be updated is already accessible at the communication device, no interaction with any server will be required.
[00054] A communication device is, in the présent context, to be referred to as a device which comprise, or hâve access to, at least one sensor, which is adapted to communicate with one or more other devices and a communication network, such as e.g. a network opérable according to a network technology compilant with e.g. one or more of 2G, 3G, 4G, 5G, or of a short range technology, such as e.g. Zigbee, Bluetooth, Wi-Fi, Near-Filed Communication (NFC) or Ultra-wideband (UWB).
[00055] A communication device adapted to operate according to any of the embodiments described herein may, according to one embodiment, be configured as indicated in Fig. 4a. Fig. 4a comprises one or more processors, here represented by processor 310a, which is connected to a memory 320a, storing software 330a, adapted to allow the communication device 300a to execute certain functional tasks. The memory 320a also comprise memory areas 340a, adapted to store data, such as e.g. data captured from one or more sensors 400a,400b. In addition to memory 320ad the processor also comprises a non-volatile memory 340a, which is comprising memory areas for storing one or more software images, here represented by software image 350a, and/or one or more factory reset images, here represented by factory image 360a, or any other software, stored at the communication device 300a, for the purpose of serving as updatable software. The processor 310a can be any combination of one or more of e.g. a suitable central processing unit (CPU), multiprocessor, microcontroller, digital signal processor (DSP).
[00056] The communication device 300a also comprises at least one sensor interface, here represented by sensor interface 370a. Typically, the sensor interface 370a comprise a cache, or a separate cache (not shown) is connected to the sensor interface
370a, so that data acquired from a sensor can be cached at the communication device 300a before it is determined whether it meetwith predetermined conditions or not. In Fig. 4a, the communication devoice 300a is connected to two sensors 400a,400b, where each sensor 400a,400b, also comprise a respective sensor interface 410a,410b.
[00057] The communication device 300a may also comprise a computer program product, 38Oa, comprising a non-transitory computer readable medium on which a computer program is stored, which when run on the communication device 300a will cause the communication device 300a to execute a method according to any of the methods suggested herein.
[00058] Although not indicated in the figure, the communication device 300a typically also comprise further functional circuitry or functions, such as e.g. power source, further memory areas, such as e.g. Read Only Memory (ROM) and an interface for communication with a server, if applicable. Such functionality has been omitted from the figure in order not to obscure the mechanism, relevant for the understanding of the claimed technical solution.
[00059] The communication device 300a of fig. 4a, capable of initiating and executing a software updating process, is configured to acquire data captured by at least one sensor 400a,400b, which is/are accessible to the communication device 300a. It is also configured to compare the acquired data to predefined conditions for initiating a software updating process and to initiate the software updating process at the communication device 300a when it has determined that the acquired data meet with predefined conditions for updating software at the communication device 300a. According to one alternative embodiment, the communication device 300a may also be configured to initially determine that software updating procedure of the device is required, i.e. to initiate the suggested method, rather than determining that an updating procedure is required based on that predefined conditions are fulfilled for captured data.
[00060] Fig. 4b is illustrating a communication device 300b according to another embodiment, where communication device 300b is very similar to the communication device 300a of Fig. 4a, with the exception that there is spécifie circuitry arranged between the sensor interface 370b and the non-volatile memory 340b, which is refereed to as secure circuitry 390b, or a secure function. The secure circuitry 390b refers to circuitry which is configured to be triggered to set one or more spécifie memory area(s) to writeable, i.e. in an unprotected mode when a software updating procedure is about to commence and set the relevant one or more memory area(s) back to read only, i.e. to protected mode, once the initiated updating procedure is considered to be completed.
[00061] Irrespective of if a communication device is provîded with secure circuitry or not, the communication device may be configured to execute a primary and a secondary function where a primary function is adapted to capture data from at least one sensor, such as e.g. sensor 400a, where the captured data provides a représentation of the environment in which the respective sensor is located, or, in other words, data captured by a sensor in a conventional way, and a secondary function is adapted to capture data from at least one sensor, such as e.g. sensor 400b, where the captured data provides a potential trigger for the software updating process, i.e. the data is captured for the purpose of triggering a software updating procedure when conditions for such a procedure is considered to be fuifiited. The processor 310b of the communication device 300b therefore receives data to be handled by the first function without requiring any interaction from any secure circuitry 380c, if applied, whereas the secondary function is configured to process data recognized as a trigger for a software updating procedure. With secure circuitry applied, sensor data acquired by the processor 310b of the communication device 300b, which is to be handled in a conventional manner, i.e. which is not intended to initiate a software updating procedure will be forwarded to the processor 310b in a transparent manner.
[00062] The communication device 300a,300b described above according to any of Fig. 4a or 4b may be arranged as a device comprising at least one processor 310a, 310b, and memory 320a,320b, comprising computer readable instructions 320a,320b, which, when executed by the processor 310a,310b, causes the communication device 300a,300b to acquire data captured by at least one sensor 410a,410b which is accessible to the communication device 300a,300b, compare the acquired data to predefined conditions for initiating a software updating process, initiate the software updating process at the communication device 300a,300b in response to determining, by the communication device 300a,300b, that the acquired data meet with predefined conditions for updating software at the communication device 300a,300b.
[00063] The communication device 300a,300b may alternative^ also comprise computer readable instructions 320a,320b which, when executed by the processor 320a,320b, causes the communication device 300a,300b to execute a method according to any of the embodiments described herein.
[00064] According to another aspect, a communication device 300c for executing a software updating process as suggested herein is described below with reference to Fig. 4c. The communication device 300c comprise a data acquiring unit 610, configured to acquire data captured by at least one sensor which is accessible to the communication device 300c via a sensor interface 670, corresponding to step 120 of Fig. 1 and 2; a comparing unit 620, configured to compare the acquired data to predefined conditions, for initiating a software updating process, corresponding to step 130 in Fig. 1 and 2; an updating initiation unit 630 configured to initiate the software updating process at the communication device 300c in response to determining, by the comparing unit 620 that the acquired data meet with predefined conditions for updating software at the communication device 300c, corresponding to step 170 of Fig. 1 and 2. Optionally, the communication unit 300c may also comprise a secure function 650 or unit, corresponding to the secure circuitry 390b of Fig. 4b, configured to handle data captured from one or more sensors in a secure manner, as described above. Furthermore, the communication unit 300c may also comprise a timer unit 660 or a counter, configured to détermine how long or how many times the communication device 300c is to receive sensor data. Optionally, the communication device 300c may comprise also an analysis unit 640, capable of determining that a software updating procedure is required, and, thus, to initiate the method as disclosed herein, corresponding to step 110 of Fig 1 or 2.
[00065] Further functional units which is normally acquired in a communication device capable of operating as suggested herein, such as e.g. a power regulating unit and communication unit, which are not necessary for the understanding of the functionality as suggested herein, hâve been omitted for simplicity reasons.

Claims (21)

1, A method in a communication device for executing a software updating process at the communication device, the method comprising:
- acquiring (120) data captured by at least one sensor which is accessible to the communication device;
- comparing (130) the acquired data to predefined conditions for initiating a software updating process,
- initiating (170) the software updating process at the communication device in response to determining (140), by the communication device, that the acquired data meet with predefined conditions for updating software at the communication device, wherein the predefined conditions comprise that the acquired data has been manipulated in a spécifie way in relation to a reference value or interval.
2. The method according to claim 1, wherein the initiating (170) of the software updating at the communication device is executed at any of a secure function or a secure circuit of the communication device, where the secure function or circuitry is a function or circuitry isolated from the remaining functionality of the device, thereby allowing the communication device to operate also when the remaining functionality of the device does not operate in an adéquate or predicted way.
3. The method according to any of daims 1 or 2, wherein the predefined conditions comprise at least on of:
- a predefined pattern recognized in the acquired data, or
- acquired data exceeding or being below a predefined threshold value.
4. The method according to claim 4, wherein the acquired data is characterized in that the environment of the at least one sensor is being manipulated when the data is captured by the at least one sensor, such that the acquired data is being manually or automatically forced to fail within a spécifie interval, pattern or in a spécifie way in relation to a threshold value.
5. The method according to any of the preceding claims, wherein the communication device comprises:
- a primary function for capturing data from at least one sensor, where the captured data provides a représentation of the environment in which the respective sensor is located, and
- a secondary fonction for capturing data from at least one sensor, where the captured data provides a potential trigger for the software updating process.
6. The method according to any of the preceding daims, wherein the captured data comprise data indicative of at least one of: température, pressure, accélération force, backscattering coefficients, angle, rotation, motion, vibrations length or light,
7. The method according to any of the preceding daims, wherein the captured data is acquired from a combination of sensors, wherein the combination of sensors is capturing different categories of data.
8. A communication device (300a,300b) for executing a software updating process, the communication device (300a,300b) being configured to:
- acquire data captured by at least one sensor which is accessible to the communication device (300a,300b);
- compare the acquired data to predefined conditions for initiating a software updating process.
- initiate the software updating process at the communication device (300a,300b) in response to determining, by the communication device (300a,300b), that the acquired data meet with predefined conditions for updating software at the communication device (300a,300b), wherein the predefined conditions comprise that the acquired data has been manipulated in a spécifie way in relation to a reference value or interval.
9. The communication device (300a,300b) according to claim 8, wherein the communication device (300a,300b) is further configured to execute the initiation of the software updating at any of a secure circuitry (380c) or a secure fonction of the communication device (300a,300b,300c) , where the secure fonction or circuitry is a fonction or circuitry isolated from the remaîning functionality of the device, thereby allowing the communication device to operate also when the remaining functionality of the device does not operate in an adéquate or predicted way.
10. The communication device (300a,300b) according to any of claims 8 or 9, wherein the communication device (300a,300b) is configured to apply predefined conditions which comprise at least on of:
- a predefined pattern recognized in the acquired data, or
- acquired data exceeding or being below a predefined threshold value.
11. The communication device (300a,300b) according to claim 10, wherein the communication device (300a,300b) is configured to recognize data that has been captured by the at least one sensor (400a,400b) when the environment of the at least one sensor (400a,400b) has been manipulated , such that the acquired data is being manually or automatically forced to fa II within a spécifie interval, pattern or in a spécifie way in relation to a threshold value..
12. The communication device (300a,300b) according to any of daims 8-11, wherein the communication device (300a,300b) is configured to apply:
- a primary fonction for capturing data from at least one sensor (400a,400b), where the captured data provides a représentation of the environment in which the respective sensor (400a,400b) is located, and
- a secondary fonction for capturing data from at least one sensor (400a,400b), where the captured data provides a potential trigger for the software updating process.
13. The communication device (300a,300b) according to any of daims 8-12, wherein the captured data comprise data indicative of at least one of: température, pressure, accélération force, backscattering coefficients, angle, rotation, motion, vibrations Iength or light.
14. The communication device (300a,300b) according to any of daims 8-13, wherein the communication device (300a,300b) is configured to capture data acquired from a combination of sensors (400a,400b), wherein the combination of sensors (400a,400b) is capturing different categories of data.
15. The communication device (300a,300b) according to claim 14, wherein the communication device (300a,300b) is configured to capture non-manipulated data from a first sensor (400a) and manipulated data from a second sensor (400b), and to apply predefined conditions which comprise conditions for considering the un-manipulated and the manipulated data in combination.
16. The communication device (300a,300b) according to daim 15, wherein the communication device (300a,300b) is configured to capture manipulated data comprising data captured by a sensor (400b) indicative of any of: température, pressure, accélération force, backscattering coefficients, angle, rotation, motion, vibrations, Iength or light, and to capture non-manipulated data comprising data captured by a sensor (400a) indicative of any of: geographical coordinates, distance, orientation or Visual sensor data.
17. The communication device (300a,300b) according to any of ciaims 8-16, wherein the communication device (300a,300b) is further configured to update at least one part of software, wherein the at least one part of software is determined by the predefined conditions met by the acquired data.
18. The communication device (300a,300b) according to claim 17, wherein the communication device (300a,300b) is configured to set at least one write-protectable memory area associated with the software to be updated to writable area.
19. The communication device (300a,300b) according to claim 18, wherein the communication device (300a,300b) is configured to set the at least one write-protectable memory area associated with the software to be updated to un-writable area after the required software updating has been completed.
20. The communication device (300a,300b) according to any of claims 8-19, wherein the communication device (300a,300b) is configured to compare the acquired data to the predefined conditions until any ofthe following occasions has appeared:
- a timer timeout (150) has occurred, or
- the communication device communication device (300a,300b) has acquired data from at least one spécifie sensor (400a,400b) a predefined number of times.
21. A computer program product (380a, 380b), comprising a non-transitory computer readable medium (340a, 340b) on which a computer program (350a,360a, 350b,360b) is stored, which when run on the communication device (300a,300b) will cause the communication device (300a,300b) to execute a method according to any of claims 8-20.
OA1202200211 2019-12-19 A method and a communication device for updating software. OA20903A (en)

Publications (1)

Publication Number Publication Date
OA20903A true OA20903A (en) 2023-06-27

Family

ID=

Similar Documents

Publication Publication Date Title
US10120030B2 (en) Trace data recording system, trace data recording server, trace data recording method, and information storage medium
WO2016015551A1 (en) Method and system for improving safety of mobile terminal
US20140329461A1 (en) Provisioning a Wireless-Capable Device for a Wireless Network
US20190125509A1 (en) Method and apparatus for monitoring animals
US20150142141A1 (en) Electronic device and remote control method
CN110685119B (en) Washing machine and system and method for guaranteeing safety of children
WO2015117503A1 (en) Method and device for exchanging information between smart terminal and wearable device
JP2017511944A (en) Information transmission method and apparatus, program, and recording medium
JP2007080171A (en) Apparatus and method for managing device, program, and recording medium
CN111860218A (en) Early warning method and device, storage medium and electronic device
CN112689079B (en) Dormancy state starting method and device
US20230025271A1 (en) Method and Communication Device for Updating Software
TW201835746A (en) Electronic device with function selection module and function selection method and function selection system thereof
OA20903A (en) A method and a communication device for updating software.
JP2016042655A5 (en)
WO2017012205A1 (en) Method and device for controlling screen, terminal, and storage medium
CN111796872A (en) Control method, robot, control apparatus, system, and medium
JP5464276B2 (en) Parallel computer, parallel computer job information acquisition program, parallel computer job information acquisition method, computer device and computer management device
KR102369793B1 (en) Surveillance method and apparatus
JP7153277B2 (en) Determining presence and absence
TWI622024B (en) Smart image-type monitoring alarm device
TWI616772B (en) Factory reset protection disarm method and electronic device
CA3129046A1 (en) Integrated security monitoring via watchdog trigger locking and mdm-based persistence
Malinowski et al. Smart dog walk monitor and reminder with color-coded status indicators
WO2017012206A1 (en) Terminal, operation method therefor and storage medium