CN112256237B - Operating system customization method, customization system, electronic device and customization resource file - Google Patents

Operating system customization method, customization system, electronic device and customization resource file Download PDF

Info

Publication number
CN112256237B
CN112256237B CN202011034598.8A CN202011034598A CN112256237B CN 112256237 B CN112256237 B CN 112256237B CN 202011034598 A CN202011034598 A CN 202011034598A CN 112256237 B CN112256237 B CN 112256237B
Authority
CN
China
Prior art keywords
guide
file
label
attribute
operating system
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.)
Active
Application number
CN202011034598.8A
Other languages
Chinese (zh)
Other versions
CN112256237A (en
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.)
Shenzhen Youjin Payment Technology Co ltd
Original Assignee
Shenzhen Youjin Payment Technology 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 Shenzhen Youjin Payment Technology Co ltd filed Critical Shenzhen Youjin Payment Technology Co ltd
Priority to CN202011034598.8A priority Critical patent/CN112256237B/en
Publication of CN112256237A publication Critical patent/CN112256237A/en
Application granted granted Critical
Publication of CN112256237B publication Critical patent/CN112256237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention relates to an operating system customization method, a customization system, electronic equipment and a customization resource file, which comprise the following steps: s1, acquiring a customized resource file in a preset format, and analyzing a root directory in the customized resource file to acquire a first guide file; s2, analyzing the first guide file to obtain a first guide label and an attribute mark of the first guide label, judging whether the attribute mark of the first guide label meets the requirement, if so, executing S3, if not, ignoring the first guide label and executing S4; s3, acquiring corresponding file resources according to the first guide label to analyze and generate a corresponding system file; s4, confirming whether the attribute marking judgment is completed on the first guide labels corresponding to the first guide files, if yes, executing S5, and if not, executing S2; s5, generating a final customized operating system according to the system file. The invention can realize unified customizing process, has simple process and can easily realize customizing process with various demands.

Description

