Method, device and equipment for pre-installing application software and storage medium

By determining the installation package of pre-installed application software in the hidden partition on the local disk, and responsive to the application software pre-installed operation to obtain and install packages, the time-consuming installation of pre-installed application software in the existing technology is solved, and rapid installation and efficient production efficiency are improved.

CN119739414APending Publication Date: 2025-04-01HEFEI LCFC INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411640469.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-04-01

AI Technical Summary

Technical Problem

In the prior art, preinstalled application software on electronic devices takes time and affects production efficiency. In particular, large-volume AI APP takes a long time during the decompression and download process, especially when the SWDL station is in a high load state or is affected by network bandwidth, it seriously affects the production efficiency of the production line.

Method used

By determining the hidden partition in the local disk and storing the preinstalled application installation package of the preinstalled application software in the hidden partition, obtain the installation package in response to the preinstalled application software operation, and install the preinstalled application software based on the installation package and the hidden partition.

Benefits of technology

It realizes the rapid installation of pre-installed application software on the shipment machine, reducing user waiting time, improving user experience and production efficiency, and enhancing the safety and stability of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119739414A_ABST
    Figure CN119739414A_ABST
Patent Text Reader

Abstract

The invention provides a method, device and equipment for pre-installing application software and a storage medium, and the method comprises the steps that a hidden partition is determined in a local disk, position information of the hidden partition in the local disk is determined, and the hidden partition is used for storing a pre-installed application installation package of the pre-installed application software; obtaining a pre-installed application installation package in response to the application software pre-installation operation; and installing the pre-installed application software based on the pre-installed application installation package and the hidden partition, so that the pre-installed application software can be quickly installed on the delivery machine.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a method, device, equipment and storage medium for preinstalling application software. Background Art

[0002] With the rapid development of modern technology, electronic devices have become an indispensable part of people's daily life and work. Electronic devices often have some applications installed to meet users' needs for different functions. However, as the size of these applications continues to increase, the process of installing them on the device becomes more and more time-consuming.

[0003] In order to improve user experience and efficiency, manufacturers began to consider pre-installing such large files on shipped electronic devices. Pre-installation means that these applications have been installed and configured before the device leaves the factory, and users do not need to perform additional download and installation steps after the first boot. This practice not only reduces the user's waiting time, but also ensures the compatibility between the application and the device's hardware and operating system, thereby providing a more stable and smooth user experience. Summary of the invention

[0004] The present disclosure provides a method, device, equipment and storage medium for preinstalling application software, so as to at least solve the above technical problems existing in the prior art.

[0005] According to a first aspect of the present disclosure, a method for preinstalling application software is provided, the method comprising:

[0006] Determine a hidden partition in the local disk and determine location information of the hidden partition in the local disk, wherein the hidden partition is used to store a preinstalled application installation package of the preinstalled application software;

[0007] Responding to the application software preinstallation operation, obtaining a preinstalled application installation package;

[0008] The preinstalled application software is installed based on the preinstalled application installation package and the hidden partition.

[0009] In one possible implementation, after determining the hidden partition in the local disk, the method further includes:

[0010] The preinstalled application installation package of the preinstalled application software is copied to the hidden partition, so as to store the preinstalled application installation package of the preinstalled application software in the hidden partition.

[0011] In one possible implementation, the obtaining of the preinstalled application installation package in response to the application software preinstallation operation includes:

[0012] The preinstalled application installation package is obtained from the hidden partition in response to the application software preinstallation operation.

[0013] In one embodiment, the method further comprises:

[0014] If the pre-installed application installation package obtained from the hidden partition does not meet the target condition, the pre-installed application installation package stored in the hidden partition is deleted.

[0015] In one possible implementation, the installing the preinstalled application software based on the preinstalled application installation package and the hidden partition includes:

[0016] Reading a local disk and clearing a partition table of the local disk;

[0017] Repartitioning the local disk and reserving a first storage space in the local disk based on the location information of the hidden partition in the local disk, wherein the first storage space is larger than the hidden partition;

[0018] Restoring the hidden partition in the first storage space, and acquiring the pre-installed application installation package stored in the hidden partition;

