CN116088876A - Image file manufacturing method and device, electronic equipment and storage medium - Google Patents

Image file manufacturing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116088876A
CN116088876A CN202310020115.6A CN202310020115A CN116088876A CN 116088876 A CN116088876 A CN 116088876A CN 202310020115 A CN202310020115 A CN 202310020115A CN 116088876 A CN116088876 A CN 116088876A
Authority
CN
China
Prior art keywords
file
image file
configuration
construction
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310020115.6A
Other languages
Chinese (zh)
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nfs China Software Co ltd
Original Assignee
Nfs China Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nfs China Software Co ltd filed Critical Nfs China Software Co ltd
Priority to CN202310020115.6A priority Critical patent/CN116088876A/en
Publication of CN116088876A publication Critical patent/CN116088876A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a method, a device, electronic equipment and a storage medium for manufacturing an image file, which comprise the following steps: acquiring a driving file, an application file and a configuration file of a current operating system; constructing an image file according to the driving file, the application file and the configuration file, and displaying construction process information of the image file in a construction interface; under the condition that the image file is successfully constructed, displaying success information in a construction interface, and storing the image file into a preset storage path; and under the condition that errors occur in the construction process of the image file, error information is displayed in a construction interface. According to the method and the device, the image file is not obtained by adopting a complex secondary transformation development mode for the existing image file, but the image file of the current operating system can be quickly packed and generated by directly extracting the driving file, the application file and the configuration file of the current operating system, so that the learning cost of the image file construction process is reduced, and the image file construction efficiency is improved.

Description

