CN104750472A - Resource bundle management method and device of terminal application - Google Patents

Resource bundle management method and device of terminal application Download PDF

Info

Publication number
CN104750472A
CN104750472A CN201310753007.6A CN201310753007A CN104750472A CN 104750472 A CN104750472 A CN 104750472A CN 201310753007 A CN201310753007 A CN 201310753007A CN 104750472 A CN104750472 A CN 104750472A
Authority
CN
China
Prior art keywords
data
language
resource
key assignments
input interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310753007.6A
Other languages
Chinese (zh)
Other versions
CN104750472B (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 Feinno Communication Technology Co Ltd
Original Assignee
Beijing Feinno Communication 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 Feinno Communication Technology Co Ltd filed Critical Beijing Feinno Communication Technology Co Ltd
Priority to CN201310753007.6A priority Critical patent/CN104750472B/en
Publication of CN104750472A publication Critical patent/CN104750472A/en
Application granted granted Critical
Publication of CN104750472B publication Critical patent/CN104750472B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a resource bundle management method and device of a terminal application. The resource bundle management method includes providing a data input interface and acquiring resource data, corresponding to different operation systems and languages, of different terminal applications through the data input interface, and according to the corresponding terminal applications, operation systems and languages, storing the resource data in a database; providing an output command input interface, according to a received output command inputted through the output command input interface, searching resource data, applicable to the designated language of the designated operation system, of the designated terminal application in the database, and packaging the resource data searched out into the resource bundle for outputting; in this way, the resource bundles, corresponding to the different operation systems and languages, of the terminal applications are subjected to unified management, so that during application development, the resource bundles, corresponding to the different operation systems and language, are conveniently generated, application development efficiency is improved, and maintenance convenience is achieved.

Description

A kind of resource package management method of terminal applies and device
Technical field
The present invention relates to computer application development technical field, particularly a kind of resource package management method of terminal applies and device.
Background technology
Nowadays, along with popularizing of mobile terminal (as mobile phone, PAD etc.), need to go out application (APP) software for the rapid iterative development of various mobile-terminal platform (i.e. operating system).And in order to adapt to the demand of international development, also need the application software developing different language.
Therefore, when the application of a kind of mobile terminal developed by needs, all need language form as required (as Chinese, English etc.), the operating system (as Android, iOS etc.) that is suitable for develops corresponding language resource bag respectively, the cycle of application and development is longer, maintenance difficulties is higher, especially upgrade frequently in situation in application renewal, make the work load of developer heavier, waste time and energy.
Summary of the invention
In order to solve the problem at least in part, the invention provides a kind of resource package management method and device of terminal applies.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of resource package management method of terminal applies, it is characterized in that, described method comprises:
Data Input Interface is provided, obtains the corresponding different operating system of different terminals application and the resource data of different language from this Data Input Interface;
The described resource data obtained is carried out mark according to the terminal applies corresponding to it, operating system and language to be stored in database;
There is provided and derive instruction input interface, receive the derivation instruction of this derivation instruction input interface input; Wherein, derive instruction and specify the resource bag being applicable to the appointed language of assigned operation system will deriving designated terminal application;
According to described derivation instruction, from database, find out the resource data being applicable to the appointed language of assigned operation system of designated terminal application, and derive after the resource data found out is packaged into resource bag.
Alternatively, the method comprises further: the multiple export interfaces providing corresponding different operating system respectively, and the data format requirement of resource data according to the operating system of self correspondence can be derived by each export interface;
Described the resource data found out is packaged into resource bag after export and comprise: derive after the resource data found out being packaged into resource bag according to the data format requirement of described assigned operation system by the export interface that described assigned operation system is corresponding.
Alternatively, described in Data Input Interface is provided, obtain the corresponding different operating system of different terminals application from this Data Input Interface and the resource data of different language comprises:
Editor is provided input interface, the attribute information of key assignments data and these key assignments data is obtained from this editor's input interface, these key assignments data comprise key assignments and basic language data, and the attribute information of these key assignments data comprises terminal applies corresponding to these key assignments data, the operating system of support, language form;
Determine that the key assignments of these key assignments data uniquely exists;
There is provided multiple translation input interfaces of respectively corresponding different language, the language form corresponding according to these key assignments data, the basic language data translation obtaining these key assignments data from each translation input interface becomes the language data of corresponding language;
According to the attribute information of these key assignments data, described basic language data and the language data translating into corresponding language, generate the resource data of different operating system under terminal applies corresponding to these key assignments data and different language.
Alternatively, the method comprises further:
Administrator interface is provided, performs corresponding operation according to the instruction of administrator interface input, comprise one or more as follows:
The priority assignation of editor's input interface and translation input interface is set;
The increase of type of operating system and category of language and deletion;
By the data management page, the data in database are operated;
Batch execution data, completes the reusability of data.
Alternatively, describedly the resource data of acquisition is carried out mark according to the terminal applies corresponding to it, operating system and language be stored into database and comprise:
Resource data store in the form of a list in a database, wherein, the every a line in list stores a resource data, and this list at least comprises following each row:
The row of storage terminal application identities;
The row of resource data store key assignments;
Store multiple row of the resource data of corresponding different language respectively
Store the row of OS Type.
The invention also discloses a kind of resource bag management devices of terminal applies, this device comprises:
Data Input Interface, for obtaining corresponding different operating system and the resource data of different language of different terminals application;
Memory management unit, is suitable for that the described resource data obtained is carried out mark according to the terminal applies corresponding to it, operating system and language and is stored in database;
Database Unit, for preserving resource data;
Derive instruction input interface, receive the derivation instruction of input; Wherein, derive instruction and specify the resource bag being applicable to the appointed language of assigned operation system will deriving designated terminal application;
Resource bag export interface, according to described derivation instruction, finds out the resource data being applicable to the appointed language of assigned operation system of designated terminal application, and derives after the resource data found out is packaged into resource bag from database.
Alternatively, described resource bag export interface comprises the multiple sub-export interface of corresponding different operating system respectively;
Each export interface, derives after resource data is packaged into resource bag according to the data format requirement of the operating system of self correspondence.
Alternatively, Data Input Interface comprises: multiple translation input interfaces of editor's input interface and respectively corresponding different language;
Editor's input interface, for obtaining the attribute information of key assignments data and these key assignments data, these key assignments data comprise key assignments and basic language data, and the attribute information of these key assignments data comprises terminal applies corresponding to these key assignments data, the operating system of support, language form; Determine that the key assignments of these key assignments data uniquely exists;
Translation input interface, for the language form corresponding according to these key assignments data, the basic language data translation obtaining these key assignments data from each translation input interface becomes the language data of corresponding language; According to the attribute information of these key assignments data, described basic language data and the language data translating into corresponding language, generate the resource data of different operating system under terminal applies corresponding to these key assignments data and different language.
Alternatively, administrator interface, for performing corresponding operation according to the instruction of input, comprises one or more as follows:
The priority assignation of editor's input interface and translation input interface is set;
The increase of type of operating system and category of language and deletion;
By the data management page, the data in database are operated;
Batch execution data, completes the reusability of data.
Alternatively, described memory management unit, for resource data store in the form of a list in database storage unit, wherein, the every a line in list stores a resource data, and this list at least comprises following each row:
The row of storage terminal application identities;
The row of resource data store key assignments;
Store multiple row of the resource data of corresponding different language respectively;
Store the row of OS Type.
Of the present inventionly thisly provide Data Input Interface, the corresponding different operating system of different terminals application and the resource data of different language is obtained from this Data Input Interface, by the described resource data of acquisition according to the terminal applies corresponding to it, operating system and language carry out mark and are stored in database, there is provided and derive instruction input interface, receive the derivation instruction of this derivation instruction input interface input, according to described derivation instruction, the resource data being applicable to the appointed language of assigned operation system of designated terminal application is found out from database, and the technical scheme derived after the resource data found out is packaged into resource bag, unified management can be carried out to the resource bag of the corresponding different operating system of terminal applies and different language, thus when application and development, the resource bag of corresponding different operating system and different language can be generated easily, improve the efficiency of application and development, and be easy to safeguard.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the resource package management method of a kind of terminal applies in the embodiment of the present invention;
Fig. 2 is a schematic diagram at the data inputting interface of Data Input Interface in the embodiment of the present invention;
Fig. 3 is a schematic diagram of the user interface of derivation instruction input interface in the embodiment of the present invention;
Fig. 4 is the structural drawing of the resource bag management devices of a kind of terminal applies in the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Fig. 1 is the process flow diagram of the resource package management method of a kind of terminal applies in the embodiment of the present invention.As shown in Figure 1, the method comprises:
Step S110, provides Data Input Interface, obtains the corresponding different operating system of different terminals application and the resource data of different language from this Data Input Interface.
In this step, by user to the management platform logging data realizing this method, wherein, every typing resource data all needs to select the terminal applies of its correspondence, operating system and language.
Step S120, carries out mark by the described resource data obtained according to the terminal applies corresponding to it, operating system and language and is stored in database.
In this step, in order to avoid obscuring of resource data, need to identify the terminal applies of its correspondence, operating system and language when storing.
Step S130, provides and derives instruction input interface, receives the derivation instruction of this derivation instruction input interface input; Wherein, derive instruction and specify the resource bag being applicable to the appointed language of assigned operation system will deriving designated terminal application.
Particularly, the mark of designated terminal application, assigned operation system banner and appointed language mark is comprised in this derivation instruction.
Step S140, according to described derivation instruction, finds out the resource data being applicable to the appointed language of assigned operation system of designated terminal application, and derives after the resource data found out is packaged into resource bag from database.
By the method shown in Fig. 1, unified management can be carried out to the resource bag of the corresponding different operating system of terminal applies and different language, thus when application and development, the resource bag of corresponding different operating system and different language can be generated easily, improve the efficiency of application and development, and be easy to safeguard.
In one embodiment of the invention, described in step S110, provide Data Input Interface, comprise from the corresponding different operating system of this Data Input Interface acquisition different terminals application and the resource data of different language:
Editor is provided input interface, the attribute information of key assignments data and these key assignments data is obtained from this editor's input interface, these key assignments data comprise key assignments and basic language data, and the attribute information of these key assignments data comprises terminal applies corresponding to these key assignments data, the operating system of support, language form;
Determine that the key assignments of these key assignments data uniquely exists;
There is provided multiple translation input interfaces of respectively corresponding different language, the language form corresponding according to these key assignments data, the basic language data translation obtaining these key assignments data from each translation input interface becomes the language data of corresponding language;
According to the attribute information of these key assignments data, described basic language data and the language data translating into corresponding language, generate the resource data of different operating system under terminal applies corresponding to these key assignments data and different language.
The key assignments of each resource data that this key assignments data of final generation are corresponding and the terminal applies that is suitable for these key assignments data.Resource data key assignments under different operating system, different language is unified, and what make to utilize key assignments to call language data is applied in when changing language form, and only need change resource bag does not need change program.
Such as: the key assignments of these key assignments data is key1, counterpart terminal is applied as APP1, the basic language data of these key assignments data are " message ", the operating system that these key assignments data are supported comprises Android and IOS two kinds, corresponding language form is Chinese, English, then the corresponding resource data generated comprises: (key assignments is key1 to the Chinese resource data of android system, counterpart terminal is applied as APP1), (key assignments is key1 to the English resource data of android system, counterpart terminal is applied as APP1), (key assignments is key1 to the Chinese resource data of IOS system, counterpart terminal is applied as APP1), (key assignments is key1 to the English resource data of IOS system, counterpart terminal is applied as APP1).
When developer increases key assignments data, perform above-mentioned two steps.Above-mentioned two steps obtain a key assignments data instance with this editor's input interface, different operating system under making Data Input Interface get terminal applies corresponding to these key assignments data, the resource data of different language, further, obtained many key assignments data of different terminals application by editor's input interface, the resource data of the basic language of the corresponding different operating system of different terminals application can be obtained.
The operating system that above-mentioned key assignments data are supported, can need to select one or more according to exploitation, and language form also can carry out selecting one or more as required.
Preferably, this editor's input interface can also receive deletes certain key assignments data command, receive after deleting certain key assignments data command, delete all resource datas that these key assignments data are corresponding, in addition, this editor's input interface can also receive certain key assignments data modification and so on, revises the translation etc. under certain language corresponding to these key assignments data according to modify instruction.Therefore exploitation can according to application needs, such as, need when application upgrade upgrades to change resource data, by management platform in the present embodiment being carried out add, delete or revise key assignments data, thus the amendment realized resource data, reduce application and upgrade the workload of upgrading and bringing, improve development efficiency.
Fig. 2 is a schematic diagram at the data inputting interface of Data Input Interface in the embodiment of the present invention.In order to ensure the uniqueness of key assignments data, every bar key assignments data of typing all do the inspection of key assignments uniqueness, namely check whether the key assignments key of these key assignments data exists, if do not exist, determine that these key assignments data are unique, common product editor typing key assignments KEY, OS Type and simplified form of Chinese Character are (here by language based on simplified form of Chinese Character, user also can select language based on other language), if have other foreign languages as English, Russian, then need to be called translation by the Chinese name of special interpret role to these data.In such as Fig. 2: the KEY of typing is Title_Messages, the operating system that editorial staff selects these data to be suitable for as required, such as need to be applicable to Android platform and then in client type combobox, select Android, also whole platform can be selected, the Chinese of this Key is ' message ' the i.e. basic language data of these key assignments data is ' message ', and concrete ' message ' is what completes translation by interpret role under English, Russian.And input at corresponding input frame and preserve data.
Fig. 3 is a schematic diagram of the user interface of derivation instruction input interface in the embodiment of the present invention.Derive resource distribution file time realize the platform of this programme for providing two essential options: operating system option (the client type options in figure) and languages option, by being applicable to the resource bag of the corresponding languages under respective operations system for client or Server to the selection derivation of two.
In one embodiment of the invention, shown in Fig. 1, method comprises further: provide administrator interface, performs corresponding operation, comprise one or more as follows according to the instruction of administrator interface input:
(1) priority assignation of editor's input interface and translation input interface is set; Namely come for the corresponding authority of different role assignments by keeper.
(2) increase of type of operating system and category of language and deletion; Such keeper can expand the platform realizing this programme and reduce, such as a kind of operating system of current new appearance, or need the packet generating a kind of new language, only need keeper carry out corresponding increase operation just can compatible emerging operating system and language, extendability is extremely strong.
(3) by the data management page, the data in database are operated; Notice administration page can check all data in database, and can carry out maintenance and operation to data.Can modify to the data in database easily like this.
(4) batch execution data, completes the reusability of data.This can allow the operating system that newly increases and resource data corresponding to language acquirement.Such as newly increased a kind of operating system, the data demand of this newly-increased operating system is consistent with android, then can the data of direct multiplexing corresponding android.
Visible in terminal applies resource bag Managed Solution of the present invention, merged various rolls, as editorial staff, translator and keeper etc., each role problem to be processed in whole flow process is different.The integrality of data can be ensured like this on operating level, avoid the possibility occurring getting over limiting operation across role.
As the management platform of multilingual type, this programme is to multilingual dynamically supportive.The kind of language will accomplish special maintenance, unique mark that each languages is all corresponding, and this value is used in the record of data, identify certain languages (such as: simplified form of Chinese Character).The interpolation of languages and delete interface, towards administrator role, have had to the resource distribution file that the support of this interface makes platform derive the ability adapting to international development, have added the dirigibility of platform.This programme has not only done process to the dynamic support of language and has also supported the increase of multiple operating system, can do the interface adding and delete, can process the problem across cell phone platform so more easily for administrator role increases by one to platform.By achieving unitarity and the standardization of resource distribution file data to the support of multilingual and many cell phone platforms.
In one embodiment of the invention, described in step S120, the resource data of acquisition is carried out mark according to the terminal applies corresponding to it, operating system and language to be stored into database and to comprise:
Resource data store in the form of a list in a database, wherein, the every a line in list stores a resource data, and this list at least comprises following each row:
The row of storage terminal application identities;
The row of resource data store key assignments;
Store multiple row of the resource data of corresponding different language respectively
Store the row of OS Type.
With the list that following table 1 is resource data store in the embodiment of the present invention.See table the application of 1, project_id marking terminal, such as 7 game representation A, 8 game representation B etc.Anchor_key is the key of key assignments data, the KEY in input interface shown in Fig. 2; Language_1: Chinese; Language_2: English; Client_code:0 expresses support for all operations system, and 1 expresses support for Android, and 2 express support for iOS; Global_type: whether this adjusting data is conventional data, 1 represents it is that 2 expressions are not.If the global_type=1 of data, the value of client_code need not be seen.
Table 1
In an embodiment of the present invention, in order to avoid obscuring of resource data, sufficient constraint condition will be carried out: the uniqueness of the KEY of the every bar key assignments data under identical platform when data store, due to the form that resource distribution file is key-value pair, the uniqueness storing data KEY like this when deriving resource distribution file just ensure that the uniqueness of derived data, the recited function of program supported data in addition, allows the data with public character obtain well multiplexing.
In one embodiment of the invention, the method described in Fig. 1 comprises further: the multiple export interfaces providing corresponding different operating system respectively, the data format requirement of resource data according to the operating system of self correspondence can be derived by each export interface.Such as, the export interface etc. of the export interface of corresponding A ndroid system, corresponding iOS system is provided.Export after then the resource data found out being packaged into resource bag described in step S140 and comprise: derive after the resource data found out being packaged into resource bag according to the data format requirement of described assigned operation system by the export interface that described assigned operation system is corresponding.
This is because it is different that different mobile phone operations provides the call format of data, the call format proposed according to client developer in an embodiment of the present invention has all write each self-corresponding export interface to each operating system, data can show by different export interfaces in a different format, the file type of data is also different in addition: the form of the resource file that such as Android operation system is corresponding is .xml file, and the resource file type that iOS is corresponding is then .strings file.
Therefore, the resource APMB package of deriving provides template to derive according to the client developer of each platform, such as Android client needs zh_cn.xml file (representing simplified Chinese character resource file), file stores with the form of key-value pair, key is wherein exactly the KEY that product edition role inputs when typing key assignments data, its value is exactly the value of input in Chinese frame input, if en.xml (English resources file), KEY are constant values has been then the value inputted in English input frame.Client developer takes resource APMB package only to be needed file to add in their exploitation program and namely can read the value corresponding to Key.Therefore APP software just can be become the version of English edition or other languages fast by Chinese edition.
Fig. 4 is the structural drawing of the resource bag management devices of a kind of terminal applies in the embodiment of the present invention.As shown in Figure 4, the resource bag management devices 500 of this terminal applies comprises:
Data Input Interface 501, for obtaining corresponding different operating system and the resource data of different language of different terminals application;
Memory management unit 502, is suitable for that the described resource data obtained is carried out mark according to the terminal applies corresponding to it, operating system and language and is stored in database;
Database Unit 503, for preserving resource data;
Derive instruction input interface 504, receive the derivation instruction of input; Wherein, derive instruction and specify the resource bag being applicable to the appointed language of assigned operation system will deriving designated terminal application;
Resource bag export interface 505, according to described derivation instruction, finds out the resource data being applicable to the appointed language of assigned operation system of designated terminal application, and derives after the resource data found out is packaged into resource bag from database.
In one embodiment of the present of invention, described resource bag export interface 504 comprises the multiple sub-export interface (not drawing in Fig. 4) of corresponding different operating system respectively.Each export interface, derives after resource data is packaged into resource bag according to the data format requirement of the operating system of self correspondence.
In one embodiment of the invention, Data Input Interface 501 comprises: multiple translation input interfaces (not drawing in Fig. 4) of editor's input interface and respectively corresponding different language.Editor's input interface, for obtaining the attribute information of key assignments data and these key assignments data, these key assignments data comprise key assignments and basic language data, and the attribute information of these key assignments data comprises terminal applies corresponding to these key assignments data, the operating system of support, language form; Determine that the key assignments of these key assignments data uniquely exists.Translation input interface, for the language form corresponding according to these key assignments data, the basic language data translation obtaining these key assignments data from each translation input interface becomes the language data of corresponding language; According to the attribute information of these key assignments data, described basic language data and the language data translating into corresponding language, generate the resource data of different operating system under terminal applies corresponding to these key assignments data and different language.
In one embodiment of the invention, described device 500 also comprises: administrator interface 506, for performing corresponding operation according to the instruction of input, comprises one or more as follows:
(1) priority assignation of editor's input interface and translation input interface is set; Namely come for the corresponding authority of different role assignments by keeper.
(2) increase of type of operating system and category of language and deletion; Such keeper can expand the platform realizing this programme and reduce, such as a kind of operating system of current new appearance, or need the packet generating a kind of new language, only need keeper carry out corresponding increase operation just can compatible emerging operating system and language, extendability is extremely strong.
(3) by the data management page, the data in database are operated; Notice administration page can check all data in database, and can carry out maintenance and operation to data.Can modify to the data in database easily like this.
(4) batch execution data, completes the reusability of data.This can allow the operating system that newly increases and resource data corresponding to language acquirement.Such as newly increased a kind of operating system, the data demand of this newly-increased operating system is consistent with android, then can the data of direct multiplexing corresponding android.
In one embodiment of the invention, described memory management unit 502, for resource data store in the form of a list in database storage unit 503, wherein, the every a line in list stores a resource data, and this list at least comprises following each row:
The row of storage terminal application identities;
The row of resource data store key assignments;
Store multiple row of the resource data of corresponding different language respectively
Store the row of OS Type.
In sum, of the present inventionly thisly provide Data Input Interface, the corresponding different operating system of different terminals application and the resource data of different language is obtained from this Data Input Interface, by the described resource data of acquisition according to the terminal applies corresponding to it, operating system and language carry out mark and are stored in database, there is provided and derive instruction input interface, receive the derivation instruction of this derivation instruction input interface input, according to described derivation instruction, the resource data being applicable to the appointed language of assigned operation system of designated terminal application is found out from database, and the technical scheme derived after the resource data found out is packaged into resource bag, unified management can be carried out to the resource bag of the corresponding different operating system of terminal applies and different language, thus when application and development, the resource bag of corresponding different operating system and different language can be generated easily, improve the efficiency of application and development, and be easy to safeguard.
The technical program has accomplished once to design the effect used under several operation systems, multilingual, fully reach the effect of the standardization of client exploitation under unified each operating system, substantially reduce the cycle of product design, the technical program has merged the work of the polygonal look of product edition, Pages Design and translation in flow process in addition, allow communication more visualize in many ways, specialize, sharpening, due to the amalgamation of polygonal look, Each performs its own functions for everybody, and cycle product design in the early stage decreasing design accelerates the progress completed of project.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. a resource package management method for terminal applies, is characterized in that, described method comprises:
Data Input Interface is provided, obtains the corresponding different operating system of different terminals application and the resource data of different language from this Data Input Interface;
The described resource data obtained is carried out mark according to the terminal applies corresponding to it, operating system and language to be stored in database;
There is provided and derive instruction input interface, receive the derivation instruction of this derivation instruction input interface input; Wherein, derive instruction and specify the resource bag being applicable to the appointed language of assigned operation system will deriving designated terminal application;
According to described derivation instruction, from database, find out the resource data being applicable to the appointed language of assigned operation system of designated terminal application, and derive after the resource data found out is packaged into resource bag.
2. the method for claim 1, is characterized in that,
The method comprises further: the multiple export interfaces providing corresponding different operating system respectively, and the data format requirement of resource data according to the operating system of self correspondence can be derived by each export interface;
Described the resource data found out is packaged into resource bag after export and comprise: derive after the resource data found out being packaged into resource bag according to the data format requirement of described assigned operation system by the export interface that described assigned operation system is corresponding.
3. the method for claim 1, is characterized in that, described in Data Input Interface is provided, obtain the corresponding different operating system of different terminals application from this Data Input Interface and the resource data of different language comprises:
Editor is provided input interface, the attribute information of key assignments data and these key assignments data is obtained from this editor's input interface, these key assignments data comprise key assignments and basic language data, and the attribute information of these key assignments data comprises terminal applies corresponding to these key assignments data, the operating system of support, language form;
Determine that the key assignments of these key assignments data uniquely exists;
There is provided multiple translation input interfaces of respectively corresponding different language, the language form corresponding according to these key assignments data, the basic language data translation obtaining these key assignments data from each translation input interface becomes the language data of corresponding language;
According to the attribute information of these key assignments data, described basic language data and the language data translating into corresponding language, generate the resource data of different operating system under terminal applies corresponding to these key assignments data and different language.
4. method as claimed in claim 3, it is characterized in that, the method comprises further:
Administrator interface is provided, performs corresponding operation according to the instruction of administrator interface input, comprise one or more as follows:
The priority assignation of editor's input interface and translation input interface is set;
The increase of type of operating system and category of language and deletion;
By the data management page, the data in database are operated;
Batch execution data, completes the reusability of data.
5. the method according to any one of Claims 1-4, wherein, describedly the resource data of acquisition is carried out mark according to the terminal applies corresponding to it, operating system and language be stored into database and comprise:
Resource data store in the form of a list in a database, wherein, the every a line in list stores a resource data, and this list at least comprises following each row:
The row of storage terminal application identities;
The row of resource data store key assignments;
Store multiple row of the resource data of corresponding different language respectively
Store the row of OS Type.
6. a resource bag management devices for terminal applies, it is characterized in that, this device comprises:
Data Input Interface, for obtaining corresponding different operating system and the resource data of different language of different terminals application;
Memory management unit, is suitable for that the described resource data obtained is carried out mark according to the terminal applies corresponding to it, operating system and language and is stored in database;
Database Unit, for preserving resource data;
Derive instruction input interface, receive the derivation instruction of input; Wherein, derive instruction and specify the resource bag being applicable to the appointed language of assigned operation system will deriving designated terminal application;
Resource bag export interface, according to described derivation instruction, finds out the resource data being applicable to the appointed language of assigned operation system of designated terminal application, and derives after the resource data found out is packaged into resource bag from database.
7. device as claimed in claim 6, is characterized in that, described resource bag export interface comprises the multiple sub-export interface of corresponding different operating system respectively;
Each export interface, derives after resource data is packaged into resource bag according to the data format requirement of the operating system of self correspondence.
8. device as claimed in claim 6, it is characterized in that, Data Input Interface comprises: multiple translation input interfaces of editor's input interface and respectively corresponding different language;
Editor's input interface, for obtaining the attribute information of key assignments data and these key assignments data, these key assignments data comprise key assignments and basic language data, and the attribute information of these key assignments data comprises terminal applies corresponding to these key assignments data, the operating system of support, language form; Determine that the key assignments of these key assignments data uniquely exists;
Translation input interface, for the language form corresponding according to these key assignments data, the basic language data translation obtaining these key assignments data from each translation input interface becomes the language data of corresponding language; According to the attribute information of these key assignments data, described basic language data and the language data translating into corresponding language, generate the resource data of different operating system under terminal applies corresponding to these key assignments data and different language.
9. device as claimed in claim 8, is characterized in that,
Administrator interface, for performing corresponding operation according to the instruction of input, comprises one or more as follows:
The priority assignation of editor's input interface and translation input interface is set;
The increase of type of operating system and category of language and deletion;
By the data management page, the data in database are operated;
Batch execution data, completes the reusability of data.
10. the device according to any one of claim 6-9, is characterized in that,
Described memory management unit, for resource data store in the form of a list in database storage unit, wherein, the every a line in list stores a resource data, and this list at least comprises following each row:
The row of storage terminal application identities;
The row of resource data store key assignments;
Store multiple row of the resource data of corresponding different language respectively;
Store the row of OS Type.
CN201310753007.6A 2013-12-31 2013-12-31 The resource package management method and device of a kind of terminal applies Active CN104750472B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310753007.6A CN104750472B (en) 2013-12-31 2013-12-31 The resource package management method and device of a kind of terminal applies

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310753007.6A CN104750472B (en) 2013-12-31 2013-12-31 The resource package management method and device of a kind of terminal applies

Publications (2)

Publication Number Publication Date
CN104750472A true CN104750472A (en) 2015-07-01
CN104750472B CN104750472B (en) 2018-01-09

Family

ID=53590228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310753007.6A Active CN104750472B (en) 2013-12-31 2013-12-31 The resource package management method and device of a kind of terminal applies

Country Status (1)

Country Link
CN (1) CN104750472B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956485A (en) * 2016-04-26 2016-09-21 深圳Tcl数字技术有限公司 Internationalized language management method and system
CN106055328A (en) * 2016-05-27 2016-10-26 努比亚技术有限公司 Theme replacement apparatus and method for third-party APP
CN107741858A (en) * 2017-11-28 2018-02-27 深圳市鼎晟开元科技有限公司 The application program update method, apparatus and system of multilingual version
CN108491398A (en) * 2018-03-26 2018-09-04 深圳市元征科技股份有限公司 A kind of method that newer software text is translated and electronic equipment
CN108845801A (en) * 2018-05-29 2018-11-20 北京五八信息技术有限公司 Dissemination method, device, equipment and the storage medium of client executing file
CN110059321A (en) * 2019-02-01 2019-07-26 阿里巴巴集团控股有限公司 A kind of data processing method and device, a kind of calculating equipment and storage medium
CN110673920A (en) * 2019-09-29 2020-01-10 深圳前海环融联易信息科技服务有限公司 Internationalization processing method and device, computer equipment and storage medium
CN111475142A (en) * 2020-04-03 2020-07-31 支付宝(杭州)信息技术有限公司 Method, device and equipment for generating applet file package

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547116A (en) * 2003-12-16 2004-11-17 艾默生网络能源有限公司 Method for implementing language resource localization of software
CN101120339A (en) * 2005-02-16 2008-02-06 三星电子株式会社 Multiple language support system and method for application
CN101118558A (en) * 2007-07-10 2008-02-06 青岛海信移动通信技术股份有限公司 Converting method and apparatus for resource file
US20090198789A1 (en) * 2008-01-31 2009-08-06 Microsoft Corporation Videogame localization using language packs
US20130226555A1 (en) * 2012-02-23 2013-08-29 Microsoft Corporation Multilingual Build Integration for Compiled Applications
US20130227522A1 (en) * 2012-02-23 2013-08-29 Microsoft Corporation Integrated Application Localization
CN103309647A (en) * 2012-03-08 2013-09-18 鸿富锦精密工业(深圳)有限公司 Application program multi-language support system and method
CN103425509A (en) * 2013-08-07 2013-12-04 深圳市欧珀通信软件有限公司 Method and device for installing language package

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547116A (en) * 2003-12-16 2004-11-17 艾默生网络能源有限公司 Method for implementing language resource localization of software
CN101120339A (en) * 2005-02-16 2008-02-06 三星电子株式会社 Multiple language support system and method for application
CN101118558A (en) * 2007-07-10 2008-02-06 青岛海信移动通信技术股份有限公司 Converting method and apparatus for resource file
US20090198789A1 (en) * 2008-01-31 2009-08-06 Microsoft Corporation Videogame localization using language packs
US20130226555A1 (en) * 2012-02-23 2013-08-29 Microsoft Corporation Multilingual Build Integration for Compiled Applications
US20130227522A1 (en) * 2012-02-23 2013-08-29 Microsoft Corporation Integrated Application Localization
CN103309647A (en) * 2012-03-08 2013-09-18 鸿富锦精密工业(深圳)有限公司 Application program multi-language support system and method
CN103425509A (en) * 2013-08-07 2013-12-04 深圳市欧珀通信软件有限公司 Method and device for installing language package

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956485A (en) * 2016-04-26 2016-09-21 深圳Tcl数字技术有限公司 Internationalized language management method and system
WO2017185484A1 (en) * 2016-04-26 2017-11-02 深圳Tcl数字技术有限公司 Method and system for internationalized language administration
CN106055328A (en) * 2016-05-27 2016-10-26 努比亚技术有限公司 Theme replacement apparatus and method for third-party APP
CN106055328B (en) * 2016-05-27 2019-04-02 努比亚技术有限公司 For the subject replacement device and method of third-party application
CN107741858A (en) * 2017-11-28 2018-02-27 深圳市鼎晟开元科技有限公司 The application program update method, apparatus and system of multilingual version
CN108491398A (en) * 2018-03-26 2018-09-04 深圳市元征科技股份有限公司 A kind of method that newer software text is translated and electronic equipment
CN108491398B (en) * 2018-03-26 2021-09-07 深圳市元征科技股份有限公司 Method for translating updated software text and electronic equipment
CN108845801A (en) * 2018-05-29 2018-11-20 北京五八信息技术有限公司 Dissemination method, device, equipment and the storage medium of client executing file
CN110059321A (en) * 2019-02-01 2019-07-26 阿里巴巴集团控股有限公司 A kind of data processing method and device, a kind of calculating equipment and storage medium
CN110673920A (en) * 2019-09-29 2020-01-10 深圳前海环融联易信息科技服务有限公司 Internationalization processing method and device, computer equipment and storage medium
CN111475142A (en) * 2020-04-03 2020-07-31 支付宝(杭州)信息技术有限公司 Method, device and equipment for generating applet file package
CN111475142B (en) * 2020-04-03 2023-04-28 支付宝(杭州)信息技术有限公司 Method, device and equipment for generating applet file package

Also Published As

Publication number Publication date
CN104750472B (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN104750472A (en) Resource bundle management method and device of terminal application
CN110705237B (en) Automatic document generation method, data processing device and storage medium
CN113126990B (en) Page development method, device, equipment and storage medium
CN110955410B (en) Code automatic generation method, device, equipment and medium
CN111078555B (en) Test file generation method, system, server and storage medium
CN104407863A (en) Abstract control model programming device and method
CN111414350A (en) Service generation method and device
CN107330014B (en) Data table creating method and device
CN111290996A (en) Document format conversion method, device, equipment and readable storage medium
CN111068336A (en) Game translation version generation method and device, electronic equipment and storage medium
CN113076167A (en) Code processing method and related equipment
CN105389184A (en) Configuration method and apparatus for product interface information
CN106776779B (en) Method for generating entity file by JSON data based on Mac platform
CN113703777B (en) Code generation method, device, storage medium and equipment based on database table
CN111045654A (en) Vue-based method and device for quickly generating common instructions, computer equipment and storage medium
CN110555185A (en) Page customization method and system based on PC client
CN108153745B (en) Application data calling method and application development system
CN112328241B (en) Method and device for creating Android library module dependency relationship in application program development
CN112685435A (en) Table query method and system based on Vue and Mybatis
CN111984595A (en) File processing method and device and storage medium
CN109068286B (en) Information analysis method, medium and equipment
CN111273913B (en) Method and device for outputting application program interface data represented by specifications
CN113342399A (en) Application structure configuration method and device and readable storage medium
JP2018109898A (en) Data migration system
CN111279350B (en) System and method for providing globalization features in service management application interfaces

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 810, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080

Patentee after: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building 6 storey block A room 602

Patentee before: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd.