Maintenance Window

Maintenance Window - Scheduled Maintenance Tasks

Definition

Maintenance Window refers to the maintenance tasks such as OTA upgrades and batch configuration deployments carried out within a specified time period to avoid affecting peak business hours. Repeat cycles (e.g., every Sunday at midnight) can be configured, and it is associated with Maintenance Schedule.

Configuration and Execution Strategy

The maintenance window can be configured with a start time, end time, time zone, and repeat rules (daily, weekly, monthly). OTA tasks, batch configurations, etc., can be automatically triggered within the window or restricted to execution only within the window. Different windows can be set by device, group, or region to accommodate cross-time-zone and multi-business scenarios. In vehicle networking scenarios, windows can be dynamically calculated based on vehicle idle periods (e.g., overnight parking); in industrial equipment scenarios, windows can be configured according to production line downtime schedules. When combined with Maintenance Schedule, it enables fine-grained planning with a "schedule + window" approach.

Integration with DMP

Device Management Platform validates maintenance windows at the entry points of OTA task creation, batch operations, and more. Tasks can be configured as "execute only within the window" or "require secondary confirmation outside the window"; tasks not completed beyond the window can be automatically paused or trigger an alert. The platform can provide window conflict detection and multi-window overlay strategies (taking the intersection or union). Combined with Gray Release gray release, upgrades can be executed in batches within the window to reduce overall risk.

Use Cases

Applicable to automotive T-Box nighttime upgrades, smart meter centralized meter reading periods, industrial production line shift gaps, low-traffic periods of carrier base stations, etc. Maintenance windows are an important mechanism to ensure business continuity and can effectively reduce the impact of maintenance on business.

How a time bound holds batch actions back

A maintenance window is a span of time in which disruptive operations are allowed to run. It is not a note on the calendar. If an upgrade, a bulk configuration change, or a reboot is declared to run only inside the window, the scheduler should release it when the window opens, stop new deliveries when the window closes, and deal with work already sent that has not finished. A window is a start, an end, a time zone, and a repeat rule. An overnight window, such as 23:00 through 04:00 the next day, has an end earlier than its start, and that has to be stated as crossing midnight rather than rejected as invalid. Devices in different regions cannot share a "two in the morning" that has no time zone. The window constrains when the platform sends the action. Whether a device that wakes only after the window has closed may still carry it out has to be stated on its own. It cannot be left to a default. The split with a schedule is this: the schedule decides what to do, and the window decides which hours that work may land in. If a firmware update over the air may last longer than the window, remaining time should be judged as the window is entered, not discovered after the job has already started.

Settings a window needs before it takes effect

For a window to take effect, the task has to reference it, and the scheduler has to recompute the decision every time it releases work, not only at the moment the task is created. The repeat rule has to state the exceptions, for example whether a statutory shutdown day counts as a window. If a group of devices sits in different business peaks, bind different windows by group, rather than one pre-dawn hour for the whole network. After a device group changes, the device should fall under the new window, and an in-flight task from the old window needs an owner. Concurrency inside the window needs a cap too. Otherwise the "allowed two hours" restarts every device at once, and the peak is only moved inside the window. A task still unfinished when the window ends should pause and record why, then continue in the next window. If the business allows it to run past the end, that exception has to be opened explicitly and the operator recorded. A "suggested window" that only reminds, and does not block delivery, must not be shown in the interface as a ban on work outside the window.

Time zones and overnight spans calculated the wrong way

Treating a configuration whose end is earlier than its start as an error, and dropping it, means an overnight window never exists, and upgrades are placed in the daytime. A time zone taken from the operator's browser shifts the whole window when someone else edits it. On the day daylight-saving time changes, the same local time occurs twice or is skipped, and a task runs twice or is skipped. An end of window that only stops the queue, and does not recall a reboot already sent, delivers the command during the peak. A paused task that is retried by hand and no longer checks the window bypasses the constraint. If nobody has written whether several windows are a union or an intersection, a device that matches both "upgrade allowed" and "reboot forbidden" has an undefined result. Saving in server local time and displaying in universal time puts the window the duty staff sees hours away from the window that actually releases work. The next gray-release batch can be placed inside the window while the watch period is not over, and the window opening then widens a version that has not been confirmed.

Related Terms

Return to Device Management Platform terminology