Disclosure of Invention
In view of the above, an object of the present invention is to provide a master file generation method, a master file generation apparatus, an electronic device, and a computer-readable storage medium, which can efficiently and accurately complete system configuration and generate a reliable master file without manually configuring a system and exporting a master.
In order to solve the above technical problem, the present application provides a method for generating a master file, including:
acquiring task information; the task information comprises machine type information, system information and software information;
screening a plurality of preset files by using the system information to obtain a target system file and a corresponding system configuration file;
screening a plurality of preset files by using the software information to obtain a target software file and a corresponding software configuration file;
determining target equipment according to the model information, and configuring the target equipment by using the target system file and the target software file based on the system configuration file and the software configuration file;
and carrying out mirror image export processing on the target equipment to obtain a master disk file.
Optionally, the screening a plurality of preset files by using the system information to obtain a target system file and a system configuration file includes:
determining the target system file from a plurality of preset system files by using the system information;
and screening a plurality of preset system configuration files corresponding to the target system file by using the model information to obtain the system configuration file.
Optionally, the screening the plurality of preset files by using the software information to obtain a target software file and a software configuration file includes:
determining a plurality of target software files from a plurality of preset software files by using the software information;
and screening a plurality of preset software configuration files corresponding to the target software files respectively by using the model information to obtain the system configuration files corresponding to the target software files respectively.
Optionally, the configuring the target device by using the target system file and the target software file based on the system configuration file and the software configuration file includes:
carrying out system installation on the target equipment by using the target system file, and carrying out system configuration by using the system configuration file after the system installation is finished;
and after the system configuration is finished, the target software file is utilized to carry out software installation on the target equipment, and after the software installation is finished, the corresponding software configuration file is utilized to carry out software configuration.
Optionally, the performing software installation on the target device by using the target software file, and performing software configuration by using the corresponding software configuration file after the software installation is completed includes:
determining the installation configuration dependency relationship among the target software files;
dividing the target software file and the software configuration file based on the installation configuration dependency relationship to obtain a plurality of groups of software files;
and sequentially utilizing the target software files in the software files to install the software according to the installation configuration dependency relationship, and utilizing the software configuration files in the software files to configure the software.
Optionally, the task information further includes master disc information, and the performing image export processing on the target device to obtain a master disc file includes:
carrying out initial mirror image export processing on the target equipment to obtain an initial master disc file;
and setting the initial master disc file based on the master disc information to obtain the master disc file.
Optionally, the task information further includes detection information, and the performing image export processing on the target device to obtain a master file includes:
carrying out initial mirror image export processing on the target equipment to obtain an initial master disc file;
determining initial detection equipment with the same model as the target equipment, and performing system filling on the initial detection equipment by using the initial master disc file to obtain target detection equipment;
and carrying out system detection on the target detection equipment based on the detection information, and determining the initial master disc file as the master disc file after the system detection is passed.
The present application further provides a master disc file generating apparatus, including:
the acquisition module is used for acquiring task information; the task information comprises machine type information, system information and software information;
the first file determining module is used for screening a plurality of preset files by using the system information to obtain a target system file and a corresponding system configuration file;
the second file determining module is used for screening a plurality of preset files by using the software information to obtain a target software file and a corresponding software configuration file;
the configuration module is used for determining target equipment according to the model information and configuring the target equipment by using the target system file and the target software file based on the system configuration file and the software configuration file;
and the export module is used for carrying out mirror image export processing on the target equipment to obtain a master disc file.
The present application further provides an electronic device comprising a memory and a processor, wherein:
the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the above-mentioned master file generation method.
The present application also provides a computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the master file generation method described above.
According to the master disc file generation method, task information is obtained; the task information comprises machine type information, system information and software information; screening a plurality of preset files by using system information to obtain a target system file and a corresponding system configuration file; screening a plurality of preset files by using software information to obtain a target software file and a corresponding software configuration file; determining target equipment according to the model information, and configuring the target equipment by using a target system file and a target software file based on a system configuration file and a software configuration file; and carrying out mirror image export processing on the target equipment to obtain a master disk file.
Therefore, after the task information is obtained, the method can screen and obtain the corresponding target system file and system configuration file from a plurality of preset files according to the system information, and meanwhile, the target software file and the software configuration file are obtained by utilizing the software information. The model information may indicate a model to which the generated master file is applicable, and the target device may be selected using the model information, and configured using the target system file and the target software file based on the system configuration file and the software configuration file, so that the target device has a system corresponding to the master file. And exporting the system image on the target equipment by carrying out image export processing to obtain a master file, thereby completing the generation of the master file. The method comprises the steps of presetting a plurality of preset files, wherein the preset files comprise a target system file, a system configuration file, a target software file and a software configuration file required by system configuration, and simultaneously providing target equipment corresponding to various model information so as to carry out system configuration. The system file and the software file are configured on the target equipment according to the corresponding configuration file, manual configuration of the system and export of the master disk are not needed, system configuration can be efficiently and accurately completed, and a reliable master disk file is generated, so that the problems of low master disk file generation efficiency and high error rate in the related art are solved.
In addition, the application also provides a master disc file generation device, an electronic device and a computer readable storage medium, and the same has the beneficial effects.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a master file generation method according to an embodiment of the present disclosure. The method comprises the following steps:
s101: and acquiring task information.
The task information refers to basic information for controlling generation of a master file, and can explain which type of system and those software are deployed on which type of device. The task information includes model information, system information, and software information. The model information is used to describe a model of an electronic device (such as a server or a computer) to which the master file is applicable, the system information is used to describe a type of a system that needs to be configured for the electronic device, and the software information is used to describe a type of software that needs to be deployed on the electronic device. It is understood that a system may be deployed on an electronic device, and one or more software may be deployed, so that the system information in each task information corresponds to one type of system, and the software information may correspond to one or more different pieces of software.
In this embodiment, a task list may be set, and the task list may adopt a first-in first-out mode, or may adopt a priority-based sorting mode. The task list is used to store task information waiting to be processed, i.e., candidate information. Each time the task information is acquired, one or more candidate information may be acquired from the task list as task information and processed.
S102: and screening a plurality of preset files by using the system information to obtain a target system file and a corresponding system configuration file.
The preset file refers to a plurality of system files, software files and configuration files corresponding to the system files and the software files which are stored in advance, and the preset file can be stored locally or in a cloud. The preset file covers any system file and software file that the electronic device can be configured with, so that any desired system and software can be configured for the electronic device based on the preset file. The system file refers to a file for installing an operating system, such as an operating system installation package file, and the type of the operating system is not limited, and may be, for example, a domestic operating system (such as a loongson operating system or a soar operating system) adapted to various domestic platform servers or computers. The software file refers to a file for installing software, for example, a software installation package file, and the specific type of the software is not limited, and may be, for example, specific disk management software, operation monitoring software, cloud desktop client software, and the like.
After the task information is obtained, the task information is analyzed, and system information can be obtained. The system information indicates the type of the system to be configured by the electronic device, so that preset files can be screened by using the system information, target system files matched with the system information are selected from the preset files, and system configuration files used for performing system configuration when the system is installed by using the target system files or after the system is installed. The system information may exist in various representation forms, for example, may be represented in a system name, such as "a system-server edition", "B system-desktop edition", and the like. Since different versions of the same named system may exist, the system information may be in the form of a system version number, such as "a system V1.0.0," in order to accurately specify the target system file.
For the same system, there may be a fixed configuration or multiple different configurations, so for a target system file, there may be one or more candidate configuration files corresponding to it. In this case, information for specifying a system profile or a specific configuration mode may also be present in the system information, according to which the system profile may be determined from a plurality of candidate profiles. In another embodiment, the configuration modes of the same system on different models of electronic devices are different, in which case S102 may specifically include the following steps:
step 11: and determining a target system file from a plurality of preset system files by using the system information.
Step 12: and screening a plurality of preset system configuration files corresponding to the target system file by using the model information to obtain the system configuration file.
In this embodiment, the default files include default system files, and the system information is used to select a target system file from the default system files. After the target system file is determined, the model information may be used to determine a corresponding system configuration file from a plurality of preset system configuration files corresponding to the target system file. The system configuration file obtained by screening the model information can be used for correctly configuring the system installed by using the target system file on the electronic equipment specified by the model information, so that the configured system can normally run on the electronic equipment.
S103: and screening a plurality of preset files by using the software information to obtain a target software file and a corresponding software configuration file.
The software information indicates the type of software that needs to be installed on the electronic device, which may specify one or more pieces of software. Similar to the target system file and the system configuration file, after the preset files are screened by using the software information, a plurality of corresponding target software files and software configuration files corresponding to the target software files can be obtained.
The specific form of the software information may be the same as or different from the system information, and is not limited specifically, and it may also adopt the expression form of the software name or the software version number, or may adopt other expression forms. In some cases, the same software is configured in the same way on different devices; in other cases, in different types of electronic devices, the same software needs different forms of configuration to meet the needs, so S103 may specifically include the following steps:
step 21: and determining a plurality of target software files from a plurality of preset software files by using the software information.
Step 22: and screening a plurality of preset software configuration files corresponding to each target software file by using the model information to obtain system configuration files corresponding to each target software file.
After the software information is used to obtain a plurality of target software files, the model information can be used to screen a plurality of preset software configuration files corresponding to the target software files, so as to obtain system configuration files corresponding to the target software files. The system configuration files can adaptively configure the software in the process of secretly installing the corresponding software in the electronic equipment specified by the model information or after installation, so that each software can normally run on the electronic equipment.
It should be noted that the execution sequence between step S102 and step S103 can be selected in many ways, and specifically, both steps can be executed in series or in parallel. In order to increase the generation speed of the master file, the step S102 and the step S103 may be executed in parallel after the task information is acquired, so as to reduce the time required for determining the target system file and the target software file and the configuration file corresponding to the target system file and the target software file.
S104: and determining target equipment according to the model information, and configuring the target equipment by using the target system file and the target software file based on the system configuration file and the software configuration file.
In this embodiment, a plurality of blank devices of different models are preset, the blank devices are devices that do not undergo system configuration and software configuration, and the target device is specifically a blank device matched with model information. The target system file, the target software file and the configuration files corresponding to the target system file and the target software file are used for configuring the equipment, the corresponding system can be obtained only after the system and software configuration is carried out on the target equipment by using the target system file and the target software file, and then the master disc file is obtained through exporting a system mirror image. After the target device is determined, the system configuration file, the software configuration file, the target system file, and the target software file may be transmitted to the target device using a network connection with the target device to configure the target device.
How to configure the target device by using the target system file and the target software file based on the system configuration file and the software configuration file is not limited in this embodiment. It will be appreciated that the installation and configuration of software typically needs to be performed based on a configured system, and thus the step S104 may include:
step 31: and carrying out system installation on the target equipment by using the target system file, and carrying out system configuration by using the system configuration file after the system installation is finished.
Step 32: and after the system configuration is finished, the target software file is used for installing the software on the target equipment, and after the software installation is finished, the corresponding software configuration file is used for configuring the software.
In order to ensure that the software can be correctly installed and configured, in the embodiment, the target system file is used to install the system on the target device, and the system configuration file is used to configure the system after the installation is finished. After the system configuration is completed, the operating system on the target device is already in an available state, in which case, installation and configuration of software may be performed, and finally, the configuration of the entire target device is completed. By installing software on the target equipment after the system configuration is completed and performing software configuration, the problem of software installation error or configuration error caused by operations such as software installation when the operating system is not configured is solved.
Further, in a specific embodiment, when the number of the target software files is multiple, the process of installing software on the target device by using the target software files and configuring software by using the corresponding software configuration files after the software installation may specifically include the following steps:
step 41: and determining the installation configuration dependency relationship among the target software files.
Step 42: and dividing the target software file and the software configuration file based on the installation configuration dependency relationship to obtain a plurality of groups of software files.
Step 43: and sequentially utilizing the target software files in each group of software files to install the software according to the installation configuration dependency relationship, and utilizing the software configuration files in each group of software files to configure the software.
When the number of the target software files is multiple, it is indicated that multiple pieces of software need to be installed, in this case, there may be an installation configuration dependency relationship between the pieces of software, that is, after some pieces of software have been installed and configured, other pieces of software can be installed, otherwise, the software cannot be normally installed. Therefore, when the software is installed and configured, the installation configuration dependency relationship among the target software files, that is, the installation sequence among the target software files, can be determined first. After the dependency relationship is determined, the object software files and the software configuration files are divided by the dependency relationship, and the object software files and the software configuration files are divided into different groups according to the installation sequence of each software to obtain at least one group of software files. After grouping is finished, software installation is carried out by using target software files in each group of software files, software configuration is carried out by using software configuration files in each group of software files, and when software files for installation and configuration are selected, the software files need to be selected according to the installation sequence of the software. By the aid of the method, normal installation of all software can be guaranteed, and configuration errors and master disc file errors can be prevented.
S105: and carrying out mirror image export processing on the target equipment to obtain a master disk file.
After the target device is configured, the current state of the target device is the state that the master file needs to be recorded, so that the export processing of the mirror image of the operating system can be carried out on the target device to obtain the master file. The target file can be used for filling the operating system, so that the blank equipment can reach the state after the configuration of the target equipment is completed without the configuration of the steps, and the equipment configuration efficiency is greatly improved. The specific content and form of the master file are not limited, and reference may be made to the related art. After the master file is obtained, the target device may be initialized to become a blank device again, so that the master file may be generated by using the target device again when needed subsequently.
In one embodiment, when a plurality of different master files are generated in batch, that is, when a plurality of pieces of task information exist, in order to be able to easily distinguish the respective generated master files, the master files may be generated based on the master information. Specifically, S105 may include:
step 51: and carrying out initial image export processing on the target equipment to obtain an initial master disc file.
Step 52: and setting the initial master file based on the master information to obtain the master file.
In this embodiment, the task information further includes master disc information, where the master disc information is specifically identification information of a master disc file, and the master disc information is unique information, that is, the master disc information corresponding to different task information is different, and specifically may be a file name, a task creation time, and the like. The result obtained by directly performing image export on the target device is an initial master file, and the specific process and manner of the initial image export processing may refer to the related art and are not described herein again. After the initial master file is obtained, the initial master file may be set by using the master information to obtain the master file, so that the master file can be distinguished by the master information in the master file.
In one embodiment, in order to prevent a master file error caused by an abnormal configuration of a target device or an abnormal export of a master file, an initial master file may be detected after being obtained, and determined as the master file after the detection is passed. Specifically, S105 may include:
step 61: and carrying out initial image export processing on the target equipment to obtain an initial master disc file.
Step 62: and determining initial detection equipment with the same model as the target equipment, and performing system filling on the initial detection equipment by using the initial master disc file to obtain the target detection equipment.
And step 63: and carrying out system detection on the target detection equipment based on the detection information, and determining the initial master file as the master file after the system detection is passed.
In this embodiment, the task information further includes detection information, where the detection information is used to indicate a detection item or a detection method that needs to be performed, and may be, for example, a detection item name or a detection method serial number. After the initial master file is obtained, in order to determine whether the initial master file is a satisfactory master file, another blank device having the same model as the target device may be determined as an initial detection device, and the initial detection device is subjected to a system filling operation using the initial master file, so that the initial detection device has a device state recorded in the initial master file. After the system filling operation is completed, the initial detection equipment is changed into target detection equipment.
And performing corresponding system detection on the target detection equipment based on the detection information. If the initial master file is a satisfactory master file, the target detection device can successfully pass the detection, and thus the initial master file can be determined as the master file. If the configuration process of the target equipment is abnormal or the export process of the initial master disc file is abnormal, the initial master disc file does not record the equipment state meeting the requirements, and the target detection equipment obtained after filling by using the initial master disc file also does not meet the requirements, so that the target detection equipment cannot pass through the system for detection.
By applying the method for generating the master disc file provided by the embodiment of the application, after the task information is obtained, the corresponding target system file and the corresponding system configuration file can be obtained by screening from a plurality of preset files according to the system information, and meanwhile, the target software file and the software configuration file can be obtained by using the software information. The model information may indicate a model to which the generated master file is applicable, and the target device may be selected using the model information, and configured using the target system file and the target software file based on the system configuration file and the software configuration file, so that the target device has a system corresponding to the master file. And exporting the system image on the target equipment by carrying out image export processing to obtain a master file, thereby completing the generation of the master file. The method comprises the steps of presetting a plurality of preset files, wherein the preset files comprise a target system file, a system configuration file, a target software file and a software configuration file required by system configuration, and simultaneously providing target equipment corresponding to various model information so as to carry out system configuration. The system file and the software file are configured on the target equipment according to the corresponding configuration file, manual configuration of the system and export of the master disk are not needed, system configuration can be efficiently and accurately completed, and a reliable master disk file is generated, so that the problems of low master disk file generation efficiency and high error rate in the related art are solved.
Based on the foregoing embodiments, please refer to fig. 2, and fig. 2 is a schematic structural diagram of a customized mastering system according to an embodiment of the present application, where the customized mastering system is configured to execute all or part of the steps in the foregoing embodiments to generate a master file. The domestic platform hardware management system is used for controlling servers and PCs (Personal computers) of a plurality of domestic platforms with different models, the servers or the PCs are blank devices, and the domestic platform hardware management system can be connected to the servers or the PCs through a network and controls the servers or the PCs to start and stop. The customized system configuration tool is used for remotely installing and configuring the operating system of the domestic platform and remotely installing and configuring a series of software on the corresponding operating system. The software library of the operating system library of the domestic platform is used for storing operating system installation files (namely preset system files) which are adapted to a plurality of models of a domestic platform server and a PC, installation packages (namely preset software files) of various software under each operating system and corresponding configuration files (namely system configuration files and software configuration files). The master export detection tool is used to export a system master containing a current operating system and application from a running machine (i.e., a target device), and the master file can be detected. In addition, it also has a function of clearing the operating system on the target apparatus.
Referring to fig. 3, fig. 3 is a flowchart of a specific master file generation method according to an embodiment of the present application. Specifically, the method comprises the following steps:
1. configuration import: and importing a task list (namely task information) through the task list, wherein the task list comprises machine type information, operating system information, software information and master disc information. The task list is imported into the domestic platform hardware management system.
2. Hardware platform preparation: and the domestic platform hardware management system starts a corresponding blank system-free server or PC and establishes network connection according to the model information in the task list. And after the connection is successful, the network connection address and the current task list are imported into a customized system configuration tool.
3. Customizing the system: and the customized system configuration tool calls the corresponding installation package and configuration script from the software library of the operating system library of the domestic platform according to the operating system information and the software information in the task list. After the calling is finished, the operating system is installed on the server or the PC by using the installation package (namely the target system file) of the operating system through the network connection address, and then the operating system is configured by using a configuration script (namely the system configuration script). After the system configuration is completed, the installation sequence among the software is determined, and based on the sequence, the software installation package (namely the target software file) and the software configuration script (namely the software configuration file) are transmitted in batches through the network connection. And installing the software step by step according to the software information in the task list and completing the configuration by using the script. And after all the tasks are finished, the network connection address and the current task list are led into a master disc export and detection tool.
4. And (3) master disc derivation and detection: and the master disc export detection tool exports an initial master disc file from the current connected hardware model according to the master disc information in the task list, and the initial master disc file is set by using the master disc information to obtain the master disc file. And after the completion, the hardware management system of the domestic platform is informed so as to start and connect a blank system-free device (namely initial detection device) with the same model, and the blank system-free device is filled by using the master disc file. After filling, it is checked whether the customisation system operating on the filled machine meets the requirements of the task list. After the master disc files are determined to meet the requirements and detected by the master disc filling system, a current task list and the manufactured master disc files are derived. The operating systems on the two connected devices are cleared simultaneously, and the domestic platform hardware management system is notified to release their network connections.
5. And (3) task flow: and deleting the task list in the task list, and detecting whether the task list is empty or not. If not, returning to the step 1, and continuing to manufacture the master disc of the next list; if the operation is empty, all the operations are finished.
The following describes a master file generation apparatus provided in an embodiment of the present application, and the master file generation apparatus described below and the master file generation method described above may be referred to correspondingly.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a master file generating apparatus according to an embodiment of the present application, including:
an obtaining module 110, configured to obtain task information; the task information comprises machine type information, system information and software information;
the first file determining module 120 is configured to screen a plurality of preset files by using system information to obtain a target system file and a corresponding system configuration file;
the second file determining module 130 is configured to screen a plurality of preset files by using the software information to obtain a target software file and a corresponding software configuration file;
the configuration module 140 is configured to determine a target device according to the model information, and configure the target device by using a target system file and a target software file based on the system configuration file and the software configuration file;
and the export module 150 is configured to perform image export processing on the target device to obtain a master file.
Optionally, the first file determining module 120 includes:
the first screening unit is used for determining a target system file from a plurality of preset system files by using the system information;
and the second screening unit is used for screening a plurality of preset system configuration files corresponding to the target system file by using the model information to obtain the system configuration file.
Optionally, the second file determining module 130 includes:
the third screening unit is used for determining a plurality of target software files from a plurality of preset software files by using the software information;
and the fourth screening unit is used for screening the plurality of preset software configuration files corresponding to the target software files respectively by using the model information to obtain the system configuration files corresponding to the target software files respectively.
Optionally, the configuration module 140 includes:
the system configuration unit is used for carrying out system installation on the target equipment by using the target system file and carrying out system configuration by using the system configuration file after the system installation is finished;
and the software configuration unit is used for installing software on the target equipment by using the target software file after the system configuration is finished, and performing software configuration by using the corresponding software configuration file after the software installation is finished.
Optionally, the software configuration unit includes:
the relation determining subunit is used for determining the installation configuration dependency relation among the target software files;
the software configuration unit is used for dividing the target software files and the software configuration files based on the installation configuration dependency relationship to obtain a plurality of groups of software files;
and the installation and configuration subunit is used for sequentially utilizing the target software files in each group of software files to carry out software installation according to the installation configuration dependency relationship and utilizing the software configuration files in each group of software files to carry out software configuration.
Optionally, the deriving module 150 includes:
the initial export unit is used for carrying out initial image export processing on the target equipment to obtain an initial master disc file;
and the information setting unit is used for setting the initial master disc file based on the master disc information to obtain the master disc file.
Optionally, the deriving module 150 includes:
the initial export unit is used for carrying out initial image export processing on the target equipment to obtain an initial master disc file;
the system filling unit is used for determining initial detection equipment with the same model as the target equipment, and performing system filling on the initial detection equipment by using the initial master disc file to obtain the target detection equipment;
and the detection unit is used for carrying out system detection on the target detection equipment based on the detection information and determining the initial master file as the master file after the system detection is passed.
In the following, the electronic device provided by the embodiment of the present application is introduced, and the electronic device described below and the master file generation method described above may be referred to correspondingly.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Wherein the electronic device 100 may include a processor 101 and a memory 102, and may further include one or more of a multimedia component 103, an information input/information output (I/O) interface 104, and a communication component 105.
The processor 101 is configured to control the overall operation of the electronic device 100, so as to complete all or part of the steps in the above-described master file generation method; the memory 102 is used to store various types of data to support operation at the electronic device 100, such data may include, for example, instructions for any application or method operating on the electronic device 100, as well as application-related data. The Memory 102 may be implemented by any type or combination of volatile and non-volatile Memory devices, such as one or more of 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 multimedia component 103 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 102 or transmitted through the communication component 105. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 104 provides an interface between the processor 101 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 105 is used for wired or wireless communication between the electronic device 100 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding Communication component 105 may include: Wi-Fi part, Bluetooth part, NFC part.
The electronic Device 100 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 components, and is configured to perform the master file generating method according to the above embodiments.
In the following, a computer-readable storage medium provided by an embodiment of the present application is introduced, and the computer-readable storage medium described below and the master file generation method described above may be referred to correspondingly.
The present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the above-mentioned master file generation method.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relationships such as first and second, etc., are intended only to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms include, or any other variation is intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.