Image file manufacturing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and apparatus for manufacturing an image file, an electronic device, and a computer readable storage medium.
Background
With the continuous development of domestic operating systems, more and more manufacturers begin customizing image files of the systems to install the operating systems on various devices in batches through the image files.
At present, an image file of an operating system can be obtained first, and transformation is performed on the basis of the image file according to the customization requirement, so that a new image file meeting the customization requirement is obtained.
However, in the current mode, the transformation process of the image file is complex and difficult to have clear operation guidance, so that the construction efficiency of the image file is low and the learning cost of the construction process is high.
Disclosure of Invention
The embodiment of the application provides a method, a device, electronic equipment and a computer readable storage medium for manufacturing an image file, which are used for solving the problems that in the prior art, the construction efficiency of the image file is low and the learning cost of the construction process is high.
In a first aspect, an embodiment of the present application provides a method for manufacturing an image file, where the method includes:
Responding to the mirror image construction instruction, and acquiring a driving file, an application file and a configuration file of the current operating system;
constructing an image file according to the driving file, the application file and the configuration file, and displaying construction process information of the image file in a construction interface;
under the condition that the image file is successfully constructed, successful information is displayed in the construction interface, and the image file is stored in a preset storage path;
and under the condition that errors occur in the construction process of the image file, error information is displayed in the construction interface.
In a second aspect, an embodiment of the present application provides an apparatus for producing an image file, where the apparatus includes:
the file acquisition module is used for responding to the mirror image construction instruction to acquire a driving file, an application file and a configuration file of the current operating system;
the construction module is used for constructing an image file according to the driving file, the application file and the configuration file and displaying construction process information of the image file in a construction interface;
the construction success module is used for displaying success information in the construction interface and storing the image file to a preset storage path under the condition that the image file is constructed successfully;
And the construction failure module is used for displaying error information in the construction interface under the condition that errors occur in the construction process of the image file.
In a third aspect, embodiments of the present application further provide an electronic device, including a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of the first aspect.
In a fourth aspect, embodiments of the present application also provide a computer-readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the method of the first aspect.
In the embodiment of the application, the construction of the image file of the system is realized based on the information of the current operating system, namely, the application does not adopt a mode of carrying out complex secondary transformation development on an existing image file to obtain the image file, but can quickly package and generate the drive and the application with the current operating system and the image file consistent with the configuration of the current operating system by directly extracting the drive file, the application file and the configuration file of the current operating system. The real-time guidance, the construction success information and the error information provided in the construction interface greatly reduce the learning cost of the image file construction process and improve the construction efficiency of the image file.
The foregoing description is only an overview of the technical solutions of the present application, and may be implemented according to the content of the specification in order to make the technical means of the present application more clearly understood, and in order to make the above-mentioned and other objects, features and advantages of the present application more clearly understood, the following detailed description of the present application will be given.
Drawings
FIG. 1 is a diagram of an implementation scenario provided by an embodiment of the present application;
FIG. 2 is a flowchart illustrating steps of a method for creating an image file according to an embodiment of the present application;
FIG. 3 is an interface diagram provided by an embodiment of the present application;
FIG. 4 is another interface diagram provided by an embodiment of the present application;
FIG. 5 is another interface diagram provided by an embodiment of the present application;
FIG. 6 is a flowchart illustrating steps of another method for creating an image file according to an embodiment of the present disclosure;
FIG. 7 is another interface diagram provided by an embodiment of the present application;
FIG. 8 is another interface diagram provided by an embodiment of the present application;
FIG. 9 is a schematic diagram of a process for generating an image file according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an overall construction flow of an image file according to an embodiment of the present application;
FIG. 11 is a block diagram of an image file creating apparatus according to an embodiment of the present application;
FIG. 12 is a block diagram of an apparatus of the present application;
fig. 13 is a schematic diagram of a server in some embodiments of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, the term "and/or" as used in the specification and claims to describe an association of associated objects means that there may be three relationships, e.g., a and/or B, may mean: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. The term "plurality" in the embodiments of the present application means two or more, and other adjectives are similar thereto.
Referring to fig. 1, fig. 1 is an implementation scenario diagram provided in an embodiment of the present application, including: electronic device 1 and electronic device 2, electronic device 3.
In the implementation scenario of the embodiment of the present application, the electronic device 1 is configured to generate an image file based on its own operating system, and send the image file to the electronic device 2 and the electronic device 3. Specifically, the electronic device 1 may first install a driver and an application program in a current operating system of the electronic device 1 according to a configuration requirement, and perform system configuration in the current operating system. After the above operation is completed, the driving file, the application file and the configuration file of the current operating system of the electronic device 1 can be extracted to construct an image file through a button made by one key in the interface, and the construction process information of the image file is displayed in the construction interface in real time. Under the condition that the image file is successfully constructed, the electronic equipment 1 displays success information in a construction interface and stores the image file into a preset storage path; in case of failure of image file construction, the electronic device 1 presents error information in the construction interface.
In the embodiment of the application, the construction of the image file of the system is realized based on the information of the current operating system, namely, the application does not adopt a mode of carrying out complex secondary transformation development on an existing image file to obtain the image file, but can quickly package and generate the image file which has the drive and the application of the current operating system and is consistent with the configuration of the current operating system by directly extracting the drive file, the application file and the configuration file of the current operating system. The current operating system is used as a construction foundation of the image file, and real-time guidance, construction success information and failure information are provided in a construction interface, so that the complexity of the construction process can be simplified, the learning cost of the image file construction process is greatly reduced, and the construction efficiency of the image file is improved.
If the electronic device 2 and the electronic device 3 have respective system configuration requirements, the electronic device 1 may also generate image files meeting the respective requirements in a corresponding manner, and send the image files in a corresponding manner, so as to achieve the purpose of quickly generating the image files of the system according to the different system configuration requirements.
Fig. 2 is a flowchart of steps of a method for making an image file, which is provided in an embodiment of the present application and is applied to a server, as shown in fig. 2, where the method may include:
And step 101, responding to the mirror image construction instruction, and acquiring a driving file, an application file and a configuration file of the current operating system.
In practical application, the image file is a single file made from a specific series of files according to a certain format, so as to be convenient for users to download and use, and the image file can be an operating system, a game, etc. The image file format is a variety of, and is more commonly used, the iso format is a format standard for optical discs, and many operating systems are also installed in the form of optical discs. Based on the characteristic, the operating system is stored and used as the image file in the iso format, so that the operating system can be conveniently installed on the electronic equipment by utilizing the image file, and the inconvenience brought by an optical disc is eliminated.
In the embodiment of the application, the current operating system also completes relevant configuration (such as a start-up configuration, a desktop theme configuration and the like) of the system because the driver and the application program are already installed. Therefore, the embodiment of the application can directly utilize the current operating system to generate the image file, and thus the generated image file can directly reserve the driving, application and configuration information of the current operating system. Therefore, the image file can be utilized on other electronic equipment to rapidly install the operating system which retains the original driving, application and configuration information.
Specifically, in this step, in response to the start instruction, the driving file, the application file and the configuration file of the current operating system may be first obtained, so as to subsequently make an image file that retains driving, application and configuration information of the current operating system. The driver files, application files, and configuration files may be extracted from within the root partition of the current operating system. The driver file is obtained based on a driver program installed in the operating system in advance by a user; the application file is obtained based on an application program installed in the operating system in advance by a user; the configuration file is obtained based on a configuration that a user has performed in the operating system in advance.
Further, referring to fig. 3, an interface diagram provided by an embodiment of the present application is shown, where the navigation area 10 provides guidance of a production process, as in fig. 3, which is currently a stage of configuring an ISO image file, when a user clicks a "start production" button, a start command is generated, and the electronic device may obtain a driving file, an application file and a configuration file of a current operating system in response to the start command.
And 102, constructing an image file according to the driving file, the application file and the configuration file, and displaying construction process information of the image file in a construction interface.
In the embodiment of the application, after the driving file, the application file and the configuration file are obtained, the image file can be constructed according to the driving file, the application file and the configuration file according to a preset image file construction mode, and the construction of the image file is a processing process which needs to take a certain time. Therefore, the construction process information of the image file can be displayed in the construction interface in the process of constructing the image file. The construction process information can reflect the real-time construction progress of the image file and the construction stages of the image file, and through the display of the construction process information, a user can more clearly perceive each construction stage of the image file, and also can perceive the construction progress of the image file, so that the learning cost of the construction process of the image file is reduced under the condition of guiding the construction process information in the interface.
And step 103, under the condition that the image file is successfully constructed, displaying success information in the construction interface, and storing the image file into a preset storage path.
In this embodiment of the present application, a user may set a local preset storage path according to an actual requirement to store an image file. If the user does not set, a default path may be used as the preset storage path.
Under the condition that the image file is successfully constructed, successful information can be displayed in a construction interface, and the image file is stored in a preset storage path. The success information informs the user that the image file is successfully constructed, and meanwhile, the user can be guided to find the image file from a preset storage path for subsequent use.
Specifically, referring to fig. 4, another interface diagram provided in an embodiment of the present application is shown, where the success information displayed includes a notification of "ISO complete" in the interface and an "open folder" button in the case that the image file is constructed successfully. After clicking the button for opening the folder, the user can automatically jump to the folder of the preset storage path, and the user can find the mirror image file from the folder of the preset storage path.
Step 104, under the condition that errors occur in the construction process of the image file, error information is displayed in the construction interface.
Under the condition that the construction failure is caused by errors in the construction process of the image file, error information can be displayed in the construction interface at the same time. The error information informs the user of which link of the mirror image file is in error in the construction process, and can also indicate the cause of the error. According to the method and the device for verifying the image file, the error information is displayed in real time in the image file construction process, so that the user can be prevented from checking the error information only after the construction is finished, error reasons and error nodes can be conveniently and rapidly positioned by the user, error removal efficiency is greatly improved, and the effectiveness of verifying the current operating system for constructing the image file in real time is achieved.
Specifically, referring to fig. 5, another interface diagram provided in the embodiment of the present application is shown, where in the case of failure in construction of an image file, the error information 30 includes: informing the user that the error occurs in the selection link of the preset storage path (generation directory), and in addition, the error causes are the name error of the preset storage path.
It should be noted that, in the electronic device for building an image file, the building of the image file may be specifically implemented by a building software tool kit, where the building software tool kit may implement steps 101 to 104. The software installation package constructed by the server side is required to conform to the system architecture of the electronic equipment, for example, when the current operating system of the electronic equipment is a Windows operating system, the software installation package can be in an exe (executable program) format; when the current operating system of the electronic equipment is a Linux operating system, the software installation package can be in a deb format; when the current operating system of the electronic device is an android operating system, the software installation package may be in an apk format.
In summary, in the embodiment of the present application, the construction of the image file of the system is implemented based on the information of the current operating system, that is, the present application does not acquire the image file by adopting a way of performing complex secondary transformation development on an existing image file, but can quickly package and generate the drive and application with the current operating system and the image file consistent with the configuration of the current operating system by directly extracting the drive file, the application file and the configuration file of the current operating system. The real-time guidance, the construction success information and the error information provided in the construction interface greatly reduce the learning cost of the image file construction process and improve the construction efficiency of the image file.
Fig. 6 is a flowchart of steps of a method for manufacturing an image file according to another embodiment of the present application, as shown in fig. 6, the method may include:
step 201, installing a driver and an application program in the current operating system according to the configuration requirement, and performing system configuration in the current operating system.
In the embodiment of the application, the construction of the image file is realized based on the information of the current operating system, that is, the image file can multiplex the driving, the application and the configuration of the current operating system. Therefore, before the image file is built, the driver and the application program can be installed in the current operating system according to the configuration requirement, and the system configuration is performed in the current operating system.
For example, assume that the configuration requirements for the image file corresponding system are: the system corresponding to the image file is provided with drivers a1 and a2, an application b1, and a configuration 1 and a configuration 2. After knowing the configuration requirement, the user can install the drivers a1 and a2 and the application b1 in the current operating system of the electronic device, complete the configuration 1 and the configuration 2, and then construct the image file by one key, so that the constructed image file can meet the configuration requirement.
Step 202, responding to the mirror image construction instruction, and acquiring a driving file, an application file and a configuration file of the current operating system.
The step may refer to step 101, and will not be described herein.
Optionally, in one implementation, step 202 may specifically include:
sub-step 2021, in response to the image build instruction, obtains a driver file based on a driver of the current operating system, obtains an application file based on an application of the current operating system, and obtains a configuration file based on a system configuration of the current operating system.
In this embodiment of the present application, since step 201 has been performed by installing a driver and an application in a current operating system according to configuration requirements, and performing system configuration in the current operating system, in this step, a user performs one-key construction, and the electronic device may obtain a driving file based on the driver of the current operating system, obtain an application file based on the application of the current operating system, and obtain a configuration file based on the system configuration of the current operating system, where the obtained driving file, application file, and configuration file may map driving information, application information, and configuration information of the current operating system, respectively, so that a subsequently constructed image file may retain driving, application, and configuration information of the current operating system. The driving file, the application file and the configuration file can be extracted from the root partition of the current operating system.
Optionally, the configuration file includes: desktop background configuration information, desktop theme configuration information, desktop screen saver configuration information, taskbar configuration information, network configuration information, font configuration information, mouse configuration information, power configuration information. In this embodiment of the present application, the configuration file may include a style configuration (desktop background configuration information, desktop theme configuration information, desktop screen saver configuration information, taskbar configuration information, font configuration information, etc.) and a basic configuration (network configuration information, mouse configuration information, power configuration information, etc.) completed in the current operating system, and the embodiment of the present application is not limited specifically for the configurable scope so as to improve the flexibility of configuration.
Alternatively, in another implementation, step 202 may specifically include:
sub-step 2022, in response to the mirror build instruction, obtains identity information.
Sub-step 2023, in case the authentication of the identity information is successful, obtains the root user rights of the current operating system.
Sub-step 2024, obtaining the driving file, the application file and the configuration file of the current operating system according to the root user authority.
In the present embodiment, for sub-steps 2022-2024, since the construction of the image file requires obtaining information of the driver, application, configuration, etc. of the operating system, and the construction process requires invoking some deep functions of the operating system. Therefore, authentication and root user authority (root) acquisition are needed before construction, the authentication can ensure the security of the current operation, and the root user authority can authorize the call of deep functions and the acquisition of driving files, application files and configuration files to the operating system. It should be noted that, the obtaining of the root user right may be automatically implemented in the background, that is, when the user opens the image file building tool, the tool has automatically obtained the root user right.
In particular, the authentication may verify the identity information. In one implementation, a user can input an account number and a password as identity information, and the electronic device can consider that the identity verification is passed under the condition that the account number and the password input by the user are verified to be consistent with the locally pre-stored account number and password. Of course, other ways of authentication may be used, such as fingerprint authentication, face recognition authentication, etc., which are not limited in this embodiment of the present application.
Step 203, in the construction interface, responding to a selection operation of a target display style configuration item in the displayed display style configuration items, and configuring configuration information of a current operating system aiming at the target display style configuration item as display style configuration in the configuration file.
The configuration file comprises a plurality of display style configuration items.
In the embodiment of the application, before the image file is constructed, the setting of the corresponding system display style configuration in the image file is also supported, so that the flexibility of the system style configuration of the image file is improved. The setting process specifically comprises the following steps: and reserving the display style configuration of the current operating system or not reserving the display style configuration of the current operating system, and using the default display style configuration.
Specifically, after the user selects the target display style configuration item in all the display style configuration items, the electronic device may configure configuration information of the current operating system for the target display style configuration item as the display style in the configuration file.
Referring to fig. 3, the user may click a re-select button in the configuration interface to make a setting of the corresponding system display style configuration in the image file. After clicking the reselection button, the user may enter an interface diagram shown in fig. 7, where a selection box 40 displaying style configuration items is displayed in the interface of fig. 7, where the selection box 40 includes display style configuration items such as desktop shortcuts, wallpaper, task bars, desktop theme, screen protection, font configuration, and the like, for the user to select.
If the user selects 5 desktop shortcuts, wallpaper, task bars, screen protections and font configuration as target display style configuration items, the desktop shortcuts, wallpaper, task bars, screen protections and font configuration of the image files constructed later all use the same configuration as the current operating system respectively, and unselected desktop topics can use default configuration.
And 204, when the selection operation of the target display style configuration item is not detected, using default configuration information preset for the display style configuration item as the display style configuration in the configuration file.
In this embodiment of the present application, if the user does not click the reselection button in fig. 3 or does not select the display style configuration item in the selection box 40 in fig. 7, the electronic device may directly use default configuration information preset for each display style configuration item as the display style configuration in the configuration file.
For example, for the 6 display style configuration items of the desktop shortcut, the wallpaper, the taskbar, the desktop theme, the screen saver and the font configuration in the selection box 40 in fig. 7, if the user does not perform any selection operation, the electronic device may configure the default display style corresponding to each of the 6 display style configuration items as the display style configuration in the configuration file, that is, the desktop shortcut, the wallpaper, the taskbar, the desktop theme, the screen saver and the font configuration of the image file that is subsequently built all use the default configuration, and do not use the configuration corresponding to the current operating system.
Step 205, constructing an image file according to the driving file, the application file and the configuration file, and displaying the current construction progress of the image file and the current construction stage of the image file in the construction interface in real time in the construction process of the image file.
In the embodiment of the application, in the process of constructing the image file, the construction process information of the image file can be displayed in the construction interface. The construction process information can reflect the real-time construction progress of the image file and the construction stages of the image file, and through the display of the construction process information, a user can more clearly perceive each construction stage of the image file, and also can perceive the construction progress of the image file, so that the learning cost of the construction process of the image file is reduced.
Specifically, referring to fig. 8, which illustrates another interface diagram provided in an embodiment of the present application, fig. 8 specifically illustrates a current construction progress 50 shown by a construction interface during a construction process of an image file, and a current construction stage 60 in which the image file is currently located. The current construction progress 50 (30% in fig. 8) clearly shows the construction completion of the current image file, and the construction stage 60 (in fig. 8, the system configuration is being written) also makes the user more clearly perceive each construction stage undergone by the image file, so that the learning cost of the image file construction process is reduced through clear interface information display.
Optionally, step 205 may specifically include:
sub-step 2051, in the event that the running environment of the current operating system is verified, obtains a resource file and a startup file associated with the image file.
Sub-step 2052, generating a compressed package file based on the resource file, the driver file, the application file, and the configuration file.
And a substep 2053, generating the image file according to the compressed package file and the startup file when the file quantity of the compressed package file is less than or equal to a preset file quantity threshold.
In this embodiment, the construction process of the image file is specifically described for sub-steps 2051-2053, the construction process of the image file can be implemented by a shell script (a program file which is put into a file in advance by various commands and is convenient to be executed at one time), in the running process of the shell script, relevant information of the current operating system and a script running result are judged, when the image file is not produced, script running is stopped, and reasons are not met for display, so that a user can know and adjust conveniently.
Optionally, the substep 2052 may specifically include:
And A1, storing the resource file, the driving file, the application file and the configuration file into a working directory path of the mirror image file, wherein a root directory script is also stored in the working directory path, and the resource file comprises an installer and an operation data packet of the mirror image file.
And A2, installing the installer, the running data packet, the driving file, the application file and the configuration file into a working directory path of the mirror image file through running the root directory script, and obtaining the compressed packet file.
The working directory path is a temporary path, data in the working directory path is deleted when the image file is successfully or unsuccessfully constructed and the image file constructing tool is closed, and file synchronization, installer and other files are all installed in the working directory path when the image file is constructed.
Reference may be made to fig. 9, which illustrates a schematic diagram of a generation flow of an image file according to an embodiment of the present application. First, the running environment of the current operating system needs to be checked, and the process includes S10, checking the system environment. And S11, checking the system information. Wherein, verifying the system environment includes: judging whether some necessary tools supporting the image file construction are installed, and if the necessary tools are installed, determining that the verification of the system environment is successful, and proceeding to S12. The verification of the system information means that the system information of the current operating system is obtained, whether the necessary tool is matched with the current operating system is judged according to the system information, and the success of the verification of the system information is determined under the condition that the necessary tool is matched with the current operating system according to the system information. The system information includes specified service fields in the operating system that are to be matched with preset fields to determine the necessary tools to be adapted to the current operating system.
Further, S12, decompressing the related resource file may be performed. The decompressed resource file may obtain an installer for installing the auxiliary image file in the system, and an operation data packet (live packet) for operating the auxiliary image file. And S13, synchronizing necessary files, namely storing the resource files, the driving files, the application files and the configuration files into a preset working directory path to wait for packaging. After that, S14 is executed, a color script (root directory script) is created and run. The color script is a shell script, the color script can be stored in the working directory path, the color script can treat the working directory path as a system, and the running of the color script can only operate the content in the working directory path. The subsequent process of constructing the image file according to the resource file, the driving file, the application file and the configuration file can be realized in the working directory path, so that the interference and influence of the construction of the image file on the current operating system are avoided, and the stability of the current operating system is ensured. After the color script is run, S15 can be executed, the current system configuration is obtained, and the file is written. And S16, creating a startup self-starting service and setting a configuration script. And S17, manufacturing a file system compressed file. The process of S15-16 is to install the installer, the running data packet, the driving file, the application file and the configuration file into the working directory path of the image file through the running of the color script, so as to obtain a compressed package file (file system compressed file).
After creating the file system compressed file, S18 may be executed to verify the file size of the file system compressed file, where the verification condition is satisfied, that is, if the file size of the file system compressed file is less than or equal to a preset file size threshold (e.g., 4G), S19 is executed to generate an image file (ISO) according to the file system compressed file and the startup file. Specifically, the purpose of verifying the file size of the file system compressed file is to ensure the light weight of the image file, avoid the problem that the image file is too large to increase the maintenance difficulty of the image file of other electronic equipment, and increase the system overhead when the operating system is installed. In addition, when a final image file is constructed, the image file needs to be generated according to the compressed package file and the startup item file, wherein the startup item file comprises a kernel file and a menu item file of the current operating system, and the purpose of the startup item file is to define a program running in the foreground or the background when the operating system is started.
And 206, under the condition that the image file is successfully constructed, displaying success information in the construction interface, and storing the image file into a preset storage path.
This step may refer to step 103, and will not be described herein.
Step 207, in case of failure in construction of the image file, displaying a construction stage and an error cause generating an error in the construction interface.
In the embodiment of the present application, referring to fig. 5, in the case that the image file construction fails, the error information 30 shown includes: the user is informed that an error occurs in the construction stage of the preset storage path (generation directory) selection, and in addition, the error cause is a preset storage path name error. The construction stage of generating errors and the display of error reasons can facilitate the user to quickly locate the error reasons and error nodes, greatly improve the error elimination efficiency, and achieve the purpose of verifying the effectiveness of the current operating system for constructing the image file in real time.
Further, based on the process that the electronic device builds the image file through the software toolkit, the embodiment of the application further describes the front-end function and the back-end function of the software toolkit:
the front-end function mainly writes a construction interface through qml language (a descriptive script language), and the construction interface comprises a title bar, a navigation bar and a main interface. The title bar is positioned at the uppermost part of the tool, and provides the functions of moving the tool, compounding menus, minimizing, closing and the like; the navigation bar can be arranged on one side of the tool and can provide flow guidance for making mirror image files; various controls can be arranged in the main interface, and functions of configuring the image file, displaying the manufacturing progress, displaying the manufacturing completion, displaying the manufacturing errors and the like are realized according to the manufacturing flow sequence of the image file.
For the back-end function, the back-end function can be written in C++ language, and the back-end function can be divided into init class and docripts class according to class division. init is mainly used for acquiring related system information to initialize a tool; the docripts are mainly used for executing related scripts to realize the creation of image files. When the build software toolkit is started, the two classes are instantiated, and corresponding data or objects are exposed to the front end for use by the front end.
Table 1 below shows the init class of function table:
function name Main function
init Class initialization function, call write_default_config_file
get_current_username_write Acquiring a user name of a current system and writing a configuration file
readoutput Reading user name configuration file and assigning to variable
write_default_config_file Writing default preset configuration files
TABLE 1
When the init function is instantiated, the default configuration file can be set by the init call write_default_config_file, so as to prevent abnormal situations that no configuration file is caused by the fact that a user does not set a preset configuration. The instantiation object may call the get_current_username_write function to obtain the user name of the current system and write the configuration file, with the purpose of setting the default storage path (e.g., per home/userame) of the mirror file for the root system name; the instantiation object may also invoke readoutput to read the username configuration file and assign value to the variable for the purpose of passing the username to the front end.
Table 2 below shows a functional table of the docripts class:
Figure BDA0004042232020000131
TABLE 2
The display_Page1 and the display_Page3 in the function are slot functions and are called by a timer in the constructed function, and other functions except the two functions are defined by using a Q_INVOKABLE macro so that the functions can be called by the front end.
When the docripts are instantiated, the creation of the command prompt is carried out, the command prompt is bound with a timer and a slot function, after the instantiation, the instantiation object m_docripts are exposed to the front end, and the front end calls the function of the docripts modified by the Q_INVOKABLE macro definition through the m_docripts, so that the execution of related scripts and the production of image files are completed.
For a configuration stage before image file creation, when a user clicks a control for setting the storage path of the image file in a construction interface of the front end, the front end can call a set_iso_dir function through documents, and the path selected by the user is assigned to the selected_iso_dir; when a user clicks a control for selecting a display style configuration item in a construction interface of the front end, a write_config_file can be called, and a configuration file is updated according to the selected target display style configuration item; if the user does not select, the content of the last configuration file is used, and if the user starts for the first time or does not set the preset configuration, the default display style configuration is used. After the user confirms that the configuration of the file catalogue and the display style is finished, clicking a start making button in the front end construction interface, starting to call find_textarea_progress bar, positioning a text display box and a progress bar in the making stage, and starting to execute making of the mirror image file.
Aiming at the stage of making the image file, the construction of the image file is realized mainly by utilizing shell scripts. When the user clicks the recreate, cancels the production and fails to produce in the front end construction interface, the shell script stops running. When the image file is successfully constructed, the front-end echo function can be called through the groove function readoutput to update the production log and the progress in real time. If a user clicks on a construction interface at the front end to cancel the production in the production process, the front end calls a back end stop_flash function, the operation of the shell script is stopped, related temporary files are deleted, a timer is started, after the timer triggers a timeout signal, a slot function display_Page1 is executed, and a configuration mirror file interface is returned; if the user does not click to cancel the production and the production is successful, starting a timer after the production is successful, and finishing the call of the display_Page3 to enter a production completion interface at regular time. When the user clicks and regenerates the front-end building interface, the front-end directly calls the do_flash to execute the script. When the user clicks the folder opening button on the front-end building interface to finish the interface, the front-end calls the back-end open_iso_dir to open a preset storage path for storing the image file.
Optionally, the method may further include:
and step 208, selecting a target folder from the file directory as the preset storage path in the construction interface.
In this embodiment, referring to fig. 3, in the path input box 20 of the interface, a target folder may be designated as a preset storage path, where the preset storage path may be designated as: /home/use/document/iso_tool. If the user does not set the path, a default path may be used as the preset storage path.
Optionally, under the condition that the image file is successfully constructed, the construction interface further displays a one-key opening control; the method may further comprise:
step 209, responding to the trigger of the one-key opening control, jumping to the preset storage path and displaying the image file.
In this embodiment of the present application, referring to fig. 4, the one-button opening control may be an open folder button in the building interface, and by clicking the open folder button, the electronic device may jump to a preset storage path and display the built image file in response to triggering the one-button opening control.
In summary, referring to fig. 10, a schematic diagram of an overall construction flow of an image file according to an embodiment of the present application is shown, where the schematic diagram includes: s20, completing local configuration of the system (corresponding to the step 201, the local configuration is realized by a user according to actual requirements); s21, obtaining authorization (corresponding to the substeps 2022-2023, the obtaining authorization can be automatically realized by an image file construction tool in the background); s23, selecting a preset configuration (corresponding to the step 203); s22, selecting a file generation directory (corresponding to the step 208); s24, judging whether the image file is successfully manufactured after the image file is manufactured; if the creation is successful, executing S25, opening the folder (corresponding to the step 206); if the production fails, the process goes to S26 to display error information (corresponding to step 207), and then goes to S27 to reproduce.
In the embodiment of the application, the construction of the image file of the system is realized based on the information of the current operating system, namely, the application does not adopt a mode of carrying out complex secondary transformation development on an existing image file to obtain the image file, but can quickly package and generate the drive and the application with the current operating system and the image file consistent with the configuration of the current operating system by directly extracting the drive file, the application file and the configuration file of the current operating system. The real-time guidance, the construction success information and the error information provided in the construction interface greatly reduce the learning cost of the image file construction process and improve the construction efficiency of the image file.
Fig. 11 is a block diagram of an apparatus for creating an image file according to an embodiment of the present application, where the apparatus includes:
the file acquisition module 301 is configured to acquire a driving file, an application file and a configuration file of a current operating system in response to the mirror image construction instruction;
the construction module 302 is configured to construct an image file according to the driving file, the application file and the configuration file, and display construction process information of the image file in a construction interface;
a success building module 303, configured to display success information in the building interface and store the image file to a preset storage path when the image file is successfully built;
And the construction failure module 304 is configured to display error information in the construction interface when an error occurs in the construction process of the image file.
Optionally, the file obtaining module 301 includes:
the identity information input sub-module is used for responding to the mirror image construction instruction to acquire identity information;
the permission acquisition sub-module is used for acquiring the root user permission of the current operating system under the condition that the identity information is successfully verified;
and the authorization execution sub-module is used for acquiring a driving file, an application file and a configuration file of the current operating system according to the root user authority.
Optionally, the apparatus further includes:
and the path setting module is used for selecting a target folder from the file catalogue as the preset storage path in the construction interface.
Optionally, the apparatus further includes:
the configuration module is used for installing a driver and an application program in the current operating system according to configuration requirements and carrying out system configuration in the current operating system;
the file obtaining module 301 is specifically configured to:
and responding to the mirror image construction instruction, acquiring a driving file based on a driving program of the current operating system, acquiring an application file based on an application program of the current operating system, and acquiring a configuration file based on system configuration of the current operating system.
Optionally, the configuration file includes a plurality of display style configuration items; the apparatus further comprises:
the selection processing module is used for responding to the selection operation of the target display style configuration items in the displayed display style configuration items in the construction interface, and taking the configuration information of the current operating system aiming at the target display style configuration items as the display style configuration in the configuration file;
and the unselected processing module is used for taking default configuration information preset for the display style configuration item as the display style configuration in the configuration file when the selection operation of the target display style configuration item is not detected.
Optionally, the building module 302 is specifically configured to:
and in the construction process of the image file, displaying the current construction progress of the image file and the current construction stage of the image file in the construction interface in real time.
Optionally, the construction failure module 304 is specifically configured to:
and under the condition that the image file fails to be constructed, the construction stage generating the error and the error reason are displayed in the construction interface.
Optionally, the constructing module 302 includes:
The resource acquisition sub-module is used for acquiring a resource file and a startup item file which are related to the mirror image file under the condition that the running environment of the current operating system passes verification;
the compression package generation sub-module is used for generating a compression package file according to the resource file, the driving file, the application file and the configuration file;
and the file quantity judging sub-module is used for generating the image file according to the compressed package file and the starting item file under the condition that the file quantity of the compressed package file is smaller than or equal to a preset file quantity threshold value.
Optionally, the compressed packet generating sub-module includes:
the storage unit is used for storing the resource file, the driving file, the application file and the configuration file into a working directory path, wherein a root directory script is also stored in the working directory path, and the resource file comprises an installer of the mirror image file and an operation data packet;
and the installation unit is used for installing the installer, the running data packet, the driving file, the application file and the configuration file into the working directory path of the mirror image file through the running of the root directory script to obtain the compressed packet file.
Optionally, under the condition that the image file is successfully constructed, the construction interface further displays a one-key opening control;
the apparatus further comprises:
and the one-key opening module is used for responding to the trigger of the one-key opening control, jumping to the preset storage path and displaying the image file.
Optionally, the configuration file includes:
desktop background configuration information, desktop theme configuration information, desktop screen saver configuration information, taskbar configuration information, network configuration information, font configuration information, mouse configuration information, power configuration information.
In summary, in the embodiment of the present application, the construction of the image file of the system is implemented based on the information of the current operating system, that is, the present application does not acquire the image file by adopting a way of performing complex secondary transformation development on an existing image file, but can quickly package and generate the drive and application with the current operating system and the image file consistent with the configuration of the current operating system by directly extracting the drive file, the application file and the configuration file of the current operating system. The real-time guidance, the construction success information and the error information provided in the construction interface greatly reduce the learning cost of the image file construction process and improve the construction efficiency of the image file.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The embodiment of the application provides a device for making an image file, which comprises a memory and more than one program, wherein the more than one program is stored in the memory, and the more than one program is configured to be executed by more than one processor, and the method for performing one or more embodiments is included.
Fig. 12 is a block diagram illustrating an image file production apparatus 800 according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 12, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice information processing mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect the on/off state of the device 800, the relative positioning of the components, such as the display and keypad of the apparatus 800, the sensor assembly 814 may also search for a change in position of the apparatus 800 or one component of the apparatus 800, the presence or absence of user contact with the apparatus 800, the orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on radio frequency information processing (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Fig. 13 is a schematic diagram of a server in some embodiments of the present application. The server 1900 may vary considerably in configuration or performance and may include one or more central processing units (central processingunits, CPU) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) that store applications 1942 or data 1944. Wherein the memory 1932 and storage medium 1930 may be transitory or persistent. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instruction operations on a server. Still further, a central processor 1922 may be provided in communication with a storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, and the like.
A non-transitory computer readable storage medium, which when executed by a processor of an apparatus (server or terminal), enables the apparatus to perform the above-described embodiment method.
A non-transitory computer-readable storage medium, when executed by a processor of an apparatus (server or terminal), enables the apparatus to perform the description of the embodiment methods described above, and thus, a detailed description thereof will not be provided herein. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the computer program product or the computer program embodiments related to the present application, please refer to the description of the method embodiments of the present application.
In addition, it should be noted that: embodiments of the present application also provide a computer program product or computer program that may include computer instructions that may be stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor can execute the computer instructions, so that the computer device performs the description of the method of the above embodiment, and thus, a detailed description will not be given here. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the computer program product or the computer program embodiments related to the present application, please refer to the description of the method embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.
The foregoing description of the preferred embodiments of the present application is not intended to limit the invention to the particular embodiments of the present application, but to limit the scope of the invention to the particular embodiments of the present application.
The above details of the method, the device, the electronic device and the computer readable storage medium for producing an image file provided in the present application, and specific examples are applied to illustrate the principles and the embodiments of the present application, where the above examples are only used to help understand the method and the core idea of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (14)

