CN103279569A - Method and device for changing system theme - Google Patents

Method and device for changing system theme Download PDF

Info

Publication number
CN103279569A
CN103279569A CN2013102431587A CN201310243158A CN103279569A CN 103279569 A CN103279569 A CN 103279569A CN 2013102431587 A CN2013102431587 A CN 2013102431587A CN 201310243158 A CN201310243158 A CN 201310243158A CN 103279569 A CN103279569 A CN 103279569A
Authority
CN
China
Prior art keywords
theme
change
link library
dynamic link
signature
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
Application number
CN2013102431587A
Other languages
Chinese (zh)
Other versions
CN103279569B (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.)
Beijing Hongxiang Technical Service Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310243158.7A priority Critical patent/CN103279569B/en
Publication of CN103279569A publication Critical patent/CN103279569A/en
Application granted granted Critical
Publication of CN103279569B publication Critical patent/CN103279569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a method and a device for changing a system theme. The method includes when operation related to system theme changing is monitored, dynamically replacing an original module which is used for verifying signatures in a system with a preset dynamic link library; and changing with a system theme packet corresponding to the system theme according to the setting of the dynamic link library and changing the system theme by loading the system theme packet. According to the method and the device for changing the system theme, by dynamically replacing the original module which is used for verifying the signatures in the system with the preset dynamic link library, the aim of changing the system theme according to the preset dynamic link library is achieved. Therefore, the problems of system stability reduction due to the fact that system files need to be modified and operation inconvenience due to the fact that computer reset is required for taking effects after the system files are modified in the prior art can be solved.

Description

