Abstract:
Methods for presenting files upon switching between system states and portable terminals are provided. The portable terminal comprising a first system platform and a second system platform, a state in which the presentation of the file is controlled by the first system platform being a first state, and a state in which the presentation of the file is controlled by the second system platform being a second state. The method comprising: detecting, by the first system platform in the first state, that a status of the file satisfies a preset condition; backuping, by the first system platform, the file for the second system platform; and switching to the second state, and continuing, by the second system platform, the presentation of the file based on the backup file. With the portable terminal of hybrid system architecture according to embodiments of the present invention, if the system state is switched while a file is being played, the switched-to system can continue presenting the file based on the backup file, according to the presentation progress before the system switching. In this way, it is possible to achieve a seamless presentation of the file before and after the switching, and thus improve user's experience.
Abstract:
A computer and a method for controlling an operating state of a device thereof are disclosed. The method comprises: detecting that a display portion and a host portion of the computer are in a state of being disconnected from each other; and generating a state event or a control instruction corresponding to the disconnected state for switching the device to an inactive state. With the present invention, when the state of a computer changes, e.g., when a display portion and a host portion of a portable computer are separated, an operating system can control a device to switch its operating state, e.g., deactivate the device, based on a generated state event. In this way, it is possible to avoid unnecessary power consumption of the entire computer due to the active state of the device, and any potential security risk can be eliminated.