CN104778051B - IOS and the general skin change method of Android operation system and system - Google Patents

IOS and the general skin change method of Android operation system and system Download PDF

Info

Publication number
CN104778051B
CN104778051B CN201410014406.5A CN201410014406A CN104778051B CN 104778051 B CN104778051 B CN 104778051B CN 201410014406 A CN201410014406 A CN 201410014406A CN 104778051 B CN104778051 B CN 104778051B
Authority
CN
China
Prior art keywords
skin
table data
data bag
interface
client application
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
CN201410014406.5A
Other languages
Chinese (zh)
Other versions
CN104778051A (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 FAXIANJIAO TECHNOLOGY Co Ltd
Original Assignee
BEIJING FAXIANJIAO 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 BEIJING FAXIANJIAO TECHNOLOGY Co Ltd filed Critical BEIJING FAXIANJIAO TECHNOLOGY Co Ltd
Priority to CN201410014406.5A priority Critical patent/CN104778051B/en
Publication of CN104778051A publication Critical patent/CN104778051A/en
Application granted granted Critical
Publication of CN104778051B publication Critical patent/CN104778051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

The present invention, which provides a kind of iOS and the general skin change method of Android operation system and system, method, to be included:Server configures two kinds of skin table data bags, is respectively:The first skin table data bag of Android operation system is supported, and, the Second Skin table data bag of support iOS operating systems;When client application, which receives, changes skin request, the request message for downloading skin is sent to server;After the completion of download, the specified skin belonged in the skin table data bag that input interface is sent is received, then notifies each listener to change the interface element display type of former interface skin, is the specified skin by former interface skin replacement.With advantages below:Two kinds of device types of iOS and Android can be supported simultaneously, also, are a kind of dynamic skin change methods, can significantly improve the usage experience of people.

Description

IOS and the general skin change method of Android operation system and system
Technical field
The invention belongs to technical field of information processing, and in particular to a kind of iOS and Android operation system it is general change skin Method and system.
Background technology
Client application changing an interface skin, for example, QQ changing an interface skins or other players change skin, by increasing capacitance it is possible to increase people couple The usage experience of application program, is widely used by people.
But existing Application Program Interface skin change method, single equipment type is only supported, for example, only supporting Android behaviour Make system or only support Apple Macintosh operating system;In addition, existing skin change method, is static skin change method, therefore have necessarily Use limitation.
The content of the invention
The defects of existing for prior art, the present invention provide a kind of iOS and Android operation system it is general change skin side Method and system, two kinds of device types of iOS and Android can be supported simultaneously, also, be a kind of dynamic skin change method, Neng Gouxian Write the usage experience for improving people.
The technical solution adopted by the present invention is as follows:
The present invention provides a kind of iOS and the general skin change method of Android operation system, comprises the following steps:
S1, server configure two kinds of skin table data bags, are respectively:Support the first skin of Android operation system Table data bag, and, the Second Skin table data bag of support iOS operating systems;Wherein, the first skin table data Bag and the Second Skin table data bag are by some set skin compositions, and every suit skin is by several interface element groups Into;
After client application is activated, while start several monitorings corresponding with the client application Person;Wherein, each listener is used for an interface element for monitoring the client application interface;
S2, when the client application, which receives, changes skin request, the client application is to described Server sends the request message for downloading skin;
S3, the server judge the type of client application, if belonging to Android operation system classification, by institute State the first skin table data bag and be issued to the client;If belong to iOS operating system classifications, by the Second Skin Table data bag is issued to the client;
S4, after the client application downloads the skin table data bag that the completion server issues, receive defeated The specified skin belonged in the skin table data bag that incoming interface is sent, each listener is then notified to change former interface The interface element display type of skin, it is the specified skin by former interface skin replacement.
Preferably, in S1, in addition to:The described two skin table data bags of server dynamic updating maintenance.
Preferably, in S4, in addition to:During skin table data bag is downloaded, the client application area The download state of each skin is not shown.
Preferably, in S4, each listener is notified to change the interface element display type of former interface skin, by former interface Replacing skins are that the specified skin is specially:
Each listener is used to monitor specified interface element, and after the notification message for changing skin is received, reading refers to Determine given pattern and designated color that skin middle finger delimits surface element, then, former interface skin middle finger is delimited to the original of surface element Beginning pattern and primitive color replace with the given pattern and designated color.
The present invention provide a kind of iOS and Android operation system it is general change skin system, including client and server;
The server includes:
Dynamic Maintenance module, for two kinds of skin table data bags of dynamic updating maintenance, it is respectively:Support Android behaviour Make the first skin table data bag of system, and, the Second Skin table data bag of support iOS operating systems;Wherein, it is described First skin table data bag and the Second Skin table data bag form by some set skins, if every suit skin by Dry interface element composition;
The client includes:
Starting module, for starting client application, while start corresponding with the client application some Individual listener;Wherein, each listener is used for an interface element for monitoring the client application interface;
First receiving module, for receiving the replacing skin request from input interface;
Sending module, for when the receiving module receives the replacing skin request, being sent to the server Download the request message of skin;
Skin download module, the skin table data bag issued for downloading the server;
Second receiving module, for after the skin download module downloads the completion skin table data bag, receiving The selected request message to specifying skin from input interface;
Notification module, for after second receiving module receives the selected request message, notifying each prison Hearer changes the interface element display type of former interface skin, is the specified skin by former interface skin replacement.
Beneficial effects of the present invention are as follows:
(1)Two kinds of device types of iOS and Android can be supported simultaneously, and there is the advantages of applied widely;
(2)Server dynamic updating maintenance skin table data bag, alternative skin pattern of enriching constantly, can enter one Step enhancing Consumer's Experience.
(3)Any type of client application can be applied to, change the interface of any species or quantity in interface Element display mode, have and change the advantages of skin is flexible.
Brief description of the drawings
The skin change method schematic flow sheet that Fig. 1 is iOS provided by the invention and Android operation system is general;
Fig. 2 is iOS provided by the invention and what Android operation system was general changes skin system structure diagram.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in detail:
As shown in figure 1, the present invention provides a kind of iOS and the general skin change method of Android operation system, including following step Suddenly:
S1, two kinds of skin table data bags of server dynamic updating maintenance, it is respectively:Support Android operation system First skin table data bag, and, the Second Skin table data bag of support iOS operating systems;Wherein, the first skin list Packet and Second Skin table data bag form by some set skins, and every suit skin is by several interface element groups Into;It is emphasized that the present invention is to each set included in the first skin table data bag and Second Skin table data bag The size of skin, the interface element quantity included and skin sample do not limit specifically, therefore subsequently when carrying out changing skin, both Entirety can be carried out and change skin, wherein some interface element can also be only changed, so as to strengthen the flexibility that user uses.In addition, In this step, server dynamic updating maintenance skin table data bag, alternative skin pattern of enriching constantly can be further Strengthen Consumer's Experience.
After client application is activated, while start several monitorings corresponding with the client application Person;Wherein, each listener is used for an interface element for monitoring the client application interface.
Can be instant messaging program in addition, the present invention is also not intended to limit to the particular type of client application, example Such as:Wechat, QQ etc.;Can also be various audio and video players etc., it is all that there is the application program for running display interface, in the present invention Within protection domain.In addition, client application both includes the application program for running on Android operation system, or fortune Row is in the application program of iOS operating systems.
S2, when the client application, which receives, changes skin request, the client application is to described Server sends the request message for downloading skin;
In specific implementation, it can be set on the interface of client application and change skin menu, skin menu is changed by clicking on, Skin request is changed in triggering.
S3, the server judge the type of client application, if belonging to Android operation system classification, by institute State the first skin table data bag and be issued to the client;If belong to iOS operating system classifications, by the Second Skin Table data bag is issued to the client;
S4, after the client application downloads the skin table data bag that the completion server issues, receive defeated The specified skin belonged in the skin table data bag that incoming interface is sent, each listener is then notified to change former interface The interface element display type of skin, it is the specified skin by former interface skin replacement.In addition, to improve Consumer's Experience, During downloading skin table data bag, client application distinctly displays the download state of each skin.
In this step, changing skin process is specially:Each listener is used to monitor one or more specified interface Element, after the notification message for changing skin is received, read the given pattern for specifying skin middle finger to delimit surface element and specify Color, then, by former interface skin middle finger delimit surface element master pattern and primitive color replace with the given pattern and Designated color.In addition, changing skin speed for raising, in this step, disappear when client application receives the selected of specified skin After breath, it can first compare and specify skin and former interface skin, get the discrepant specific interface element of tool, then only notify It is responsible for monitoring the listener of the specific interface element, makes it carry out changing skin;And other listeners are then in idle condition, do not perform Change skin operation.
As shown in Fig. 2 the present invention also provide a kind of iOS and Android operation system it is general change skin system, including client End and server;
Server includes:
Dynamic Maintenance module, for two kinds of skin table data bags of dynamic updating maintenance, it is respectively:Support Android behaviour Make the first skin table data bag of system, and, the Second Skin table data bag of support iOS operating systems;Wherein, it is described First skin table data bag and the Second Skin table data bag form by some set skins, if every suit skin by Dry interface element composition;
Client includes:
Starting module, for starting client application, while start corresponding with the client application some Individual listener;Wherein, each listener is used for an interface element for monitoring the client application interface;
First receiving module, for receiving the replacing skin request from input interface;
Sending module, for when the receiving module receives the replacing skin request, being sent to the server Download the request message of skin;
Skin download module, the skin table data bag issued for downloading the server;
Second receiving module, for after the skin download module downloads the completion skin table data bag, receiving The selected request message to specifying skin from input interface;
Notification module, for after second receiving module receives the selected request message, notifying each prison Hearer changes the interface element display type of former interface skin, is the specified skin by former interface skin replacement.
In summary, iOS provided by the invention and the general skin change method of Android operation system and system, have with Lower advantage:
(1)Two kinds of device types of iOS and Android can be supported simultaneously, and there is the advantages of applied widely;
(2)Server dynamic updating maintenance skin table data bag, alternative skin pattern of enriching constantly, can enter one Step enhancing Consumer's Experience.
(3)Any type of client application can be applied to, change the interface of any species or quantity in interface Element display mode, have and change the advantages of skin is flexible.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should Depending on protection scope of the present invention.

Claims (5)

1. a kind of iOS and the general skin change method of Android operation system, it is characterised in that comprise the following steps:
S1, server configure two kinds of skin table data bags, are respectively:Support the first skin list of Android operation system Packet, and, the Second Skin table data bag of support iOS operating systems;Wherein, the first skin table data bag and The Second Skin table data bag forms by some set skin compositions, every suit skin by several interface elements;
After client application is activated, while start several listeners corresponding with the client application;Its In, each listener is used for an interface element for monitoring the client application interface;
S2, when the client application, which receives, changes skin request, the client application is to the service Device sends the request message for downloading skin;
S3, the server judge the type of client application, if belonging to Android operation system classification, by described One skin table data bag is issued to the client;If belonging to iOS operating system classifications, by the Second Skin list Packet is issued to the client;
S4, the client application, which is downloaded, completes the first skin table data bag or Second Skin that the server issues After table data bag, receive input interface transmission belongs to the first skin table data bag or Second Skin the table data bag In specified skin, then notify each listener to change the interface element display type of former interface skin, by former interface skin Skin is replaced by the specified skin.
2. iOS according to claim 1 and the general skin change method of Android operation system, it is characterised in that in S1, Also include:The described two skin table data bags of server dynamic updating maintenance.
3. iOS according to claim 1 and the general skin change method of Android operation system, it is characterised in that in S4, Also include:During skin table data bag is downloaded, the client application distinctly displays the download of each skin State.
4. iOS according to claim 1 and the general skin change method of Android operation system, it is characterised in that in S4, Notify each listener to change the interface element display type of former interface skin, be the specified skin by former interface skin replacement Skin is specially:
Each listener is used to monitor specified interface element, after the notification message for changing skin is received, reads and specifies skin Skin middle finger delimits the given pattern and designated color of surface element, then, former interface skin middle finger is delimited to the original graph of surface element Case and primitive color replace with the given pattern and designated color.
5. a kind of iOS and Android operation system it is general change skin system, it is characterised in that including client and server;
The server includes:
Dynamic Maintenance module, for two kinds of skin table data bags of dynamic updating maintenance, it is respectively:Support Android operations system First skin table data bag of system, and, the Second Skin table data bag of support iOS operating systems;Wherein, described first Skin table data bag and the Second Skin table data bag form by some set skins, and every suit skin is by several Interface element forms;
The client includes:
Starting module, for starting client application, while start several prisons corresponding with the client application Hearer;Wherein, each listener is used for an interface element for monitoring the client application interface;
First receiving module, for receiving the replacing skin request from input interface;
Sending module, for when the receiving module receives the replacing skin request, sending and downloading to the server The request message of skin;
Skin download module, for downloading the first skin table data bag or the Second Skin table data that the server issues Bag;
Second receiving module, the first skin table data bag or the second skin are completed for being downloaded when the skin download module After skin table data bag, the selected request message to specifying skin from input interface is received;
Notification module, for after second receiving module receives the selected request message, notifying each listener The interface element display type of former interface skin is changed, is the specified skin by former interface skin replacement.
CN201410014406.5A 2014-01-13 2014-01-13 IOS and the general skin change method of Android operation system and system Active CN104778051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410014406.5A CN104778051B (en) 2014-01-13 2014-01-13 IOS and the general skin change method of Android operation system and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410014406.5A CN104778051B (en) 2014-01-13 2014-01-13 IOS and the general skin change method of Android operation system and system

Publications (2)

Publication Number Publication Date
CN104778051A CN104778051A (en) 2015-07-15
CN104778051B true CN104778051B (en) 2017-11-14

Family

ID=53619537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410014406.5A Active CN104778051B (en) 2014-01-13 2014-01-13 IOS and the general skin change method of Android operation system and system

Country Status (1)

Country Link
CN (1) CN104778051B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389176B (en) * 2015-10-15 2019-04-16 中国民生银行股份有限公司 Skin processing method and device based on application
CN106855798A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 A kind of method to set up of interface element property value, device and smart machine
CN105630558B (en) * 2015-12-28 2019-04-26 联想(北京)有限公司 A kind of upgrade method and electronic equipment
CN106991018B (en) * 2017-04-18 2020-12-25 新华三技术有限公司 Interface skin changing method and device
CN108228293B (en) * 2017-12-29 2021-08-13 北京金山安全软件有限公司 Interface skin switching method and device
CN113467870B (en) * 2021-06-25 2023-10-03 宁波均联智行科技股份有限公司 APP same-screen display method and system based on dual systems
CN113485733A (en) * 2021-07-20 2021-10-08 宜宾中星技术智能系统有限公司 Interface skin updating system and method based on hybrid architecture

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129368A (en) * 2010-01-20 2011-07-20 腾讯科技(深圳)有限公司 Interface skin replacement system and method
CN103176810A (en) * 2011-12-26 2013-06-26 北京神州泰岳软件股份有限公司 Method and system for android operating system terminal skin changing
US8612933B1 (en) * 2011-06-24 2013-12-17 Amazon Technologies, Inc. Cross-platform mobile application development

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129368A (en) * 2010-01-20 2011-07-20 腾讯科技(深圳)有限公司 Interface skin replacement system and method
US8612933B1 (en) * 2011-06-24 2013-12-17 Amazon Technologies, Inc. Cross-platform mobile application development
CN103176810A (en) * 2011-12-26 2013-06-26 北京神州泰岳软件股份有限公司 Method and system for android operating system terminal skin changing

Also Published As

Publication number Publication date
CN104778051A (en) 2015-07-15

Similar Documents

Publication Publication Date Title
CN104778051B (en) IOS and the general skin change method of Android operation system and system
CN102929650A (en) Method and device for independently configuring application program running environment and mobile device
CN104883610B (en) Paster video broadcasting method and device
CN102957809B (en) Method for optimizing application programs on intelligent mobile phone
CN104049866B (en) The implementation method and device of a kind of mobile terminal and its split screen
CN104794045B (en) A kind of method and terminal of display reminding information
CN104965727B (en) A kind of method and device for restarting server
WO2015027800A1 (en) Method and device for displaying notification message
CN104243285B (en) A kind of method and server of message push
JP2005520265A5 (en)
CN108965109B (en) Instant messaging control method, device and storage medium
CN104702782B (en) A kind of message management method and its mobile terminal
CN105657563A (en) Commodity recommending system and method based on video contents
CN107846617A (en) A kind of interactive approach of intelligent terminal and intelligent television
CN108234143B (en) Method, device and equipment for processing messages in live broadcast
CN104391628A (en) Process switching method and device
CN106802791A (en) Unread message method of counting and device
CN106855795A (en) A kind of Proxy program operated between App and server software
CN106682014B (en) Game display data generation method and device
CN106603653A (en) News push method and device
CN106162231A (en) The method and device that a kind of net cast turning point is broadcast
CN103209398A (en) Grey list establishing method and system and short message sending method and system
CN105225136A (en) A kind of method of advertising display and device
CN104750553B (en) Using operation method and device
CN106161188B (en) Message sending method, message display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant