CN101582860B - Method for replacing user interface skins of different communication equipment - Google Patents

Method for replacing user interface skins of different communication equipment Download PDF

Info

Publication number
CN101582860B
CN101582860B CN200910108085A CN200910108085A CN101582860B CN 101582860 B CN101582860 B CN 101582860B CN 200910108085 A CN200910108085 A CN 200910108085A CN 200910108085 A CN200910108085 A CN 200910108085A CN 101582860 B CN101582860 B CN 101582860B
Authority
CN
China
Prior art keywords
skin
file
response
skin file
initiation
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
CN200910108085A
Other languages
Chinese (zh)
Other versions
CN101582860A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910108085A priority Critical patent/CN101582860B/en
Publication of CN101582860A publication Critical patent/CN101582860A/en
Application granted granted Critical
Publication of CN101582860B publication Critical patent/CN101582860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method for replacing user interface skins of different communication equipment, comprising the following steps: a launching side launches a skin replacement request to a network side and a response side and searches the skin file applicable to the launching side and the response side; and the launching side and the response side replace the skin by using the searched sameskin file. The method unifies the user interface skin files of the launching side and the response side and realizes the consistence of the user interfaces of the launching side and the response side on style, color and interface structure.

Description

The replacing method of the user interface skins of different communication equipment
Technical field
The present invention relates to communication field, relate in particular to a kind of user interface (User Interface, UI) replacing method of skin of different communication equipment.
Background technology
Along with the development of information technology, various electronic equipments with data-handling capacity, universal day by day like desktop computer, notebook computer, portable terminal etc., bring very big facility for people's study, work and life.Portable terminal such as mobile phone by means of the related software that in its system, moves, make its function powerful more, greatly satisfy user's demand.
At present, various skin (Skin) designing technique occurs, be used to modify and beautify the skin of cell phone software, improved user's experience of software product greatly.Fact proved that the variation of the UI skin of mobile phone can improve the acceptance of user to product.Usually, the method for changing mobile phone UI skin is: at first, mobile phone is set up with network side and is linked.Secondly, use resource file to generate the UI file.Then, the UI file is downloaded on the mobile phone.
Personal computer (Personal Computer, PC) the skin technology of changing of software adopts two kinds of principles usually: a kind of source code that is to use, with the original window class of inheriting of window class replacement, SubClassing in other words generally is used for being directed against specially the program of an exploitation; Another kind provides an executable program, and the function and the message at the drafting interface of Hook system generally are used for the system-level skin that changes.
But, no matter be the skin of changing cell phone software, still change the skin of PC software, all be the technology that adopts separately, need use two kinds of technology at least, realize the replacing of skin.And, even change skin success, style disunity, icon disunity, button disunity or the like problem the two the color disunity of UI of cell phone software and PC software also can appear.
Summary of the invention
Technical problem to be solved by this invention is after the UI of portable terminal and PC changes skin, and the inconsistent problem in UI interface of the two has proposed a kind of replacing method of UI skin of the different communication equipment that addresses this problem.
The replacing method of the UI skin of different communication equipment of the present invention may further comprise the steps:
Initiation side direction network side, response side are initiated to change the skin request, search the skin file that is applicable to said initiation side and response side;
Said initiation side and response side use the same a skin file that finds to change skin.
Further, in said method, said initiation side and response side use the same a skin file that finds to change before the skin, also comprise:
Find saidly with a skin file at said network side, said initiation side is downloaded this skin file from said network side, and this skin file is sent to said response side.
Further, in said method, method according to claim 1 is characterized in that, said initiation side and response side use the same a skin file that finds to change before the skin, also comprise:
Find saidly with a skin file in said response side, said initiation side is downloaded this skin file from said response side.
Further, in said method, said initiation side and response side use the same a skin file that finds to change before the skin, also comprise:
Find saidly with a skin file in said initiation side, said initiation side sends to said response side with this skin file.
Further, in said method, the download of this skin file, the mode of transmission comprise: wired mode or wireless mode.
Further, in said method, said initiation side and response side use the same a skin file that finds to change before the skin, also comprise:
Said initiation side and response side are passed through resolver separately respectively, resolve with a skin file said, change skin for said initiation side and response side.
Further, in said method, said initiation side and response side use the same a skin file that finds to change before the skin, also comprise:
Preserve said initiation side and the original skin file of response side,, launch original skin file for when changing the skin failure.
Further, in said method, the said skin file that is applicable to said initiation side and response side refers to:
The skin file that the user interface formats description document that is provided with according to said initiation side and response side is formulated.
Further, in said method, said user interface formats description document adopts cross-platform language format.
Further, in said method, said initiation side is a portable terminal, and said response side is a personal computer, and perhaps, said initiation side is a personal computer, and said response side is a portable terminal.
Compared with prior art; Adopt the replacing method of the UI skin of different communication equipment of the present invention; The UI skin file of initiating side and response side is united; It is consistent in style, color, interface architecture realize to initiate side UI and response side UI, solves at present that the inconsistent problem of the two UI appears in replacing initiation side UI and response side UI separately.And; Adopt UI format description paper formulation skin file; Solved the UI form incompatibility problem that cross-platform upgrading brought, given after sale, user and operator provide professional more flexibly and changed and upgrading, reduced software and changed upgrade cost; Improve the operation ability of operator, reduced operating cost of operator.
Description of drawings
Fig. 1 is the replacing method flow sketch map of the UI skin of different communication equipment of the present invention;
Fig. 2 is the replacing method step S3 idiographic flow sketch map of the UI skin of different communication equipment of the present invention.
Embodiment
Describe below in conjunction with the replacing method of accompanying drawing the UI skin of different communication equipment of the present invention.
See also Fig. 1, it is the replacing method flow sketch map of the UI skin of different communication equipment of the present invention.
The replacing method of the UI skin of different communication equipment of the present invention may further comprise the steps:
Step S1, initiation side direction network side, response side are initiated to change the skin request, search the skin file that is applicable to said initiation side and response side;
In above-mentioned steps S1, this initiation side is a portable terminal, and response side is PC, and perhaps, this initiation side is PC, and response side is a portable terminal.Be applicable to the skin file of said initiation side and response side; Refer to skin file according to the UI format description paper formulation of initiating the setting of side and response side; And UI format description file adopts cross-platform language format; This cross-platform language comprises extend markup language, and (Extensible Markup Language is XML) with the PYTHON language.
If UI format description file adopts the XML form, then utilize tree, defined node and the leaf of XML.Wherein, node comprises nodal community and value etc., and nodal community comprises information such as portable terminal model or the pairing portable terminal model of PC software, interface element, interface element position, interface element size.Leaf refers to that present node does not have child node.
Format characteristic according to XML can be known; XML is a tree, and XML document is made up of node and leaf, therefore when the skin stencil design, can be divided into basic element and complex element; When in editing process, adding back(ing) board; Node sequence can be reset according to current position dynamic, and the UI element can be arranged by the user again, generates new XML framework.
According to UI format description paper formulation skin file,, need parse all interface elements are disposable, so skin file adopts the DOM standard, also can adopt other standards because what change is UI skin.Skin file comprises skin picture and skin configuration file.Wherein, skin picture can be a static images, also can be dynamic picture.If during dynamic picture, to the loading of dynamic picture clock to be set, be used for regular check dynamic picture frame and play and whether finish, if, play again, otherwise, continue to play.The skin configuration file is used for the description to skin picture, comprises layout that the acquiescence coordinate, size, element of various elements in interface element, attribute, the picture show etc.Interface element be provided with the control that might use, like panel, forms, button, main menu, toolbar, status bar, common dialog box, ejection dialog box, Shipping Options Page etc.Attribute comprises parameters such as color, font, background, outward appearance, and to location, the modification of parameter.
Step S2, said initiation side and response side use the same a skin file that finds to change skin.
In above-mentioned steps S2, saidly side, response side or network side possibly initiated with a skin file.
If this skin file at network side, so, is initiated side and downloaded this skin file from network side, this skin file is sent to said response side.
If this skin file in response side, so, is initiated side and is downloaded this skin file from response side.
If this skin file is being initiated side, initiate side this skin file is sent to said response side.
In addition, the mode of the download of this skin file, transmission comprises: wired mode or wireless mode.Wherein, wired mode is to adopt special-purpose connecting line, will initiate side and link to each other with the response side machine.The initiation side initiatively sends the diag order through the Communication Layer interface or AT orders to response side, and response side reads and accept instruction, fill order.Wireless mode can adopt bluetooth, infrared, modes such as Wi-Fi.
Be portable terminal to initiate side below, response side is that PC is an example, specifically sets forth the replacing method of the UI skin of different communication equipment of the present invention, is PC and initiate side, and response side is that portable terminal is then similar with it.
See also Fig. 2, it is the replacing method flow sketch map of the UI skin of different communication equipment of the present invention.
Step S31, portable terminal initiate to change the skin request through Receiver Module;
Step S32, judge whether portable terminal and network side connect, if, execution in step S33, otherwise, execution in step S40;
Step S33, judge whether network side has skin file, if, execution in step S34, otherwise, execution in step S35;
Step S34, this skin file is downloaded to portable terminal, again execution in step S36;
Step S35, the local skin file of search portable terminal;
Step S36, user's preview skin, and judge whether to change skin, if, execution in step S37, otherwise, execution in step S40;
Step S37, portable terminal send information through wired or wireless mode to PC, and wherein, wired mode comprises special-purpose connecting line, and portable terminal is linked to each other with PC, and wireless mode comprises bluetooth, infrared, the Wi-Fi mode.This information is used to inquire whether PC has portable terminal need change the skin file of skin, if, execution in step S39, otherwise, execution in step S38;
Step S38, portable terminal transmit this skin file to PC;
Step S39, portable terminal and PC load this skin file respectively, change skin;
The skin operation is changed in step S40, cancellation.
In above-mentioned steps S39, before changing skin,, judge whether skin file receives to finish through the file header and the end-of-file of skin file.If, skin file is stored in the file of portable terminal UI module storing path or in the file in PC software UI module stores path, otherwise, continue to receive until finishing, and continue to receive from data downloaded stream.In addition, before changing skin, also to write down and preserve current operation, preserve the acquiescence skin file of original use,, launch original skin file for when changing the skin failure.。
When the skin file reception finished, according to UI format description file, portable terminal and PC software were through the XML resolver, and like Sun Proiect X, Microsoft MSXML etc. reads skin file, from skin file, extracts data.Because skin file adopts the DOM standard, when handling skin file, in internal memory, create dom tree; Generate each the Node object on the dom tree, the XML structure tree is traveled through, all properties and the nodal value of traversal XML tree through the traversal search algorithm; Thereby accomplish deciphering to static images and dynamic picture, and the layout at UI interface, the original UI skin of portable terminal and PC replaced again; When changing the skin success, return success information, and preserve the information that this changes skin; If unsuccessful, when opening portable terminal or PC once more, the prompting user changes the skin operation.In addition, in order to improve the skin speed of changing, can define a structure in advance, be used to obtain all interface elements of skin configuration file, when resolving skin file, disposable completion is to the parsing of all control element.
Compared with prior art; Adopt the replacing method of the UI skin of different communication equipment of the present invention; The UI skin file of initiating side and response side is united; It is consistent in style, color, interface architecture realize to initiate side UI and response side UI, solves at present that the inconsistent problem of the two UI appears in replacing initiation side UI and response side UI separately.And; Adopt UI format description paper formulation skin file; Solved the UI form incompatibility problem that cross-platform upgrading brought, given after sale, user and operator provide professional more flexibly and changed and upgrading, reduced software and changed upgrade cost; Improve the operation ability of operator, reduced operating cost of operator.
More than be merely preferred case study on implementation of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. the replacing method of the user interface skins of a different communication equipment is characterized in that, may further comprise the steps:
Initiation side direction network side, response side are initiated to change the skin request, search with a skin file; Said with a skin file, refer to: the skin file that the user interface formats description document that is provided with according to said initiation side and response side is formulated;
If skin file at network side, so, is initiated side and downloaded this skin file from network side, this skin file is sent to said response side;
If skin file in response side, so, is initiated side and is downloaded this skin file from response side;
If skin file is being initiated side, initiate side this skin file is sent to said response side;
Said initiation side and response side use the same a skin file that finds to change skin.
2. the method for stating according to claim 1 is characterized in that, the download of this skin file, the mode of transmission comprise: wired mode or wireless mode.
3. method according to claim 1 is characterized in that, said initiation side and response side use the same a skin file that finds to change before the skin, also comprise:
Said initiation side and response side are passed through resolver separately respectively, resolve with a skin file said, change skin for said initiation side and response side.
4. method according to claim 1 is characterized in that, said initiation side and response side use the same a skin file that finds to change before the skin, also comprise:
Preserve said initiation side and the original skin file of response side,, launch original skin file for when changing the skin failure.
5. method according to claim 1 is characterized in that, said user interface formats description document adopts cross-platform language format.
6. according to claim 1 or 4 described methods, it is characterized in that said initiation side is a portable terminal, said response side is a personal computer, and perhaps, said initiation side is a personal computer, and said response side is a portable terminal.
CN200910108085A 2009-06-16 2009-06-16 Method for replacing user interface skins of different communication equipment Active CN101582860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910108085A CN101582860B (en) 2009-06-16 2009-06-16 Method for replacing user interface skins of different communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910108085A CN101582860B (en) 2009-06-16 2009-06-16 Method for replacing user interface skins of different communication equipment

