Throttling of application access to resources

    公开(公告)号:US09336070B1

    公开(公告)日:2016-05-10

    申请号:US14991843

    申请日:2016-01-08

    Applicant: Apple Inc.

    CPC classification number: G06F9/542 G06F2209/545

    Abstract: A method and apparatus of a device that modifies an application sleep state of a running application is described. In an exemplary embodiment, the device detects an event associated with the running application. In addition, the device evaluates one or more run-time characteristics of the running application. The device further determines if the running application is a candidate to have the application sleep state of this running application modified based on the monitored one or more run-time characteristics of the running application and the detected event. If the running application is a candidate to have the application sleep state of this running application modified, the device sends a message to the operating system of the device indicating how the application sleep state of the running application is to be modified, where the device includes a virtual memory subsystem that pages data of the running application between volatile storage to non-volatile storage.

    INPUT DEVICE EVENT PROCESSING
    2.
    发明申请
    INPUT DEVICE EVENT PROCESSING 有权
    输入设备事件处理

    公开(公告)号:US20130332867A1

    公开(公告)日:2013-12-12

    申请号:US13648688

    申请日:2012-10-10

    Applicant: APPLE INC.

    Abstract: A background thread can be used to process events, e.g., a touch, gesture, pinch, or swipe, that are received on a touch sensitive device, or events, e.g., mouse scroll wheel events that are received on a input device, e.g., a mouse. The background thread can be used to process events when a main thread assigned to the Graphical User Interface (GUI) is interrupted. In such situations, the background thread can continue processing events. In cases where the main thread is interrupted and the event is scroll input, the background thread can draw content on the GUI in response to the scroll, so that the response to the scroll input observed by the user is unaffected by the interrupted main thread. By processing events and drawing content using the background thread while the main thread is blocked, the GUI can be navigated without having the user experience a stall or stutter.

    Abstract translation: 背景线程可用于处理在触敏设备上接收的事件(例如,触摸,手势,捏或滑动)或诸如在输入设备上接收的鼠标滚轮事件的事件,例如, 一个鼠标。 当分配给图形用户界面(GUI)的主线程中断时,后台线程可用于处理事件。 在这种情况下,后台线程可以继续处理事件。 在主线程中断并且事件是滚动输入的情况下,后台线程可以在GUI上绘制内容以响应滚动,使得由用户观察到的对滚动输入的响应不受中断的主线程的影响。 通过在主线程被阻塞时通过处理事件和使用后台线程绘制内容,可以导航GUI,而不会使用户体验到停顿或停顿。

    MULTI-PROCESS MODEL FOR CROSS-PLATFORM APPLICATIONS

    公开(公告)号:US20210216337A1

    公开(公告)日:2021-07-15

    申请号:US17219665

    申请日:2021-03-31

    Applicant: Apple Inc.

    Abstract: A multi-process model to support compiling applications for multiple platforms is described. In one embodiment, applications designed for execution on a mobile platform can be ported to and/or compiled for execution on a desktop/laptop platform without requiring modification of the core program code of the mobile application. The mobile application is executed using a multi-process (e.g., two or more process) model in which the core mobile application program generates content that is displayed by a host process. The host process enables automatic translation of program calls to generate mobile user interface elements into program calls that generate user interface elements of the host platform. The translation can be performed using a multi-process (e.g., two or more process) model in which the core application program generates content that is displayed by a host process.

    Efficient mechanism for terminating applications
    6.
    发明授权
    Efficient mechanism for terminating applications 有权
    高效的终端应用机制

    公开(公告)号:US08607248B2

    公开(公告)日:2013-12-10

    申请号:US13656153

    申请日:2012-10-19

    Applicant: Apple Inc.

    CPC classification number: G06F9/485

    Abstract: An efficient mechanism for terminating applications of a data processing system is described herein. In one embodiment, in response to a request for exiting from an operating environment of a data processing system, an operating system examines an operating state associated with an application running within the operating environment, where the operating state is stored at a predetermined memory location shared between the operating system and the application. The operating system immediately terminates the application if the operating state associated with the application indicates that the application is safe for a sudden termination. Otherwise, the operating system defers terminating the application if the operating state associated with the application indicates that the application is unsafe for the sudden termination.

    Abstract translation: 本文描述了用于终止数据处理系统的应用的有效机制。 在一个实施例中,响应于从数据处理系统的操作环境退出的请求,操作系统检查与在操作环境中运行的应用相关联的操作状态,其中操作状态被存储在共享的预定存储器位置 在操作系统和应用程序之间。 如果与应用程序相关联的操作状态指示应用程序对于突然终止是安全的,则操作系统立即终止应用程序。 否则,如果与应用程序相关联的操作状态指示应用程序对于突然终止不安全,则操作系统会延迟终止应用程序。

    EFFICIENT MECHANISM FOR TERMINATING APPLICATIONS

    公开(公告)号:US20130047167A1

    公开(公告)日:2013-02-21

    申请号:US13656153

    申请日:2012-10-19

    Applicant: Apple Inc.

    CPC classification number: G06F9/485

    Abstract: An efficient mechanism for terminating applications of a data processing system is described herein. In one embodiment, in response to a request for exiting from an operating environment of a data processing system, an operating system examines an operating state associated with an application running within the operating environment, where the operating state is stored at a predetermined memory location shared between the operating system and the application. The operating system immediately terminates the application if the operating state associated with the application indicates that the application is safe for a sudden termination. Otherwise, the operating system defers terminating the application if the operating state associated with the application indicates that the application is unsafe for the sudden termination. Other methods and apparatuses are also described.

    Multi-process model for cross-platform applications

    公开(公告)号:US10901761B2

    公开(公告)日:2021-01-26

    申请号:US16143407

    申请日:2018-09-26

    Applicant: Apple Inc.

    Abstract: Embodiments described herein provide for a multi-process model to support compiling applications for multiple platforms. In one embodiment, applications designed for execution on a mobile platform can be ported to and/or compiled for execution on a desktop/laptop platform without requiring modification of the core program code of the mobile application. The mobile application is executed using a multi-process (e.g., two or more process) model in which the core mobile application program generates content that is displayed by a host process. The host process enables automatic translation of program calls to generate mobile user interface elements into program calls that generate user interface elements of the host platform. The translation can be performed using a multi-process (e.g., two or more process) model in which the core application program generates content that is displayed by a host process.

    Multi-process model for cross-platform applications

    公开(公告)号:US10684871B2

    公开(公告)日:2020-06-16

    申请号:US16143408

    申请日:2018-09-26

    Applicant: Apple Inc.

    Abstract: Embodiments described herein provide for a multi-process model to support compiling applications for multiple platforms. In one embodiment, applications designed for execution on a mobile platform can be ported to and/or compiled for execution on a desktop/laptop platform without requiring modification of the core program code of the mobile application. The mobile application is executed using a multi-process (e.g., two or more process) model in which the core mobile application program generates content that is displayed by a host process. The host process enables automatic translation of program calls to generate mobile user interface elements into program calls that generate user interface elements of the host platform. The translation can be performed using a multi-process (e.g., two or more process) model in which the core application program generates content that is displayed by a host process.

    MULTI-PROCESS MODEL FOR CROSS-PLATFORM APPLICATIONS

    公开(公告)号:US20190370033A1

    公开(公告)日:2019-12-05

    申请号:US16143408

    申请日:2018-09-26

    Applicant: Apple Inc.

    Abstract: Embodiments described herein provide for a multi-process model to support compiling applications for multiple platforms. In one embodiment, applications designed for execution on a mobile platform can be ported to and/or compiled for execution on a desktop/laptop platform without requiring modification of the core program code of the mobile application. The mobile application is executed using a multi-process (e.g., two or more process) model in which the core mobile application program generates content that is displayed by a host process. The host process enables automatic translation of program calls to generate mobile user interface elements into program calls that generate user interface elements of the host platform. The translation can be performed using a multi-process (e.g., two or more process) model in which the core application program generates content that is displayed by a host process.

Patent Agency Ranking