-
1.
公开(公告)号:US20230385131A1
公开(公告)日:2023-11-30
申请号:US18043194
申请日:2021-08-04
Applicant: Huawei Technologies Co., Ltd.
Inventor: Feng Han , Wenyong Sun
CPC classification number: G06F9/542 , G06F9/546 , G06F9/44521
Abstract: A system service detects a first trigger event of a target application, loads an application program of the target application in response to the first trigger event, and transmits a communication address to the application program. The application program performs preloading, and waits to receive a message based on the communication address. The system service detects a second trigger event of the target application. The system service generates a startup instruction in response to the second trigger event of the target application, and sends the startup instruction to the application program. The application program receives the startup instruction by using the communication address, and starts the target application in response to the startup instruction.
-
公开(公告)号:US11886222B1
公开(公告)日:2024-01-30
申请号:US17796454
申请日:2020-11-27
Applicant: Huawei Technologies Co., Ltd.
Inventor: Tao Wang , Wenyong Sun
CPC classification number: G06F9/44521
Abstract: A dynamic link library loading method includes: when an identifier of a first dynamic link library is not in a list of loaded dynamic link libraries, allocating a handle to the first dynamic link library, and adding the identifier of the first dynamic link library and the handle allocated to the first dynamic link library to the list of the loaded dynamic link libraries; and when the first dynamic link library is an integrated dynamic link library, adding identifiers of one or more dynamic link libraries for integration and the handle allocated to the first dynamic link library to the list of loaded dynamic link libraries; and based on the handle allocated to the first dynamic link library, loading the first dynamic link library into a running memory of an electronic device.
-
公开(公告)号:US20180109118A1
公开(公告)日:2018-04-19
申请号:US15568426
申请日:2015-05-19
Applicant: Huawei Technologies Co., Ltd.
Inventor: Wenyong Sun , Jun Hu
IPC: H02J7/00
CPC classification number: H02J7/007 , H02J7/0047 , H02J7/04 , H04M19/08
Abstract: A charging method, a charging apparatus, and a terminal are disclosed. The method includes: identifying, when it is detected that a charging apparatus is inserted into a charging port of a terminal by using a charging cable, a first voltage value of the charging port; setting a second charging current; identifying a second voltage value of the charging port at the second charging current; calculating a cable impedance of the charging cable according to the first voltage value, the second charging current, and the second voltage value; and adjusting a suitable charging current of the charging apparatus according to the cable impedance of the charging cable. Therefore, the terminal can adapt to different charging apparatuses, improving charging experience of a user.
-
公开(公告)号:US20230342164A1
公开(公告)日:2023-10-26
申请号:US17796454
申请日:2020-11-27
Applicant: Huawei Technologies Co., Ltd.
Inventor: Tao Wang , Wenyong Sun
IPC: G06F9/445
CPC classification number: G06F9/44521
Abstract: A dynamic link library loading method includes: when an identifier of a first dynamic link library is not in a list of loaded dynamic link libraries, allocating a handle to the first dynamic link library, and adding the identifier of the first dynamic link library and the handle allocated to the first dynamic link library to the list of the loaded dynamic link libraries; and when the first dynamic link library is an integrated dynamic link library, adding identifiers of one or more dynamic link libraries for integration and the handle allocated to the first dynamic link library to the list of loaded dynamic link libraries; and based on the handle allocated to the first dynamic link library, loading the first dynamic link library into a running memory of an electronic device.
-
-
-