Operating system customization method, customization system, electronic device and customization resource file
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an operating system customization method, a customization system, an electronic device, and a customization resource file.
Background
The PDA and POS are applied to different industries, and the corresponding user requirements are different, so that different custom OS can appear based on different requirements. For example, the number of required items in the industry requirement is large, and the corresponding customization task amount is large. In particular, there are small demands but a lot of custom projects, the cost and efficiency of which are not proportional. Moreover, the customization is required to be more, and each customization OS needs to be subjected to specific customization and OS compiling, so that a great deal of manpower and material resources are required.
Disclosure of Invention
The invention aims to solve the technical problems of the prior art and provides an operating system customizing method, a customizing system, electronic equipment and a customizing resource file.
The technical scheme adopted for solving the technical problems is as follows: a method of constructing an operating system customization, comprising:
s1, acquiring a customized resource file generated according to a preset format, and analyzing a root directory in the customized resource file to acquire a first guide file;
s2, analyzing the first guide file to obtain a first guide label in the first guide file and an attribute mark of the first guide label, judging whether the attribute mark of the first guide label meets the requirement, if so, executing the step S3, otherwise, ignoring the first guide label and executing the step S4;
s3, acquiring corresponding file resources according to the first guide tag to analyze and generate a corresponding system file;
s4, confirming whether the first guide labels corresponding to the first guide files are all subjected to attribute marking judgment, if yes, executing a step S5, and if not, executing a step S2;
s5, generating a final customized operating system according to the system file.
Preferably, in the step S2, the obtaining the first guide tag in the first guide file and the attribute flag of the first guide tag includes:
analyzing the customXML file, and acquiring the corresponding name according to the customID in the customXML file, so as to acquire the first guide label and the attribute mark of the first guide label according to the name.
Preferably, the attribute tag of the first guide tag includes true and false, and the attribute tag of the first guide tag meets the preset requirement only when the attribute tag of the first guide tag is true.
Preferably, an operating system customization method of the present invention further includes:
s61, acquiring a sub-target corresponding to the first guide label, and confirming whether a second guide file is arranged under the sub-target corresponding to the first guide label, if so, executing S62, and if not, executing S3;
s62, analyzing the second guide file to obtain a second guide label corresponding to the first guide label and an attribute mark of the second guide label;
s63, generating a corresponding system file according to the attribute mark of the second index tag, and executing the step S4.
Preferably, the second guide file is an XML file with the same name as the corresponding first guide tag.
Preferably, the attribute mark of the second instruction tag is an apk file name corresponding to the second instruction tag, and the generating a corresponding system file according to the attribute mark of the second instruction tag includes:
and acquiring file resources corresponding to the second index tag according to the attribute mark of the second index tag so as to analyze and generate a corresponding system file.
The invention also provides an operating system customization system, which comprises:
the acquisition unit is used for acquiring a customized resource file generated according to a preset format and analyzing a root directory in the customized resource file to acquire a first guide file;
the analyzing unit is used for analyzing the first guide file to obtain a first guide label in the first guide file and an attribute mark of the first guide label, judging whether the attribute mark of the first guide label meets the requirement, outputting a first result when the attribute mark meets the preset requirement, and outputting a second result otherwise;
the first execution unit is used for acquiring file resources corresponding to the first guide labels to analyze and generate corresponding system files when the analysis unit outputs a first result;
the judging unit is used for confirming whether the first guide labels corresponding to the first guide files are all judged, outputting a positive result when the judgment is finished, and otherwise, driving the analyzing unit to act;
the second execution unit is used for generating a final customized operating system according to the system file when the judging unit outputs a positive result;
and the third execution unit is used for driving the judging unit to act when the analyzing unit outputs the second result.
The invention also constructs a customized resource file comprising:
the system comprises a plurality of first configuration files arranged under a root directory and first guide files arranged with the first configuration files in a level directory;
and when the first guide file is executed, whether the first configuration file corresponding to the first guide label is executed or not is confirmed through the first attribute marks.
Preferably, a customized resource file of the present invention further includes:
the first guide files are arranged in the first configuration file level directory;
and when the second guide file is executed, the second configuration file corresponding to the first guide label is acquired through the second attribute labels.
The invention also constructs an electronic device comprising a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement an operating system customization method according to any of the preceding claims.
The operating system customization method, the customization system, the electronic equipment and the customization resource file have the following beneficial effects: the unified customization process is realized, the process is simple, and the customization process with various requirements can be easily realized.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a flow chart of a method for customizing an operating system according to an embodiment of the present invention;
FIG. 2 is a program flow diagram of another embodiment of an operating system customization method of the present invention;
FIG. 3 is a logical block diagram of one embodiment of an operating system customization system of the present invention;
FIG. 4 is a schematic diagram of a first embodiment of a customized resource file according to the present invention.
Detailed Description
For a clearer understanding of technical features, objects and effects of the present invention, a detailed description of embodiments of the present invention will be made with reference to the accompanying drawings.
As shown in fig. 1, in a first embodiment of an operating system customizing method of the present invention, the method includes: s1, acquiring a customized resource file generated according to a preset format, and analyzing a root directory in the customized resource file to acquire a first guide file; specifically, the customized resource file is generated according to a preset format, and in the process of customizing the operating system, the customized resource file is analyzed and corresponding operation is performed according to the analysis result in the process of generating the operating system. In the analysis process, the root directory of the customized file is analyzed first, and a first guide file under the root directory is obtained. The first guiding file may be obtained according to a file attribute, such as a file name or a file suffix name.
S2, analyzing the first guide file to obtain a first guide label and an attribute mark of the first guide label in the first guide file, judging whether the attribute mark of the first guide label meets the requirement, if so, executing the step S3, otherwise, ignoring the first guide label and executing the step S4; specifically, the acquired first guide file is analyzed, and a first guide label is acquired from the first guide file, wherein the first guide label corresponds to a functional module of an operating system and is used for guiding the corresponding functional module so as to perform corresponding operation on the functional module according to the requirement. The different first guiding labels are in one-to-one correspondence with the different functional modules. In the actual use process, different operating systems are configured with different functional modules, when the first guiding label is set, the first guiding label can cover more functional modules configured by a plurality of different operating systems, and in the specific operating system generation process, the functional module to be processed is selected according to the attribute of the first guiding label which is set in advance. That is, according to the attribute of the first guiding label, whether the functional module corresponding to the first guiding label needs to be skipped is determined, so that the corresponding functional module is not generated in the generating operation system.
S3, acquiring corresponding file resources according to the first guide label to analyze and generate a corresponding system file; specifically, when it is determined that the operating system needs to add a corresponding function module according to the attribute flag of the first guide tag, the corresponding file resource is obtained according to the first guide tag and parsed to generate a corresponding system file, that is, the system file can be understood to correspond to a certain function of the operating system.
S4, confirming whether the attribute marking judgment is completed on the first guide labels corresponding to the first guide files, if yes, executing the step S5, and if not, executing the step S2; s5, generating a final customized operating system according to the system file. In the analysis process of the first guide file, determining whether the first guide labels in the first guide file all complete the judgment of the attribute marks, namely, after all the first guide labels complete the judgment of the attribute marks, determining that the system files of the customized operating system corresponding to the customized resource file are generated, and at the moment, the customized operating system generated according to the system files is the final customized operating system.
Optionally, in step S2, acquiring the first guide tag and the attribute flag of the first guide tag in the first guide file includes: analyzing the customXML file, and acquiring the corresponding names according to the customID in the customXML file, so as to acquire the first guide label and the attribute mark of the first guide label according to the names. Specifically, the first guide file may be a custom XML file set under the root directory, and the specific process of obtaining the first guide file is to parse the custom XML file, obtain a corresponding name according to a custom ID in the custom XML file, and perform attribute tag association on the name.
Optionally, the attribute tag of the first guide tag includes true and false, and the attribute tag of the first guide tag meets a preset requirement only when the attribute tag of the first guide tag is true. Specifically, when it obtains attribute tag association of a corresponding name for a custom ID, it can define whether it needs to be executed by true and false. In one particular embodiment, parsing a custom XML file results in,
the names of the corresponding system functions, which are "apps", "keys", "property", "resource", "the me", "the update", "the key", "the description", etc., can be obtained according to the custom ID, and when the first guide label is obtained by parsing, the attribute label of the first guide label can be judged, where the attribute label is true or false, and the function label marked as true is subjected to the action of obtaining the corresponding file resource.
Optionally, as shown in fig. 2, an operating system customization method of the present invention further includes:
s61, acquiring a sub-target corresponding to the first guide label, and confirming whether a second guide file is arranged under the sub-target corresponding to the first guide label, if so, executing S62, and if not, executing S3;
s62, analyzing the second guide file to obtain a second guide label corresponding to the first guide label and an attribute mark of the second guide label;
s63, generating a corresponding system file according to the attribute mark of the second index tag, and executing step S4.
In particular, during the partitioning of functional modules of an operating system, it may also be possible for a large functional module to have a next level of partitioning of small functional modules. At this time, when the attribute of the first guiding label is judged to meet the requirement only, after the corresponding sub-target, namely the functional module corresponding to the first level, is obtained according to the first guiding label, whether a second guiding file is further arranged under the sub-target corresponding to the first guiding label is confirmed, namely whether the functional module further comprises a corresponding sub-functional module is confirmed. It can be understood that the second guiding file corresponds to the sub-functional module, when there is no second guiding file under the sub-target corresponding to the first guiding label, it can directly obtain the corresponding file resource according to the first guiding label, and when there is the second guiding file under the sub-target corresponding to the first guiding label, the second guiding file needs to be analyzed to obtain the second guiding label corresponding to the first guiding label and the attribute mark of the first guiding label. And generating a corresponding system file of the first guide label according to the second guide label and the attribute mark of the second guide label.
Optionally, the second guide file is an XML file with the same name as the corresponding first guide tag. Wherein the name of the first guide file may be the same as the name of the first guide label to perform the corresponding mapping. In a specific embodiment, in the parsing process of the sub-object corresponding to "property", a property XML file is obtained, and the property XML file is parsed, which is specifically obtained as follows:
<?xml version="1.0"encoding="utf-8"?>
<propertygroup>
<property id="1"name="ro.build.id">PKQ1.190118.001</property>
<property id="2"name="ro.vendor.build.id">V1.0.0.PKQ1.190118.001</property>
<property id="3"name="ro.build.sw">V1.0.0</property>
<property id="4"name="ro.build.display.id">PKQ1.190118.001 670release-keys</property>
<property id="5"name="ro.build.version.sdk">28</property>
<property id="6"name="ro.build.version.release">9</property>
<property id="7"name="ro.build.version.security_patch">2020-05-06</property>
<property id="8"name="ro.build.date">Mon May 11 21:17:25CST2020</property>
<property id="9"name="ro.build.type">user</property>
<property id="10"name="ro.build.tags">release-keys</property>
</propertygroup>
i.e. by generating the system properties from the second index tag and its corresponding property label.
Optionally, in some embodiments, the attribute tag of the second index tag is an apk file name corresponding to the second index tag, and generating the corresponding system file according to the attribute tag of the second index tag includes: and acquiring file resources corresponding to the second index tag according to the attribute mark of the second index tag so as to analyze and generate a corresponding system file. Specifically, in some system file configuration processes, the existing configuration may be directly referred to, and then the attribute of the second index tag may be directly marked as an apk file corresponding to the second index tag. In a specific example, parsing an app xml file results in the following,
<?xml version="1.0"encoding="utf-8"?>
<apps>
<!--system/app-->
<app id="1"name="app">wechat.apk</property>
<!--system/priv-app-->
<app id="2"name="priv-app">filemanager.apk</property>
<!--vendor/app-->
<app id="3"name="vendor-app">autuinstall.apk</property>
<!--vendor/priv-app-->
<app id="4"name="vendor-priv-app">USettings.apk</property>
<!--Pre-installed apps-->
<app id="5"name="fretab-app">Chrome.apk</property>
</apps>。
as shown in fig. 3, an operating system customization system of the present invention includes:
an obtaining unit 110, configured to obtain a customized resource file generated according to a preset format, and parse a root directory in the customized resource file to obtain a first guide file;
the parsing unit 120 is configured to parse the first guide file to obtain a first guide tag in the first guide file and an attribute tag of the first guide tag, determine whether the attribute tag of the first guide tag meets a requirement, output a first result when the attribute tag meets a preset requirement, and otherwise output a second result;
the first execution unit 131 is configured to obtain a file resource corresponding to the first guide tag to parse and generate a corresponding system file when the parsing unit 120 outputs the first result;
a judging unit 140, configured to confirm whether the first guide labels corresponding to the first guide files all complete the judgment, and output a positive result when the judgment is completed, otherwise, drive the parsing unit 120 to act;
a second execution unit 132 for generating a final custom operating system from the system file when the determination unit 140 outputs a positive result;
the third executing unit 133 is configured to drive the judging unit 140 to operate when the analyzing unit 120 outputs the second result.
Specifically, the specific cooperation operation process between each unit of the operating system customization system may refer to the above-mentioned operating system customization method, which is not described herein again.
In addition, the electronic equipment comprises a memory and a processor; the memory is used for storing a computer program; the processor is configured to execute a computer program to implement any of the operating system customization methods described above. In particular, according to embodiments of the present invention, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may perform the above-described functions defined in the methods of embodiments of the present invention when downloaded and installed and executed by an electronic device. The electronic equipment in the invention can be a terminal such as a notebook, a desktop, a tablet computer, a smart phone and the like, and also can be a server.
In addition, a customized resource file of the present invention includes: the first guide files are arranged with the first configuration files and the level catalogues; the first guide files are internally provided with a plurality of first guide labels corresponding to the first configuration files, each first guide label is provided with a first attribute mark, and when the first guide files are executed, whether the first configuration files corresponding to the first guide labels are executed or not is confirmed through the first attribute marks. Specifically, a configuration file and a first guiding file for guiding to obtain the configuration file are set in the customized resource file, the first guiding file and a first configuration file flat directory are set, a plurality of first guiding labels are set in the first guiding file, and setting of a first attribute mark is performed, and according to the attribute mark of the first guiding label, namely, the first attribute mark, the customized operating system process determines whether the configuration file corresponding to the first guiding label, namely, the first configuration file, needs to be obtained according to the first guiding label. It can be understood that the configuration file corresponds to the functional module, that is, a first configuration file is used to implement configuration of a functional module of the operating system. The custom resource file may be a zip-suffix-terminated compressed package that may contain corresponding configuration files for default settings of system attributes, custom system resources, physical key mapping configurations, and the like. As shown in FIG. 4, the format of the custom resource file is in one embodiment. The first index file name is a custom.xml file, the configuration of upgrading under the flat directory is controlled through the custom.xml file, if the upgrading is needed, the first attribute mark corresponding to the first index tag in the custom.xml file is configured as true, and if the upgrading is not needed, the first attribute mark corresponding to the first index tag in the custom.xml file is configured as false or is removed or annotated. The configuration of the system can be arbitrarily set according to the operating system which is acquired as required.
Optionally, the customized resource file further includes a plurality of second configuration files set under the sub-directory of the first configuration file, and a second guide file set with the second configuration file flat directory; and when the second guide file is executed, the second guide file corresponding to the first guide label is acquired through the second attribute labels. Specifically, when the function module according to the operating system can be further refined, that is, when a certain function module is configured, the setting of the function module can be divided into smaller sub-function modules, and the configuration of each sub-function module is configured through a second configuration file, wherein the second configuration file can directly contain system parameters or can be the guidance of the system parameters so as to obtain the existing parameter module.
By taking default setting of system attributes as an example, as shown below, all system attributes of the system are contained in a property folder in a customized resource file, and attributes required by a user can be added in the property folder. The attribute configuration is in the form of key-value.
<?xml version="1.0"encoding="utf-8"?>
<propertygroup>
<property id="1"name="ro.build.id">PKQ1.190118.001</property>
<property id="2"name="ro.vendor.build.id">V1.0.0.PKQ1.190118.001</property>
<property id="3"name="ro.build.sw">V1.0.0</property>
<property id="4"name="ro.build.display.id">PKQ1.190118.001 670 release-keys</property>
<property id="5"name="ro.build.version.sdk">28</property>
<property id="6"name="ro.build.version.release">9</property>
<property id="7"name="ro.build.version.security_patch">2020-05-06</property>
<property id="8"name="ro.build.date">Mon May 11 21:17:25CST2020</property>
<property id="9"name="ro.build.type">user</property>
<property id="10"name="ro.build.tags">release-keys</property>
</propertygroup>
In some custom system resources, including system applications (apps), resource, theme, in some scenarios where such content is to be custom, the corresponding file resource may be copied to the corresponding directory, then xml files may be configured under the corresponding directory, and directed by the second index tag each having a second attribute tag:
<?xml version="1.0"encoding="utf-8"?>
<apps>
<!--system/app-->
<app id="1"name="app">wechat.apk</property>
<!--system/priv-app-->
<app id="2"name="priv-app">filemanager.apk</property>
<!--vendor/app-->
<app id="3"name="vendor-app">autuinstall.apk</property>
<!--vendor/priv-app-->
<app id="4"name="vendor-priv-app">USettings.apk</property>
<!--Pre-installed apps-->
<app id="5"name="fretab-app">Chrome.apk</property>
</apps>。
for resources including boot logo, boot animation, ring tone and the like under the resource file, copying the resources to the corresponding directory to be configured with the resource. The upgrade is a system update item that can update system security patches, deadly bugs, etc. The description is upgrade description and the like, corresponding configuration process can be realized by obtaining corresponding configuration content according to each second instruction label, and finally customization of an operating system can be realized.
It can be understood that after the custom resource file is configured, the custom resource file can be copied and placed in the corresponding device storage root directory or deployed in a remote server, the custom resource file package can be manually checked or automatically checked in a networking manner, and when the custom package is searched or the upgrading process is manually triggered, the analysis of the corresponding directory is executed. And after the analysis process is finished, the customized OS can be obtained.
It is to be understood that the above examples only represent preferred embodiments of the present invention, which are described in more detail and are not to be construed as limiting the scope of the invention; it should be noted that, for a person skilled in the art, the above technical features can be freely combined, and several variations and modifications can be made without departing from the scope of the invention; therefore, all changes and modifications that come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims (8)

