-
公开(公告)号:US20240345879A1
公开(公告)日:2024-10-17
申请号:US18752367
申请日:2024-06-24
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Xin CHEN , Zhihui GAO , Yongliang GAO , Liming ZHENG , Cheng LIN , Mingyue ZHAO , Lei DAI , Xiuchang LI
IPC: G06F9/48
CPC classification number: G06F9/4881 , G06F9/485
Abstract: This application discloses a task processing method. The method is applied to a computer system, and the computer system includes a user mode and a kernel mode. The user mode includes a plurality of tasks, and the tasks are threads or processes. The method includes: detecting, in the kernel mode, a type of a first request of entering a kernel entry; when the type of the first request indicates that a first task is suspended in the user mode, switching at least from a user-mode context of the first task to a user-mode context of a second task, recording a suspended state of the first task and a running time from a moment of starting to run the first task to a moment of suspending the first task, and skipping processing other scheduling statuses of the first task; and running the second task in the user mode.
-
公开(公告)号:US20230259370A1
公开(公告)日:2023-08-17
申请号:US18309501
申请日:2023-04-28
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Jianping LIU , Lei DAI , Jubin ZHONG
IPC: G06F9/448
CPC classification number: G06F9/4484
Abstract: This application discloses a program execution method, which may be applied to the field of program processing. The method includes: receiving a call request of a first program for a small stub function; loading the small stub function based on the call request; and determining, based on the small stub function, whether to load a complementary real function corresponding to the small stub function. A function that may actually need to be called by the first program is the complementary real function, and the small stub function may be understood as a buffer for loading the complementary real function. Whether to load the complementary real function can be controlled through addition of the buffer, so that a requirement of the first program for a running memory can be reduced.
-
公开(公告)号:US20180210801A1
公开(公告)日:2018-07-26
申请号:US15926453
申请日:2018-03-20
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Qixuan WU , Lei DAI , Shanxi CHEN
CPC classification number: G06F11/3006 , G06F11/30 , G06F11/3051 , G06F11/3055 , G06F11/3086 , G06F11/3495 , H04L43/08 , H04L43/10 , H04L65/80
Abstract: A container monitoring method and apparatus, which are used for monitoring a plurality of monitored objects running on a physical machine. The type of plurality of monitored objects comprising at least one of a container, a process-in-container, or a thread-in-container. The physical machines comprising a primary monitor. The primary monitor receives monitoring information respectively reported by the multiple monitored objects. Monitoring information of monitored objects of a same type in the multiple monitored objects is reported by using a same channel. The primary monitor determines respective service statuses of the multiple monitored objects according to the monitoring information and unique identifiers. This can reduce resources consumed during monitoring in the prior art, and resolve a problem that a requirement for multidimensional monitoring on a container cannot be met due to high resource consumption.
-
公开(公告)号:US20230333935A1
公开(公告)日:2023-10-19
申请号:US18339925
申请日:2023-06-22
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Jianguo CHEN , Lei DAI , Yangyang JIANG
IPC: G06F11/14
CPC classification number: G06F11/1438 , G06F2201/865
Abstract: This application provides a quick start method. When a software fault occurs in a device, a restart request is called through a customized interface that complies with an instruction set specification, to indicate firmware to restart system software; and an image of the system software such as an operating system, a hypervisor, or a Trusted Execution Environment (TEE) is loaded to restart the system software, without resetting hardware. This skips a hardware initialization process, and shortens time required for restarting the device. When a hardware fault occurs in the device, a suspend request is triggered to indicate to freeze a process of system software, and indicate firmware to store a snapshot of status information of a hardware device and perform a hardware reset operation. After the hardware is reset, the hardware device is restored to a status before reset based on the snapshot.
-
-
-