CN104679390B - A kind of method, apparatus and equipment of the skin that application is set in operating system platform - Google Patents

A kind of method, apparatus and equipment of the skin that application is set in operating system platform Download PDF

Info

Publication number
CN104679390B
CN104679390B CN201510126141.2A CN201510126141A CN104679390B CN 104679390 B CN104679390 B CN 104679390B CN 201510126141 A CN201510126141 A CN 201510126141A CN 104679390 B CN104679390 B CN 104679390B
Authority
CN
China
Prior art keywords
application
operating system
property value
system platform
background colour
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510126141.2A
Other languages
Chinese (zh)
Other versions
CN104679390A (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.)
Hangzhou Netease Cloud Music Technology Co Ltd
Original Assignee
Hangzhou Netease Cloud Music Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Netease Cloud Music Technology Co Ltd filed Critical Hangzhou Netease Cloud Music Technology Co Ltd
Priority to CN201510126141.2A priority Critical patent/CN104679390B/en
Publication of CN104679390A publication Critical patent/CN104679390A/en
Application granted granted Critical
Publication of CN104679390B publication Critical patent/CN104679390B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

Embodiments of the present invention provide a kind of method for the skin that application is set in operating system platform.This method includes:Obtain the property value of the background colour for the operating system platform for running the application;When meeting to set the preparatory condition of application skins based upon bidding, the property value of the background colour is matched with predetermined skin scheme;The skin scheme that property value with the background colour is matched is arranged to the skin of the application.Embodiments of the present invention can improve the efficiency of application skins based upon bidding setting.

Description