1. A method of operating system customization, comprising:
s1, acquiring a customized resource file generated according to a preset format, and analyzing a root directory in the customized resource file to acquire a first guide file; the customized resource file comprises a plurality of first configuration files arranged under a root directory and first guide files arranged with the first configuration file flat directory; the first guide file is internally provided with a plurality of first guide labels corresponding to the first configuration file, each first guide label is provided with a first attribute mark, and when the first guide file is executed, whether the first configuration file corresponding to the first guide label is executed or not is confirmed through the first attribute marks;
s2, analyzing the first guide file to obtain a first guide label in the first guide file and an attribute mark of the first guide label, judging whether the attribute mark of the first guide label meets the requirement, if so, executing the step S3, otherwise, ignoring the first guide label and executing the step S4;
s3, acquiring corresponding file resources according to the first guide tag to analyze and generate a corresponding system file;
s4, confirming whether the first guide labels corresponding to the first guide files are all subjected to attribute marking judgment, if yes, executing a step S5, and if not, executing a step S2;
s5, generating a final customized operating system according to the system file.
2. The operating system customization method according to claim 1, wherein in the step S2, the obtaining the first guide tag in the first guide file and the attribute flag of the first guide tag includes:
analyzing the customXML file, and acquiring the corresponding name according to the customID in the customXML file, so as to acquire the first guide label and the attribute mark of the first guide label according to the name.
3. The operating system customization method according to claim 2, wherein the attribute tags of the first guidance tag include true and false, and the attribute tags of the first guidance tag satisfy a requirement only when the attribute tags of the first guidance tag are true.
4. The operating system customization method according to claim 1, wherein the customization resource file further includes:
the first guide files are arranged in the first configuration file level directory;
wherein, a plurality of second guide labels corresponding to the second configuration file are arranged in the second guide file, each second guide label is provided with a second attribute mark, and when the second guide file is executed, the second configuration file corresponding to the first guide label is obtained through the second attribute marks;
the method further comprises the steps of:
s61, acquiring a sub-target corresponding to the first guide label, and confirming whether a second guide file is arranged under the sub-target corresponding to the first guide label, if so, executing S62, and if not, executing S3;
s62, analyzing the second guide file to obtain a second guide label corresponding to the first guide label and an attribute mark of the second guide label;
s63, generating a corresponding system file according to the attribute mark of the second index tag, and executing the step S4.
5. The operating system customization method according to claim 4, wherein the second guide file is an XML file having a same name as the first guide tag corresponding thereto.
6. The operating system customization method according to claim 4, wherein the attribute of the second index tag is an apk file name corresponding to the second index tag, and the generating the corresponding system file according to the attribute of the second index tag includes:
and acquiring file resources corresponding to the second index tag according to the attribute mark of the second index tag so as to analyze and generate a corresponding system file.
7. An operating system customization system, comprising:
the acquisition unit is used for acquiring a customized resource file generated according to a preset format and analyzing a root directory in the customized resource file to acquire a first guide file; the customized resource file comprises a plurality of first configuration files arranged under a root directory and first guide files arranged with the first configuration file flat directory; the first guide file is internally provided with a plurality of first guide labels corresponding to the first configuration file, each first guide label is provided with a first attribute mark, and when the first guide file is executed, whether the first configuration file corresponding to the first guide label is executed or not is confirmed through the first attribute marks;
the analyzing unit is used for analyzing the first guide file to obtain a first guide label in the first guide file and an attribute mark of the first guide label, judging whether the attribute mark of the first guide label meets the requirement, outputting a first result when the attribute mark meets the preset requirement, and outputting a second result otherwise;
the first execution unit is used for acquiring file resources corresponding to the first guide labels to analyze and generate corresponding system files when the analysis unit outputs a first result;
the judging unit is used for confirming whether the first guide labels corresponding to the first guide files are all judged, outputting a positive result when the judgment is finished, and otherwise, driving the analyzing unit to act;
the second execution unit is used for generating a final customized operating system according to the system file when the judging unit outputs a positive result;
and the third execution unit is used for driving the judging unit to act when the analyzing unit outputs the second result.
8. An electronic device comprising a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the operating system customization method of any of claims 1-6.
CN202011034598.8A 2020-09-27 2020-09-27 Operating system customization method, customization system, electronic device and customization resource file Active CN112256237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011034598.8A CN112256237B (en) 2020-09-27 2020-09-27 Operating system customization method, customization system, electronic device and customization resource file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011034598.8A CN112256237B (en) 2020-09-27 2020-09-27 Operating system customization method, customization system, electronic device and customization resource file

