Sleep Wake Event Logging Using UUID Correlation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Computer systems experience system failures during sleep mode transitions without providing adequate data for debugging, as existing technologies lack effective event logging mechanisms to correlate and store sub-system events related to sleep and wake events.

Innovation Solution

A method using a universally unique identifier (UUID) to correlate sub-system events with sleep and wake events, logging these events in non-volatile storage, and monitoring their stages to facilitate debugging by storing data in real-time, allowing for the identification of system failure causes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Use of energy by moving object

If sleep mode is implemented to save power, then energy consumption is reduced, but system reliability deteriorates due to undetected errors during sleep transitions

Engineering Contradiction:
Improveenergy consumptionVSAvoidsystem reliability
Core Design Contradiction:
Use of energy by moving objectVSReliability

Solution Approach 1:

The system performs preliminary actions by creating a UUID before sleep mode activation and storing it in non-volatile memory. This preliminary setup enables subsequent correlation of sub-system events with the specific sleep-wake cycle, allowing post-event analysis without requiring the system to remain powered on continuously.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

A UUID serves as an intermediary identifier that links sub-system events to specific sleep-wake cycles. This intermediary enables the correlation of distributed sub-system logs with the main sleep event, facilitating debugging while maintaining power savings during sleep mode.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If comprehensive event logging is implemented to improve debugging capability, then measurement precision is improved, but device complexity increases

Engineering Contradiction:
Improvedebugging capabilityVSAvoiddevice complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The logging system is segmented into independent sub-systems, each generating events for specific components (network interface, device driver, etc.). This segmentation allows modular implementation where each sub-system logs independently, reducing overall system complexity while maintaining comprehensive debugging capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The UUID serves multiple functions: identifying the sleep-wake cycle, correlating sub-system events, and enabling post-event analysis. This universal identifier simplifies the logging architecture by providing a single correlation mechanism across all sub-systems rather than requiring complex inter-sub-system communication protocols.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Loss of information

If sub-system events are monitored and logged in real-time, then information completeness is improved, but loss of time increases due to processing overhead

Engineering Contradiction:
Improveinformation completenessVSAvoidprocessing time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The UUID is created and stored in non-volatile memory before sleep mode activation. This preliminary action ensures the identifier is available for correlating events that occur during and after sleep without requiring real-time generation or complex lookup mechanisms during the actual sleep-wake transition.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system uses a simplified copy of event data stored in non-volatile memory rather than maintaining complete real-time logs in volatile memory. This copying approach preserves essential debugging information while reducing the processing overhead and memory requirements during sleep mode operations.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS9122480B2Sleep wake event logging
Publication Date: 2015.09.01 APPLE INC
  • US9122480B2 patent drawing
  • US9122480B2 patent drawing
  • US9122480B2 patent drawing

AI summary

A machine implemented method includes creating a universally unique identifier, detecting a trigger of a sleep event, and associating the universally unique identifier with the sleep event. The method monitors sub-system events that occur after a sleep event has been triggered and stores data in non-volatile non-disk storage (e.g., non-boot storage) identifying an event stage corresponding to the sub-system event that is occurring. The method determines whether a wake event has completed and logs each of the sub-system events using the universally unique identifier until a wake event has completed.