-
公开(公告)号:US11099900B2
公开(公告)日:2021-08-24
申请号:US16365082
申请日:2019-03-26
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qibin Yang , Xiaojun Duan
Abstract: A memory reclamation method and apparatus, where the method includes determining a target process from a background process list when current available memory of a system is less than a memory threshold, where the background process list includes a process of one or more applications, the target process is a process among the process of the one or more applications meeting a condition that an absolute value of a difference between memory occupied by the process and a memory pressure value is less than a preset threshold, and the memory pressure value is a difference between the memory threshold and the current available memory of the system, and sending a processing instruction to a system kernel to trigger the system kernel to reclaim the memory occupied by the target process.
-
公开(公告)号:US20180047130A1
公开(公告)日:2018-02-15
申请号:US15791863
申请日:2017-10-24
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qibin Yang
IPC: G06T1/20
CPC classification number: G06T1/20 , G06F9/5072 , G06F2209/505 , G06T15/20 , G06T2200/28 , H04L67/10
Abstract: The present disclosure discloses a media content rendering method. The method is applied in a user equipment (UE) in a rendering system. The method includes determining, according to a rendering requirement of to-be-rendered media content, that a part of the to-be-rendered media content is to be rendered by a cloud device; sending, to the cloud device, a rendering indication message and first media content that needs to be rendered by the cloud device, where the rendering indication message is used to instruct the cloud device to render the first media content; and receiving a cloud processing result returned by the cloud device for the first media content. The UE can perform collaboratively rendering with the cloud device for the to-be-rendered media content, so that rendering resources of the UE and the cloud device are effectively used, and media content rendering efficiency is improved.
-
公开(公告)号:US11892953B2
公开(公告)日:2024-02-06
申请号:US16846764
申请日:2020-04-13
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qibin Yang , Senyu Liu , Xiaohui Bie
CPC classification number: G06F12/10 , G06F9/544 , G06F2212/657
Abstract: An interprocess communication (IPC) method and an IPC system for transmit communication data from a first process to a second process, where the method includes performing initialization configuration on the first process and the second process, including creating first memory space in shared memory space, selecting a communication manner based on a length of the communication data and a value of a threshold, where the threshold is a size of the first memory space, performing interprocess data exchange in the selected communication manner, selecting a memory sharing manner for communication when the length of the communication data is less than the threshold, and selecting a data file manner for communication when the length of the communication data reaches or exceeds the threshold.
-
公开(公告)号:US20190220318A1
公开(公告)日:2019-07-18
申请号:US16365082
申请日:2019-03-26
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qibin Yang , Xiaojun Duan
CPC classification number: G06F9/5022 , G06F9/445 , G06F12/02
Abstract: A memory reclamation method and apparatus, where the method includes determining a target process from a background process list when current available memory of a system is less than a memory threshold, where the background process list includes a process of one or more applications, the target process is a process among the process of the one or more applications meeting a condition that an absolute value of a difference between memory occupied by the process and a memory pressure value is less than a preset threshold, and the memory pressure value is a difference between the memory threshold and the current available memory of the system, and sending a processing instruction to a system kernel to trigger the system kernel to reclaim the memory occupied by the target process.
-
公开(公告)号:US10096083B2
公开(公告)日:2018-10-09
申请号:US15791863
申请日:2017-10-24
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qibin Yang
Abstract: The present disclosure discloses a media content rendering method. The method is applied in a user equipment (UE) in a rendering system. The method includes determining, according to a rendering requirement of to-be-rendered media content, that a part of the to-be-rendered media content is to be rendered by a cloud device; sending, to the cloud device, a rendering indication message and first media content that needs to be rendered by the cloud device, where the rendering indication message is used to instruct the cloud device to render the first media content; and receiving a cloud processing result returned by the cloud device for the first media content. The UE can perform collaboratively rendering with the cloud device for the to-be-rendered media content, so that rendering resources of the UE and the cloud device are effectively used, and media content rendering efficiency is improved.
-
公开(公告)号:US11579899B2
公开(公告)日:2023-02-14
申请号:US16820964
申请日:2020-03-17
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Qibin Yang , Fei Wang
IPC: G06F21/62 , G06F9/54 , G06F16/245 , G06F9/445 , G06F21/52
Abstract: A method and a device for managing a node includes: initiating, by an application program, a first request by calling an interface function, where the first request is used to perform an operation on a feature node in a kernel; searching, based on a keyword of the interface function, a table used for node management for an entry corresponding to the feature node, where the entry includes a node identifier of the feature node and a user handle identifier of the feature node; and performing, by the user program, the operation on the feature node based on the user handle identifier. A program running in user space can be prevented from directly accessing a feature node in kernel space, thereby improving system security.
-
公开(公告)号:US20220350602A1
公开(公告)日:2022-11-03
申请号:US17763490
申请日:2020-09-21
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qibin Yang , Shiyu Huang
Abstract: A multi-thread synchronization method includes that a first thread requests to obtain a target lock. Then, the first thread checks the lock thread identifier field. The first thread checks the blocked thread quantity field when checking that the lock thread identifier field is a valid thread and is not the first thread. The first thread performs spin wait when checking that the blocked thread quantity field is less than a first threshold. When a quantity of times for spin wait reaches a second threshold and when it is checked that the lock thread identifier field is the valid thread and is not the first thread, the first thread performs an operation of adding 1 to the blocked thread quantity field, and suspends to enter a blocked state.
-
公开(公告)号:US20200242043A1
公开(公告)日:2020-07-30
申请号:US16846764
申请日:2020-04-13
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qibin Yang , Senyu Liu , Xiaohui Bie
Abstract: An interprocess communication (IPC) method and an IPC system for transmit communication data from a first process to a second process, where the method includes performing initialization configuration on the first process and the second process, including creating first memory space in shared memory space, selecting a communication manner based on a length of the communication data and a value of a threshold, where the threshold is a size of the first memory space, performing interprocess data exchange in the selected communication manner, selecting a memory sharing manner for communication when the length of the communication data is less than the threshold, and selecting a data file manner for communication when the length of the communication data reaches or exceeds the threshold.
-
公开(公告)号:US20200218816A1
公开(公告)日:2020-07-09
申请号:US16820964
申请日:2020-03-17
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Qibin Yang , Fei Wang
IPC: G06F21/62 , G06F9/54 , G06F16/245 , G06F9/445 , G06F21/52
Abstract: A method and a device for managing a node includes: initiating, by an application program, a first request by calling an interface function, where the first request is used to perform an operation on a feature node in a kernel; searching, based on a keyword of the interface function, a table used for node management for an entry corresponding to the feature node, where the entry includes a node identifier of the feature node and a user handle identifier of the feature node; and performing, by the user program, the operation on the feature node based on the user handle identifier. A program running in user space can be prevented from directly accessing a feature node in kernel space, thereby improving system security.
-
-
-
-
-
-
-
-