CN103942045A - User interface written message replacing method and device - Google Patents

User interface written message replacing method and device Download PDF

Info

Publication number
CN103942045A
CN103942045A CN201410109359.2A CN201410109359A CN103942045A CN 103942045 A CN103942045 A CN 103942045A CN 201410109359 A CN201410109359 A CN 201410109359A CN 103942045 A CN103942045 A CN 103942045A
Authority
CN
China
Prior art keywords
word
word message
interface
instruction
languages
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.)
Pending
Application number
CN201410109359.2A
Other languages
Chinese (zh)
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.)
Qingdao Haier Air Conditioner Gen Corp Ltd
Haier Group Corp
Original Assignee
Qingdao Haier Air Conditioner Gen Corp Ltd
Haier Group 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 Qingdao Haier Air Conditioner Gen Corp Ltd, Haier Group Corp filed Critical Qingdao Haier Air Conditioner Gen Corp Ltd
Priority to CN201410109359.2A priority Critical patent/CN103942045A/en
Publication of CN103942045A publication Critical patent/CN103942045A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a UI written message replacing method and device. The method includes the steps of generating an independent character control for character elements of a UI, positioning a written message of the current UI after receiving a written message replacing instruction, calling a new written message indicated by the written message replacing instruction through the character control, and replacing or covering an original written message with the new written message. By means of the UI written message replacing method and device, the written message of the UI can be flexibly replaced, storage space occupied by the UI is greatly narrowed, and resources are saved.

Description

