Page drawing control method, apparatus, and device

    公开(公告)号:US12112400B2

    公开(公告)日:2024-10-08

    申请号:US17622650

    申请日:2020-06-24

    CPC classification number: G06T11/00 G06F9/451

    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.

    Method for handling trusted execution environment operating system crash and electronic device

    公开(公告)号:US11874743B2

    公开(公告)日:2024-01-16

    申请号:US17866196

    申请日:2022-07-15

    CPC classification number: G06F11/1438 G06F11/142 G06F21/57

    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.

    Interface Generation Method and Electronic Device

    公开(公告)号:US20250157110A1

    公开(公告)日:2025-05-15

    申请号:US19024138

    申请日:2025-01-16

    Abstract: An interface generation method includes, in a process in which an electronic device displays an animation by using an application and in consideration of interface continuity in the animation process, generating an extended bitmap before the animation starts; when an Nth frame of interface of the animation needs to be displayed, capturing a first area in the extended bitmap for being sent for display; and when an Mth frame of interface needs to be displayed, capturing a second area in the extended bitmap for being sent for display.

    Application exception recovery
    26.
    发明授权

    公开(公告)号:US11803451B2

    公开(公告)日:2023-10-31

    申请号:US17424045

    申请日:2019-12-11

    Abstract: An application exception recovery method, an electronic device, a storage medium storing the recovery method, and a recovery apparatus, the method including, storing page information of an exception page, in response to that an exception occurs in at least one application installed on an electronic device, wherein the exception page is a page displayed by the at least one application in response to the exception occurring, displaying a mask, wherein the mask is a picture displayed on at least a window of the at least one application during restart of the at least one application, restarting the at least one application, wherein restarting the at least one application comprises creating the exception page, and removing the mask.

    Method and Apparatus for Obtaining Extended Depth of Field Image and Electronic Device

    公开(公告)号:US20220207764A1

    公开(公告)日:2022-06-30

    申请号:US17698631

    申请日:2022-03-18

    Abstract: A method and an apparatus for obtaining an extended depth of field image, and an electronic device are disclosed. The method includes: determining a target focal length range based on an initial focal length (101), where the target focal length range includes the initial focal length; obtaining a plurality of images of a photographed object for a plurality of focal lengths in the target focal length range (102); and registering and fusing, the plurality of images to obtain an extended depth of field image (103). The target focal length range of concern to a user is selected based on the initial focal length, so that there is no need to obtain images of all focal lengths of a lens, a quantity of obtained images and processing time of registration and fusion can be reduced.

    Email Translation Method and Electronic Device

    公开(公告)号:US20210165953A1

    公开(公告)日:2021-06-03

    申请号:US17263387

    申请日:2018-07-27

    Abstract: An email translation method includes: displaying a first user interface, where the first user interface includes an email writing area, and the email writing area includes content written by a user; in response to a translation operation on the content written by the user, adding a first email translation area to the first user interface, where the first email translation area includes a first result preview area and a function bar, the first result preview area includes a translation result of the content written by the user, and the function bar includes a replacement button; and in response to an operation on the replacement button, replacing the content written by the user with the translation result, and displaying the translation result.

    Thumbnail-based image sharing method and terminal

    公开(公告)号:US10885100B2

    公开(公告)日:2021-01-05

    申请号:US16277063

    申请日:2019-02-15

    Inventor: Yu Li Changqi Hu

    Abstract: A thumbnail-based image display method and terminal, where the method includes displaying a thumbnail on a screen, performing feature extraction on the thumbnail to obtain a feature factor of the thumbnail, displaying prompt information on the screen when the feature factor of the thumbnail is matched with a feature factor in a feature factor index library, where the feature factor index library indicates correspondences among feature factors and image storage addresses, obtaining an original image obtaining request, and displaying the original image on the screen based on the original image obtaining request. According to the method and terminal, feature indexes are created for all images in memories and buffers of all applications and in an image library, and an original high-resolution image is found using a feature factor of a thumbnail, thereby implementing high-definition image sharing between different applications.

Patent Agency Ranking