Plug-in implementation method and plug-in implementation system

    公开(公告)号:US11880695B2

    公开(公告)日:2024-01-23

    申请号:US17697498

    申请日:2022-03-17

    CPC classification number: G06F9/44526 G06F8/71 G06F9/44536

    Abstract: This application provides a plug-in implementation system and method. The system includes a plug-in module and a terminal software module. When the terminal software module does not include a service implementation of a first plug-in interface, the plug-in module may load a default implementation of the first plug-in interface to invoke the first plug-in interface. In this way, a plug-in may be extended to extend a service function of a terminal. In addition, when the plug-in interface is inconsistent with a plug-in function, the default implementation of the plug-in interface is implemented by using the plug-in module, so that an open-source software module can run normally, to ensure normal running of an electronic device as much as possible. Therefore, the open-source software module no longer depends on the terminal software module, and the terminal software module can be decoupled from the open-source software module.

    Method for processing refresh and display exceptions, and terminal

    公开(公告)号:US11151017B2

    公开(公告)日:2021-10-19

    申请号:US16754695

    申请日:2017-10-15

    Abstract: A method includes: obtaining a refresh request of an application, where the refresh request is used to instruct to refresh display data of the application; transferring the refresh request to a display daemon by using a render thread of the application; when communication duration between the render thread and the display daemon is greater than a first time threshold, determining that an exception occurs in the render thread; and when duration in which the display daemon processes the refresh request is greater than a second time threshold, determining that an exception occurs in the display daemon.

    Method for Processing Refresh and Display Exceptions, and Terminal

    公开(公告)号:US20200242004A1

    公开(公告)日:2020-07-30

    申请号:US16754695

    申请日:2017-10-15

    Abstract: A method includes: obtaining a refresh request of an application, where the refresh request is used to instruct to refresh display data of the application; transferring the refresh request to a display daemon by using a render thread of the application; when communication duration between the render thread and the display daemon is greater than a first time threshold, determining that an exception occurs in the render thread; and when duration in which the display daemon processes the refresh request is greater than a second time threshold, determining that an exception occurs in the display daemon.

    Processing Method and Apparatus
    4.
    发明申请

    公开(公告)号:US20200257558A1

    公开(公告)日:2020-08-13

    申请号:US16754563

    申请日:2017-10-13

    Abstract: A processing method and an apparatus, applied to the process of Binder communication, to resolve a problem that a normal communication service of an Android system is affected due to Binder thread exhaustion. The processing method comprises: when a. quantity of application threads in an application process of an application is greater than or equal to a first threshold, determining a quantity of Binder threads, the Binder threads are occupied by the application process, the application process is in each interface in a system server process (S301), wherein one application thread in the application process corresponds to one Binder thread in the system server process; and keeping a quantity of Binder threads not greater than a second threshold, the Binder threads are occupied by the application process, the application process is in at least one interface in the system server process (S302).

Patent Agency Ranking