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
    5.
    发明申请

    公开(公告)号: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).

    System Service Timeout Processing Method, and Apparatus

    公开(公告)号:US20200264933A1

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

    申请号:US16651909

    申请日:2017-09-30

    Abstract: Embodiments of this application relate to the field of communications technologies, and provide a system service timeout processing method and an apparatus. The method includes: when a target system service thread in at least one system service thread times out, determining, by a terminal, a first application process communicating with the target system service thread, where the timeout of the target system service thread includes at least one of the following: a locked object occupied by the target system service thread is not released within a preset time, and the target system service thread is blocked; and ending, by the terminal, the first application process.

    Display Method, Apparatus, and Storage Medium

    公开(公告)号:US20250047774A1

    公开(公告)日:2025-02-06

    申请号:US18926853

    申请日:2024-10-25

    Abstract: A display method includes a terminal that detects a first trigger event, and determines, based on the first trigger event, that a first application is in a large-screen display mode. The terminal obtains an internal element of a control on a first user interface. The terminal determines a scaling size of the element, and determines a layout of the internal element of the control based on the scaling size of the element and a screen size in the large-screen display mode. The terminal draws a second user interface based on the scaling size of the element and the layout of the internal element of the control, and displays the second user interface.

    Multi-Application Interaction Method
    9.
    发明公开

    公开(公告)号:US20230367464A1

    公开(公告)日:2023-11-16

    申请号:US18245277

    申请日:2021-09-16

    Abstract: A method includes a first electronic device that displays an interface of a first application and an interface of a second application and obtains first content in the interface of the first application and second content in the interface of the second application; receives a drag operation on both the first content and the second content and displays a first window after the first content and the second content are dragged to a first area on a touchscreen of the first electronic device, where the first window includes third content related to the first content and the second content and an option for sharing.

    System service timeout processing method, and apparatus

    公开(公告)号:US11693701B2

    公开(公告)日:2023-07-04

    申请号:US16651909

    申请日:2017-09-30

    CPC classification number: G06F9/5022 G06F9/4812 G06F9/5083

    Abstract: Embodiments of this application relate to the field of communications technologies, and provide a system service timeout processing method and an apparatus. The method includes: when a target system service thread in at least one system service thread times out, determining, by a terminal, a first application process communicating with the target system service thread, where the timeout of the target system service thread includes at least one of the following: a locked object occupied by the target system service thread is not released within a preset time, and the target system service thread is blocked; and ending, by the terminal, the first application process.

Patent Agency Ranking