The Word message replacing method of application interface and device
Technical field
The present invention relates to terminal applies field, particularly relate to a kind of Word message replacing method and device of application interface.
Background technology
Along with scientific and technological development, intelligent terminal (for example smart mobile phone) is very universal, the APP(Application on smart mobile phone, application program) application such as software is also more and more extensive.It is visual that smart mobile phone is realized giant-screen, the UI(User Interface of its application, user interface) interface is increasing to user's attractive force, and same scene may have multiple different UI interfaces.
Consider that terminal may be in different countries, the different use such as scene, different time, how to allow smart mobile phone APP software according to carrying out adaptation with use scenes, not yet have at present solution.
The UI interface of APP software is divided into picture and two parts of word conventionally, and the picture at traditional method UI interface and word are all one, and the situations such as different language or different personages just need to have different UI interfaces.Therefore, for a minimum APP, only for mating different language, just may in resources bank, store tens even hundreds of open surface chart, while demonstration for APP, call.
But the memory capacity of intelligent terminal itself is limited, if a large amount of APP are installed simultaneously, be only the storage at UI interface many resources that will account for, affect the fluency of installation or the system operation of other APP.
Summary of the invention
In view of the above problems, one object of the present invention aims to provide a kind of generation method and corresponding device of the application UI interface that overcomes the problems referred to above or address the above problem at least in part.
On the one hand, the invention provides the Word message replacing method at a kind of UI interface, comprising:
For the text element at UI interface generates independently word control;
Receive Word message and change after instruction, locate the Word message at current UI interface;
Call described Word message by described word control and change the indicated new Word message of instruction; And
Utilize described new Word message to replace or cover inherited literal information.
Alternatively, described Word message change comprise following one of at least:
Word languages are changed;
Explanatory note is replaced.
Alternatively, described explanatory note replace comprise following one of at least:
Background is the replacement of identical synoptic time explanation;
Background is the replacement of personage's explanation of same placard figure;
Background is the ratio explanation of same building schematic diagram.
Alternatively, described word languages are changed and are comprised:
Text elements all in described UI interface is all replaced by described Word message and changes the indicated new languages of instruction; Or
Be replaced by new languages by changing segment word element corresponding to instruction with described Word message in described UI interface.
On the other hand, the present invention also provides the more changing device of Word message at a kind of UI of application interface, comprising:
Control arranges module, is used to the text element at UI interface to generate independently word control;
Locating module, changes after instruction for receiving Word message, locates the Word message at current UI interface;
Change module, change the indicated new Word message of instruction for call described Word message by described word control; And, utilize described new Word message to replace or cover inherited literal information.
Alternatively, described Word message change comprise following one of at least:
Word languages are changed;
Explanatory note is replaced.
Alternatively, described replacing module also for:
Background is the replacement of identical synoptic time explanation;
Background is the replacement of personage's explanation of same placard figure;
Background is the ratio explanation of same building schematic diagram.
Alternatively, described replacing module also for:
Text elements all in described UI interface is all replaced by described Word message and changes the indicated new languages of instruction; Or
Be replaced by new languages by changing segment word element corresponding to instruction with described Word message in described UI interface.
In embodiments of the present invention, the text element at UI interface possesses independently word control, is not by picture and the processing of word one.Therefore, when receiving after Word message replacing instruction, can directly utilize word control to process, call new Word message and replace or cover inherited literal information.In order to increase the cleaning at interface, in the process of changing at Word message, need the accurately Word message at current UI interface, location, carry out the replacing of Word message at location place, ensure integrality and the availability at the UI interface generating after changing.Text element does not need same prior art generally whole pictures all to be replaced after can utilizing word control to control separately when UI interface modification, for APP software package, greatly dwindled the shared storage space in UI interface, saving resource.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
According to the detailed description to the specific embodiment of the invention by reference to the accompanying drawings below, those skilled in the art will understand above-mentioned and other objects, advantage and feature of the present invention more.
Brief description of the drawings
Hereinafter describe specific embodiments more of the present invention in detail in exemplary and nonrestrictive mode with reference to the accompanying drawings, in accompanying drawing:
Fig. 1 shows the processing flow chart of the Word message replacing method at UI interface according to an embodiment of the invention;
Fig. 2 shows the schematic diagram that word languages are changed according to an embodiment of the invention; And
Fig. 3 shows the more changing device of Word message at UI interface according to an embodiment of the invention.
Embodiment
Fig. 1 shows the processing flow chart of the Word message replacing method at UI interface according to an embodiment of the invention.Referring to Fig. 1, the method at least comprises that step S102 is to step S108:
Step S102, generate independently word control for the text element at UI interface.
Step S104, reception Word message are changed after instruction, locate the Word message at current UI interface.
Step S106, change the indicated new Word message of instruction by word control calling word information.
Step S108, utilize new Word message to replace or cover inherited literal information.
In embodiments of the present invention, the text element at UI interface possesses independently word control, is not by picture and the processing of word one.Therefore, when receiving after Word message replacing instruction, can directly utilize word control to process, call new Word message and replace or cover inherited literal information.In order to increase the cleaning at interface, in the process of changing at Word message, need the accurately Word message at current UI interface, location, carry out the replacing of Word message at location place, ensure integrality and the availability at the UI interface generating after changing.Text element does not need same prior art generally whole pictures all to be replaced after can utilizing word control to control separately when UI interface modification, for APP software package, greatly dwindled the shared storage space in UI interface, saving resource.
Wherein, Word message is changed can be had multiplely according to the difference of Word message kind, and for example arrive the needed word languages of different countries and change, then the replacement of the explanatory note of for example UI in applying.Wherein, the replacing of word languages, can not be familiar with terminal user or unfamiliar word is replaced by its familiar languages, makes the wider of APP application.Fig. 2 shows the schematic diagram that word languages are changed according to an embodiment of the invention.In Fig. 2, word is carried out to Chinese and English switching.
Because there is many places Word message in UI interface, therefore, in the time carrying out the replacing of word languages, can select that text elements all in UI interface is all replaced by Word message according to user intention and change the indicated new languages of instruction, also can only select to be replaced by new languages by changing segment word element corresponding to instruction with Word message in UI interface according to user intention.
Can in APP, carry out the replacing of word languages, for intelligent terminal, greatly increase the wide in range property of intelligent terminal application.If the system language of intelligent terminal is not the setting language of APP, APP can matching system language, utilizes independently word control that the display language at UI interface is all revised as to system language, thereby has increased the applicability of APP, improves user's impression and experiences.
Mention above, Word message is changed the replacement that also comprises the explanatory note in UI application.Wherein, the application scenarios that explanatory note is replaced is more wide in range.For example, background is the replacement of identical synoptic time explanation, particularly, two Backgrounds that weather is identical, only time explanation is respectively the morning and descending, and calling word control is revised as " morning " in UI interface " afternoon ", does not need to change weather background.Again for example, background is the replacement of personage's explanation of same placard figure, while there is more than two personage on placard simultaneously, on former UI interface, show the first leading role's explanation, calling word control replaces with the first leading role's explanation the second leading role's explanation, generate new UI interface, Background is constant.Again for example, background is the ratio explanation of same building schematic diagram, value and the ratio of display width on former UI interface, and calling word control is revised as word value and the ratio of height, and Background is constant.
The Word message at the UI interface now with a specific embodiment, the embodiment of the present invention being provided is changed generation method and is described for the preferred effect of storage space.In the present embodiment, APP software has three surface charts, and every surface chart is 10 kilobyte (Kbyte, hereinafter to be referred as K), and therefore, only, for storing the surface chart at UI interface, this APP software needs 3*10=30K.First surface chart comprises Background and Chinese explanatory note, second surface chart comprises the Background identical with first surface chart and English explanatory note, and the 3rd surface chart comprises the Background identical with first, second surface chart and the explanatory note of French.Suppose in a UI interface, Background uses 8K, and explanatory note uses 2K.
And after the employing embodiment of the present invention, in the data bank of APP software, only need to store the explanation of Background language different with three kinds, in the time that needs generate UI interface, Background remains unchanged, utilize word control independently to call the word of different languages, both are combined.Therefore, the interface drawing generating method at the UI interface of mentioning with respect to prior art, reduces the storage of two Backgrounds to I haven't seen you for ages.Now in the storage space of APP software about UI interface, should be 8+3*2=14K.
Can be found out by the present embodiment, adopt the embodiment of the present invention can greatly reduce the occupy ratio of UI interface to storage space in APP software, thereby saved storage resources.For terminal, a certain APP software resource requirement reduces, and terminal can be gone again other APP softwares are installed, and improves the utilization factor of limited resources.
Based on same inventive concept, the embodiment of the present invention also provides the more changing device of Word message at a kind of UI interface, for supporting above-mentioned any one preferred embodiment or its composition.Fig. 3 shows the more changing device of Word message at UI interface according to an embodiment of the invention.Referring to Fig. 3, this device at least comprises:
Control arranges module 310, is used to the text element at UI interface to generate independently word control.
Locating module 320, changes after instruction for receiving Word message, locates the Word message at current UI interface.
Replacing module 330, arranges module 310 with control respectively and locating module 320 is coupled, for change the indicated new Word message of instruction by word control calling word information; And, utilize new Word message to replace or cover inherited literal information.
In a preferred embodiment, Word message change comprise following one of at least:
Word languages are changed;
Explanatory note is replaced.
In a preferred embodiment, change module 330 also for:
Background is the replacement of identical synoptic time explanation;
Background is the replacement of personage's explanation of same placard figure;
Background is the ratio explanation of same building schematic diagram.
In a preferred embodiment, change module 330 also for:
Text elements all in UI interface is all replaced by Word message and changes the indicated new languages of instruction; Or
Be replaced by new languages by changing segment word element corresponding to instruction with Word message in UI interface.
The method and the device that adopt the embodiment of the present invention to provide, can reach following beneficial effect:
In embodiments of the present invention, the text element at UI interface possesses independently word control, is not by picture and the processing of word one.Therefore, when receiving after Word message replacing instruction, can directly utilize word control to process, call new Word message and replace or cover inherited literal information.In order to increase the cleaning at interface, in the process of changing at Word message, need the accurately Word message at current UI interface, location, carry out the replacing of Word message at location place, ensure integrality and the availability at the UI interface generating after changing.Text element does not need same prior art generally whole pictures all to be replaced after can utilizing word control to control separately when UI interface modification, for APP software package, greatly dwindled the shared storage space in UI interface, saving resource.
In addition, it should be noted that, it will be appreciated by those skilled in the art that and can the module in each embodiment equipment be changed and they are arranged in one or more equipment different from this embodiment; Module suitable in each embodiment or unit or assembly can be combined into a module or unit or assembly; And/or, module suitable in each embodiment or unit or assembly can be divided into multiple submodules or subelement or sub-component.All parts embodiment of the present invention can realize with hardware, or realizes with the software module of moving on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize the some or all functions according to the some or all parts in the device of the embodiment of the present invention.The present invention can also be embodied as part or all equipment or the device program (for example, computer program and computer program) for carrying out method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
So far, those skilled in the art will recognize that, illustrate and described of the present invention multiple exemplary embodiment although detailed herein, but, without departing from the spirit and scope of the present invention, still can directly determine or derive many other modification or the amendment that meet the principle of the invention according to content disclosed by the invention.Therefore, scope of the present invention should be understood and regard as and cover all these other modification or amendments.

