Hardware timer data expiration
An example operation includes one or more of determining a portion of memory in a transport to store data, establishing a timeframe when the data may be accessed based on a type of the data, and clearing the data from the portion of memory after the timeframe. The type of the data may be related to one or more of the transport and an occupant of the transport. A length of the timeframe is inversely proportional to a criticality of the type of the data.
1 . A method, comprising:
determining a time frame during which data stored in a memory of a transport can be accessed;
identifying a first event, ending the time frame at an interrupt time before an expiration time of the time frame in response to a first transport event;
calculating a remaining portion of the time frame by subtracting the interrupt time from the expiration time; and
applying the remaining portion to a second transport event.
2 . The method of claim 1 , comprising:
replacing the data in the memory during the time frame with new data, wherein the new data is not cleared after the time frame;
starting a new time frame based on the data being replaced, wherein a length of the new time frame is based on a type of the new data; and
clearing the new data from the memory after the new time frame.
3 . The method of claim 1 , comprising:
maintaining an access control list of valid read requestors for the data;
receiving a read request for the data during the time frame from a read requestor not in the access control list, and in response:
clearing the data from the memory.
4 . The method of claim 1 , wherein the determining the time frame comprises:
determining a length of the time frame based on a type of data.
5 . The method of claim 1 , wherein the time frame is based on an expected completion time of a task related to one or more of the transport or a transport occupant, wherein in response to the time frame expiring before completion of the task, the method further comprises:
clearing the data from the memory in response to the completion of the task.
6 . The method of claim 5 , comprising:
providing a notification related to the clearing of the data to one or more of a server, another transport, or an occupant device.
7 . The method of claim 1 , wherein a start of the time frame is based on a change of presence of an occupant within the transport, and an end of the time frame is based on an opposite change of presence of the occupant within the transport, wherein in response to the end of the time frame the method further comprises:
clearing the data from the memory.
8 . A system, comprising:
a processor that executes instructions stored in a memory to configure the processor to:
determining a time frame during which data stored in the memory of a transport can be accessed;
in response to a first event being identified, end the time frame at an interrupt time before an expiration time of the time frame;
calculate a remaining portion of the time frame by subtracting the interrupt time from the expiration time; and
apply the remaining portion to a second transport event.
9 . The system of claim 8 , wherein the processor is to:
replace the data in the memory during the time frame with new data, wherein the new data is not cleared after the time frame;
start a new time frame based on the data being replaced, wherein a length of the new time frame is based on a type of the new data; and
clear the new data from the memory after the new time frame.
10 . The system of claim 8 , wherein the processor is to:
maintain an access control list of valid read requestors for the data;
a read request for the data during the time frame from a read requestor not in the access control list, and in response:
clear the data from the portion of memory.
11 . The system of claim 8 , wherein the processor is to:
determine a length of the time frame based on a type of data.
12 . The system of claim 8 , wherein the time frame is based on an expected completion time of a task related to one or more of the transport or a transport occupant, wherein in response to the time frame expiring before completion of the task, the processor is configured to:
clear the data from the memory in response to the completion of the task.
13 . The system of claim 12 , wherein the processor is to:
provide a notification to one or more of a server, another transport, or an occupant device related to the data being cleared.
14 . The system of claim 8 , wherein a start of the time frame is based on a change of presence of an occupant within the transport, and an end of the time frame is based on an opposite change of presence of the occupant within the transport, wherein in response to the end of the time frame the processor is configured to:
clear the data from the memory.
15 . A non-transitory computer-readable medium comprising instructions that, when executed by a processor, cause the processor to perform:
determining a time frame during which data stored in the memory of a transport can be accessed;
in response to identifying a first event, ending the time frame at an interrupt time before an expiration time of the time frame in response to a first transport event;
calculating a remaining portion of the time frame by subtracting the interrupt time from the expiration time; and
applying the remaining portion to a second transport event.
16 . The non-transitory computer-readable medium of claim 15 , wherein the instructions cause the processor to perform:
replacing the data in the memory during the time frame with new data, wherein the new data is not cleared after the time frame;
starting a new time frame based on the data being replaced, wherein a length of the new time frame is based on a type of the new data; and
clearing the new data from the memory after the new time frame.
17 . The non-transitory computer-readable medium of claim 15 , wherein the instructions cause the processor to perform:
maintaining an access control list of valid read requestors for the data;
receiving a read request for the data during the time frame from a read requestor not in the access control list, and in response:
clearing the data from the memory.
18 . The non-transitory computer-readable medium of claim 15 , wherein the instructions cause the processor to perform:
determining a length of the time frame based on a type of data.
19 . The non-transitory computer-readable medium of claim 15 , wherein the time frame is based on an expected completion time of a task related to one or more of the transport or a transport occupant, wherein in response to the time frame expiring before completion of the task, the instructions cause the processor to perform:
clearing the data from the memory in response to the completion of the task; and
providing a notification related to the clearing of the data to one or more of a server, another transport, or an occupant device.
20 . The non-transitory computer-readable medium of claim 15 , wherein a start of the time frame is based on a change of presence of an occupant within the transport, and an end of the time frame is based on an opposite change of presence of the occupant within the transport, wherein in response to the end of the time frame the instructions cause the processor to perform:
clearing the data from the memory.