1. A method for creating an image file, the method comprising:
responding to the mirror image construction instruction, and acquiring a driving file, an application file and a configuration file of the current operating system;
constructing an image file according to the driving file, the application file and the configuration file, and displaying construction process information of the image file in a construction interface;
under the condition that the image file is successfully constructed, successful information is displayed in the construction interface, and the image file is stored in a preset storage path;
and under the condition that errors occur in the construction process of the image file, error information is displayed in the construction interface.
2. The method for creating the image file according to claim 1, wherein the obtaining the driving file, the application file and the configuration file of the current operating system in response to the image construction instruction includes:
responding to the mirror image construction instruction to acquire identity information;
under the condition that the identity information is successfully verified, acquiring the root user authority of the current operating system;
and acquiring a driving file, an application file and a configuration file of the current operating system according to the root user authority.
3. The method for producing an image file according to claim 1, wherein the method further comprises:
and in the construction interface, selecting a target folder from a file directory as the preset storage path.
4. The method for creating an image file according to claim 1, wherein before said obtaining a drive file, an application file, and a configuration file of a current operating system in response to an image construction instruction, the method further comprises:
installing a driver and an application program in the current operating system according to configuration requirements, and performing system configuration in the current operating system;
the responding to the mirror image construction instruction, obtaining the driving file, the application file and the configuration file of the current operating system, comprises the following steps:
and responding to the mirror image construction instruction, acquiring a driving file based on a driving program of the current operating system, acquiring an application file based on an application program of the current operating system, and acquiring a configuration file based on system configuration of the current operating system.
5. The method for making an image file according to claim 1, wherein the configuration file comprises a plurality of display style configuration items;
Before the image file is built according to the driving file, the application file and the configuration file and the building process information of the image file is displayed in a building interface, the method further comprises:
in the construction interface, responding to the selection operation of a target display style configuration item in the displayed display style configuration items, and taking the configuration information of a current operating system aiming at the target display style configuration item as the display style configuration in the configuration file;
and when the selection operation of the target display style configuration item is not detected, default configuration information preset for the display style configuration item is used as display style configuration in the configuration file.
6. The method for producing an image file according to claim 1, wherein the displaying the construction process information of the image file in the construction interface includes:
and in the construction process of the image file, displaying the current construction progress of the image file and the current construction stage of the image file in the construction interface in real time.
7. The method for producing an image file according to claim 6, wherein, in the case that an error occurs in the process of constructing the image file, error information is displayed in the construction interface, comprising:
And under the condition that the image file fails to be constructed, the construction stage generating the error and the error reason are displayed in the construction interface.
8. The method for creating an image file according to claim 1, wherein said creating an image file from said drive file, application file and configuration file comprises:
under the condition that the operation environment of the current operating system passes the verification, acquiring a resource file and a startup file which are related to the image file;
generating a compressed package file according to the resource file, the driving file, the application file and the configuration file;
and generating the mirror image file according to the compressed package file and the starting item file under the condition that the file quantity of the compressed package file is smaller than or equal to a preset file quantity threshold value.
9. The method for creating an image file according to claim 8, wherein the generating a compressed package file according to the resource file, the driving file, the application file and the configuration file includes:
storing the resource file, the driving file, the application file and the configuration file into a working directory path of the mirror image file, wherein a root directory script is also stored in the working directory path, and the resource file comprises an installer and an operation data packet of the mirror image file;
And installing the installer, the running data package, the driving file, the application file and the configuration file into a working directory path of the mirror image file through running the root directory script, and obtaining the compressed package file.
10. The method for making an image file according to claim 1, wherein in the case that the image file is successfully built, the building interface further displays a one-touch opening control;
the method further comprises the steps of:
and responding to the trigger of the one-key opening control, jumping to the preset storage path and displaying the image file.
11. The method for making an image file according to any one of claims 1 to 10, wherein the configuration file includes:
desktop background configuration information, desktop theme configuration information, desktop screen saver configuration information, taskbar configuration information, network configuration information, font configuration information, mouse configuration information, power configuration information.
12. An apparatus for creating an image file, the apparatus comprising:
the file acquisition module is used for responding to the mirror image construction instruction to acquire a driving file, an application file and a configuration file of the current operating system;
The construction module is used for constructing an image file according to the driving file, the application file and the configuration file and displaying construction process information of the image file in a construction interface;
the construction success module is used for displaying success information in the construction interface and storing the image file to a preset storage path under the condition that the image file is constructed successfully;
and the construction failure module is used for displaying error information in the construction interface under the condition that errors occur in the construction process of the image file.
13. An electronic device, comprising: a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of any one of claims 1 to 11.
14. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of any one of claims 1 to 11.
CN202310020115.6A 2023-01-06 2023-01-06 Image file manufacturing method and device, electronic equipment and storage medium Pending CN116088876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310020115.6A CN116088876A (en) 2023-01-06 2023-01-06 Image file manufacturing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310020115.6A CN116088876A (en) 2023-01-06 2023-01-06 Image file manufacturing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116088876A true CN116088876A (en) 2023-05-09