Publications (2)

Publication Number Publication Date
CN101582860A CN101582860A (en) 2009-11-18
CN101582860B true CN101582860B (en) 2012-10-10

Family

ID=41364826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910108085A Active CN101582860B (en) 2009-06-16 2009-06-16 Method for replacing user interface skins of different communication equipment

Country Status (1)

Country Link
CN (1) CN101582860B (en)

Families Citing this family (12)

* 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
CN102135872B (en) * 2010-01-22 2016-06-15 腾讯科技(深圳)有限公司 A kind of method and device configuring image at logging zone
CN102163197B (en) * 2010-02-24 2016-09-14 腾讯科技(深圳)有限公司 A kind of skin change method, system and device
CN102214107B (en) * 2010-04-12 2015-02-18 腾讯科技(深圳)有限公司 Method and device for changing Flash skin and color in client program
CN101866287A (en) * 2010-06-09 2010-10-20 中兴通讯股份有限公司 Widget system appearance setting method and device
CN103823676B (en) * 2014-02-14 2018-01-30 珠海市君天电子科技有限公司 display control method, device and client
CN104063434A (en) * 2014-06-11 2014-09-24 百度在线网络技术(北京)有限公司 Method and device for displaying search result page
CN104156240B (en) * 2014-07-29 2018-04-10 北京奇虎科技有限公司 Skin template replacing method, device, client and the electronic equipment of client
CN109451325A (en) * 2018-10-19 2019-03-08 网易(杭州)网络有限公司 Skin change method, device, storage medium and the electronic device of platform is broadcast live
CN110134477B (en) * 2019-04-24 2021-07-20 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for dynamically laying out user pages
CN111435313A (en) * 2019-12-09 2020-07-21 杭州海康威视数字技术股份有限公司 Method and device for changing skin of software
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
CN1892639A (en) * 2005-03-10 2007-01-10 飞力凯网路股份有限公司 Theme change system, portable communication device,server apparatus and computer program
US7480868B2 (en) * 2001-01-31 2009-01-20 Microsoft Corporation Methods and systems for creating skins
CN101414258A (en) * 2008-12-03 2009-04-22 腾讯科技(深圳)有限公司 Method and apparatus for changing color of skin picture

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7480868B2 (en) * 2001-01-31 2009-01-20 Microsoft Corporation Methods and systems for creating skins
CN1892639A (en) * 2005-03-10 2007-01-10 飞力凯网路股份有限公司 Theme change system, portable communication device,server apparatus and computer program
CN101414258A (en) * 2008-12-03 2009-04-22 腾讯科技(深圳)有限公司 Method and apparatus for changing color of skin picture