[0019] The pre-installed application installation package is decompressed to the local disk to install the pre-installed application software.

[0020] In one possible implementation, decompressing the preinstalled application installation package to the local disk to implement the installation of the preinstalled application software includes:

[0021] The pre-installed application installation package is decompressed to the first storage space of the local disk;

[0022] The preinstalled application installation package in the first storage space is installed to the system disk of the local disk.

[0023] In one possible implementation, after the preinstalled application installation package in the first storage space is installed to the system disk of the local disk, the method further includes:

[0024] The first storage space is expanded to the system disk of the local disk.

[0025] According to a second aspect of the present disclosure, a device for preinstalling application software is provided, the device comprising:

[0026] a determination module, configured to determine a hidden partition in a local disk and determine location information of the hidden partition in the local disk, wherein the hidden partition is used to store a preinstalled application installation package of the preinstalled application software;

[0027] A response module, configured to obtain a preinstalled application installation package in response to an application software preinstallation operation;

[0028] An installation module is used to install the preinstalled application software based on the preinstalled application installation package and the hidden partition.

[0029] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0030] at least one processor; and

[0031] a memory communicatively connected to the at least one processor; wherein,

[0032] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.

[0033] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method described in the present disclosure.

[0034] The present disclosure provides a method, apparatus, device and storage medium for preinstalling application software, wherein a hidden partition is determined in a local disk and the location information of the hidden partition in the local disk is determined, and the hidden partition is used to store a preinstalled application installation package of the preinstalled application software; then the preinstalled application installation package is obtained in response to the application software preinstallation operation; and the preinstalled application software is installed based on the preinstalled application installation package and the hidden partition, so that the preinstalled application software can be quickly installed on the shipping machine.

[0035] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0037] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0038] Figure 1 A schematic diagram showing a flow chart of a method for preinstalling application software according to an embodiment of the present disclosure is shown;

[0039] Figure 2 A schematic diagram showing a disk space of an embodiment of the present disclosure is shown;

[0040] Figure 3 A schematic diagram showing the structure of a device for pre-installing application software according to an embodiment of the present disclosure is shown;

[0041] Figure 4 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0042] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0043] Currently, pre-installing application software on shipped electronic devices can ensure that users can enjoy complete functions and services immediately after the first power-on or purchase, without waiting for the download and installation process. This can not only improve user experience and efficiency, but also enhance the security and stability of the device. These electronic devices usually integrate various advanced functions, such as artificial intelligence applications (AI APP). AI APP can not only provide personalized services, but also optimize user experience through machine learning and data analysis. How to pre-install such AI APP on electronic devices is an urgent problem to be solved.

[0044] Taking laptop computers as an example, electronic devices pre-install this type of AI APP on shipped laptop computers. The common practice is to follow the factory's current shipping system software filling method. This type of AI APP will be packaged into a module and placed on the factory software download (SWDL) server. Then, at the SWDL station, the shipping machine will connect to the server, and then unzip and download the AI ​​APP from the server network disk and pre-install it on the local disk. Because the AI ​​APP module is large (for example, it can reach more than 20GB), its decompression and downloading operations are very time-consuming. If the SWDL station is under high load or affected by network bandwidth, it will seriously affect the production efficiency of the production line. Based on this, the present disclosure provides a method for pre-installing application software.

[0045] According to the embodiments of the present disclosure, Figure 1 A flowchart of a method for preinstalling application software provided by the present disclosure is shown, the method comprising:

[0046] S1. Determine a hidden partition in a local disk and determine location information of the hidden partition in the local disk, wherein the hidden partition is used to store a preinstalled application installation package of preinstalled application software.

[0047] In order to safely store the installation package of the pre-installed application software and prevent the user from accessing or modifying it without authorization, the installation package is selected to be placed in a hidden partition of the local disk. In one example, the installation package of the application software can also be stored in a partition and then the partition is hidden.

[0048] Specifically, the partition structure of the local disk can be identified, a hidden partition can be found or created for storing the pre-installed application installation package of the pre-installed application software, and the location information of the hidden partition can be determined, such as the starting sector, the ending sector or the partition size, etc. The hidden partition can be created and managed through a disk management tool or an operating system command, and the present disclosure does not limit this.