Publications (2)

Publication Number Publication Date
CN112256237A CN112256237A (en) 2021-01-22
CN112256237B true CN112256237B (en) 2024-04-12

Family

ID=74233128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011034598.8A Active CN112256237B (en) 2020-09-27 2020-09-27 Operating system customization method, customization system, electronic device and customization resource file

Country Status (1)

Country Link
CN (1) CN112256237B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129381A (en) * 2011-03-14 2011-07-20 兰雨晴 Method for customizing linux operating system
US9451006B1 (en) * 2013-12-12 2016-09-20 Intuit Inc. Methods, systems, and articles of manufacture for configuration-based client-side resource resolution framework for customizable user experience
CN110781139A (en) * 2018-07-30 2020-02-11 鸿合科技股份有限公司 Teaching plan resource management system and method and electronic equipment
CN110955458A (en) * 2019-10-22 2020-04-03 深圳市优博讯科技股份有限公司 EXT4 file system-based os rapid customization method, system, storage medium and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7379982B2 (en) * 2002-04-15 2008-05-27 Bassam Tabbara System and method for custom installation of an operating system on a remote client
US20080034420A1 (en) * 2006-08-01 2008-02-07 Array Networks, Inc. System and method of portal customization for a virtual private network device
US9501270B2 (en) * 2014-03-31 2016-11-22 Google Technology Holdings LLC System and method for providing customized resources on a handheld electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129381A (en) * 2011-03-14 2011-07-20 兰雨晴 Method for customizing linux operating system
US9451006B1 (en) * 2013-12-12 2016-09-20 Intuit Inc. Methods, systems, and articles of manufacture for configuration-based client-side resource resolution framework for customizable user experience
CN110781139A (en) * 2018-07-30 2020-02-11 鸿合科技股份有限公司 Teaching plan resource management system and method and electronic equipment
CN110955458A (en) * 2019-10-22 2020-04-03 深圳市优博讯科技股份有限公司 EXT4 file system-based os rapid customization method, system, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN112256237A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN111090437B (en) Application deployment method and device and computer readable storage medium
CA2764012C (en) Computer-implemented method, system and computer program product for displaying a user interface component
RU2390832C2 (en) Method of viewing web-pages using external program themes
CN107656729B (en) List view updating apparatus, method and computer-readable storage medium
CN108874464B (en) Automatic scanning assembly method and device for middleware and storage medium
US8352913B2 (en) Generating and resolving component names in an integrated development environment
US20090055757A1 (en) Solution for automatically generating software user interface code for multiple run-time environments from a single description document
CN103838573A (en) Application program generation method and device
WO2020015191A1 (en) Business rule releasing and managing method, electronic device and readable storage medium
US11113050B2 (en) Application architecture generation
CN111068328A (en) Game advertisement configuration table generation method, terminal device and medium
CN111538942A (en) Expression processing method, electronic device and storage medium
CN111045683A (en) Applet code compiling method, device, equipment and medium
CN111045717B (en) Method, device, computer equipment and storage medium for acquiring project dependent package
CN108629052B (en) Kettle task scheduling method, system, computer equipment and storage medium
CN115455925A (en) Contract generation method and device, electronic equipment and storage medium
CN111752565A (en) Interface generation method and device, computer equipment and readable storage medium
CN113703781B (en) Storage system interface generation method and device, electronic equipment and readable storage medium
CN107918543B (en) Installation package generation method and device, computer equipment and storage medium
US20180032329A1 (en) Customized runtime environment
US20190073198A1 (en) Multi-flavored software execution from a singular code base
CN112256237B (en) Operating system customization method, customization system, electronic device and customization resource file
CN113448793A (en) System monitoring method and device compatible with multiple operating systems
CN115794214A (en) Application module metadata management method, device, storage medium and device
CN103218269A (en) Grading method and system for application software

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
GR01 Patent grant
GR01 Patent grant