The method for customizing and system of systemTechnical field
The present invention relates to the method for customizing of intelligent terminal technical field, especially system and system.
Background technology
Generally there is existing intelligent terminal start guiding to set, and the equipment how guiding client sets oneself, make equipmentWith personalization, but this can not meet the diversified requirement of individual system.In current intelligent terminal field, also without oneSet need not change the customization function from system of original system so that the systematic comparison of intelligent terminal is single, so as to expireThe various clients of foot are for the diversified demand of system.
The content of the invention
In view of this, it is an object of the invention to provide the method for customizing of system and system, can be made by customizing functionThe system for obtaining intelligent terminal has variation, so as to meet the needs of different clients.
In a first aspect, the embodiments of the invention provide the method for customizing of system, including:
Customized information is obtained, and the customized information is generated into configuration bag;
The start guide of intelligent terminal corresponding to the system is called, judges whether to be configured the system;
If set, the configuration bag is imported into the intelligent terminal;
The configuration bag is decompressed, obtains configuration information;
The configuration information is configured in the system, obtains custom-built system.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the first of first aspect, wherein, instituteStating configuration information includes configuration file and configuration list, wherein, the configuration file includes configuration parameter, described to match somebody with somebody confidence by described inBreath is configured in the system, and obtaining custom-built system includes:
The configuration parameter is verified;
After verification passes through, then each interface of the system is called, the configuration parameter is carried out according to the configuration is singleConfiguration.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of second of first aspect, wherein, instituteStating customized information includes customized parameter and customized file, the acquisition customized information, and the customized information is generated into configuration bagIncluding:
Select the customized parameter and the customized file;
By the customized parameter and the customized file generation configuration bag.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the third of first aspect, wherein, instituteState before judging whether to be configured the system, in addition to:
The configuration bag is imported to the storage card of the intelligent terminal.
With reference to the third possible embodiment of first aspect, the embodiments of the invention provide the 4th of first aspect kindPossible embodiment, wherein, it is described if it is, intelligent terminal corresponding to the configuration bag importing system is included:
Judge to wrap with the presence or absence of the configuration in the storage card;
If it is present prompting user imports the configuration bag.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the 5th of first aspect kind, wherein, alsoIncluding:
Partition holding is created in the intelligent terminal;
By the configuration bag storage into the partition holding.
With reference to the 5th kind of possible embodiment of first aspect, the embodiments of the invention provide the 6th of first aspect kindPossible embodiment, wherein, in addition to:
After the intelligent terminal factory reset, the configuration bag is obtained from the partition holding automatically, to enterRow system configuration.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the 7th of first aspect kind, wherein, instituteStating to judge whether to be configured the system also includes:
If be not provided with, terminate the start guide;
If pause is set, the start guide is jumped out.
Second aspect, the embodiment of the present invention also provide the custom-built system of system, including:
Generation module, configuration bag is generated for obtaining customized information, and by the customized information;
Start shooting guide calling module, for calling the start guide of intelligent terminal corresponding to the system, judge whether pairThe system is configured;
Import modul, if for setting, the configuration bag is imported into the intelligent terminal;
Decompression module, for being decompressed to the configuration bag, obtain configuration information;
Configuration module, for the configuration information to be configured in the system, obtain custom-built system.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of the first of second aspect, wherein, instituteStating configuration information includes configuration file and configuration list, wherein, the configuration module includes:
Resolution unit, for being verified to the configuration parameter;
Dispensing unit, after passing through for verification, then each interface of the system is called, by the configuration parameter according to instituteConfiguration is stated singly to be configured.
The embodiments of the invention provide the method for customizing of system and system, including:Customized information is obtained, and by customized informationGeneration configuration bag;The start guide of intelligent terminal corresponding to calling system, judges whether to be configured system;If set,Then configuration is wrapped and imports intelligent terminal;Configuration bag is decompressed, obtains configuration information;Configuration information is matched somebody with somebody in systemPut, obtain custom-built system.Can be by customizing function so that the system of intelligent terminal has variation, so as to meet different visitorsThe demand at family.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specificationObtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claimsAnd specifically noted structure is realized and obtained in accompanying drawing.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinateAppended accompanying drawing, is described in detail below.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior artThe required accompanying drawing used is briefly described in embodiment or description of the prior art, it should be apparent that, in describing belowAccompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, before creative work is not paidPut, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the method for customizing flow chart for the system that the embodiment of the present invention one provides;
Fig. 2 is the step S105 of the method for customizing for the system that the embodiment of the present invention one provides flow chart;
Fig. 3 is another flow chart of the method for customizing for the system that the embodiment of the present invention two provides;
Fig. 4 is the schematic diagram of the custom-built system for the system that the embodiment of the present invention three provides;
Fig. 5 is another schematic diagram of the custom-built system for the system that the embodiment of the present invention three provides.
Icon:
10- generation modules;20- start guide calling modules;30- import moduls;40- decompression modules;50- configuration modules;51- resolution units;52- dispensing units.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing to the present inventionTechnical scheme be clearly and completely described, it is clear that described embodiment is part of the embodiment of the present invention, rather thanWhole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premiseLower obtained every other embodiment, belongs to the scope of protection of the invention.
Generally there is existing intelligent terminal start guiding to set, and the equipment how guiding client sets oneself, make equipmentWith personalization, but this can not meet the diversified requirement of individual system.In current intelligent terminal field, also without oneSet need not change the customization function from system of original system so that the systematic comparison of intelligent terminal is single, so as to expireThe various clients of foot are for the diversified demand of system, based on this, the method for customizing and system of system provided in an embodiment of the present invention,Can be by customizing function so that the system of intelligent terminal has variation, so as to meet the needs of different clients.
For ease of understanding the present embodiment, the method for customizing of the system disclosed in the embodiment of the present invention is carried out firstIt is discussed in detail..
Embodiment one:
Fig. 1 is the method for customizing flow chart for the system that the embodiment of the present invention one provides.
Reference picture 1, the method for customizing of system include:
Step S101, customized information is obtained, and customized information is generated into configuration bag;
Further, customized information includes customized parameter and customized file, and step is 101 following steps can be taken to realize,Including:
Select customized parameter and customized file;
By customized parameter and customized file generation configuration bag.
Specifically, generation configuration is wrapped in configuration tool, is configured various customized parameters in this configuration tool, is also importedConfiguration file function, these configuration parameters and configuration file can be exported as one configuration bag by clicking on export operation.Here match somebody with somebodyPutting the generating process of bag can be:Customized parameter and customized file, such as language, boot animation, pass are selected in configuration toolMotor-driven picture, display (brightness, font size, wallpaper etc.), volume, time, function key and other application etc., these can lead toCross selection customized parameter and customized file is configured, after being provided with, generation configuration list and configuration file, then packing generationConfiguration bag.
Step S102, the start guide of intelligent terminal corresponding to calling system, judges whether to be configured system;
Step S103, if set, configuration is wrapped and imports intelligent terminal;
Step S104, configuration bag is decompressed, obtains configuration information;
Here decompression procedure and the process of above-mentioned generation configuration bag are a reverse processes, and configuration is wrapped and imports intelligenceAfter terminal, this configuration bag is parsed in its system (including but is not limited to android system), the configuration list of bag the inside will be configuredPressed out with configuration file solution.
Step S105, configuration information is configured in system, obtains custom-built system.
Further, configuration information includes configuration file and configuration is single, wherein, configuration file includes configuration parameter, such as Fig. 2Shown, step S105 can take following steps to realize:
Step S201, is verified to configuration parameter;
Step S202, after verification passes through, then each interface of calling system, configuration parameter is singly matched somebody with somebody according to configurationPut.Here it is that the legitimacy of configuration parameter is verified, verification just configures after passing through to system.
Further, before judging whether to be configured system, in addition to:
The storage card for importing intelligent terminal is wrapped by configuring.
Further, step S103 comprises the following steps:
Judge in storage card with the presence or absence of configuration bag;
If it is present prompting user imports configuration bag;If it does not exist, then prompting user is voluntarily selected from storage roadFootpath.
Further, in addition to:Partition holding is created in intelligent terminal;By configuration bag storage into partition holding.
Further, after intelligent terminal factory reset, configuration bag is obtained from partition holding automatically, to beIt is under unified central planning to put.
If it is not provided with custom-built system, then factory reset can be changed into default system, if set, then recoverFactory is exactly self-defined system after setting, that is, custom-built system;Wherein, default system is applied to the visitor of no any customized informationFamily, that is, a general-purpose system custom-built system are exactly according to the difference of configuration bag, and general-purpose system can be become to various customizationsSystem.
Further, judge whether to be configured system also to include:
If be not provided with, terminate guide of starting shooting;
If pause is set, start guide is jumped out.
Specifically, click on pause to set, start guide is withdrawn into default system, then can be with if it is desired to re-start settingInto system-setting-start guide, start wizard application is jumped to again and sets interface to reset;Click is not provided with, start shooting toLead to apply and terminate, and be transferred in default system, system-setting-start guide sets column hop button to disappear, and will not setData are put to be saved in system carry partition directory and database.
The embodiments of the invention provide the method for customizing of system, including:Customized information is obtained, and customized information generation is matched somebody with somebodyPut bag;The start guide of intelligent terminal corresponding to calling system, judges whether to be configured system;If set, will match somebody with somebodyPut bag and import intelligent terminal;Configuration bag is decompressed, obtains configuration information;Configuration information is configured in system, obtainedCustom-built system.Can be by customizing function so that the system of intelligent terminal has variation, so as to meet the need of different clientsAsk.
In addition, the method for customizing of system provided in an embodiment of the present invention can allow user oneself to go to configure the system of oneself,And the option configured is very more;Same system can meet the client of different demands by importing configuration files;ReduceThe time cost of tester, it is not necessary to test multiple systems, it is only necessary to import different configuration files.
Embodiment two:
Fig. 3 is another flow chart of the method for customizing for the system that the embodiment of the present invention two provides.
As shown in figure 3, the flow of the method for customizing of system comprises the following steps:
Step S301, a configuration bag is exported by configuration tool according to user's request, configuration bag is put into the root of SD cardIn catalogue;
Step S303, after intelligent terminal electrifying startup, system calls start wizard application;
Step S3031, to click on pause and set, start guide is withdrawn into default system, into system-setting-start guide,Start wizard application can be jumped to again sets interface to reset;
Step S3032, click are not provided with, and start wizard application terminates, and is transferred in default system, system-setting-and opensMachine guide sets column hop button to disappear, and will be not provided with data and be saved in system carry partition directory and database;
Step S3033, click on and set, system will be found with the presence or absence of configuration bag in external sdcard, if there is then carryingShow user's import information, if without if prompt user voluntarily select path;Selection confirms after importing that system will be decompressed and configuredBag, and the file and data that are pressed out to solution parse, parsing by will automatically in calling system it is designed variousInterface singly carries out configuring in every particularly according to configuration, obtains self-defined system (custom-built system).
Step S304, selection are not provided with and set, and system is eventually saved in the result of setting in database, Ran HougenThe result preserved according to data place is gone after judging that recovery is dispatched from the factory, and when the result of preservation is to have set, system is changed into self-defined systemSystem;When it is to be not provided with to preserve result, system is changed into default system.
It should be noted that start guide setting up procedure is as follows:
Configuration bag is imported into external SD card, external SD card is inserted into intelligent terminal, enter after intelligent terminal start start toLead and interface is set, after clicking on " setting ", prompt to look for configuration bag under default path, external SD is read by SD card card readerCard, intelligent terminal is imported so as to which configuration be wrapped, click on "Yes" and proceed by system configuration.If it should be noted that without SDCard reader, then need to import configuration bag by adb orders.
Embodiment three:
Fig. 4 is the schematic diagram of the custom-built system for the system that the embodiment of the present invention three provides.
Reference picture 4, the custom-built system of system include:
Generation module 10, configuration bag is generated for obtaining customized information, and by customized information;
Start guide calling module 20, for the start guide of intelligent terminal corresponding to calling system, judges whether to beingSystem is configured;
Import modul 30, if for setting, configuration is wrapped and imports intelligent terminal;
Decompression module 40, for being decompressed to configuration bag, obtain configuration information;
Configuration module 50, for configuration information to be configured in system, obtain custom-built system.
Further, configuration information includes configuration file and configuration is single, as shown in figure 5, configuration module 50 includes:
Resolution unit 51, for being verified to configuration parameter;
Dispensing unit 52, after passing through for verification, then each interface of calling system, configuration parameter is singly entered according to configurationRow configuration.
The custom-built system of system provided in an embodiment of the present invention, the method for customizing of the system provided with above-described embodiment haveIdentical technical characteristic, so can also solve identical technical problem, reach identical technique effect.
The embodiment of the present invention also provides a kind of electronic equipment, including memory, processor, and being stored with memory to locateThe computer program that runs on reason device, the customization side for the system that above-described embodiment provides is realized during computing device computer programThe step of method.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording mediumCalculation machine program, the step of the method for customizing for the system that above-described embodiment is performed when computer program is run by processor.
In addition, in the description of the embodiment of the present invention, unless otherwise clearly defined and limited, term " installation ", " phaseEven ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or be integrally connected;CanTo be mechanical connection or electrical connection;Can be joined directly together, can also be indirectly connected by intermediary, Ke YishiThe connection of two element internals.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood at thisConcrete meaning in invention.
In the description of the invention, it is necessary to explanation, term " " center ", " on ", " under ", "left", "right", " vertical ",The orientation or position relationship of the instruction such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely toBe easy to the description present invention and simplify description, rather than instruction or imply signified device or element must have specific orientation,With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second "," the 3rd " is only used for describing purpose, and it is not intended that instruction or hint relative importance.
The computer program product of the method for customizing for the carry out system that the embodiment of the present invention is provided, including store processingThe computer-readable recording medium of the executable non-volatile program code of device, the instruction that described program code includes can be used for holdingMethod described in row previous methods embodiment, specific implementation can be found in embodiment of the method, will not be repeated here.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, can be withRealize by another way.Device embodiment described above is only schematical, for example, the division of the unit,Only a kind of division of logic function, can there is other dividing mode when actually realizing, in another example, multiple units or component canTo combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or beg forThe mutual coupling of opinion or direct-coupling or communication connection can be by some communication interfaces, device or unit it is indirectCoupling or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unitThe part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multipleOn NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can alsoThat unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be withIt is stored in the executable non-volatile computer read/write memory medium of a processor.Based on such understanding, the present inventionThe part that is substantially contributed in other words to prior art of technical scheme or the part of the technical scheme can be with softwareThe form of product is embodied, and the computer software product is stored in a storage medium, including some instructions are causingOne computer equipment (can be personal computer, server, or network equipment etc.) performs each embodiment institute of the present inventionState all or part of step of method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be withThe medium of store program codes.
Finally it should be noted that:Embodiment described above, it is only the embodiment of the present invention, to illustrate the present inventionTechnical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hairIt is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the artThe invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be lightChange is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not makeThe essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention, should all cover the protection in the present inventionWithin the scope of.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.