[0049] In one example, after determining the hidden partition in the local disk, the method further includes:

[0050] The preinstalled application installation package of the preinstalled application software is copied to the hidden partition, so as to store the preinstalled application installation package of the preinstalled application software in the hidden partition.

[0051] The pre-installed application installation package of the pre-installed application software is copied to the hidden partition through the SSD (solid state drive). Especially for large-volume pre-installed application installation packages, the SSD has a higher read and write speed and can quickly copy the installation package to the hidden partition of the disk.

[0052] S2. Obtain a preinstalled application installation package in response to the application software preinstallation operation.

[0053] The trigger signal of the application software preinstallation operation is monitored, wherein the trigger signal may be a user instruction, an automated script, or a signal on a production line, which is not limited in the present disclosure. In response to the application software preinstallation operation, a preinstalled application installation package is obtained from a hidden partition of a local disk.

[0054] In one example, the method further includes:

[0055] If the pre-installed application installation package obtained from the hidden partition does not meet the target condition, the pre-installed application installation package stored in the hidden partition is deleted.

[0056] After the copy is completed, the integrity and correctness of the installation package in the hidden partition can also be verified, for example, by comparing the size, checksum or hash value of the installation package. If the installation package is missing or damaged, the application installation package does not meet the target conditions, and the pre-installed application installation package stored in the hidden partition is deleted, and the pre-installed application installation package is obtained from the server network disk for a second time (the pre-installed application installation package needs to be stored in the server network disk in advance).

[0057] S3. Install the preinstalled application software based on the preinstalled application installation package and the hidden partition.

[0058] Access the hidden partition, find the pre-installed application installation package, and then execute the installation program to install the application software to the target location of the system.

[0059] In the above scheme, by determining a hidden partition in the local disk and determining the location information of the hidden partition in the local disk, the hidden partition is used to store the preinstalled application installation package of the preinstalled application software; then the preinstalled application installation package is obtained in response to the application software preinstallation operation; the preinstalled application software is installed based on the preinstalled application installation package and the hidden partition, so that the preinstalled application software can be quickly installed on the shipping machine.

[0060] In one example, the installing the preinstalled application software based on the preinstalled application installation package and the hidden partition includes:

[0061] Reading a local disk and clearing a partition table of the local disk;

[0062] Repartitioning the local disk and reserving a first storage space in the local disk based on the location information of the hidden partition in the local disk, wherein the first storage space is larger than the hidden partition;

[0063] Restoring the hidden partition in the first storage space, and acquiring the pre-installed application installation package stored in the hidden partition;

[0064] The pre-installed application installation package is decompressed to the local disk to install the pre-installed application software.

[0065] Use the disk management tool or command line tool to read the current status of the local disk and clear the partition table of the disk. This step will not delete the data of the hidden partition. Repartition the local disk according to the requirements of the pre-installed application software and the location information of the hidden partition, and reserve a first storage space larger than the size of the hidden partition, where the first storage space is continuous with the system disk of the local disk. After repartitioning, restore the hidden partition and access the pre-installed application installation package stored therein, unzip the pre-installed application installation package in the hidden partition into the first storage space, and then unzip the pre-installed application installation package to the appropriate location of the local disk to complete the installation process.

[0066] In one example, decompressing the preinstalled application installation package to the local disk to implement the installation of the preinstalled application software includes:

[0067] The pre-installed application installation package is decompressed to the first storage space of the local disk;

[0068] The preinstalled application installation package in the first storage space is installed to the system disk of the local disk.

[0069] Unzip the preinstalled application installation package to the first storage space of the local disk. This first storage space is the area reserved for the preinstalled application software in the above step and is larger than the hidden partition size; copy the unzipped installation package contents to the appropriate location on the system disk to complete the installation of the preinstalled application software.

[0070] In one example, after the preinstalled application installation package in the first storage space is installed to the system disk of the local disk, the method further includes:

[0071] The first storage space is expanded to the system disk of the local disk.

[0072] There are no other partitions between the first storage space and the system disk, and the space is continuous, so the first storage space can be directly expanded to the system disk.

[0073] The following is a detailed description of this solution with reference to specific application scenario examples.

[0074] A method for preinstalling application software, wherein the preinstalled application software takes any AI APP as an example, and the method comprises the following steps:

[0075] S401. After the electronic device is assembled into a complete machine, use an SSD copier to copy the TPDL image to the machine disk, and copy the AI ​​APP to a hidden partition of the disk, or copy it to a partition and then hide it, and record the specific sector location of the hidden partition on the disk;

[0076] like Figure 2 The following is a schematic diagram of the local disk. Figure 2 Central Division Figure 1 The installation package of AI APP is stored in the 80GB unallocated space. It should be noted that there is no limit on the size of the hidden partition and it can be adjusted according to actual conditions.

[0077] S402. Before pre-installing the AI ​​APP, perform functional and performance tests on the device to ensure that the basic functions of the device are normal and there are no hardware failures or software problems.

[0078] This step can be tested on the AFT (All function test) and Runin (Running test) stations. These tests include but are not limited to checking the startup, operation, interface communication, data storage, etc. of the equipment.

[0079] After the tests of S403, AFT station and Runin station are passed, the pre-installation process is performed at SWDL station.

[0080] The specific process is as follows: (1) First, clean the local disk, that is, clear the original partition table; refer to Figure 2Central Division Figure 2 Although the partition information is cleared, the AI ​​APP is still in the original location on the disk.

[0081] (2) Repartition the disk. According to the hidden partition sector position recorded in step S401, reserve enough space for the hidden partition without allocating it. Only repartition the other space of the disk. The system background will get a new partition table. Figure 2 Central Division Figure 3 , a part of redundant space is reserved before and after the original 80GB sector position to ensure that the data in the original 80GB space will not be moved, and 85GB of unallocated space is obtained, while the other space is repartitioned and renamed.

[0082] (3) Write the partition table information of the hidden partition recorded in step S401 to the new partition table to restore the hidden partition, then find the AI ​​APP installation package from the hidden partition and decompress it to the local disk; refer to Figure 2 Central Division Figure 4 , the originally hidden 80GB space has been revealed, for example, it is named D drive. Extract the AI ​​APP from D drive, and directly decompress and pre-install it to the system drive, that is, C drive.

[0083] (4) Delete the hidden partition to get the unallocated partition; refer to Figure 2 In Partition 5, after deleting the D drive, 85GB of unallocated space is obtained.

[0084] (5) Expand the unallocated space to the C drive; Figure 2 Partition 6: The C drive space is expanded by 85GB.

[0085] (6) Continue the pre-installation process until the SWDL station ends.

[0086] According to an embodiment of the present disclosure, the present disclosure also provides a device for pre-installing application software, such as Figure 3 The structure diagram of the device is shown, and the device comprises:

[0087] A determination module 50, configured to determine a hidden partition in a local disk and determine location information of the hidden partition in the local disk, wherein the hidden partition is used to store a preinstalled application installation package of the preinstalled application software;

[0088] A response module 60, configured to obtain a pre-installed application installation package in response to an application software pre-installation operation;

[0089] The installation module 70 is used to install the preinstalled application software based on the preinstalled application installation package and the hidden partition.

[0090] In one example, after determining the hidden partition in the local disk, the determination module 50 is further used to:

[0091] The preinstalled application installation package of the preinstalled application software is copied to the hidden partition, so as to store the preinstalled application installation package of the preinstalled application software in the hidden partition.

[0092] In one example, the response module 60 is used to:

[0093] The preinstalled application installation package is obtained from the hidden partition in response to the application software preinstallation operation.

[0094] In one example, the response module 60 is further configured to:

[0095] If the pre-installed application installation package obtained from the hidden partition does not meet the target condition, the pre-installed application installation package stored in the hidden partition is deleted.

[0096] In one example, the installation module 70 is used to:

[0097] Reading a local disk and clearing a partition table of the local disk;

[0098] Repartitioning the local disk and reserving a first storage space in the local disk based on the location information of the hidden partition in the local disk, wherein the first storage space is larger than the hidden partition;

