CN104915188A - Method and system for theme change and mobile terminal - Google Patents
Method and system for theme change and mobile terminal Download PDFInfo
- Publication number
- CN104915188A CN104915188A CN201410093161.XA CN201410093161A CN104915188A CN 104915188 A CN104915188 A CN 104915188A CN 201410093161 A CN201410093161 A CN 201410093161A CN 104915188 A CN104915188 A CN 104915188A
- Authority
- CN
- China
- Prior art keywords
- application program
- interface subject
- resource
- interface
- subject resource
- 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.)
- Granted
Links
Abstract
The invention discloses a method and system for theme change and a mobile terminal. The method includes the steps that when an application program is started, an access path of interface theme resources of the application program is redirected to a self-definition system path so that the interface theme resources of the application program can be obtained and loaded from the self-definition system path, wherein the self-definition system path is used for preserving self-defined and executed interface theme resources and interface themes corresponding to the interface theme resources are displayed in the interface of the application program. In this way, system stability can be improved when the interface themes of the application program are changed.
Description
Technical field
The present invention relates to technical field of internet application, particularly relate to a kind of method, system and the mobile terminal that change theme.
Background technology
Along with the development of mobile terminal technology, increasing mobile terminal the interface subject of back-up system or application program can change function, to make user can according to the interface subject style of the hobby amendment system desktop of oneself or application program.The element that interface subject uses such as picture, font, color, layout, audio, length, spacing etc. are interface subject resource, and an interface subject includes various interface subject resource.Therefore, namely revise interface subject style is change the interface subject resource such as picture, font, color of interface subject according to the hobby of oneself.For application program, when application program is to system request interface subject resource, system obtains the corresponding interface subject resource of application program according to the memory table for resource mapping set up for application program.Each interface subject Resourse Distribute ID that usual system can use for application program, this memory table is namely for recording the mapping relations of interface subject resource and ID, and system obtains corresponding interface subject resource by ID.
In prior art, when needing the interface subject resource revising application program, generally that the interface subject resource corresponding to the ID of interface subject resource is replaced with required interface subject resource, such as, when application program is when to system request ID being the interface subject resource of A, by A is changed into B value, go to obtain the interface subject resource corresponding to B value according to B value, and obtained interface subject resource to be used as be that the interface subject resource that A refers to returns to application program, although now interface subject resource goes to obtain by A, but the in fact interface subject resource of final the used interface subject resource of application program corresponding to B, thus by changing A into B, realize the replacement of interface subject resource.
Therefore, in aforesaid way, when revising the interface subject of application program, when application program launching is to use amended interface subject, need the memory table for resource mapping that updating system is set up for application program, thus, refreshing this memory table can cause larger impact to the operation of system, is unfavorable for the stable of system.Further, if the number of times of amendment is comparatively frequent, the number of times of refreshing memory table is also corresponding becomes frequent, is more difficult to the stability of guarantee system.
Summary of the invention
The technical matters that the present invention mainly solves is to provide a kind of method, system and the mobile terminal that change theme, can improve the stability of system when changing the interface subject of application program.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide a kind of method changing theme, comprise: when starting application program, the path of depositing of the interface subject resource of application program is redirected in self-defined system path, to obtain from self-defined system path and the interface subject resource of loading application programs, self-defined system path is for preserving self-defining and executed interface subject resource; The interface subject that display interface subject resource is corresponding in the interface of application program.
Wherein, start the step before application program, comprising: receive user's request; Be copied in self-defined system path according to user's request to the resource file that the interface subject resource of major general's application program is corresponding; Resource file corresponding to the interface subject resource of decompress(ion) application program to obtain the interface subject resource of application program, and produces interface subject resource and changes signal; Change signal according to interface subject resource and refresh buffering corresponding to the interface subject resource of application program with the interface subject resource of the application program that comes into force.
Wherein, the step be copied in self-defined system path to the resource file that the interface subject resource of major general's application program is corresponding according to user's request comprises: be copied in self-defined system path by the theme bag of resource file corresponding for the interface subject resource comprising application program according to user's request.
Wherein, before the step receiving user's request, comprising: theme bag containing the theme bag of resource file corresponding to the interface subject resource of application program, and is stored in the predefined paths not identical with self-defined system path by receiving package; Decompress(ion) theme bag is to obtain subject description fileinfo; Show topics according to subject description fileinfo and wrap the preview effect of corresponding interface subject.
Wherein, after decompress(ion) theme bag is with the step obtaining subject description fileinfo, comprising: preserve subject description fileinfo in database, and theme bag is backed up, to realize the display of preview effect.
For solving the problems of the technologies described above, another technical solution used in the present invention is: provide a kind of system realizing theme and change, comprise: control module, for when starting application program, the path of depositing of the interface subject resource of application program is redirected in self-defined system path, to obtain from self-defined system path and the interface subject resource of loading application programs, self-defined system path is for preserving self-defining and executed interface subject resource; Display module, for the interface subject that display interface subject resource in the interface of application program is corresponding.
Wherein, also comprise: receiver module, for receiving user's request; Copy module, for being copied in self-defined system path according to user's request to the resource file that the interface subject resource of major general's application program is corresponding; First acquisition module, for resource file corresponding to the interface subject resource of decompress(ion) application program to obtain the interface subject resource of application program; Signal generator module, the interface subject resource for the application program obtained according to acquisition module produces interface subject resource and changes signal; Resource comes into force module, refreshes buffering corresponding to the interface subject resource of application program with the interface subject resource of the application program that comes into force for changing signal according to interface subject resource.
Wherein, copy module to be used for according to user's request, the theme bag of resource file corresponding for the interface subject resource comprising application program being copied in self-defined system path.
Wherein, memory module, for the theme bag of receiving package containing resource file corresponding to the interface subject resource of application program, and is stored in theme bag in the predefined paths not identical with self-defined system path; Second acquisition module, for decompress(ion) theme bag to obtain subject description fileinfo; Wherein, display module is also for the preview effect of the interface subject of the bag correspondence that shows topics according to subject description fileinfo.
For solving the problems of the technologies described above, another technical scheme that the present invention adopts is: provide a kind of mobile terminal realizing theme and change, comprise the system that above-mentioned any one realizes interface subject change.
The invention has the beneficial effects as follows: the situation being different from prior art, the present invention changes in the method for theme, when startup application program, the path of depositing of the interface subject resource of application program is redirected in self-defined system path, to obtain from self-defined system path and the interface subject resource of loading application programs, this self-defined system path is for preserving self-defining and executed interface subject resource, thus when application program launching, the path of depositing of the interface subject resource of application programs is only needed once to be redirected, thus according to be redirected after self-defined system path in obtain required interface subject resource, due to the memory table for resource mapping not needing updating system to set up for application program, thus the stability of system can be improved, make system more reliable, the efficiency of system cloud gray model can be improved simultaneously.
Accompanying drawing explanation
Fig. 1 is the process flow diagram that the present invention changes method one embodiment of theme;
Fig. 2 is that the present invention changes in another embodiment of method of theme, starts the process flow diagram before application program;
Fig. 3 is the structural representation that the present invention realizes system one embodiment that theme changes;
Fig. 4 is the structural representation that the present invention realizes another embodiment of system that theme changes.
Embodiment
Usually, the interface subject of system generally comprises the interface subject of desktop and the interface subject of application program, and wherein, application program refers to the various application programs of system, the application program that namely shown on the table various icons are corresponding.The interface subject of desktop such as refers to the styles such as desktop icons shape, Icon Color, desktop background, font size or font type, the style such as interface color, layout, font of the note that the interface subject of application program is shown after such as referring to the application program opening " note ", and for example opens the look & feel etc. of the browser shown by application program of " web browser ".Therefore, theme bag corresponding to the interface subject of a system generally includes the interface subject resource of system desktop and the interface subject resource of application program, when the theme bag of the interface subject by a system is applied as the current interface theme of system, namely the interface subject of system desktop and the interface subject of systematic difference program change to the interface subject corresponding with this theme bag.By the present invention, the interface subject of system change or be only the interface subject of application program change time, do not need to refresh the memory table for resource mapping of application program, stability and the efficiency of system can be improved thus.
Below in conjunction with drawings and embodiments, the present invention will be described in detail.
Consult Fig. 1, the present invention changes in method one embodiment of theme, interface subject refers to the interface subject of application program, pass through present embodiment, user can according to the interface subject of the self-defined application program of the hobby of individual, realize the personalized customization of interface subject, the stability of system can be improved simultaneously when changing the interface subject of application program, making system more reliable.Particularly, comprise the steps:
Step S101: when starting application program, the path of depositing of the interface subject resource of application program is redirected in self-defined system path, to obtain from self-defined system path and the interface subject resource of loading application programs, self-defined system path is for preserving self-defining and executed interface subject resource.
Step S102: the interface subject that display interface subject resource is corresponding in the interface of application program.
Above-mentioned steps S101 and step S102 is interface subject resource redirection process, namely starts application program with the stage of the interface subject resource using user individual and customize.
Application program, when startup, needs the interface subject resource found in systems in which needed for its interface subject.The path of depositing of the interface subject resource needed for the interface subject of application program is directed in self-defined system path by redirected referring to, to determine that the path of the interface subject resource needed for application program is self-defined system path, namely notification application obtains the interface subject resource required for it in self-defined system path.Thus, namely from self-defined system path, the interface subject resource required for it is obtained when application program launching, then obtained interface subject resource pooling is entered the buffer zone of application program to load this interface subject resource, after application program launching, show the interface subject that the interface subject resource of the application program loaded is corresponding.
Wherein, self-defined system path is user-defined system storage path, for preserve user individual customization, and executed interface subject resource, therefore when user needs the interface subject revising application program, only the interface subject resource of corresponding personalized customization need be made to deposit in this self-defined system path, thus after making the interface subject resource in self-defined system path come into force, the interface subject resource of personalized customization can be realized to be applied in the interface subject of application program by above-mentioned redirected mode when application program launching, to realize the personalized customization of the interface subject of application program.Therefore, when user revises the interface subject of application program, when starting application program to use the interface subject resource of personalized customization, do not need the memory table for resource mapping that updating system is set up for application program, but make application program obtain the interface subject resource of personalized customization by the mode be redirected, thus the stability of system cloud gray model can be improved, and the operational efficiency of system also can be improved compared to refreshing memory table, the personalized customization of the interface subject of application program can be realized simultaneously.
In addition, deposit before path is redirected to self-defined system path in the interface subject resource by application program, first can judge the interface subject resource of whether preserving in self-defined system path needed for application program, when being judged as YES, the interface subject resource needed for application program of preserving the personalized customization of user institute in self-defined system path is described, now performs step S101; When being judged as NO, illustrate that the interface subject that user does not have an application programs carries out personalized customization, namely the interface subject of application programs is not had to modify, now do not carry out above-mentioned step S101, but obtain the original interface subject resource of application program, the buffer zone afterwards interface subject resource pooling original for obtained application program being entered application program, to load original interface subject resource, uses original interface subject to make application program.
Consult Fig. 2, the present invention changes in another embodiment of theme, user can according to the interface subject resource of the hobby custom application of oneself, and by the mode uploaded by the interface subject uploading resource of its personalized customization to system to realize the amendment of the interface subject of application program, thus make the interface subject resource that the interface subject of application program can use user to customize.Particularly, before startup application program, comprise the steps:
Step S201: theme bag containing the theme bag of resource file corresponding to the interface subject resource of application program, and is stored in the predefined paths not identical with self-defined system path by receiving package.
When user needs to revise personalized interface theme needed for it of the interface subject of application program, first the interface subject resource of the application program uploading its personalized customization is needed, be specially the interface subject resource boil down to resource file of personalized customization, and resource file is made into theme bag reach in predefined paths in form, the theme bag that system receives user is uploaded, and this theme bag is stored in predefined paths.Certainly, in other embodiments, the theme bag needed for it also directly can be downloaded in predefined paths by the mode of web download by user.
Step S202: decompress(ion) theme bag is to obtain subject description fileinfo.
In order to obtain preview effect, when making theme bag, in theme bag except comprising resource file corresponding to interface subject resource, also include this subject description fileinfo corresponding to theme bag.In time adding theme bag in system senses to predefined paths, the theme bag that decompress(ion) increases is to obtain the subject description fileinfo about the interface subject corresponding to this theme bag, and subject description fileinfo comprises interface subject title, interface subject author and some design sketchs etc.In addition, after acquisition subject description fileinfo, descriptive fileinfo is saved in database, and theme bag is backed up, cannot recover to prevent mistake from deleting interface subject.
Step S203: show topics according to subject description fileinfo and wrap the preview effect of corresponding interface subject.
After the preservation completing subject description fileinfo and the backup of theme bag, system is according to subject description fileinfo, the preview effect of the interface subject corresponding to this theme bag is shown to user, to make user can this interface subject of preview, to determine whether use this theme bag the interface subject corresponding to this theme bag to be become the current interface theme of application program according to preview effect.
Above-mentioned steps S201-S203 is the process of interface subject preview, after completing interface subject preview, performs following steps and comes into force to make interface subject resource:
Step S204: receive user's request.
While system shows preview effect to user, the current interface theme whether the theme bag of this personalized customization is applied as application program by inquiry is sent to user, when user selects to be, the interface subject corresponding to the theme bag of its personalized customization is applied as the request command of the current interface theme of application program by system receives user.
Step S205: resource file corresponding for the interface subject resource of application program is copied in self-defined system path according to user's request.
In step S202, carried out decompress(ion) to theme bag, except decompress(ion) obtains subject description fileinfo, the resource file corresponding to interface subject resource of the personalized customization in theme bag is also extracted out.According to the request command of user, by user ask the interface subject resource of personalization that uses corresponding resource file be copied to from predefined paths in self-defined system path.Wherein, predefined paths is mainly used for the theme bag storing all personalized customization that user uploads, only when using resource file corresponding to some theme bags, just used resource file can be copied in self-defined system path, thus taking of system resource can be reduced.User can revise predefined paths as required.
Step S206: resource file corresponding to the interface subject resource of decompress(ion) application program to obtain the interface subject resource of application program, and produces interface subject resource and change signal.
This resource file of decompress(ion) to obtain corresponding interface subject resource, thus according to obtained interface subject resource to know which part interface subject resource of application program there occurs change, changes signal to produce interface subject resource.Certainly, in other embodiments, can also be in copy whole theme bag to self-defined system path, now first need decompress(ion) theme bag to carry out decompress(ion) to obtain relevant interface subject resource to resource file again after obtaining resource file.
Step S207: change signal according to interface subject resource and refresh buffering corresponding to the interface subject resource of application program with the interface subject resource of the application program that comes into force.
Separate after extruding relevant interface subject resource from resource file, can know which part resource of the interface subject of application program there occurs change thus, namely the interface subject of application program needs amendment, now refresh the buffering that the interface subject resource of application program is corresponding, with the interface subject resource of the application program that comes into force, namely by refreshing the interface subject resource of application program thus realizing the deployment of the interface subject resource of application programs, to make the interface subject of application program by this interface subject resource of use.
The interface subject of user individual customization, after the interface subject resource of the application program that comes into force, can be seen after need starting application program.After the order receiving user launches application, start application program, executed interface subject resource is applied in the interface subject of application program by the step S101 now according to Fig. 1 and step S102, thus realize the personalized customization of the interface subject of application programs, and the interface subject resource of application program is obtained by the redirected mode of step S101, stability and the efficiency of system cloud gray model can be improved.By the method for the change interface subject of present embodiment, can comprehensively revise the interface subject of application programs, also can be that part amendment is carried out to interface subject, only need be uploaded to needing the interface subject resource of amendment in predefined paths by theme packet form, then interface subject resource is come into force the amendment of the interface subject that can realize application programs.
In other embodiments, said method is equally applicable to the amendment of the interface subject of system.The interface subject of system generally includes the interface subject of desktop and the interface subject of application program.When user needs the interface subject of amendment system, only need the relevant interface subject resource of its personalized customization be reached in predefined paths with theme bag in form, when user selects theme bag corresponding to the interface subject of the system it uploaded to be applied as the current interface theme of system, come into force according to the request command of user the interface subject resource of the personalized customization in this theme bag, the interface subject resource of the personalized customization wherein in theme bag includes the interface subject resource needed for interface subject of desktop and the interface subject resource needed for interface subject of application program, to complete the deployment of the interface subject resource in theme bag, now user can see that the interface subject of system desktop has changed to interface subject corresponding to the theme bag of user institute personalized customization, and when user launches application, in self-defined system path, the interface subject resource needed for interface subject of the application program of user individual customization is obtained by the redirected mode of above-mentioned steps S101, thus realize the personalized customization of the interface subject of application program.
In the above-described embodiment, the interface subject current interface theme of application program being revised as the personalized customization of user institute, namely by adding users in predefined paths customization theme bag interface subject corresponding for this theme bag to be applied as the current interface theme of application program.In other embodiments, the delete function of the interface subject of application program can also be realized, to facilitate the interface subject of management application program.Particularly, when user selects the theme bag of an application program of preserving in predefined paths to delete, after system receives user deletes the request command of theme bag, the deletions such as the subject description fileinfo corresponding with this theme bag are preserved by theme bag and database according to this request command, and judge whether the interface subject resource that this deleted theme bag is corresponding is the interface subject resource entered into force, namely judge that whether interface subject resource that deleted theme bag is corresponding is the interface subject resource that the current interface theme of application program uses.When being judged as NO, illustrating that the theme bag that user deletes is not the theme bag that the current interface theme of application program uses, now not needing the current interface theme of application programs to process, complete the deletion of theme bag.When being judged as YES, the theme bag that the current interface theme that the theme bag that user deletes is application program uses being described, the current interface theme of application program that what namely user deleted is, now reducing the interface subject of application program acquiescence.
Further, in the process of the Default Subject of reduction application program, first the interface subject resource corresponding to the current interface theme of application program is deleted, namely the interface subject Resource TOC entered into force is deleted, the interface subject resource that now interface subject of application program uses there occurs change, thus produce interface subject resource change signal, and change signal according to this interface subject resource and refresh the interface subject resource pooling of application program with the interface subject resource corresponding to interface subject of the application program acquiescence that comes into force, thus in time starting application program, by the interface subject resource of application program deposit that path is redirected to the interface subject resource corresponding to interface subject of application program acquiescence deposit in path, interface subject resource corresponding to the interface subject that obtains acquiescence is deposited in path with interface subject resource corresponding to the interface subject given tacit consent to from application program, and by obtained interface subject resource pooling in the buffer zone of application program, the interface subject of acquiescence corresponding to this interface subject resource is shown afterwards in the interface of application program.By the way, the interface subject interface subject of application program being reduced to acquiescence is realized when deleting the current interface theme of application program.
Consult Fig. 3, the present invention realizes in system one embodiment of theme change, and described system comprises control module 301 and display module 302.Wherein, control module 301 is for when starting application program, the path of depositing of the interface subject resource of application program is redirected in self-defined system path, to obtain from self-defined system path and the interface subject resource of loading application programs, this self-defined system path is for preserving self-defining and executed interface subject resource.Application program, when startup, needs the interface subject resource found in systems in which needed for its interface subject.The path of depositing of the interface subject resource needed for the interface subject of application program is directed in self-defined system path by redirected referring to, to determine that the path of the interface subject resource needed for application program is self-defined system path, namely notification application obtains the interface subject resource required for it in self-defined system path.Thus, from self-defined system path, namely obtain the interface subject resource required for it when application program launching, then obtained interface subject resource pooling is entered the buffer zone of application program to load this interface subject resource.Display module 302 is for interface subject corresponding to display interface subject resource in the interface of application program, and namely display module 302 is presented at interface subject corresponding to interface subject resource in the buffer zone of application program.
By the way, when user needs the interface subject revising application program, only the interface subject resource of corresponding personalized customization need be made to deposit in this self-defined system path, thus after making the interface subject resource in self-defined system path come into force, the interface subject resource of personalized customization can be realized to be applied in the interface subject of application program by above-mentioned redirected mode when application program launching, to realize the personalized customization of the interface subject of application program.Therefore, when user revises the interface subject of application program, when starting application program to use the interface subject resource of personalized customization, do not need the memory table for resource mapping that updating system is set up for application program, but make application program obtain the interface subject resource of personalized customization by the mode be redirected, thus the stability of system cloud gray model can be improved, and the operational efficiency of system also can be improved compared to refreshing memory table, the personalized customization of the interface subject of application program can be realized simultaneously.
Consult Fig. 4, realize in another embodiment of the system that theme changes in the present invention, user can customize various interface subject resource according to the hobby of oneself, and by interface subject uploading resource that it is customized to system to realize the amendment of the interface subject of application program.In present embodiment, in present embodiment, described system, except comprising control module 301 and display module 302, also comprises memory module 303, second acquisition module 304, receiver module 305, copy module 306, first acquisition module 307, signal generator module 308 and resource and to come into force module 309.Theme bag for the theme bag of receiving package containing resource file corresponding to the interface subject resource of application program, and is stored in the predefined paths not identical with self-defined system path by memory module 303.Second acquisition module 304 for decompress(ion) theme bag to obtain subject description fileinfo.When user needs to revise personalized interface theme needed for it of the interface subject of application program, first the interface subject resource of the application program uploading its personalized customization is needed, be specially the interface subject resource boil down to resource file of personalized customization, and resource file is made into theme bag reach in predefined paths in form.Memory module 303 receives the theme bag that user uploads, and is stored in predefined paths by theme bag.Display module 302 shows topics according to the subject description fileinfo that the second acquisition module 304 obtains and wraps the preview effect of corresponding interface subject, thinks whether user determines that the current interface theme interface subject corresponding to this theme bag being become application program provides reference.Certainly, in other embodiments, also can be by the mode of web download, required theme bag is downloaded in predefined paths.
While display module 302 shows preview effect to user, the current interface theme whether the theme bag of this personalized customization is applied as application program by inquiry is sent to user, when user selects to be, receiver module 305 receives user's request, namely receives the request command that the interface subject corresponding to the theme bag of its personalized customization is applied as the current interface theme of application program by user.Resource file corresponding for the interface subject resource of application program is copied in self-defined system path according to user's request by copy module 306.Certainly, in other embodiments, can also whole theme bag be all copied in self-defined system path, now need first to carry out again decompress(ion) to obtain corresponding resource file to theme bag.First acquisition module 307 is for this resource file of decompress(ion) to obtain corresponding interface subject resource, and signal generator module 308 produces interface subject resource according to obtained interface subject resource and changes signal.When the first acquisition module 307 from resource file decompress(ion) with the interface subject resource obtaining user and customize after, signal generator module 308 can know which part interface subject resource of application program there occurs change, thus produces interface subject resource and change signal.The resource module 309 that comes into force refreshes buffering corresponding to the interface subject resource of application program with the interface subject resource of the application program that comes into force for changing signal according to interface subject resource, thus the personalized interface subject resource making the application program of preserving in self-defined system path be about to use is in spendable state.
When completing after above-mentioned interface subject resource comes into force, control module 301 is obtained and the interface subject resource of loading application programs by the mode be redirected when starting application program in self-defined system path, display module 302 shows interface subject corresponding to loaded interface subject resource in the interface of application program, thus realizes the personalized customization of the interface subject of application program.Further, by the mode be redirected, do not need the memory table for resource mapping not needing updating system to set up for application program refreshing application program, the stability of system cloud gray model can be improved thus.
The present invention also provides the mobile terminal realizing theme and change, and comprises the system of the respective embodiments described above.
The foregoing is only embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (10)
1. change a method for theme, it is characterized in that, comprising:
When starting application program, the path of depositing of the interface subject resource of described application program is redirected in self-defined system path, to obtain from described self-defined system path and to load the interface subject resource of described application program, described self-defined system path is for preserving self-defining and executed interface subject resource;
The interface subject that described interface subject resource is corresponding is shown in the interface of described application program.
2. method according to claim 1, is characterized in that,
Step before described startup application program, comprising:
Receive user's request;
Be copied in described self-defined system path according to described user's request to the resource file that the interface subject resource of application program described in major general is corresponding;
Resource file corresponding to the interface subject resource of application program described in decompress(ion) to obtain the interface subject resource of described application program, and produces interface subject resource and changes signal;
Change signal according to described interface subject resource and refresh buffering corresponding to the interface subject resource of described application program with the interface subject resource of the described application program that comes into force.
3. method according to claim 2, is characterized in that,
The described step be copied in described self-defined system path to the resource file that the interface subject resource of application program described in major general is corresponding according to described user's request comprises:
According to described user's request, the theme bag of resource file corresponding for the interface subject resource comprising described application program is copied in described self-defined system path.
4. method according to claim 3, is characterized in that,
Before the step of described reception user request, comprising:
Described theme bag containing the theme bag of resource file corresponding to the interface subject resource of described application program, and is stored in the predefined paths not identical with described self-defined system path by receiving package;
Theme bag described in decompress(ion) is to obtain subject description fileinfo;
The preview effect of interface subject corresponding to described theme bag is shown according to described subject description fileinfo.
5. method according to claim 4, is characterized in that,
After theme bag described in decompress(ion) is with the step obtaining subject description fileinfo, comprising:
Preserve described subject description fileinfo in database, and described theme bag is backed up, to realize the display of described preview effect.
6. realize the system that theme changes, it is characterized in that, comprising:
Control module, for when starting application program, the path of depositing of the interface subject resource of described application program is redirected in self-defined system path, to obtain from described self-defined system path and to load the interface subject resource of described application program, described self-defined system path is for preserving self-defining and executed interface subject resource;
Display module, for showing interface subject corresponding to described interface subject resource in the interface of described application program.
7. system according to claim 6, is characterized in that, also comprises:
Receiver module, for receiving user's request;
Copy module, for being copied in described self-defined system path according to described user's request to the resource file that the interface subject resource of application program described in major general is corresponding;
First acquisition module, for resource file corresponding to the interface subject resource of application program described in decompress(ion) to obtain the interface subject resource of described application program;
Signal generator module, the interface subject resource for the application program obtained according to described acquisition module produces interface subject resource and changes signal;
Resource comes into force module, refreshes buffering corresponding to the interface subject resource of described application program with the interface subject resource of the described application program that comes into force for changing signal according to described interface subject resource.
8. system according to claim 7, is characterized in that,
Described copy module is used for being copied in described self-defined system path by the theme bag of resource file corresponding for the interface subject resource comprising described application program according to described user's request.
9. system according to claim 8, is characterized in that, also comprises:
Memory module, for the theme bag of receiving package containing resource file corresponding to the interface subject resource of described application program, and is stored in described theme bag in the predefined paths not identical with described self-defined system path;
Second acquisition module, for theme bag described in decompress(ion) to obtain subject description fileinfo;
Wherein, described display module is also for showing the preview effect of interface subject corresponding to described theme bag according to described subject description fileinfo.
10. realize the mobile terminal that theme changes, it is characterized in that, comprise the system described in any one of claim 6-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410093161.XA CN104915188B (en) | 2014-03-13 | 2014-03-13 | A kind of method, system and mobile terminal changing theme |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410093161.XA CN104915188B (en) | 2014-03-13 | 2014-03-13 | A kind of method, system and mobile terminal changing theme |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104915188A true CN104915188A (en) | 2015-09-16 |
CN104915188B CN104915188B (en) | 2019-04-16 |
Family
ID=54084273
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410093161.XA Active CN104915188B (en) | 2014-03-13 | 2014-03-13 | A kind of method, system and mobile terminal changing theme |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104915188B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106162308A (en) * | 2016-07-22 | 2016-11-23 | 四川长虹电器股份有限公司 | A kind of method redirecting intelligent television system display interface resource |
CN107357572A (en) * | 2017-06-23 | 2017-11-17 | 努比亚技术有限公司 | A kind of method, terminal and computer-readable recording medium for carrying out icon and showing |
CN107729103A (en) * | 2017-09-29 | 2018-02-23 | 努比亚技术有限公司 | A kind of method for switching theme, mobile terminal and computer-readable storage medium |
CN108804188A (en) * | 2018-05-30 | 2018-11-13 | 珠海市君天电子科技有限公司 | Changing an interface skin method and device |
CN109491739A (en) * | 2018-10-30 | 2019-03-19 | 北京字节跳动网络技术有限公司 | A kind of theme color is dynamically determined method, apparatus, electronic equipment and storage medium |
CN111240717A (en) * | 2020-01-16 | 2020-06-05 | 南京英莫特信息科技有限公司 | Theme pack upgrading method |
CN111435313A (en) * | 2019-12-09 | 2020-07-21 | 杭州海康威视数字技术股份有限公司 | Method and device for changing skin of software |
CN113835803A (en) * | 2021-09-13 | 2021-12-24 | 北京鲸鲮信息系统技术有限公司 | Application theme display method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101106578A (en) * | 2007-08-31 | 2008-01-16 | 金蝶软件(中国)有限公司 | A method and system for changing interface subject |
CN101216765A (en) * | 2008-01-21 | 2008-07-09 | 中兴通讯股份有限公司 | Mobile terminal topic style dynamic altering method |
CN102568010A (en) * | 2010-12-14 | 2012-07-11 | 上海三旗通信科技股份有限公司 | Method for extracting color and changing theme coloring by utilizing traditional camera |
CN102779012A (en) * | 2012-07-11 | 2012-11-14 | 广州市久邦数码科技有限公司 | Screen locking system for touch screen device and realizing method thereof |
CN102789357A (en) * | 2012-06-18 | 2012-11-21 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for setting subject resources based on Andriod application technology |
-
2014
- 2014-03-13 CN CN201410093161.XA patent/CN104915188B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101106578A (en) * | 2007-08-31 | 2008-01-16 | 金蝶软件(中国)有限公司 | A method and system for changing interface subject |
CN101216765A (en) * | 2008-01-21 | 2008-07-09 | 中兴通讯股份有限公司 | Mobile terminal topic style dynamic altering method |
CN102568010A (en) * | 2010-12-14 | 2012-07-11 | 上海三旗通信科技股份有限公司 | Method for extracting color and changing theme coloring by utilizing traditional camera |
CN102789357A (en) * | 2012-06-18 | 2012-11-21 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for setting subject resources based on Andriod application technology |
CN102779012A (en) * | 2012-07-11 | 2012-11-14 | 广州市久邦数码科技有限公司 | Screen locking system for touch screen device and realizing method thereof |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106162308A (en) * | 2016-07-22 | 2016-11-23 | 四川长虹电器股份有限公司 | A kind of method redirecting intelligent television system display interface resource |
CN107357572A (en) * | 2017-06-23 | 2017-11-17 | 努比亚技术有限公司 | A kind of method, terminal and computer-readable recording medium for carrying out icon and showing |
CN107729103A (en) * | 2017-09-29 | 2018-02-23 | 努比亚技术有限公司 | A kind of method for switching theme, mobile terminal and computer-readable storage medium |
CN108804188A (en) * | 2018-05-30 | 2018-11-13 | 珠海市君天电子科技有限公司 | Changing an interface skin method and device |
CN109491739A (en) * | 2018-10-30 | 2019-03-19 | 北京字节跳动网络技术有限公司 | A kind of theme color is dynamically determined method, apparatus, electronic equipment and storage medium |
CN109491739B (en) * | 2018-10-30 | 2023-04-07 | 北京字节跳动网络技术有限公司 | Theme color dynamic determination method and device, electronic equipment and storage medium |
CN111435313A (en) * | 2019-12-09 | 2020-07-21 | 杭州海康威视数字技术股份有限公司 | Method and device for changing skin of software |
CN111240717A (en) * | 2020-01-16 | 2020-06-05 | 南京英莫特信息科技有限公司 | Theme pack upgrading method |
CN113835803A (en) * | 2021-09-13 | 2021-12-24 | 北京鲸鲮信息系统技术有限公司 | Application theme display method and device |
CN113835803B (en) * | 2021-09-13 | 2024-04-02 | 北京字节跳动网络技术有限公司 | Application theme display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104915188B (en) | 2019-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104915188A (en) | Method and system for theme change and mobile terminal | |
CN105867947B (en) | Data processing method and device after preset application program updating | |
US10048865B2 (en) | Disk partition stitching and rebalancing using a partition table | |
US9367303B2 (en) | Upgrade packet generation method, server, software upgrade method, and mobile terminal | |
CN104488248B (en) | A kind of file synchronisation method, server and terminal | |
KR20070008564A (en) | Display of menu items in a user interface | |
CN106469071B (en) | Application theme changing method and device | |
US20130311985A1 (en) | Updating Web Resources | |
CN105700925A (en) | APP interface implementation method and apparatus | |
CN103902520B (en) | Subject editing method and mobile terminal | |
CN101719073A (en) | Intelligent client-based on-demand downloading realization method | |
KR20220038827A (en) | Partitioning and rebalancing data storage | |
CN106874357B (en) | Resource customization method and device for Web application | |
CN108008997A (en) | A kind of unified method replaced of APP skins | |
CN102043618A (en) | Method and device for controlling display style of window object | |
CN107305553A (en) | The method and system of the Hybrid pages are dynamically redirected in a kind of App based on Hybrid | |
CN112114849B (en) | Resource updating method and device | |
WO2020206691A1 (en) | Application processing method and apparatus, storage medium, and electronic device | |
CN105677421A (en) | Customizing method and system of launchers of mobile terminal | |
CN104331522B (en) | OEM information method for customizing and OEM equipment | |
CN104038520A (en) | Multi-version distributed resource management method and multi-version distributed resource management system | |
JP2014517407A (en) | How to change the skin of a third-party application | |
CN107729042A (en) | Mobile solution upgrade method and device, storage medium, electronic equipment | |
CN102193806B (en) | Upgrade the method and apparatus of animation | |
CN107391181A (en) | A kind of method and device of system partitioning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |