Image file obtaining method and apparatus

    公开(公告)号:US12118339B2

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

    申请号:US17727166

    申请日:2022-04-22

    CPC classification number: G06F8/54

    Abstract: An image file obtaining method includes: determining a first value of each of N tasks in program source code, where the first value is first duration required for executing each of the N tasks or the first value is a ratio of the first duration to second duration, the second duration is duration required for loading each of the N tasks, and N is a positive integer; sorting the N tasks in descending order of the first values; and linking the sorted N tasks to obtain an image file. After downloading the image file, an embedded apparatus successively loads and executes the sorted N tasks, thereby shortening a startup time period of the embedded apparatus.

Patent Agency Ranking