Family

ID=86186459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310020115.6A Pending CN116088876A (en) 2023-01-06 2023-01-06 Image file manufacturing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116088876A (en)

Similar Documents

Publication Publication Date Title
EP3213174B1 (en) Terminal device and method of controlling same
US20100093396A1 (en) Systems and methods for storing or performing functions within removable memory, such as a subscriber identity module of a mobile device
CN104281478B (en) The method and device of more new application
CN111273899B (en) Code processing method, device, electronic equipment and storage medium
CN104899039A (en) Method and device for providing screen shooting service in terminal device
CN110781080B (en) Program debugging method and device and storage medium
EP3016349A1 (en) Method and apparatus for verifying terminal and computer program product
CN115328563B (en) System starting method and electronic equipment
CN110851057A (en) Method and device for configuring configuration options of BIOS
CN101677341A (en) Apparatus and method for changing language in mobile communication terminal
CN114416127A (en) Terminal software upgrading method, terminal software upgrading device and storage medium
CN116088876A (en) Image file manufacturing method and device, electronic equipment and storage medium
CN111596980B (en) Information processing method and device
CN114691157A (en) Cloud-based FPGA management control system and method and electronic equipment
CN112306702B (en) Data sharing method and device, electronic equipment and storage medium
CN112631695A (en) Data verification method and device, electronic equipment and storage medium
CN114860242A (en) Compiling method, compiling device and storage medium
CN111813426A (en) Fingerprint data processing method and device
CN117076005B (en) Application running method and device, electronic equipment and storage medium
CN116302295B (en) Interface display method
CN116506215B (en) Access processing method, device, electronic equipment and storage medium
JP7315750B2 (en) Server system, client device and program
CN110286886B (en) Integrated development environment configuration method, device, electronic equipment and storage medium
JP7184508B2 (en) Server system, client device and program
CN113032049A (en) Application system deployment method and device based on task starting strategy and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination