-
1.
公开(公告)号:US20220350707A1
公开(公告)日:2022-11-03
申请号:US17866196
申请日:2022-07-15
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Xiameng HU , Ning JIA , Yu LI , Nan WANG
Abstract: A method for handling a trusted execution environment operating system crash is provided. The method includes: when it is detected, in a running process of a security service, that a TEE OS crashes, an electronic device stores a hardware status parameter of a TEE and a security context of an REE that are obtained when the TEE OS crashes, and suspends the security service; the electronic device restarts the TEE OS; the electronic device sets, based on the stored hardware status parameter of the TEE, a hardware status parameter of the TEE obtained after the TEE OS is restarted; the electronic device sets, based on the stored security context of the REE, a security context of the REE obtained after the TEE OS is restarted and a context of the TEE obtained after the TEE OS is restarted; and the electronic device restores the security service.
-
公开(公告)号:US20240312109A1
公开(公告)日:2024-09-19
申请号:US18671072
申请日:2024-05-22
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Xiaoci ZHANG , Yu LI , Tanqi YU , Zeyu NI
CPC classification number: G06T15/005 , G06T15/40 , G06T19/20 , G06T2219/2012 , G06T2219/2016
Abstract: This application relates to an interface generation method and an electronic device. In an example interface generation method applied to a first electronic device, the first electronic device determines that content displayed in a first display area includes an interface of a first process and an interface of a second process. The method includes generating, by the first process, a first render tree used to draw the interface of the first process and generating, by the second process, a second render tree used to draw the interface of the second process. The method further includes generating, by a third process, a first target interface based on the first render tree and the second render tree. The first target interface includes the interface of the first process and the interface of the second process and is displayed in the first display area.
-
公开(公告)号:US20230161650A1
公开(公告)日:2023-05-25
申请号:US18158828
申请日:2023-01-24
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yu LI , Qiang HUANG , Wentao ZHANG , Boshi WANG
IPC: G06F9/54 , G06F12/1009
CPC classification number: G06F9/545 , G06F12/1009
Abstract: Embodiments of this application disclose example methods and example apparatuses for inter-process communication, and example computer storage medium One example method in embodiments of this application includes executing a first instruction, where the first instruction instructs a first process to invoke a second process. In response to executing the first instruction, a kernel switches a context of the first process to a context of the second process based on the first instruction The second process can then be executed. The first process can be an application program in a user mode or a system program in a user mode, and the second process can be a first system program in a kernel mode.
-
公开(公告)号:US20220358688A1
公开(公告)日:2022-11-10
申请号:US17622650
申请日:2020-06-24
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Wei TAN , Tanqi YU , Qucheng ZHI , Yu LI
Abstract: Embodiments of this application provide a page drawing control method, apparatus, and device. The method includes: obtaining a drawing instruction for a first page, where the drawing instruction is used to instruct to draw the first page, the first page includes a first control, and the first control includes at least one child control; and if it is determined that an image corresponding to the first control exists and the first control and the child control in the first control are not updated, drawing the first control based on the image corresponding to the first control, or if it is determined that an image corresponding to the first control does not exist or the first control or the child control in the first control is updated, generating the image corresponding to the first control and drawing the first control. In this way, page drawing efficiency is improved.
-
公开(公告)号:US20220004460A1
公开(公告)日:2022-01-06
申请号:US17285574
申请日:2019-10-14
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Xinglong PAN , Yu LI , Shuai CHENG
Abstract: A screen freezing processing method and a terminal are provided. The method includes: displaying a user interface of an application, and receiving an operation on the user interface, where the operation on the user interface is used to implement a first function; skipping responding to, by the terminal within first duration, the operation on the user interface, and skipping implementing the first function; and after the first duration, responding to, by the terminal, the operation on the user interface, and implementing the first function. This technical solution can automatically restore implementation of the first function, thereby improving user experience.
-
公开(公告)号:US20190180267A1
公开(公告)日:2019-06-13
申请号:US16276134
申请日:2019-02-14
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yu LI , Xiujie HUANG , Changqi HU
Abstract: A method and an apparatus for binding a bank card in a payment application are disclosed. The method includes the following steps: obtaining a picture of a to-be-bound bank card; identifying the picture of the bank card to obtain bank card information, where the bank card information includes a card number of the bank card and information about a bank card pattern; searching, based on the information about the bank card pattern, for a bank card background picture that matches the information about the bank card pattern; and superimposing the card number of the bank card on the bank card background picture to obtain a virtual bank card consistent with the bank card. A technical solution provided in this application is advantageous to desired user experience.
-
公开(公告)号:US20230224574A1
公开(公告)日:2023-07-13
申请号:US18184773
申请日:2023-03-16
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Feilong MA , Cong ZHAO , Rui CHEN , Yuanqiang WANG , Yu LI , Xingguang SONG
CPC classification number: H04N23/632 , H04N23/64 , G06T7/194 , G06T7/70 , H04N5/265 , G06T2207/20021 , G06T2207/30196
Abstract: This application discloses a photographing method and an apparatus in, relates to the photographing field and the field of image processing technologies. When a plurality of persons take a group photo, no help from a third party is required. Therefore, implementation is convenient, and user satisfaction with a group photo result can be improved, thereby improving user experience. The method includes: obtaining a first image including an image of a first photographing background and the first to-be-photographed subject; then displaying a first preview interface, the first preview image includes an image of a second photographing background and an image of the second to-be-photographed subject, and a degree of coincidence between the image of the second photographing background and the image of the first photographing background is greater than or equal to a preset degree of coincidence; obtaining a target image based on the first image and the first preview image.
-
公开(公告)号:US20230134189A1
公开(公告)日:2023-05-04
申请号:US17908626
申请日:2021-03-02
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Jun XU , Yu LI , Liang WANG , Rui NING , Qiangguo JIANG
IPC: A63F13/525 , G09G3/00
Abstract: A refresh rate switching method and an electronic device are provided. In the method, the electronic device dynamically switches a corresponding screen refresh rate by determining whether a current display image is a high frame rate scenario or a standard frame rate scenario. In the high frame rate scenario, a relatively high screen refresh rate is used to support a high display frame rate. In this way, a user can obtain experience of the high display frame rate, and the display image is smooth without motion blur. In the standard frame rate scenario, a default low screen refresh rate is used to reduce power consumption of an entire system.
-
-
-
-
-
-
-