Claims (8)

1. apply the Word message replacing method at UI interface for one kind, it is characterized in that, comprising:
For the text element at UI interface generates independently word control;
Receive Word message and change after instruction, locate the Word message at current UI interface;
Call described Word message by described word control and change the indicated new Word message of instruction; And
Utilize described new Word message to replace or cover inherited literal information.
2. method according to claim 1, is characterized in that, described Word message change comprise following one of at least:
Word languages are changed;
Explanatory note is replaced.
3. method according to claim 2, is characterized in that, described explanatory note replace comprise following one of at least:
Background is the replacement of identical synoptic time explanation;
Background is the replacement of personage's explanation of same placard figure;
Background is the ratio explanation of same building schematic diagram.
4. method according to claim 2, is characterized in that, described word languages are changed and comprised:
Text elements all in described UI interface is all replaced by described Word message and changes the indicated new languages of instruction; Or
Be replaced by new languages by changing segment word element corresponding to instruction with described Word message in described UI interface.
5. a more changing device of Word message of applying UI interface, is characterized in that, comprising:
Control arranges module, is used to the text element at UI interface to generate independently word control;
Locating module, changes after instruction for receiving Word message, locates the Word message at current UI interface;
Change module, change the indicated new Word message of instruction for call described Word message by described word control; And, utilize described new Word message to replace or cover inherited literal information.
6. device according to claim 5, is characterized in that, described Word message change comprise following one of at least:
Word languages are changed;
Explanatory note is replaced.
7. device according to claim 6, is characterized in that, described replacing module also for:
Background is the replacement of identical synoptic time explanation;
Background is the replacement of personage's explanation of same placard figure;
Background is the ratio explanation of same building schematic diagram.
8. device according to claim 6, is characterized in that, described replacing module also for:
Text elements all in described UI interface is all replaced by described Word message and changes the indicated new languages of instruction; Or
Be replaced by new languages by changing segment word element corresponding to instruction with described Word message in described UI interface.
CN201410109359.2A 2014-03-21 2014-03-21 User interface written message replacing method and device Pending CN103942045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410109359.2A CN103942045A (en) 2014-03-21 2014-03-21 User interface written message replacing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410109359.2A CN103942045A (en) 2014-03-21 2014-03-21 User interface written message replacing method and device