Also Published As

Publication number Publication date
CN101582860A (en) 2009-11-18

Similar Documents

Publication Publication Date Title
CN101582860B (en) Method for replacing user interface skins of different communication equipment
CN106294816B (en) Page information processing method and device
US10356181B2 (en) Information processing system, information processing method and computer program product
CN109729072B (en) Communication protocol information processing method and device and electronic equipment
CN103324471B (en) Dynamic modification application starts figure calibration method, the sending method of message, terminal
CN103345410B (en) The mobile customized interface implementing method of operation business and system
US8254895B2 (en) Methods and apparatus for generating mobile internet pages for viewing by mobile communication devices
CN101129061A (en) System, method and computer program product for establishing a conference session and synchronously rendering content during the same
WO2008141434A1 (en) Method and system for transcoding web pages by limiting selection through direction
CN102469114B (en) Open mobile terminal widget application platform, realization method thereof and server
CN103412748B (en) Display control method, the apparatus and system of the user interface of embedded platform
CN108024136A (en) Load method, smart television and the computer-readable recording medium of user interface
CN104583931A (en) Semantic printing options
CN112882772B (en) Configuration method of application interface of mobile terminal, mobile terminal and storage medium
US20160103568A1 (en) E-menu service method using web editor and system therefor
US11349902B2 (en) System and method to standardize and improve implementation efficiency of user interface content
CN108023918A (en) A kind of information on services acquisition methods, apparatus and system
CN106355219A (en) Material label barcode updating method, device, PDA and warehouse management system
KR101086620B1 (en) Smart office system and server for managing the sames and method for managing the sames
CN105988814B (en) Interface generation method and device
JP4945169B2 (en) Mobile communication terminal and communication server
JP2017027182A (en) Printer setting state update system
CN107291460A (en) Television terminal and compiler server code control method and storage medium
JP5739968B2 (en) Multi-character set character code input method, multi-character set character code input system, and apparatus for executing multi-character set character code input program
CN107368557B (en) Page editing method and device

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