Method and the device of change system theme
Technical field
The present invention relates to network communications technology field, be specifically related to a kind of method and device of changing system's theme.
Background technology
At present, the user is when using microsoft operation system, and this operating system can set in advance system's theme of an acquiescence usually, and this system's theme typically refers to the background desktop, shown picture after just the user starts shooting.The user can change system's theme of acquiescence according to the hobby of self.For example, can be replaced by some system's themes that microsoft operation system itself carries; Perhaps, also can be specifically designed to the software of changing theme by some and be replaced by self-defining system theme in these softwares.
According to the setting of operating system, in the process of the system of replacing theme, system can verify to have only by just allowing replacing after the checking by file signature to the system's theme that will change, then do not allow to change by checking.Be specifically designed to the signature that system's theme of storing in the software of changing theme does not often have microsoft operation system at some, in order to make these system's themes can pass through checking smoothly, existing way is normally directly revised the system file that is used for checking theme signature, to realize need not to verify the purpose that can use.For example, under XP operating system, the function that system's theme is carried out signature verification is CheckThemeSignature, this function is realized in the uxtheme.dll of system directory, in order to skip the checking link, thereby use the theme of no name, need to revise corresponding text among the uxtheme.dll (file of suffix .text by name), thereby make the CheckThemeSignature function force to return the result's (for example returning 0) who passes through for the expression checking.
But there are many defectives in existing way: owing to needing patch system file (namely system file being made amendment) to cause system stability to reduce; Revising needs to restart computer behind the system file and just can come into force, and causes operating inadequately facility etc.
Summary of the invention
In view of the above problems, the present invention has been proposed in order to a kind of method and corresponding device of the change system theme that overcomes the problems referred to above or address the above problem at least in part are provided.
According to one aspect of the present invention, a kind of method of changing system's theme is provided, comprising: when monitoring when changing the relevant operation of system's theme, be the dynamic link library that sets in advance with original module dynamic replacement for checking theme signature in the system; According to dynamic link library the change system theme bag corresponding with the system theme be set, and change system's theme by loading system theme bag.
Alternatively, relevant with change system theme operation comprises: start the operation for the device of change system theme of installing on the computing machine; Install the operation of the change system theme of carrying out by this; And the operation of the change system theme of carrying out by control panel.
Alternatively, original module for checking theme signature comprises theme signature verification function in the system.
Alternatively, original module for checking theme signature in the system is replaced with the dynamic link library that sets in advance comprise: call the operational process of the process of theme signature verification function at needs, dynamic link library is injected process; In the importing function table of process, search theme signature verification function, and the address that dynamic link library is revised as in theme signature verification function address pointed.
Alternatively, the process that need call theme signature verification function comprises: main frame associated process and/or be used for the process of operation dynamic library file.
Alternatively, this method further comprises step: be pre-created and load self-defining system service, self-defining system service is used for dynamic link library is injected the main frame associated process.
Alternatively, the change system theme bag corresponding with the system theme that arrange according to dynamic link library specifically comprises: the direct corresponding system's theme bag of change and system's theme; Perhaps, carry out the operation of self-defining checking theme signature, when being proved to be successful, system's theme bag that change is corresponding with the system theme.
According to another aspect of the present invention, a kind of device of changing system's theme is provided, comprising: monitoring means is suitable for monitoring the operation relevant with changing system's theme; Replace the unit, be suitable for monitoring when changing the relevant operation of system's theme when monitoring means, with original in verifying that the module dynamic replacement that theme is signed is the dynamic link library that sets in advance in the system; The change unit, be suitable for according to dynamic link library the change system theme bag corresponding with the system theme be set, and change system's theme by loading system theme bag.
Alternatively, the operation relevant with change system theme of monitoring means monitoring comprises: the operation of the device of startup change system theme; Install the operation of the change system theme of carrying out by this; And the operation of the change system theme of carrying out by control panel.
Alternatively, original module for checking theme signature comprises theme signature verification function in the system.
Alternatively, replace the unit and be suitable for: call in the operational process of process of theme signature verification function at needs, dynamic link library is injected process; In the importing function table of process, search theme signature verification function, and the address that dynamic link library is revised as in theme signature verification function address pointed.
Alternatively, the process that need call theme signature verification function comprises: main frame associated process and/or be used for the process of operation dynamic library file.
Alternatively, this device further comprises: loading unit, and be suitable for being pre-created and load self-defining system service, self-defining system service is used for dynamic link library is injected the main frame associated process.
Alternatively, the change unit is suitable for: direct change system's theme bag corresponding with the system theme; Perhaps, carry out the operation of self-defining checking theme signature, when being proved to be successful, system's theme bag that change is corresponding with the system theme.
Method and corresponding device according to change of the present invention system theme, by being the dynamic link library that sets in advance with original module dynamic replacement for checking theme signature in the system, realized changing according to the dynamic link library that sets in advance the purpose of system's theme.Having solved thus in the prior art causes system stability to reduce owing to needing to revise system file, thereby and need to restart computer behind the modification system file and just can come into force and cause operation problem easily inadequately, obtained the beneficial effect that can under the prerequisite of not changing system file, change system's theme.Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
The process flow diagram of the method for the change system theme that provides according to the embodiment of the invention is provided Fig. 1; And
The structural drawing of the device of the change system theme that provides according to the embodiment of the invention is provided Fig. 2.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Though shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
The embodiment of the invention provides a kind of method and device of changing system's theme, cause system stability to reduce in order to solve in the prior art owing to needing to revise system file, thereby and revise and need to restart computer behind the system file and just can come into force and cause operation problem easily inadequately.
Fig. 1 shows the process flow diagram of the method for the change system theme that the embodiment of the invention provides.As shown in Figure 1, this method originates in step S110, in step S110, when monitoring when changing the relevant operation of system's theme, is the dynamic link library that sets in advance with original module dynamic replacement for checking theme signature in the system.
Wherein, relevant with change system theme operation mainly comprises following operation:
(1) operation of the device of installing on the startup computing machine that is used for change system theme.Wherein, the device that is used for change system theme mainly refers to utilize the software of the method made of change provided by the invention system theme, therefore, when the user uses this software for the first time, needs the operation among the execution in step S110.
(2) by this operation for the performed change system theme of the device of change system theme.That is to say, when the user changes system's theme by above-mentioned software, need the operation among the execution in step S110.
(3) operation of the change system theme of carrying out by control panel.Wherein, the operation of the change system theme of carrying out by control panel refers to that mainly the user changes system's theme by the mode of routine, at this moment, also needs the operation among the execution in step S110.
In order to monitor above-mentioned operation, can the hook function be set at the corresponding run time version of aforesaid operations place, namely monitor by the hook technology.
After arbitrary operation in monitoring aforesaid operations, be the dynamic link library that sets in advance with original module dynamic replacement for checking theme signature in the system.
Wherein, original module for checking theme signature mainly comprises theme signature verification function in the system.For example, under XP operating system, corresponding theme signature verification function is the CheckThemeSignature function, and the main effect of this function is to realize the signature verification to the corresponding system of system's theme theme bag.What will illustrate here a bit is, generally, content in system's theme is to store by system's theme bag of correspondence, therefore, when change system theme, at first system's theme bag of correspondence to be changed, could change system's theme based on the system's theme bag after the change then, so the CheckThemeSignature function is mainly by the checking of checking theme signature realization to the corresponding system of system's theme theme bag.
Correspondingly, when the module that is used for checking theme signature is the theme the signature verification function, can finish the replacement to theme signature verification function in the following way: call in the operational process of process of theme signature verification function at needs, dynamic link library is injected process; In the importing function table of process, search this theme signature verification function, and the address that dynamic link library is revised as in this theme signature verification function address pointed.
Before introducing the detail of above-mentioned substitute mode, introduce the process that to call theme signature verification function earlier.These processes mainly comprise: main frame associated process and/or be used for the process of operation dynamic library file.Wherein, the main frame associated process for example can be the svchost.exe process, and this process is a general main frame process, and its a main effect is each service in the operational system.The process that is used for the operation dynamic library file mainly comprises the process of the dll file of carrying out 32, process such as rundll32 or rundll32.exe for example, and these processes are mainly used in moving dll file in internal memory.Generally, all will use the svchost.exe process in the time of system boot and operation service the time, the svchost.exe process is the host's process of serving of every system service, its process parameter Wei “ – netsvcs "; And in the time of system operation dynamic library file, just need use rundll32 or rundll32.exe process.
Introducing CheckThemeSignature function dynamic replacement below in conjunction with the above-mentioned operation relevant with change system theme is the detail of the dynamic link library that sets in advance:
1, plants operation with (1), namely " start the operation of the device of installing on the computing machine that is used for change system theme " and be example, when the user start install on the computing machine be used for the device of change system theme the time, the svchost.exe process can be called the signature that the CheckThemeSignature function is verified corresponding system's theme bag.If the verification passes, then the svchost.exe process can be served Themes by further calling system, is carried out the operation of replacing system theme by system service Themes.Change in the process of system's theme at system service Themes, this service will be called the CheckThemeSignature function equally and be come system's theme bag is verified, only verify by the time just can carry out the operation of replacing system theme.
Except in (1) above-mentioned kind operation, can serving the Themes by calling system, when system starts at every turn (when the user starts shooting), also can be by svchost.exe process transfer system service Themes, and, system service Themes can start and verify the signature of current theme early than explorer.exe, if authentication failed then can show system's theme of the win2k style of acquiescence.This shows, start the device that is used for change system theme that computing machine installs and the process that the user starts shooting for the first time for the first time the user, all can use system service Themes, and this service also can be called the CheckThemeSignature function.
Therefore, in order to change system's theme according to self-defining mode, can further include step before step S110: be pre-created and load self-defining system service, this self-defining system service is used for dynamic link library is injected main frame associated process (being the svchost.exe process).That is to say, in method provided by the invention, can also be pre-created a self-defining system service, this self-defining system service not only can be changed system's theme according to self-defining mode among the present invention, thereby the system service Themes that has with this self-defining system service alternative system itself, reach the purpose of walking around the CheckThemeSignature function, but also dynamic link library can be injected in the svchost.exe process.For the system service Themes that can enough this self-defining system service alternative systems itself has, self-defining system service was started before system service Themes, thereby reach the purpose that need not to change by the checking of CheckThemeSignature function system's theme.For this reason, at first self-defining system service to be write in the registration table and system service Themes position on the same group, secondly, also to name self-defining system service, preferably make the initial of title of self-defining system service more forward than the position of initial " T " in alphabet of system service Themes, for example with beginning of letter such as " B ", thereby self-defining system service can be started early than the system service Themes that system itself has.In order the dynamic link library that sets in advance to be injected in the svchost.exe process, can arrange this self-defining system service, when its entrance function is called, can search the importing function table of current process (being svchost.exe), and in importing function table, write the address of this dynamic link library, thereby realize this dynamic link library is injected the purpose of svchost.exe process.
By top step this dynamic link library is injected into after the svchost.exe process, also need in the importing function table of svchost.exe process, search this theme signature verification function (being the CheckThemeSignature function), and the address that this dynamic link library is revised as in this theme signature verification function address pointed, thereby realize original module for checking theme signature in the system is replaced with the operation of the dynamic link library that sets in advance.
2, plant operation with (2), namely " by this operation for the performed change system theme of the device of change system theme " is example, when the user carried out the operation of change system theme by this device that is used for change system theme, this installed corresponding software and will start the rundll32.exe process and open [display properties] dialog box.In the prior art, the rundll32.exe process can be called the signature that the CheckThemeSignature function is verified corresponding system's theme bag.For fear of the signature verification operations to system's theme bag, need among the present invention in the rundll32.exe process, to inject the dynamic link library that sets in advance, and in the importing function table of rundll32.exe process, search the CheckThemeSignature function, and the address of being revised as this dynamic link library that sets in advance, the address that the CheckThemeSignature function is pointed, thereby realize original module for checking theme signature in the system is replaced with the operation of the dynamic link library that sets in advance.
3, plant operation with (3), namely " operation of the change system theme of carrying out by control panel " be example, and when the user changed system's theme by " demonstration " dialog box in [control panel], the rundll32.exe process can be activated equally.Therefore, also need in the rundll32.exe process, to inject the dynamic link library that sets in advance, and in the importing function table of rundll32.exe process, search the CheckThemeSignature function, and the address of being revised as this dynamic link library that sets in advance, the address that the CheckThemeSignature function is pointed.
Just realized that by the mode of introducing above with original module dynamic replacement for checking theme signature in the system be the dynamic link library that sets in advance.Next, in step S120, according to this dynamic link library the change system theme bag corresponding with the system theme be set, and change system's theme by loading corresponding system theme bag.
Wherein, the set-up mode of dynamic link library can comprise multiple, for example, can dynamic link library be set to need not to verify the theme signature, directly changes the mode of the system theme bag corresponding with the system theme; Can also be set to by dynamic link library: carry out the operation of self-defining checking theme signature, when being proved to be successful, system's theme bag that change is corresponding with the system theme is when authentication failed, the refusal change system theme bag corresponding with the system theme then, and return corresponding prompting.Wherein, the operational example of self-defining checking theme signature is as realizing by the function that self-defining checking theme signature is set in dynamic link library, the user-defined theme of checking signature in this function, thereby certifying signature neatly are to satisfy user's diversified demand.
Changed after the theme bag corresponding with the system theme according to arranging of dynamic link library, loaded corresponding system theme bag and can change system's theme.Wherein, can comprise background screen images, ring sound and/or the corresponding packet of effect sound in system's theme bag.After loading this system's theme bag, the corresponding background screen images of packet, ring sound and/or effect sound will represent by user interface, and this user interface can change according to user's hobby.In addition, after loading system theme bag, block the configuration image of System menu for fear of background screen images wherein, can also further carry out transparent or semitransparent processing and demonstration to the equitant part of configuration image of the background screen images in system's theme bag and menu.
Method by change provided by the invention system theme is changed system's theme, does not need to replace system file, as long as when operation dynamic link library is injected process, and dynamically walks around signature function and gets final product.Avoid thus causing system's problem of unstable because revise system file, and, owing to be that trend injects process when operation, therefore need not to restart computer, make user's experience better.In addition, can also in the dynamic link library that sets in advance, realize self-defining signature verification function, thereby verify more neatly.
Fig. 2 shows the structural drawing of the device 200 of the change system theme that the embodiment of the invention provides.As shown in Figure 2, this device comprises: monitoring means 21, replacement unit 22 and change unit 23.Following mask body is introduced the function of each unit.
The operation that monitoring means 21 monitoring is relevant with the system of change theme.Wherein, relevant with change system theme operation mainly comprises following operation: (1) starts the operation for the device of change system theme of installing on the computing machine.(2) by this operation for the performed change system theme of the device of change system theme.(3) operation of the change system theme of carrying out by control panel.In order to monitor above-mentioned operation, monitoring means 21 can arrange the hook function at the corresponding run time version of aforesaid operations place, namely monitors by the hook technology.
Replacing unit 22 and monitor when changing the relevant operation of system's theme at monitoring means 21, is the dynamic link library that sets in advance with original module dynamic replacement of signing for the checking theme in the system.
Wherein, original module for checking theme signature mainly comprises theme signature verification function in the system.For example, under XP operating system, corresponding theme signature verification function is the CheckThemeSignature function, and the main effect of this function is to realize the signature verification to the corresponding system of system's theme theme bag.Correspondingly, when the module that is used for checking theme signature is the theme the signature verification function, replace unit 22 and can finish replacement to theme signature verification function in the following way: call in the operational process of process of theme signature verification function at needs, dynamic link library is injected process; In the importing function table of process, search this theme signature verification function, and the address that dynamic link library is revised as in this theme signature verification function address pointed.
Wherein, the process that need call theme signature verification function mainly comprises: main frame associated process and/or be used for the process of operation dynamic library file.Wherein, the main frame associated process for example can be the svchost.exe process, and this process is a general main frame process, and its a main effect is each service in the operational system.The process that is used for the operation dynamic library file mainly comprises the process of the dll file of carrying out 32, process such as rundll32 or rundll32.exe for example, and these processes are mainly used in moving dll file in internal memory.Generally, all will use the svchost.exe process in the time of system boot and operation service the time, the svchost.exe process is the host's process of serving of every system service, its process parameter Wei “ – netsvcs "; And in the time of system operation dynamic library file, just need use rundll32 or rundll32.exe process.
Introduce the detail that replacement unit 22 is the dynamic link library that sets in advance with CheckThemeSignature function dynamic replacement below in conjunction with the above-mentioned operation relevant with change system theme:
1, plants operation with (1), namely " start the operation of the device of installing on the computing machine that is used for change system theme " and be example, when the user start install on the computing machine be used for the device of change system theme the time, the svchost.exe process can be called the signature that the CheckThemeSignature function is verified corresponding system's theme bag.If the verification passes, then the svchost.exe process can be served Themes by further calling system, is carried out the operation of replacing system theme by system service Themes.Change in the process of system's theme at system service Themes, this service will be called the CheckThemeSignature function equally and be come system's theme bag is verified, only verify by the time just can carry out the operation of replacing system theme.
Except in (1) above-mentioned kind operation, can serving the Themes by calling system, when system starts at every turn (when the user starts shooting), also can be by svchost.exe process transfer system service Themes, and, system service Themes can start and verify the signature of current theme early than explorer.exe, if authentication failed then can show system's theme of the win2k style of acquiescence.This shows, start the device that is used for change system theme that computing machine installs and the process that the user starts shooting for the first time for the first time the user, all can use system service Themes, and this service also can be called the CheckThemeSignature function.
Therefore, in order to change system's theme according to self-defining mode, this device can further include loading unit 24, be used for being pre-created and loading self-defining system service, this self-defining system service is used for dynamic link library is injected main frame associated process (being the svchost.exe process).That is to say, in device provided by the invention, can also be pre-created a self-defining system service, this self-defining system service not only can be changed system's theme according to self-defining mode among the present invention, thereby the system service Themes that has with this self-defining system service alternative system itself, reach the purpose of walking around the CheckThemeSignature function, but also dynamic link library can be injected in the svchost.exe process.For the system service Themes that can enough this self-defining system service alternative systems itself has, self-defining system service was started before system service Themes, thereby reach the purpose that need not to change by the checking of CheckThemeSignature function system's theme.For this reason, at first self-defining system service to be write in the registration table and system service Themes position on the same group, secondly, also to name self-defining system service, preferably make the initial of title of self-defining system service more forward than the position of initial " T " in alphabet of system service Themes, for example with beginning of letter such as " B ", thereby self-defining system service can be started early than the system service Themes that system itself has.In order the dynamic link library that sets in advance to be injected in the svchost.exe process, can arrange this self-defining system service, when its entrance function is called, can search the importing function table of current process (being svchost.exe), and in importing function table, write the address of this dynamic link library, thereby realize this dynamic link library is injected the purpose of svchost.exe process.
By top mode this dynamic link library is injected into after the svchost.exe process, replace unit 22 and also need in the importing function table of svchost.exe process, search this theme signature verification function (being the CheckThemeSignature function), and the address that this dynamic link library is revised as in this theme signature verification function address pointed, thereby realize original module for checking theme signature in the system is replaced with the operation of the dynamic link library that sets in advance.
2, plant operation with (2), namely " by this operation for the performed change system theme of the device of change system theme " is example, when the user carried out the operation of change system theme by this device that is used for change system theme, this installed corresponding software and will start the rundll32.exe process and open [display properties] dialog box.In the prior art, the rundll32.exe process can be called the signature that the CheckThemeSignature function is verified corresponding system's theme bag.For fear of the signature verification operations to system's theme bag, replace unit 22 and need in the rundll32.exe process, inject the dynamic link library that sets in advance, and in the importing function table of rundll32.exe process, search the CheckThemeSignature function, and the address of being revised as this dynamic link library that sets in advance, the address that the CheckThemeSignature function is pointed, thereby realize original module for checking theme signature in the system is replaced with the operation of the dynamic link library that sets in advance.
3, plant operation with (3), namely " operation of the change system theme of carrying out by control panel " be example, and when the user changed system's theme by " demonstration " dialog box in [control panel], the rundll32.exe process can be activated equally.Therefore, replacing unit 22 also needs to inject the dynamic link library that sets in advance in the rundll32.exe process, and in the importing function table of rundll32.exe process, search the CheckThemeSignature function, and the address of being revised as this dynamic link library that sets in advance, the address that the CheckThemeSignature function is pointed.
Change unit 23 be used for according to dynamic link library the change system theme bag corresponding with the system theme be set, and change system's theme by loading this system's theme bag.Particularly, the system theme bag corresponding with the system theme both directly changed in change unit 23; Also can carry out the operation of self-defining checking theme signature, when being proved to be successful, system's theme bag that change is corresponding with the system theme.
Method and corresponding device according to change of the present invention system theme, by being the dynamic link library that sets in advance with original module dynamic replacement for checking theme signature in the system, realized changing according to the dynamic link library that sets in advance the purpose of system's theme.Having solved thus in the prior art causes system stability to reduce owing to needing to revise system file, thereby and need to restart computer behind the modification system file and just can come into force and cause operation problem easily inadequately, obtained the beneficial effect that can under the prerequisite of not changing system file, change system's theme.
Device described in the embodiment of the invention, wherein, described replacement unit is suitable for: call in the operational process of process of described theme signature verification function at needs, described dynamic link library is injected described process; In the importing function table of described process, search described theme signature verification function, and the address that described dynamic link library is revised as in described theme signature verification function address pointed.
The described device of the embodiment of the invention, wherein, the process that described needs call described theme signature verification function comprises: main frame associated process and/or be used for the process of operation dynamic library file.
The described device of the embodiment of the invention further comprises: loading unit, and be suitable for being pre-created and load self-defining system service, described self-defining system service is used for described dynamic link library is injected described main frame associated process.
The described device of the embodiment of the invention, wherein, described change unit is suitable for: direct change system's theme bag corresponding with the system theme; Perhaps, carry out the operation of self-defining checking theme signature, when being proved to be successful, system's theme bag that change is corresponding with the system theme.
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also at any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the instructions that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice under the situation of these details not having.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate this embodiment thus clearly into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different with this embodiment the module in the equipment among the embodiment.Can become a module or unit or assembly to the module among the embodiment or unit or combination of components, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless clearly statement in addition, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this instructions (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of features of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
Each parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in the device of the embodiment of the invention in practice.The present invention can also be embodied as for part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment under the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.Any order is not represented in the use of word first, second and C grade.Can be title with these word explanations.

Claims (10)

1. method of changing system's theme comprises:
When monitoring when changing the relevant operation of system's theme, be the dynamic link library that sets in advance with original module dynamic replacement for checking theme signature in the system;
According to described dynamic link library the change system theme bag corresponding with the system theme be set, and change system's theme by loading described system theme bag.
2. the method for claim 1, wherein the described operation relevant with change system theme comprises: start the operation for the device of change system theme of installing on the computing machine; Install the operation of the change system theme of carrying out by this; And the operation of the change system theme of carrying out by control panel.
3. method as claimed in claim 1 or 2 is wherein, original in verifying that the module that theme is signed comprises theme signature verification function in the described system.
4. method as claimed in claim 3 wherein, describedly replaces with the dynamic link library that sets in advance with original module for checking theme signature in the system and comprises:
Call in the operational process of process of described theme signature verification function at needs, described dynamic link library is injected described process;
In the importing function table of described process, search described theme signature verification function, and the address that described dynamic link library is revised as in described theme signature verification function address pointed.
5. method as claimed in claim 4, wherein, the process that described needs call described theme signature verification function comprises: main frame associated process and/or be used for the process of operation dynamic library file.
6. method as claimed in claim 5 further comprises step: be pre-created and load self-defining system service, described self-defining system service is used for described dynamic link library is injected described main frame associated process.
7. as arbitrary described method among the claim 1-6, wherein, specifically comprise according to change system's theme bag corresponding with the system theme that arrange of described dynamic link library:
Direct change system's theme bag corresponding with the system theme; Perhaps,
Carry out the operation of self-defining checking theme signature, when being proved to be successful, system's theme bag that change is corresponding with the system theme.
8. device of changing system's theme comprises:
Monitoring means is suitable for monitoring the operation relevant with changing system's theme;
Replace the unit, be suitable for monitoring when changing the relevant operation of system's theme when described monitoring means, with original in verifying that the module dynamic replacement that theme is signed is the dynamic link library that sets in advance in the system;
The change unit, be suitable for according to described dynamic link library the change system theme bag corresponding with the system theme be set, and change system's theme by loading described system theme bag.
9. device as claimed in claim 8, wherein, the operation relevant with change system theme of described monitoring means monitoring comprises: start the operation of the device of described change system theme; Install the operation of the change system theme of carrying out by this; And the operation of the change system theme of carrying out by control panel.
10. install as claimed in claim 8 or 9, wherein, original module for checking theme signature comprises theme signature verification function in the described system.
CN201310243158.7A 2013-06-19 2013-06-19 The method and device of change system theme Active CN103279569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310243158.7A CN103279569B (en) 2013-06-19 2013-06-19 The method and device of change system theme

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310243158.7A CN103279569B (en) 2013-06-19 2013-06-19 The method and device of change system theme

Publications (2)

Publication Number Publication Date
CN103279569A true CN103279569A (en) 2013-09-04
CN103279569B CN103279569B (en) 2016-10-05

Family

ID=49062087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310243158.7A Active CN103279569B (en) 2013-06-19 2013-06-19 The method and device of change system theme

Country Status (1)

Country Link
CN (1) CN103279569B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106778086A (en) * 2016-11-28 2017-05-31 北京小米移动软件有限公司 theme packet processing method and device
CN107832049A (en) * 2017-08-14 2018-03-23 苏州蘑菇云网络科技有限公司 A kind of mobile phone theme preparation method based on Software for producing
CN108845841A (en) * 2018-06-15 2018-11-20 广州多益网络股份有限公司 Change the method, apparatus and terminal of terminal applies behavior
CN114296816A (en) * 2021-12-16 2022-04-08 珠海豹趣科技有限公司 Method and device for changing stably-running Windows system theme
CN114296816B (en) * 2021-12-16 2024-05-31 珠海豹趣科技有限公司 Method and device for changing stably-running Windows system theme

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6957394B1 (en) * 2000-12-01 2005-10-18 Microsoft Corporation Rendering controls of a web page according to a theme
CN101106578A (en) * 2007-08-31 2008-01-16 金蝶软件(中国)有限公司 A method and system for changing interface subject

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6957394B1 (en) * 2000-12-01 2005-10-18 Microsoft Corporation Rendering controls of a web page according to a theme
CN101106578A (en) * 2007-08-31 2008-01-16 金蝶软件(中国)有限公司 A method and system for changing interface subject

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ROBINHAO: "将动态连接库注入到其他进程中的一种新方法", 《HTTP://WWW.CN-TEACHER.COM/FUWU/HTML/190400.HTML》, 4 May 2005 (2005-05-04) *
冯小民: "vista的华丽外衣借给XP了", 《玩电脑》, no. 5, 31 May 2006 (2006-05-31) *
李伟等: "基于内核驱动的恶意代码动态监测技术", 《中国科学院研究生院学报》, vol. 27, no. 5, 30 September 2010 (2010-09-30), pages 696 - 699 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106778086A (en) * 2016-11-28 2017-05-31 北京小米移动软件有限公司 theme packet processing method and device
CN106778086B (en) * 2016-11-28 2019-11-29 北京小米移动软件有限公司 Theme packet processing method and device
CN107832049A (en) * 2017-08-14 2018-03-23 苏州蘑菇云网络科技有限公司 A kind of mobile phone theme preparation method based on Software for producing
CN108845841A (en) * 2018-06-15 2018-11-20 广州多益网络股份有限公司 Change the method, apparatus and terminal of terminal applies behavior
CN114296816A (en) * 2021-12-16 2022-04-08 珠海豹趣科技有限公司 Method and device for changing stably-running Windows system theme
CN114296816B (en) * 2021-12-16 2024-05-31 珠海豹趣科技有限公司 Method and device for changing stably-running Windows system theme

Also Published As

Publication number Publication date
CN103279569B (en) 2016-10-05

Similar Documents

Publication Publication Date Title
RU2377637C2 (en) Efficient program update
RU2377638C2 (en) Effective program update
US8887152B1 (en) Android application virtual environment
US8356293B1 (en) System and method for controlling installed third party software components
CN105786538B (en) software upgrading method and device based on android system
CN110018765B (en) Page display method, device, terminal and storage medium
CN103902265A (en) Application implementation method and application implementation device
CN106815049B (en) Method and device for upgrading feature library
JP6198229B2 (en) Installation engine and package format for parallelizable and reliable installation
US8893117B2 (en) Interactive product improvement through the use of variants and data gathering reports in a system that can be updated on the fly
CN106648724A (en) Application hotfix method and terminal
CN110908734A (en) Application combination method and device based on plug-in, terminal equipment and storage medium
CN105872842A (en) Multi-desktop independent upgrade method and device
CN103279569A (en) Method and device for changing system theme
CN115640037A (en) Program updating method and device
CN103500114A (en) Method and device for installing application program
CN103530155A (en) Method and device for installing application program
CN112882733B (en) Application updating method and device, electronic equipment and storage medium
CN112379973B (en) Heavy load method and device
CN106155709B (en) Plug-in loading method, device and equipment
CN102902564A (en) Method and device for installing patches
CN106325924B (en) A kind of electronic program guides heat update system and method
CN105912352A (en) Method and terminal for upgrading in mobile terminal
JP3951364B2 (en) Software maintenance method and apparatus
CN111782230B (en) Program installation control method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee after: 3600 Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230710

Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: Beijing Hongxiang Technical Service Co.,Ltd.

Address before: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee before: 3600 Technology Group Co.,Ltd.