Publications (1)

Publication Number Publication Date
CN103942045A true CN103942045A (en) 2014-07-23

Family

ID=51189722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410109359.2A Pending CN103942045A (en) 2014-03-21 2014-03-21 User interface written message replacing method and device

Country Status (1)

Country Link
CN (1) CN103942045A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159534A (en) * 2015-08-28 2015-12-16 无锡天脉聚源传媒科技有限公司 Processing method and apparatus for graphic button
CN105893005A (en) * 2015-01-26 2016-08-24 惠州市德赛西威汽车电子股份有限公司 Method for realizing button prompt box in display screen

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1577263A (en) * 2003-06-26 2005-02-09 华为技术有限公司 Multilanguage-supporting user interface realizing method and apparatus thereof
CN101276272A (en) * 2007-03-28 2008-10-01 凌阳科技股份有限公司 System and method for supporting multi-language user interface
US20090112574A1 (en) * 2007-10-30 2009-04-30 Yu Zou Multi-language interfaces switch system and method therefor
CN103309647A (en) * 2012-03-08 2013-09-18 鸿富锦精密工业(深圳)有限公司 Application program multi-language support system and method
US20140081618A1 (en) * 2012-09-17 2014-03-20 Salesforce.Com, Inc. Designing a website to be displayed in multiple languages

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1577263A (en) * 2003-06-26 2005-02-09 华为技术有限公司 Multilanguage-supporting user interface realizing method and apparatus thereof
CN101276272A (en) * 2007-03-28 2008-10-01 凌阳科技股份有限公司 System and method for supporting multi-language user interface
US20090112574A1 (en) * 2007-10-30 2009-04-30 Yu Zou Multi-language interfaces switch system and method therefor
CN103309647A (en) * 2012-03-08 2013-09-18 鸿富锦精密工业(深圳)有限公司 Application program multi-language support system and method
US20140081618A1 (en) * 2012-09-17 2014-03-20 Salesforce.Com, Inc. Designing a website to be displayed in multiple languages

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893005A (en) * 2015-01-26 2016-08-24 惠州市德赛西威汽车电子股份有限公司 Method for realizing button prompt box in display screen
CN105893005B (en) * 2015-01-26 2019-04-30 惠州市德赛西威汽车电子股份有限公司 The implementation method of button prompts frame in a kind of display screen
CN105159534A (en) * 2015-08-28 2015-12-16 无锡天脉聚源传媒科技有限公司 Processing method and apparatus for graphic button