[0099] Restoring the hidden partition in the first storage space, and acquiring the pre-installed application installation package stored in the hidden partition;

[0100] The pre-installed application installation package is decompressed to the local disk to install the pre-installed application software.

[0101] In one example, the installation module 70 is used to:

[0102] The pre-installed application installation package is decompressed to the first storage space of the local disk;

[0103] The preinstalled application installation package in the first storage space is installed to the system disk of the local disk.

[0104] In one possible implementation, after the preinstalled application installation package in the first storage space is installed to the system disk of the local disk, the method further includes:

[0105] The first storage space is expanded to the system disk of the local disk.

[0106] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.

[0107] Figure 4A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0108] like Figure 4 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0109] A number of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0110] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as the pre-installed application software method. For example, in some embodiments, the pre-installed application software method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the pre-installed application software method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the pre-installed application software method in any other appropriate manner (e.g., by means of firmware).

[0111] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0112] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0113] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0114] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0115] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0116] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0117] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0118] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0119] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A method for preinstalling application software, characterized in that: The method comprises: Determine a hidden partition in the local disk and determine location information of the hidden partition in the local disk, wherein the hidden partition is used to store a preinstalled application installation package of the preinstalled application software; Responding to the application software preinstallation operation, obtaining a preinstalled application installation package; The preinstalled application software is installed based on the preinstalled application installation package and the hidden partition.

2. The method according to claim 1, characterized in that After determining the hidden partition in the local disk, the method further includes: The preinstalled application installation package of the preinstalled application software is copied to the hidden partition, so as to store the preinstalled application installation package of the preinstalled application software in the hidden partition.

3. The method according to claim 1, characterized in that The step of obtaining a preinstalled application installation package in response to the application software preinstallation operation includes: The preinstalled application installation package is obtained from the hidden partition in response to the application software preinstallation operation.

4. The method according to claim 3, characterized in that The method further includes: If the pre-installed application installation package obtained from the hidden partition does not meet the target condition, the pre-installed application installation package stored in the hidden partition is deleted.

5. The method according to claim 1, characterized in that: The installing the preinstalled application software based on the preinstalled application installation package and the hidden partition includes: Reading a local disk and clearing a partition table of the local disk; Repartitioning the local disk and reserving a first storage space in the local disk based on the location information of the hidden partition in the local disk, wherein the first storage space is larger than the hidden partition; Restoring the hidden partition in the first storage space, and acquiring the pre-installed application installation package stored in the hidden partition; The pre-installed application installation package is decompressed to the local disk to install the pre-installed application software.

6. The method according to claim 5, characterized in that Decompressing the pre-installed application installation package to the local disk to implement the installation of the pre-installed application software includes: The pre-installed application installation package is decompressed to the first storage space of the local disk; The preinstalled application installation package in the first storage space is installed to the system disk of the local disk.

7. The method according to claim 6, characterized in that After the preinstalled application installation package in the first storage space is installed to the system disk of the local disk, the method further includes: The first storage space is expanded to the system disk of the local disk.

8. A device for pre-installing application software, characterized in that: The device comprises: a determination module, configured to determine a hidden partition in a local disk and determine location information of the hidden partition in the local disk, wherein the hidden partition is used to store a preinstalled application installation package of the preinstalled application software; A response module, configured to obtain a preinstalled application installation package in response to an application software preinstallation operation; An installation module is used to install the preinstalled application software based on the preinstalled application installation package and the hidden partition.

9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to execute: Determine a hidden partition in the local disk and determine location information of the hidden partition in the local disk, wherein the hidden partition is used to store a preinstalled application installation package of the preinstalled application software; Responding to the application software preinstallation operation, obtaining a preinstalled application installation package; The preinstalled application software is installed based on the preinstalled application installation package and the hidden partition.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute: Determine a hidden partition in the local disk and determine location information of the hidden partition in the local disk, wherein the hidden partition is used to store a preinstalled application installation package of the preinstalled application software; Responding to the application software preinstallation operation, obtaining a preinstalled application installation package; The preinstalled application software is installed based on the preinstalled application installation package and the hidden partition.