Updating operating system data in a static partition of an electronic device

    公开(公告)号:US12131144B2

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

    申请号:US17928743

    申请日:2022-06-15

    CPC classification number: G06F8/65 G06F9/4406

    Abstract: Embodiments of this application provides an operating system data update method, a device, a storage medium, and a computer program product. The method is applied to an electronic device. After starting, the electronic device loads data from a basic partition, a first static partition, and a dynamic partition to run a first operating system. After the first operating system runs, the method includes: obtaining a patch package based on the version number of the first operating system; updating data in the second static partition based on the patch package, after confirming the data of the first static partition is consistent with the data of the second static partition; modifying a startup sequence of the electronic device from starting from the first static partition to starting from the second static partition; restarting the electronic device.

    Operating system management method, device, storage medium, and computer program product

    公开(公告)号:US12093678B2

    公开(公告)日:2024-09-17

    申请号:US17921782

    申请日:2022-06-15

    CPC classification number: G06F8/65

    Abstract: Embodiments of this application provide an operating system management method, a device, and a storage medium. The method includes: loading data in a basic partition, a first static partition, and a dynamic partition to run a first operating system; upgrading data in a second static partition; restarting the electronic device, and determining that a current startup sequence is starting from the second static partition; and loading data in the basic partition, the second static partition, and the dynamic partition to run a second operating system. After the restarting the electronic device, and determining that a current startup sequence is starting from the second static partition, the method further includes: synchronizing the data in the second static partition to the first static partition. When an error occurs in a currently loaded static partition, data of another static partition may be used for recovery.

    Method for Eliminating Interference Pattern in Image, and Apparatus

    公开(公告)号:US20240233303A1

    公开(公告)日:2024-07-11

    申请号:US18007636

    申请日:2022-09-08

    CPC classification number: G06V10/147 G01B11/22 G01B11/2441 G06T7/521 G06V40/16

    Abstract: Embodiments of this application provide a method for eliminating an interference pattern in an image, and an apparatus, and relate to the image processing field, which can eliminate an interference pattern in an image collected by a ToF sensor arranged under a display screen of an electronic device. The method includes: obtaining, by the electronic device in advance, K interference patterns corresponding to K different values of a same parameter one by one; collecting, by the electronic device, a first image, and measuring a first parameter value in a case that the first image is collected; determining a first interference pattern in the K interference patterns according to the first parameter value, and determining the second interference pattern according to the first interference pattern; and eliminating the second interference pattern in the first image, so that the processed first image does not include the interference pattern. Therefore, the ToF sensor can be arranged under the display screen of the electronic device, and measurement precision the same as that when the ToF sensor is arranged on a frame can be achieved.

    Operating System Upgrade Method and Device, Storage Medium, and Computer Program Product

    公开(公告)号:US20230229424A1

    公开(公告)日:2023-07-20

    申请号:US18247315

    申请日:2022-05-20

    CPC classification number: G06F8/65

    Abstract: An operating system upgrade method and device, and a storage medium. The method includes: obtaining an operating system upgrade package that includes a second partition table and operating system upgrade data, where address configurations of partitions with a same name are consistent in the second partition table and a first partition table; triggering a first restart of the electronic device; updating a partition table of the electronic device to the second partition table in the recovery mode; triggering a second restart of the electronic device, where after the second restart, the electronic device loads data of a basic partition, a first static partition, and a dynamic partition to run the first operating system; and upgrading an operating system of the electronic device according to the operating system upgrade data, and upgrading the first operating system to a second operating system.

    Operating System Update Method, Electronic Device, and Storage Medium

    公开(公告)号:US20240378042A1

    公开(公告)日:2024-11-14

    申请号:US18268055

    申请日:2022-12-14

    Abstract: This application provides an operating system update method, an electronic device, and a storage medium. In the method, an installation manner of an update file corresponding to a sub-partition of a super partition depends on current available space of a user data partition and a size (a compressed size or an uncompressed size) of the update file, so that it can be determined, based on a specific case in an operating system update process, whether to use a cow compression function.

    Camera module, assembling method therefor, and electronic device

    公开(公告)号:US12126907B2

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

    申请号:US17915230

    申请日:2022-02-18

    CPC classification number: H04N23/687 H04N23/54 H04N23/55

    Abstract: A camera module, comprising a shell, a fixing bracket, a lens, a first driving assembly, a second driving assembly, and an image sensor assembly. The fixing bracket includes a first fixing portion and a second fixing portion. The first driving assembly is connected to a side of the first fixing portion facing the bottom of the shell. The first driving assembly includes a fixed member fixed to a bottom surface of the first fixing portion, a driving member connected to an image sensor assembly, and at least two shape memory alloy wires connected between the fixed member and the driving member and located on different sides of the first driving assembly. The shape memory alloy wires drive the image sensor assembly to move by extension and retraction.

    Operating System Management Method, Device, Storage Medium, and Computer Program Product

    公开(公告)号:US20240231789A1

    公开(公告)日:2024-07-11

    申请号:US17921782

    申请日:2022-06-15

    CPC classification number: G06F8/65

    Abstract: Embodiments of this application provide an operating system management method, a device, and a storage medium. The method includes: loading data in a basic partition, a first static partition, and a dynamic partition to run a first operating system; upgrading data in a second static partition; restarting the electronic device, and determining that a current startup sequence is starting from the second static partition; and loading data in the basic partition, the second static partition, and the dynamic partition to run a second operating system. After the restarting the electronic device, and determining that a current startup sequence is starting from the second static partition, the method further includes: synchronizing the data in the second static partition to the first static partition. When an error occurs in a currently loaded static partition, data of another static partition may be used for recovery.

    Operating system upgrade method, device, storage medium, and computer program product

    公开(公告)号:US12182582B2

    公开(公告)日:2024-12-31

    申请号:US18029527

    申请日:2022-06-15

    Abstract: Embodiments of this application provides an operating system upgrade method, a device, a storage medium. The method includes: running a first operating system; obtaining a first system upgrade installation package that includes first update data and a second system upgrade installation package that includes second update data; storing the first update data and the second update data in a user data partition; restarting an electronic device; loading data in a basic partition and a second static partition; loading first dynamic partition data to run a third operating system, where second dynamic partition data corresponds to a result of superposition of third dynamic partition data and the second update data, and the third dynamic partition data corresponds to a result of superposition of data in a dynamic partition and the first update data; and merging the first update data and the second update data into the dynamic partition.

    Operating System Upgrading Method, Electronic Device, Storage Medium, and Chip System

    公开(公告)号:US20240378043A1

    公开(公告)日:2024-11-14

    申请号:US18268073

    申请日:2022-12-19

    Abstract: A method includes: obtaining a first upgrade installation package and a second upgrade installation package, where the first upgrade installation package includes—partition information of a first sub-partition, the second upgrade installation package includes—partition information of a second sub-partition; obtaining a plurality of third description groups based on third data and a plurality of second description groups, where the third data includes the partition information of the first sub-partition and the partition information of the second sub-partition, and the plurality of third description groups include description groups respectively corresponding to the first sub-partition, the second sub-partition, and a third sub-partition; and restarting an electronic device, loading data in a dynamic partition based on values of the address entries in the plurality of third description groups.

    Method for Configuring Operating System Vendor Country, Device, and Storage Medium

    公开(公告)号:US20240296035A1

    公开(公告)日:2024-09-05

    申请号:US18039151

    申请日:2022-05-20

    CPC classification number: G06F8/65 G06F9/4406

    Abstract: The method is applied to an electronic device; a memory of the electronic device includes at least a basic partition, a first static partition, and a second static partition; a first vendor country file is loaded when the electronic device starts from the first static partition, and a second vendor country file is loaded when the electronic device starts from the second static partition. The method includes: obtaining an operating system upgrade package that includes a third vendor country file; writing vendor country content of the third vendor country file into the second vendor country file; restarting to enter a recovery mode; restoring factory settings of the electronic device; and restarting, starting from the second static partition, creating a vendor country configuration file in the initialization step after a second restart, and writing vendor country content of the second vendor country file into the vendor country configuration file.

Patent Agency Ranking