Similar Documents

Publication Publication Date Title
CN107957911B (en) Method and apparatus, the method and apparatus of module data processing of component call
CN102279884B (en) Data acquiring and displaying method, system and Web server based on Web pages
US20120159310A1 (en) Method for converting mobile web application into native application and apparatus using the same
CN110941784A (en) Page generation method and device
CN104951364A (en) Android platform based language switching method and system
CN104007991A (en) Method and device for adjusting application program interface layout
CN105335132B (en) Method, device and system for customizing application program function
CN106095437A (en) The implementation method of the layout type of user interface RTL from right to left and device
CN111796823A (en) Method and device for updating page and displaying page and page maintenance system
US20130036196A1 (en) Method and system for publishing template-based content
CN105700925A (en) APP interface implementation method and apparatus
CN101957756A (en) System and method for rapidly generating intelligent mobile terminal program
CN112651475B (en) Two-dimensional code display method, device, equipment and medium
CN103957240A (en) Weather system capable of shooting pictures in real time and conducting sharing and implementation method of weather system capable of shooting pictures in real time and conducting sharing
CN103064958A (en) Method for automatic recognition and analysis of browser and based on hyper text makeup language (HTML) 5 video label
Chang et al. A study on the design of low-code and no code platform for mobile application development
CN103793156A (en) Control method of application programs in mobile terminal system
US20240007701A1 (en) Continuing video playback when switching from a dynamic page to a non-dynamic page
CN111459501A (en) SVG-based Web configuration picture storage and display system, method and medium
CN105701165A (en) Browser mode switching method and switching device
CN110895481A (en) Rendering method, device and system of desktop application
CN110262749B (en) Webpage operation method, device, container, equipment and medium
CN103942037A (en) Method and device for theme replacement of mobile device
CN103942045A (en) User interface written message replacing method and device
CN107562324B (en) Data display control method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140723