A kind of method, apparatus and equipment of the skin that application is set in operating system platform
Technical field
Embodiments of the present invention are related to the information processing in operating system platform, more particularly to one kind in operating system The method, apparatus and equipment of the skin of application are set on platform.
Background technology
This part is it is intended that the embodiments of the present invention stated in claims provide background or context.Herein Description recognizes it is prior art not because not being included in this part.
In general, the terminal device of a physics is in order to possess information process- ability, it usually needs installation operation system System, the processing of various information is carried out by the operation of operating system.The platform for being provided with operating system (for example is provided with The Windows Phone platforms of Windows Phone systems) resource can be provided to various applications, so that various applications are realized Respective function.In one application, often there is the many-sided attribute for realizing itself function, these attributes are from different angles The application is portrayed, different degrees of influence is produced to " quality " of application.Such as the skin of application, it is as a kind of the most straight One of attribute in terms of the visualization of sight, user can be largely influenceed to application itself and the body of operating system platform Test.The demand of user is that the exploitation of application, maintenance etc. propose new demand.It is various application how high efficiency, more easily meet The demand of people, it is the important driving force for technology of updating.
In the prior art, the system that user can set operating system according to the hobby of itself in operating system platform Background colour, so as to show the system background color of setting on the desktop of carrying application.But the system background color of operating system The skin for each application not extended to certainly in operating system platform a, that is to say, that after application is activated, should answer Skin remains on original color, without the face for showing the background colour of system or being adapted to system background form and aspect Color.Therefore, user is after application starts, it is necessary to carries out the setting of application skins based upon bidding color again, the mode of setting is to open application " setting " function bar, carry out manual skin setting (note:Inventor has found that some applications in some operating systems do not have also There is the function that application skins based upon bidding is set).This setting for not only carrying out system background color, also carries out the " double to set of application skins based upon bidding setting Put " mode, for a user, program is cumbersome, loses time, and reduces Consumer's Experience;For operating system, reduce The skin of application sets efficiency, generally wastes system resource.
The content of the invention
On the one hand, based on the needs for solving above-mentioned technical problem, embodiments of the present invention provide a kind of in operation system The method that the skin of application is set on system platform, wherein, this method can include:
Obtain the property value of the background colour for the operating system platform for running the application;
When meeting to set the preparatory condition of application skins based upon bidding, the property value of the background colour and predetermined skin scheme are entered Row matching;
The skin scheme that property value with the background colour is matched is arranged to the skin of the application.
Wherein, the property value of the background colour for obtaining the operating system platform for running the application can include:Grasping Make to start in system platform the property value for the background colour that the operating system platform for running the application is obtained during the application.
Wherein, the operating system platform is Windows Phone system platforms, in operating system platform described in startup Using when obtain the operating system platform for running the application the property value of background colour can include:
Page load events are triggered when starting the application in Windows Phone system platforms;
Pass through the current application resource acquisition Windows Phone of Windows Phone systems when carrying out page loading The property value of the background colour of system platform.
Wherein, the background colour of the current application resource acquisition Windows Phone systems of Windows Phone systems is passed through Property value can include:
The property value of background brush attribute is obtained by the api function of Windows Phone system current application resources.
Wherein, it is described set application skins based upon bidding preparatory condition can be included in operating system platform start it is described application, Receive change application skins based upon bidding message, using reach after startup scheduled time threshold values or according to set application skins based upon bidding configuration text The condition that part determines.
Wherein, methods described can also include:Obtain the attribute of the theme color for the operating system platform for running the application Value, when meeting to set the preparatory condition of application skins based upon bidding, the application function region is set according to the property value of the theme color Color.
On the other hand, embodiments of the present invention additionally provide a kind of skin for setting application in operating system platform Device, wherein, described device can include the first acquisition module, matching module and the first setup module,
First acquisition module, the property value of the background colour for obtaining the operating system platform for running the application;
The matching module, for meet set application skins based upon bidding preparatory condition when, by the property value of the background colour Matched with predetermined skin scheme;
First setup module, the skin scheme for the property value with the background colour to be matched are arranged to described The skin of application.
Wherein, first acquisition module can include monitoring submodule and acquisition submodule,
The monitoring submodule, for monitoring when start the application in operating system platform;
The acquisition submodule, the behaviour of the application is run for being obtained when starting the application in operating system platform Make the property value of the background colour of system platform.
Wherein, the operating system platform is Windows Phone system platforms, and first acquisition module can also wrap Triggering submodule is included,
The triggering submodule, monitored for monitoring submodule in Windows Phone system platforms described in startup Using when trigger page load events;
The acquisition submodule, specifically for currently should by Windows Phone systems when carrying out page loading With the property value of the background colour of resource acquisition Windows Phone system platforms.
Wherein, the acquisition submodule obtains background by the api function of Windows Phone system current application resources The property value of brush attribute.
Wherein, it is described set application skins based upon bidding preparatory condition can be included in operating system platform start it is described application, Receive change application skins based upon bidding message, using reach after startup scheduled time threshold values or according to set application skins based upon bidding configuration text The condition that part determines.
Wherein, described device can also include:Second acquisition module and the second setup module,
Second acquisition module, the property value of the theme color for obtaining the operating system platform for running the application;
Second setup module, for meet set application skins based upon bidding preparatory condition when, according to the theme color Property value sets the color in the application function region.
Another further aspect, embodiments of the present invention additionally provide a kind of terminal device, behaviour are provided with the terminal device Make system, the terminal device includes the device of the above-mentioned skin that application is set in operating system platform.
Embodiments of the present invention provide the skin that application is set in operating system platform method, apparatus and set It is standby, first obtain operating system platform background colour property value, then meet set application skins based upon bidding preparatory condition when by its with Predetermined skin scheme is matched, and the skin scheme of matching then is arranged into the skin of the application.With prior art phase Than, after the background colour of operating system platform is set, as long as meet set application skins based upon bidding preparatory condition, can with will operation The background colour of system platform is matched in each application in operating system platform, makes the skin of application according to operating system platform Background colour realize relative set, so that user smoothly is extended into application to the hobby of operating system platform background colour.Moreover, On the one hand, for user perspective, this mode can not need user to exclusively carry out application skins based upon bidding in operating system platform Setting operation, so as to improve user using application convenience, enhance Consumer's Experience;On the other hand, from operating system Angle for, this mode also without operating system be user specially provide set application skins based upon bidding routine interface, so as to drop The low consumption of system resource, be advantageous to improve the overall performance of operating system platform.
Brief description of the drawings
Detailed description below, above-mentioned and other mesh of exemplary embodiment of the invention are read by reference to accompanying drawing , feature and advantage will become prone to understand.In the accompanying drawings, if showing the present invention's by way of example, and not by way of limitation Dry embodiment, wherein:
Fig. 1 is the schematic diagram of skin in some application;
Fig. 2 is a kind of composition frame chart of exemplary informatization platform;
Fig. 3 is a kind of application scenarios of embodiment of the present invention;
Fig. 4 a, 4b are a kind of background colour, schematic diagram of theme color for setting operating system platform;
Fig. 5 is a kind of exemplary process diagram for the method that application skins based upon bidding is set in operating system platform;
Fig. 6 a, 6b are the effect diagram that application skins based upon bidding is set in operating system platform;
Fig. 7 is a kind of exemplary composition frame chart of device that application skins based upon bidding is set in operating system platform;
Fig. 8 is a kind of exemplary composition frame chart of terminal device.
Embodiment
The principle and spirit of the present invention is described below with reference to some illustrative embodiments.It should be appreciated that provide this A little embodiments are not with any just for the sake of better understood when those skilled in the art and then realize the present invention Mode limits the scope of the present invention.On the contrary, these embodiments are provided so that the present invention is more thorough and complete, and energy It enough will fully convey the scope of the invention to those skilled in the art.
For the ease of the understanding of the illustrative embodiments to the present invention, here first to some terms that will be used Intension is explained, and the description that those skilled in the art should combine its ABC and this specification that possess completely understands The implication of these terms.
Herein, involved term " application " be to be installed on it is in operating system platform, certain work(can be realized The user software of energy or the address of software module, in the specific implementation, " application " can be presented as executable target program generation Code or source program code, give three terms related to " application " here, i.e., " application ", " application program ", " user is soft Part ", in fact, " application " this term may be described from user perspective, and " application program " then may be more More is described from program code angle, and " user software " is more then for hardware, and these are different Description angle can't change some that they are pointed to jointly there is the relatively independent object of certain function, this is common The object of sensing is " application " of embodiment of the present invention.For " application ", in embodiments of the present invention, based on realization The requirement of goal of the invention, and the characteristics such as the species of application, size, quantity, nested level need not be limited.Such as quantity For, an application may be mounted with an operating system platform, it is also possible to be mounted with multiple applications, any of which one Using or all applications applicable embodiments of the present invention realize the setting of application skins based upon bidding.For another example, for embedding For covering level, in reality, it is understood that there may be include several small applications in a big application, small application can be further Include smaller application.Application nested level be present in the case of, distinguish " application " when can not be simply with the only of code Vertical property is distinguished, and should be defined by the function of completion.
Term " application skins based upon bidding " involved by embodiment of the present invention is to be used to illustrate that those realize its function mistake in application The change of part in journey as " outward appearance ", the i.e. part will not directly influence the realization of application function in itself.Referring to figure 1, the figure shows some apply in skin signal, it can be seen that skin include inclined background part and " taking list ", " DJ programs " etc. is to select the application function region part that block or pushbutton type embody.
" operating system " involved by embodiment of the present invention more can understand in broad sense, and it can be application Various underlying services are provided, so that using preferably completing the function of oneself." operating system platform " is to be provided with operation The system of system, it be to the general designation including operating system in itself and including operating system provides various functions service, can be with It is embodied as a software program package and its support the corresponding hardware resource of the program bag, on this platform, " can connect Receive " various big and small applications.Referring to Fig. 2, the figure shows the carry out information processing for being adapted for carrying out embodiment of the present invention An exemplary operating system platform 200 composition frame chart (note:The hardware for supporting software program package is basically illustrated in figure Resource, it will be appreciated by those skilled in the art that corresponding software program package can be run externally to carry on this hardware resource For various services), the platform 200 can include:CPU (CPU) 201, random access memory (RAM) 202, only Read memory (ROM) 203, system bus 204, hard disk controller 205, KBC 206, serial interface controller 207, simultaneously Line interface controller 208, display controller 209, hard disk 210, keyboard 211, serial peripheral equipment 212, concurrent peripheral equipment 213 With display 214.In these equipment, what is coupled with system bus 204 has CPU 201, RAM 202, ROM 203, hard disk controlling Device 205, KBC 206, serial interface controller 207, parallel interface controller 208 and display controller 209.Hard disk 210 couple with hard disk controller 205, and keyboard 211 couples with KBC 206, serial peripheral equipment 212 and serial line interface control Device 207 processed couples, and concurrent peripheral equipment 213 couples with parallel interface controller 208, and display 214 and display controller 209 couplings.It should be appreciated that the composition frame chart described in Fig. 2 is used for the purpose of the purpose of example, rather than the limit to the scope of the invention System.In some cases, some equipment, functional module, software program package etc. can be increased or decreased as the case may be.
In addition, the quantity of some element in the accompanying drawing or text of embodiment of the present invention is used to example and unrestricted Illustrate, and any name is only used for distinguishing, without any restrictions implication.
Below with reference to the principle and spirit of some representative embodiments of the present invention, in detail the explaination present invention.
Summary of the invention
Inventor has found that carrying out the setting of application skins based upon bidding in the prior art needs to manually complete, extremely cumbersome.The present invention's Embodiment utilizes the background colour in operating system platform, by the skin of each application on its Natural matching to operating system platform Skin so that the skin color of application and the background colour of operating system platform keep matching on higher degree, because system is put down Platform background colour is that user is set according to itself hobby, and what is created or set based on operating system platform background colour applies skin Skin also necessarily can preferably embody the hobby of user.Moreover, during this " transmission " system platform background colour, can be with complete Carry out full-automaticly, it is no longer necessary to which user carries out the excessive Attended Operation such as setting manually, avoids cumbersome artificial setting Step, the efficiency of application skins based upon bidding setting is improved, has saved system resource.In addition, pass through embodiments of the present invention, Yong Huke So that after entering and applying, because the background colour of its skin-color and operating system platform keeps matching, user is changed by system interface Be not in " saltus step " of color during to application interface, seamlessly transitted so as to preferably realize.
After the basic ideas of the present invention are described, lower mask body introduces the various non-limiting embodiment party of the present invention Formula.
Exemplary application scene
Referring to Fig. 3, the figure shows a kind of exemplary application scene of embodiment of the present invention.In this scenario, user 31 one mobile terminal device 32 of operation, user can carry out associative operation according to the hobby of oneself to mobile terminal device 32, In other embodiments of the present invention, the object of user's operation can be PC terminals, tablet personal computer etc..Set in mobile terminal It is standby it is upper there is operating system platform 33, the operating system in operating system platform is Windows phone systems, in the system 34 are applied with several.User can click on " set " button, be in the main interface of Windows phone systems The setting of system background colour, theme color.Certainly, In some embodiments of the present invention, start in Windows phone systems When, can therefrom it be selected by user with the background colour of active push one or more operating system platform, or it is right in advance by system Background colour is given tacit consent to, and only when user oneself feels to need to be changed current background colour, just sets the new back of the body manually Scenery or theme color.Either the active of user is set, or passive selected, and Windows phone systems receive background colour After information, it will need to carry out in Windows phone systems to show the background colour of setting during background colour display.For example holding Carry display background color on the desktop of some application icons.In Windows phone systems, its background colour and legacy operating system Background colour be shown in and certain difference in mechanism be present, the background colour of legacy operating system be by show preset picture come Realize, that is to say, that after user selectes some background colour, legacy operating system will go to load corresponding figure according to background colour Piece, then show again, be similarly to common wallpaper and change, and after background colour is set in Windows phone systems, In addition to above-mentioned mode, can also according to background colour carry out figure layer drafting, and the figure layer based on Background From Layer and application icon it Between covering relation, determine Background From Layer the location of in neighbouring relation.In this application scene, user 31 may be used also To be configured according to itself hobby to the theme color of operating system platform, referring to Fig. 4, wherein:Fig. 4 a show user's hand The dynamic background colour set is black, and it is white that Fig. 4 b, which show the background colour that user is set manually,.
Illustrative methods
In above-mentioned example application scenarios, it is possible to implement method of the invention is set with realizing in operating system platform The skin of application.Under normal circumstances, the background colour of operating system is provided with operating system platform, as it was previously stated, the system Background colour can be that a kind of background colour of operating system acquiescence and customer acceptance or user set manually according to oneself hobby The white or black of the background colour put, such as foregoing setting.
After the background colour of operating system platform is set, the back of the body for the operating system platform for running the application can be obtained The property value (referring to Fig. 5, S51) of scenery, the time of background colour property value is obtained here, can be in os starting When time or user need the color of system background color extending to application skins based upon bidding, in fact, being set carrying out skin Before putting, system background color set after whenever can go obtain system background color.In practical application, it can select The time point of operating system background colour property value is obtained when operating system platform starts the application, because under normal circumstances, Using just making the task of " background colour of operating system platform is extended into application " become more urgent when being activated, using quilt Before startup, although system background color can be obtained simultaneously and then carry out the setting of application skins based upon bidding, user is possible to suitable Not starting the application in for a long time, then the setting to dermal application is likely to become the work of one " idle ", on the contrary consume System resource;After application is activated, although system background color can also be obtained simultaneously and then carry out the setting of application skins based upon bidding, It is that setting in this case does not have the transition for realizing " smooth ", is not to enter application to start to see for a user Application skins based upon bidding with embodying its operating system background color match liked, but via " system background color → acquiescence skin The change of → the application skins based upon bidding with system background color match ", so as to cause interface color " lofty " occur, is easily reduced user Experience.Certainly, it is also required to consider a problem here, due to being to carry out obtaining for system theme background colour in application start-up course Take and set operation, may cause using toggle speed reduce, in practice, should choosing comprehensively each side because Element, an appropriate time point is selected to carry out the acquisition operation of operating system background colour.Further, do not used immediately after acquisition During the property value of the background colour, it can be cached in some memory, be read out again when needed;Needed after acquisition When using the background colour property value immediately, then the property value of the background colour directly can be passed into the mould using the property value Block.On this step, also it is worth emphasizing that the operating system platform of " the running the application " described here can be current It is currently running the operating system platform of one or several application or application can be run and may currently not had actually There is the operating system platform that an application is currently running, that is to say, that in the property value for the background colour for obtaining operating system platform When, currently may and (for example only just it be activated soon in operating system, user does not have also in the absence of the application being currently running Click to enter in some application), it is also possible to one or more applications being currently running be present, the application being currently running or Person may each be that application that will carry out skin setting to it according to the embodiment of the present invention without the application of operation.
After background colour property value is got, by monitoring, if it find that the current default bar for meeting to set application skins based upon bidding Part, then the property value of background colour can be matched (S52) with predetermined skin scheme.Here skin scheme can be More sets, such as, black system is a set of, white color system is a set of and the colour system of other colors is each a set of.Generally, storage is being taken into full account In the case of resource, as far as possible several sets of plan can be purchased, to meet the personal needs of different user more.For skin side The concrete form of case, can be presented as it is a variety of, such as, can be one group of RGB color value or a width set in advance it is specific The combination of the picture of form, or both.Can be according to the progress of predetermined matching strategy for the mode of matching To match somebody with somebody, matching strategy such as can be man-to-man matching, such as, if the background colour of operating system platform is black, match The skin scheme of black, if background colour is white, the skin scheme of white is matched, certainly, according to the hobby of user, also may be used To be opposite matching way.
After the skin scheme that matching is determined by matching operation, you can the skin that the property value with background colour matches Scheme is arranged to the skin (S53) of the application.Here the mode of setting application skins based upon bidding exists with the form of skin scheme closes Connection, when the picture that skin scheme is a width specific format, then background of this picture as application can be loaded, works as skin When scheme is one group of RGB color value, then respective color value can be carried out to the existing picture or figure layer of application according to the rgb value and entered Row regulation, reaches target RGB color value, so as to realize the setting of application skins based upon bidding.
In this illustrative methods, as it was previously stated, operating system platform can be Windows Phone system platforms. Under the platform, when starting some application in Windows Phone system platforms, it will triggering page load events (Load Event), when Load events carry out page loading, can by the current application resources of Windows Phone systems (such as " Application.Current.Resources ") obtain Windows Phone system platforms background colour property value. In Windows Phone systems, after user carries out background colour setting, the property value of its background colour will be given to background brush (ratio Such as, " PhoneBackgroundBrush "), when the property value for carrying out background colour obtains, utilize current application resource Application.Current.Resources resources API reads its value from background brush " PhoneBackgroundBrush ". " value " of property value can be defined as needed, such as, can be " FF000000 " by the attribute value definition of black background, The attribute value definition of white background is " FFFFFFFF ", and the property value of other colors can be defined between both.Here is One section of exemplary program code:
<!--Common colors-->
……
<!--100percent White-->
<Color x:Key=" PhoneBackgroundColor ">#FFFFFFFF</Color>
……
, can be according to the category of the background colour after getting the property value of background colour under Windows Phone system platforms Property value matched with predetermined skin scheme, then by the skin scheme that the property value with background colour matches be arranged to it is foregoing should Skin.Here is one section of exemplary program code:
... after the whole implementation mode of the present invention is described in detail, the important side in several implementation processes is discussed below Face, to be more fully understood from the essence of the present invention.
In the aforementioned exemplary method of the present invention, refer to when meeting to set the preparatory condition of application skins based upon bidding, Ke Yijin The operation such as the matching of the property value of row background colour and predetermined skin scheme and the setting of application skins based upon bidding.Here application skins based upon bidding Preparatory condition can be presented as diversified condition.
For example in one embodiment of the invention, the preparatory condition for setting application skins based upon bidding can be in operating system When starting application on platform, as long as that is, current time is in the startup applied, then then think to meet preparatory condition, you can enter The matching of row application skins based upon bidding scheme and the setting work of application skins based upon bidding, and before application starts or after startup, due to discontented Sufficient preparatory condition, then it will not carry out the matching of skin scheme and the setting work of skin.As it was previously stated, when application being started (during) as the condition for meeting to set application skins based upon bidding, user one can be made to enter the color of oneself i.e. visible hobby of application (realizing by the extension of operating system background colour to application skins based upon bidding), it is " prominent without being separately provided or being endured color It is towering " the unhappy experience that brings, that is to say, that for a user, as long as being provided with background colour on operating system background colour, The background colour just will automatically extend to each application specified, and (it can express specified or tacit declaration to specify to specify, and refer to Fixed application can be the whole applications or a part therein or an application installed in operating system), so as to In the case where user does not perceive especially, i.e., user application skins based upon bidding is applied to the love style of operating system background colour On.Here it is emphasized that a situation be, it is foregoing refer to perform obtain operating system platform background colour property value The step for when, can also select using start when, based on this, be necessary here pay attention to the following aspects:First, at this The sequencing problem that step is carried out on time point (period).Under normal circumstances, obtain the background colour of operating system platform property value this One step is to carry out the property value of background colour and premise the step for predetermined skin scheme matching operation, that is to say, that is being held In row sequential, it may be that first carry out obtaining the property value of operating system background colour, then carry out the property value of background colour with it is predetermined Skin scheme is matched.It is such to understand starting as a process to treat, because receiving startup order certainly To start completion it is generally necessary to a period of time, can the period it is initial when obtain operating system platform background colour category Property value, within the period complete obtain operating system platform background colour property value after, you can carry out with predetermined skin scheme Matching and skin setting.Two are that while foregoing execution sequential, still, the execution time of the two steps be present Not necessarily it is carried out continuously, nor previous step triggers latter step.For obtaining operating system background colour The step of property value, as long as it was previously stated, carry out background colour property value matched with predetermined skin scheme before energy The property value of background colour is enough got,, can should in practice without also there is no particular limitation condition Procedure is carried out to backstage is automatic, and such system can be to select to perform the operation when terminal device is more idle, so as to Weighing apparatus load, increases success rate.And for carrying out the matching step of skin scheme, then need to enter when meeting particular preset condition OK.This difference is due to the attribute for obtaining background colour caused by the consequence difference that two steps may each be brought For the step for value, it is only a preparatory job, will not also directly cause the change of application skins based upon bidding, and user is by nothing Method is directly aware of " unusual fluctuation " of terminal device, and the property value for matching background colour should with predetermined skin scheme and then setting With the step that skin is such, it is a substantial job, and the skin applied after the work will change, and user will Energy direct feeling arrives.Based on this, matching background colour property value is limited to satisfaction with the step of predetermined skin scheme and " sets and applies Carried out during the preparatory condition of skin ", can more embody the concern to Consumer's Experience and the respect to user.
For another example, in another embodiment of the invention, the preparatory condition for setting application skins based upon bidding can be received Change the message of application skins based upon bidding.Some button that the message can be come in self-application, the button are triggered, that is, send skin more Message is changed, upon receiving the message, that is, carries out matching work of the property value with predetermined skin scheme of background colour.Certainly, should Message can be from spoken command of the current operator of terminal device etc..
In addition, in the other embodiment of the present invention, the preparatory condition of application skins based upon bidding is set to can also be using startup After reach scheduled time threshold value.In this case, a timer can be set, and the timer self-application opens meter after starting When, when the time of timing reaching scheduled time threshold value, carry out the property value and the matching work of predetermined skin scheme of background colour Make.Preparatory condition is advantageous in that as setting, can separate the replacing of application skins based upon bidding with two work of startup applied, The replacing of skin is set to be operated in using the sometime progress after starting, so as to be unlikely to the replacing work influence because of application skins based upon bidding To the launching process of application.
In embodiments of the present invention, it can also be configured by the way of configuration file and " the default of application skins based upon bidding is set Condition ".The configuration file can be used as system file, in os starting or when application is activated, read the configuration File, corresponding condition is determined according to the content of configuration file.For example special configuration " sets application skins based upon bidding in configuration file Preparatory condition ", the condition can be one or more in above-mentioned refer to, even above-mentioned each condition is according to certain strategy The combination of formation.
In the aforementioned exemplary method of the present invention, the background colour property value of acquisition operating system platform is referred to and according to this Property value carries out the matching and setting of skin scheme.In fact, in a modification of the present invention embodiment, can also obtain The property value of the theme color of the operating system platform of application is run, then when meeting to set the preparatory condition of application skins based upon bidding, root According to the property value of theme color, the color in application function region in skin is set.In foregoing Fig. 4, those skilled in the art are based on The thinking of the present invention can also set up a control in Windows Phone operating system platform background colour setting up procedure is carried out Part bar, for setting the theme color of operating platform, such as, theme color is arranged to red.In this case, operating system is obtained After the theme color of platform, the application function region in application interface is also configured as red.It is shown in Figure 6, wherein:Fig. 6 a show Operating system platform background colour is gone out for white, theme color is red situation, gives multiple screen-pictures in this case Figure (note:The white of mobile phone outer edge is enclosed for convenient observation, contrast in figure);Fig. 6 b show that operating system platform background colour is Black, application skins based upon bidding are red situation, give multiple screen-picture figures (note in this case:Mobile phone outer edge in figure Red is enclosed for convenient observation, contrast).It should be noted that can both set application skins based upon bidding this, application can be set again In the scene of theme colors, it may also need to carry out other operations, such as, based on both colors after respective color is set Contrast effect carries out " fine setting " to background colour or theme color.
Exemplary means and equipment
A kind of skin that application is set in operating system platform of the present invention is shown in aforementioned exemplary method Method, based on aforementioned exemplary application scenarios, the present invention is also exemplary to give a kind of dress for setting application on the operational platform The embodiment put.Referring to Fig. 7, the figure shows a kind of example of the device for the skin that application is set in operating system platform Property composition structure.The device includes the first acquisition module U71, matching module U72 and the first setup module U73, wherein:
First acquisition module U71, the property value of the background colour for obtaining the operating system platform for running the application;
Matching module U72, for meet set application skins based upon bidding preparatory condition when, by the property value of the background colour with Predetermined skin scheme is matched;
First setup module U73, the skin scheme for the property value with the background colour to be matched are arranged to described The skin of application.
The exemplary means can be located among the information process- platform shown in earlier figures 2, pass through between modules The physical cord connection of electric signal can be conducted, can also use has wireless connection.These modules can be physically located in together One geographical position, the structure of this operating system for depending on taking can also be located in a different geographical location.For example concentrating In formula operating system, these comprising modules may be more suitable in same physical location cooperate completing what skin was set Task, and in some large-scale distributed operating systems, then the information for carrying out long range between various modules may be needed to pass Pass, can just smoothly complete skin and task is set.Modules can be embodied in entity component, such as aforementioned information processing platform On each hardware it is the same;Software module can also be presented as.When the exemplary means work, the first acquisition module U71 will The property value of the background colour for the operating system platform for running the application is obtained, when the preparatory condition for meeting to set application skins based upon bidding When, matching module 72 is matched the property value of the background colour from the first acquisition module U71 with predetermined skin scheme, so The skin scheme that the property value of background colour matches is arranged to the skin of the application by the first setup module U73 afterwards.Pass through The work of the exemplary means, the background colour for oneself hobby that can set user in operating system platform, extends to certain In individual application-specific.And, on the one hand, for user perspective, this mode can not need user in operating system platform On exclusively carry out application skins based upon bidding setting operation, so as to improve user using application convenience, enhance Consumer's Experience;Separately On the one hand, for the angle of operating system, this mode specially provides setting for user also without operating system and applies skin Skin routine interface, so as to reduce the consumption of system resource, be advantageous to improve the overall performance of operating system platform.
It is real that the first acquisition module U71 in above-mentioned example device can take various modes on hardware or software Existing, in one embodiment of the invention, the first acquisition module U71 can include monitoring submodule U711 and acquisition submodule U712, wherein:
Submodule U711 is monitored, for monitoring when start the application in operating system platform;
Acquisition submodule U712, the behaviour of the application is run for being obtained when starting the application in operating system platform Make the property value of the background colour of system platform.
In aforementioned exemplary application scenarios, the operating system platform referred to can be embodied as Windows Phone systems System platform, in this case, the first acquisition module U71 can also include triggering submodule U713, trigger submodule U713, are used for Monitoring submodule monitors to trigger page load events when starting the application in Windows Phone system platforms;So, Acquisition submodule, U712 can be specifically used for providing by the current application of Windows Phone systems when carrying out page loading Source obtains the property value of the background colour of Windows Phone system platforms, and more detailed implementation can pass through Windows The api function of Phone system current application resources obtains the property value of background brush attribute.
The preparatory condition of the foregoing setting application skins based upon bidding referred to can be included in operating system platform start it is described application, Receive change application skins based upon bidding message, using reach after startup scheduled time threshold values or according to set application skins based upon bidding configuration text The condition that part determines.
In other kind of embodiment of the present invention, except obtaining operating system platform by the first acquisition module U71 Outside background colour, new comprising modules can also be included to complete other same or similar tasks, such as, above-mentioned example dress The second acquisition module U74 and the second setup module U75 can also be included by putting, wherein:
Second acquisition module U74, the property value of the theme color for obtaining the operating system platform for running the application;
Second setup module U75, for meet set application skins based upon bidding preparatory condition when, according to the category of the theme color Property value the color in the application function region is set.
Referring to Fig. 8, also shown is a kind of terminal device, operating system, the terminal are installed on the terminal device Equipment includes the device of the foregoing skin that application is set in operating system platform.The terminal device can be with physics realization It is mobile phone, IPAD, tablet personal computer or PC etc..
It should be noted that although being referred to some modules that skin sets device in above-detailed, still, this stroke Divide not enforceable.In fact, according to the embodiment of the present invention, the feature and work(of two or more above-described modules It is able to can be embodied in a module.Also, on the contrary, the feature and function of an above-described module can also enter one Step is divided into by multiple modules to embody.
In addition, although describing the operation of implementation of the present invention with particular order in the accompanying drawings, still, this is not required that Or imply and must perform these operations according to the particular order, or the operation having to carry out shown in whole could realize the phase The result of prestige.Additionally or alternatively, in the case where considering actual conditions, it is convenient to omit some steps, multiple steps are merged into one Individual step is performed, and/or a step is decomposed into execution of multiple steps.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of terminal device (as shown in Figure 8), Device (as shown in Figure 7), method (as shown in Figure 5) or computer program product.Therefore, the present invention can be implemented as following Form, i.e.,:Complete hardware, complete software (including firmware, resident software, microcode etc.), or hardware and software combine Form.
Although describe spirit and principles of the present invention by reference to some embodiments, it should be appreciated that, this Invention is not limited to disclosed embodiment, and the division to each side does not mean that the feature in these aspects can not yet Combination is to be benefited, and this division is merely to the convenience of statement.It is contemplated that cover appended claims spirit and In the range of included various modifications and equivalent arrangements.

Claims (11)

  1. A kind of 1. method for the skin that application is set in operating system platform, it is characterised in that this method includes:
    Obtain the property value of the background colour for the operating system platform for running the application;
    When meeting to set the preparatory condition of application skins based upon bidding, by the property value of the background colour and predetermined skin scheme progress Match somebody with somebody;The skin scheme includes the picture of one group of RGB color value and/or specific format;
    The skin scheme that property value with the background colour is matched is arranged to the skin of the application;
    The property value of the theme color for the operating system platform for running the application is obtained, in the default bar for meeting to set application skins based upon bidding During part, the color in application function region is set according to the property value of the theme color.
  2. 2. according to the method for claim 1, it is characterised in that the operating system platform for obtaining the operation application The property value of background colour includes:
    The category of the background colour for the operating system platform for running the application is obtained when starting the application in operating system platform Property value.
  3. 3. according to the method for claim 2, it is characterised in that the operating system platform is Windows Phone systems Platform, the category of the background colour for the operating system platform for running the application is obtained when starting the application in operating system platform Property value includes:
    Page load events are triggered when starting the application in Windows Phone system platforms;
    Pass through the current application resource acquisition Windows Phone systems of Windows Phone systems when carrying out page loading The property value of the background colour of platform.
  4. 4. according to the method for claim 3, it is characterised in that the current application by Windows Phone systems The property value of the background colour of resource acquisition Windows Phone system platforms includes:
    The property value of background brush attribute is obtained by the api function of Windows Phone system current application resources.
  5. 5. the method according to any one of Claims 1-4, it is characterised in that described that the default of application skins based upon bidding is set Condition, which is included in, to be started the application, receives and change the message of application skins based upon bidding, using reaching after startup in operating system platform Scheduled time threshold values or the condition according to the configuration file determination for setting application skins based upon bidding.
  6. 6. a kind of device for the skin that application is set in operating system platform, it is characterised in that described device obtains including first Modulus block, matching module, the first setup module, the second acquisition module and the second setup module, wherein:
    First acquisition module, the property value of the background colour for obtaining the operating system platform for running the application;
    The matching module, for when meeting to set the preparatory condition of application skins based upon bidding, by the property value of the background colour with it is pre- Fixed skin scheme is matched;The skin scheme includes the picture of one group of RGB color value and/or specific format;
    First setup module, the skin scheme for the property value with the background colour to be matched are arranged to the application Skin;
    Second acquisition module, the property value of the theme color for obtaining the operating system platform for running the application;
    Second setup module, for meet set application skins based upon bidding preparatory condition when, according to the attribute of the theme color Value sets the color in application function region.
  7. 7. device according to claim 6, it is characterised in that first acquisition module includes monitoring submodule and acquisition Submodule, wherein:
    The monitoring submodule, for monitoring when start the application in operating system platform;
    The acquisition submodule, the operation system of the application is run for being obtained when starting the application in operating system platform The property value of the background colour of system platform.
  8. 8. device according to claim 7, it is characterised in that the operating system platform is Windows Phone systems Platform, first acquisition module also include triggering submodule, wherein:
    The triggering submodule, monitor to start the application in Windows Phone system platforms for monitoring submodule When trigger page load events;
    The acquisition submodule, provided specifically for the current application when carrying out page loading by Windows Phone systems Source obtains the property value of the background colour of Windows Phone system platforms.
  9. 9. device according to claim 8, it is characterised in that the acquisition submodule passes through Windows Phone systems The api function of current application resource obtains the property value of background brush attribute.
  10. 10. the device according to any one of claim 6 to 9, it is characterised in that described that the default of application skins based upon bidding is set Condition can be included in start in operating system platform it is described application, receive change application skins based upon bidding message, using startup after Reach scheduled time threshold values or according to the condition for setting the configuration file of application skins based upon bidding to determine.
  11. 11. a kind of terminal device, it is characterised in that operating system is provided with the terminal device, the terminal device includes The device of the skin that application is set in operating system platform any one of claim 6 to 10.
CN201510126141.2A 2015-03-20 2015-03-20 A kind of method, apparatus and equipment of the skin that application is set in operating system platform Active CN104679390B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510126141.2A CN104679390B (en) 2015-03-20 2015-03-20 A kind of method, apparatus and equipment of the skin that application is set in operating system platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510126141.2A CN104679390B (en) 2015-03-20 2015-03-20 A kind of method, apparatus and equipment of the skin that application is set in operating system platform

Publications (2)

Publication Number Publication Date
CN104679390A CN104679390A (en) 2015-06-03
CN104679390B true CN104679390B (en) 2018-01-02

Family

ID=53314539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510126141.2A Active CN104679390B (en) 2015-03-20 2015-03-20 A kind of method, apparatus and equipment of the skin that application is set in operating system platform

Country Status (1)

Country Link
CN (1) CN104679390B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117226A (en) * 2015-08-24 2015-12-02 江西好帮手电子科技有限公司 Android system HMI based user-defined icon realization method and system
CN105528429B (en) * 2015-12-09 2019-02-12 小米科技有限责任公司 Apply Names setting method, device and terminal device
CN109101309B (en) * 2018-08-06 2021-10-01 北京百度网讯科技有限公司 Method and apparatus for updating user interface
CN112099702A (en) * 2020-09-01 2020-12-18 维沃移动通信有限公司 Application running method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118496A (en) * 2007-09-06 2008-02-06 成都金山互动娱乐科技有限公司 Process for keeping consistent software skin with able-board topics under windows platform
CN102508666A (en) * 2011-11-11 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Method and device for adjusting application prompt message in application program
CN102662643A (en) * 2012-02-28 2012-09-12 浪潮电子信息产业股份有限公司 Method for replacing software skin based on Linux platform

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6791581B2 (en) * 2001-01-31 2004-09-14 Microsoft Corporation Methods and systems for synchronizing skin properties

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118496A (en) * 2007-09-06 2008-02-06 成都金山互动娱乐科技有限公司 Process for keeping consistent software skin with able-board topics under windows platform
CN102508666A (en) * 2011-11-11 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Method and device for adjusting application prompt message in application program
CN102662643A (en) * 2012-02-28 2012-09-12 浪潮电子信息产业股份有限公司 Method for replacing software skin based on Linux platform

Also Published As

Publication number Publication date
CN104679390A (en) 2015-06-03

Similar Documents

Publication Publication Date Title
CN106484396B (en) Night mode switching method and device and terminal equipment
CN104679390B (en) A kind of method, apparatus and equipment of the skin that application is set in operating system platform
CN106936995B (en) A kind of control method, device and the mobile terminal of mobile terminal frame per second
KR20100078139A (en) Method and apparatus for producing widget in portable terminal
EP3842941A1 (en) A sidebar interaction method, device, and computer-readable storage medium
CN111756995A (en) Image processing method and device
CN106412313A (en) Method and system for automatically adjusting screen display parameters, and intelligent terminal
CN111857511B (en) Wallpaper display control method and device and electronic equipment
CN109614173B (en) Skin changing method and device
CN111580768A (en) Control method and device
CN109543167A (en) Input method, device and the computer readable storage medium of poster information
CN104123097A (en) Control application execution method and device
CN107679419B (en) Screen capturing method and device
CN112099702A (en) Application running method and device and electronic equipment
CN112243065B (en) Video recording method and device
CN111813305A (en) Application program starting method and device
CN112312021B (en) Shooting parameter adjusting method and device
CN106980481B (en) Image display method and equipment
CN112286616A (en) Dynamic wallpaper setting method and device and electronic equipment
CN103067464A (en) Method and system for intelligent terminal to remotely control computer
CN114840194A (en) Code and operating system generation method and device, server and electronic equipment
CN114327714A (en) Application program control method, device, equipment and medium
CN114339410A (en) Frame insertion method and device and electronic equipment
CN109725966B (en) Mode conversion method, device, terminal equipment and storage medium
CN113806000A (en) Display 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
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20161024

Address after: Hangzhou City, Zhejiang province Zhejiang District 310052 e-businessmen Road No. 599 building 601 room 4

Applicant after: Hangzhou NetEase cloud Music Technology Co., Ltd.

Address before: Hangzhou City, Zhejiang province Binjiang District 310052 River Street Network Road No. 599 building 4 layer 7

Applicant before: NetEase (Hangzhou) Network Co., Ltd.

GR01 Patent grant
GR01 Patent grant