CN104320387B - Component localization method for customizing, terminal and server - Google Patents

Component localization method for customizing, terminal and server Download PDF

Info

Publication number
CN104320387B
CN104320387B CN201410536137.9A CN201410536137A CN104320387B CN 104320387 B CN104320387 B CN 104320387B CN 201410536137 A CN201410536137 A CN 201410536137A CN 104320387 B CN104320387 B CN 104320387B
Authority
CN
China
Prior art keywords
configuration file
developer component
application developer
localization
internationalized
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.)
Expired - Fee Related
Application number
CN201410536137.9A
Other languages
Chinese (zh)
Other versions
CN104320387A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410536137.9A priority Critical patent/CN104320387B/en
Publication of CN104320387A publication Critical patent/CN104320387A/en
Application granted granted Critical
Publication of CN104320387B publication Critical patent/CN104320387B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses component localization method for customizing and device.This method is applied to terminal, including:Generation includes user and localizes the internationalized application developer component configuration file that custom is set, and sends to server;The internationalized application developer component that the reception server returns according to the configuration file generated.This method is applied to server, including:What receiving terminal was sent includes the internationalized application developer component configuration file that user localizes custom setting;The corresponding localization application code of parsing generation is carried out to the internationalized application developer component configuration file received;Internationalized application developer component sound code file of the application code added to setting will be localized, internationalized application developer component of the generation corresponding to terminal is compiled to the sound code file after addition operates, and send to terminal.Technical scheme provided in an embodiment of the present invention, the component with localization custom can be provided automatically for each terminal user with relatively low cost.

Description

Component localization method for customizing, terminal and server
Technical field
The present embodiments relate to communication technical field, more particularly to component localization method for customizing, terminal and server.
Background technology
In Vehicles Collected from Market, end product throughout world various regions, such as mobile phone, tablet personal computer.At present, can pacify in terminal This most basic system software equipped with operating system, and other the miscellaneous applications developed based on the operating system Small software, to provide the service such as text editing, instant messaging, web page browsing, video-see for terminal user.At present, it is common Operating system has Android, IOS and Windows Phone.
To ensure that developed software (particularly operating system) can be easy to by the user of country variant and area Reception and use, promoted in the world, it is therefore desirable to which the software can solve the problem that because the difference of re-gional culture is made Into such as the time, numeral represents, currency represents, problem present in all kinds of internationalization string operation.Thus, it is one strong Big internationalized application developer component icu4c arises at the historic moment.The component allows developer to write out independently of custom and language Code, then these codes related resource can be utilized to form the software related to language and custom.Software developer is almost The component can be used to solve any international problem, it is real according to the custom of various regions and speech habits (i.e. localization is accustomed to) The now formatting to numeral, currency, time, date and message, parsing, character string is carried out capital and small letter conversion, arrangement, search and The functions such as sequence.
However, it is accustomed to by the localization for manually counting country variant and area mostly at present.Due to having for human resources Limit, the localization custom in country variant and area is difficult to be collected into rapidly, and big for some underpopulated country's inputs The personnel of amount go investigation localization custom and are a large overheads, therefore the state for being adapted to its localization custom is provided for substantial amounts of user Border application and development component, its cost is higher, need to spend substantial amounts of man power and material.
The content of the invention
The embodiment of the present invention provides component localization method for customizing, terminal and server, with can with relatively low cost, from Move and provide the component with localization custom for each user.
In a first aspect, the embodiments of the invention provide component to localize method for customizing, this method includes:
Generation includes the internationalized application developer component configuration file that user's localization custom is set, and sends to service Device;
Receive the internationalized application developer component that the server returns according to the configuration file generated.
Second aspect, the embodiment of the present invention additionally provide a kind of component localization method for customizing, and this method includes:
What receiving terminal was sent includes the internationalized application developer component configuration file that user localizes custom setting;
The corresponding localization application code of parsing generation is carried out to the internationalized application developer component configuration file received;
Internationalized application developer component sound code file by the localization application code added to setting, to the process Sound code file after addition operation is compiled internationalized application developer component of the generation corresponding to the terminal, and sends to institute State terminal.
The third aspect, the embodiments of the invention provide a kind of terminal, the terminal includes:
Configuration file generates and transmitting element, and the internationalized application that user's localization custom setting is included for generating is opened Component profile is sent out, and is sent to server;
Developer component receiving unit, should for receiving the internationalization that the server returns according to the configuration file generated Use developer component.
Fourth aspect, the embodiment of the present invention additionally provide a kind of server, and the server includes:
Configuration file receiving unit, the internationalization for including user's localization custom setting sent for receiving terminal should With developer component configuration file;
Application code generation unit, the internationalized application developer component for being received to the configuration file receiving unit are matched somebody with somebody Put file and carry out the corresponding localization application code of parsing generation;
Developer component generates and issuance unit, for the localization application code for generating the application code generation unit Added to the internationalized application developer component sound code file of setting, the sound code file after addition operates is compiled Generation corresponds to the internationalized application developer component of the terminal, and sends to the terminal.
Technical scheme provided in an embodiment of the present invention, terminal is primarily based on to generate and includes user's localization custom setting Internationalized application developer component configuration file, and send it to server, be then based on server according to transmitted by terminal Configuration file, generation has the internationalized application developer component of localization custom attribute, and is issued to terminal accordingly, so as to Can be automatic to realize the customization to component localization by the data interaction between terminal and server.It is logical compared to existing Cross manually to count the localization custom of every country and area, and then developed by the statistical result to generate internationalized application Component, the embodiment of the present invention with relatively low cost, can be adapted to the group of its localization custom for each end user customization automatically Part, without spending substantial amounts of man power and material.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet for component localization method for customizing that the embodiment of the present invention one provides;
Fig. 2 is the schematic flow sheet for another component localization method for customizing that the embodiment of the present invention two provides;
Fig. 3 is a kind of structural representation for terminal that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural representation for server that the embodiment of the present invention four provides;
Fig. 5 is a kind of schematic flow sheet for preferable component localization method for customizing that the embodiment of the present invention five provides.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of schematic flow sheet for component localization method for customizing that the embodiment of the present invention one provides.The present embodiment The component for being applicable to be made up of server and terminal localizes custom-built system, this method can by the terminal in the system Lai Perform.The terminal includes but is not limited to be the electronic equipments such as smart mobile phone, tablet personal computer, personal digital assistant.Referring to Fig. 1, The component localization method for customizing that the present embodiment provides specifically includes following operation:
Operation 110, generation include user and localize the internationalized application developer component configuration file that custom is set, concurrently Deliver to server;
The internationalized application developer component that operation 120, the reception server return according to the configuration file generated.
In embodiments of the present invention, the setting of localization custom includes but is not limited to:Date format is set, time format is set Put, digital display format is set, character ordering rule is set and/or national information is set.
In the present embodiment, terminal local is previously stored with the internationalized application developer component configuration file of acquiescence, or In real time the configuration file is acquired from server.Internationalized application developer component configuration file, for for setting localization to practise Used configuration file.After the localization customization request of Client-initiated component is got, terminal can be directly according to the phase of storage Data are closed, the relevant parameter in the configuration file is set, including user with generation localizes the world for being accustomed to setting Change application and development component profile, or terminal is in real time parsed the configuration file, to determine included in it User have modification authority localization custom setting options, then by identified total Options with the shape of human-computer interaction interface Formula shows user, these options in configuration file is configured according to user instruction, and then obtain including localization It is accustomed to the configuration file set.
After configuration file is sent into server, server can be according to the configuration file and internationalized application development group Part sound code file, the internationalized application developer component with localization custom attribute is obtained, and return to terminal.In this way, terminal Just the internationalized application developer component that server issues can be got, and then realizes the customization to component localization.
Terminal, please if getting the localization customization of Client-initiated component again after corresponding reception operation is performed Ask, then the setting of relevant parameter item can be carried out to the configuration file of last time generation, generate the new localization custom that includes and set The configuration file put, the internationalized application developer component configuration file that may also be the acquiescence to obtaining recently certainly re-start phase The setting of related parameter item, generate the new configuration file for including localization custom and setting.
The technical scheme that the present embodiment provides, the internationalized application for being accustomed to setting is localized by user is included by terminal Developer component configuration file, send to server, instruction server accordingly there is localization to practise according to the configuration file, generation The internationalized application developer component of used attribute is issued, and is adapted to its localization custom so as to be obtained automatically from server Component, without spending substantial amounts of man power and material, the spent cost of localization investigation is saved.
In a kind of embodiment of the present embodiment, generation includes the internationalization that user's localization custom is set should With developer component configuration file, and send to server, may particularly include:
The localization that user in the internationalized application developer component configuration file of last time generation has modification authority is accustomed to Setting options, shown in the form of human-computer interaction interface;
Receive the localization custom that user is acted on human-computer interaction interface and input instruction is set;
According to the internationalized application developer component configuration file of the instruction and last generation, generate and new include use The internationalized application developer component configuration file that family localization custom is set, and send to server.
It should be noted that if generation for the first time includes user and localizes the internationalized application exploitation that custom is set The internationalized application developer component configuration file of component profile, the then last generation, may refer to:It is locally stored , or the internationalized application developer component configuration file of the acquiescence obtained in real time from server.
, should in the internationalization that the reception server returns according to the configuration file generated on the basis of above-mentioned technical proposal After developer component, in addition to:The internationalized application developer component that this is received is replaced to the world being being currently used Change application and development component.
After the customization of more sub-assembly localizations has been carried out, if user is intended to recover the localization custom configuration of acquiescence, But the acquiescence internationalized application being adapted with the internationalized application developer component configuration file of acquiescence is not present in terminal local again Developer component, the component localization method for customizing that the present embodiment provides can also further comprise:
After the localization for recovering acquiescence custom configuring request is received, the internationalized application of the acquiescence prestored is opened Hair component profile is sent to server, to indicate that server configures text according to the internationalized application developer component of the acquiescence Part generation acquiescence internationalized application developer component is issued;Or
After the localization for recovering acquiescence custom configuring request is received, send acquiescence component to server and issue request, Entered with indicating that server generates acquiescence internationalized application developer component according to the internationalized application developer component configuration file of acquiescence Row issues.
Embodiment two
Fig. 2 is the schematic flow sheet for another component localization method for customizing that the embodiment of the present invention two provides.This implementation The component that example is still applicable to be made up of server and terminal localizes custom-built system, the group that can be provided with above-described embodiment one Part localization method for customizing, which coordinates, to be performed.The component localization method for customizing that the present embodiment provides can be by the clothes in the system Device be engaged in perform, referring to Fig. 2, this method specifically includes following operation:
Operation 210, the internationalized application developer component that user's localization custom is set that includes of receiving terminal transmission are matched somebody with somebody Put file;
Operation 220, the corresponding localization of parsing generation is carried out to the internationalized application developer component configuration file received Application code;
Operation 230, internationalized application developer component sound code file of the application code added to setting will be localized, to passing through Sound code file after addition operation is compiled internationalized application developer component of the generation corresponding to terminal, and sends to terminal.
It is probably that terminal is given birth to according to user input instruction in view of the internationalized application developer component configuration file received Into, so some localization arrange parameters in the configuration file can have illegal risk because of the maloperation of user (i.e. Beyond set threshold range), to ensure the legitimacy of its configuration file, corresponding internationalized application can be correctly obtained Developer component, in a kind of embodiment of the present embodiment, to the internationalized application developer component configuration file received The corresponding localization application code of parsing generation is carried out, may particularly include:
The internationalized application developer component configuration file received is verified, the illegal setting included in it is joined Number is modified to legal arrange parameter;
The corresponding localization of parsing generation is carried out to the internationalized application developer component configuration file after amendment operates Application code.
In the technical scheme that the present embodiment provides, the internationalized application that server can be sent by receiving terminal is developed Component profile, it is accustomed to configuration information to collect the localization corresponding to it, and then is terminal amount according to collected information Body customizes the internationalized application developer component for meeting its demand, can be automatically real without spending substantial amounts of man power and material The customization of existing component localization, has saved cost, has improved customization efficiency.
In embodiments of the present invention, server can be previously stored with the internationalized application developer component configuration file of acquiescence, Every localization arrange parameter in the configuration file is the initial value of setting.The configuration file can be issued to each end End, so that each terminal can be based on the default configuration file and user instruction, generation includes the configuration that localization custom is set File.To ensure that the internationalized application developer component configuration file of acquiescence can inherently meet the customized demand of most users, So that user need not carry out the configuration of many item localization custom arrange parameters, on the basis of above-mentioned technical proposal, receiving After what terminal was sent includes the internationalized application developer component configuration file that user localizes custom setting, in addition to:
The user that the received internationalized application developer component configuration file of extraction is included localizes custom and set;
The corresponding relation that the user extracted is localized to custom setting and terminal is stored into historical statistics record;
Accordingly, component localization method for customizing provided in an embodiment of the present invention, can also further comprise:
Every the fixed cycle, the internationalized application developer component configuration file for upgrading acquiescence is recorded according to historical statistics, and It is issued to terminal.
Terminal is after the internationalized application developer component configuration file of the acquiescence of upgrading is received, if got again Component localizes customized demand, then can be generated based on the configuration file and include the configuration file that localization custom is set, and referred to Show that server issues corresponding internationalized application developer component accordingly.
Embodiment three
Fig. 3 is a kind of structural representation for terminal that the embodiment of the present invention three provides.Referring to Fig. 3, the specific knot of the terminal Structure is as follows:
Configuration file generates and transmitting element 310, and the internationalization that user's localization custom setting is included for generating should With developer component configuration file, and send to server;
Developer component receiving unit 320, the world returned for receiving the server according to the configuration file generated Change application and development component.
Further, the configuration file generation and transmitting element 310, are specifically used for:
The localization that user in the internationalized application developer component configuration file of last time generation has modification authority is accustomed to Setting options, shown in the form of human-computer interaction interface;
Receive the localization custom that user is acted on the human-computer interaction interface and input instruction is set;
According to the internationalized application developer component configuration file of the instruction and last generation, generate and new include use The internationalized application developer component configuration file that family localization custom is set, and send to server.
Further, the terminal that the present embodiment provides also includes:
Developer component replacement unit 330, for receiving the server according to institute in the developer component receiving unit 320 After the internationalized application developer component that the configuration file of generation returns, the internationalized application developer component that this is received is replaced Change the internationalized application developer component being being currently used.
Further, the terminal that the present embodiment provides also includes acquiescence component recovery unit 340, is used for:
After the localization for recovering acquiescence custom configuring request is received, the internationalized application of the acquiescence prestored is opened Hair component profile is sent to the server, to indicate internationalized application development group of the server according to the acquiescence Part configuration file generation acquiescence internationalized application developer component is issued;Or
After the localization for recovering acquiescence custom configuring request is received, being issued to server transmission acquiescence component please Ask, to indicate that the server generates acquiescence internationalized application exploitation according to the internationalized application developer component configuration file of acquiescence Component is issued.
On the basis of above-mentioned technical proposal, in embodiments of the present invention, localization custom setting includes date format and set Put, time format is set, digital display format is set, character ordering rule is set and/or national information is set.
The said goods can perform the component performed by terminal that any embodiment of the present invention is provided and localize method for customizing, Possess the corresponding functional module of execution method and beneficial effect.
Example IV
Fig. 4 is a kind of structural representation for server that the embodiment of the present invention four provides.Referring to Fig. 4, the tool of the server Body structure is as follows:
Configuration file receiving unit 410, the world for including user and localizing custom and setting sent for receiving terminal Change application and development component profile;
Application code generation unit 420, for the internationalized application exploitation received to the configuration file receiving unit 410 Component profile carries out the corresponding localization application code of parsing generation;
Developer component generates and issuance unit 430, and the localization for the application code generation unit 420 to be generated should Internationalized application developer component sound code file with code added to setting, the sound code file after addition operates is entered Row compiling generation corresponds to the internationalized application developer component of the terminal, and sends to the terminal.
Further, the application code generation unit 420, is specifically used for:
The internationalized application developer component configuration file received to the configuration file receiving unit 410 verifies, will Illegal arrange parameter included in it is modified to legal arrange parameter;
The corresponding localization of parsing generation is carried out to the internationalized application developer component configuration file after amendment operates Application code.
Further, the server that the present embodiment provides also includes:
Localization custom sets memory cell 440, for what is sent in the receiving terminal of configuration file receiving unit 410 After including the internationalized application developer component configuration file that user localizes custom setting, the received internationalization of extraction should The user included with developer component configuration file localizes custom and set;The user extracted is localized into custom setting and institute The corresponding relation for stating terminal is stored into historical statistics record;
Default configuration file upgrade unit 450, for every the fixed cycle, upgrading acquiescence to be recorded according to the historical statistics Internationalized application developer component configuration file, and be issued to the terminal.
The said goods can perform the component performed by server that any embodiment of the present invention is provided and localize customization side Method, possess the corresponding functional module of execution method and beneficial effect.
It should be appreciated by those skilled in the art that:The terminal that the embodiment of the present invention three provides, and the embodiment of the present invention Four servers provided, only it is with above-mentioned each functional unit when performing the operation of its corresponding component localization method for customizing Division be illustrated;, can be complete by different units by above-mentioned function distribution as needed among practical application Into, will accordingly component localization method for customizing internal structure be divided into different functional units, to complete above description All or part of function.
Embodiment five
Fig. 5 is a kind of schematic flow sheet for preferable component localization method for customizing that the embodiment of the present invention five provides.This Embodiment can be based on above-mentioned all embodiments, there is provided a kind of preferred embodiment.The group provided referring to Fig. 5, the present embodiment Part localizes method for customizing, specifically includes following operation:
User in the internationalized application developer component configuration file of last time generation is had modification authority by operation 510, terminal Localization custom setting options, shown in the form of human-computer interaction interface;
Operation 520, terminal receive the localization custom that user is acted on the human-computer interaction interface and set input instruction;
Operation 530, terminal are according to the internationalized application developer component configuration file of the instruction and last generation, generation The new user that includes localizes the internationalized application developer component configuration file that custom is set, and sends to server;
Operation 540, server verify to the internationalized application developer component configuration file received, will wherein be wrapped The illegal arrange parameter contained is modified to legal arrange parameter;Text is configured to the internationalized application developer component after amendment operates Part carries out the corresponding localization application code of parsing generation;
Operation 550, server will localize internationalized application developer component sound code file of the application code added to setting, Internationalized application developer component of the generation corresponding to terminal is compiled to the sound code file after addition operates, and is sent extremely Terminal;
Operation 560, terminal replace the internationalized application developer component that this is received the internationalization being being currently used Application and development component.
In the technical scheme that the present embodiment provides, terminal obtains user's customized demand in a manner of man-machine interaction, so Obtain including the internationalized application developer component configuration file that user localizes custom and set according to the customized demand afterwards, and on Reach server, and then the server by utilizing configuration file is the customized internationalized application development group for meeting its demand of terminal Part is issued.User can be customized and needed by the present embodiment based on the internationalized application developer component configuration file stored in terminal Negate server of feeding, corresponding internationalized application developer component then generated by server and issued, so as to for The customized component with different localization customs of different terminal users so that terminal user need not pass through heavyweight again System upgrade and brush machine after sale be customized, save localization investigation caused by cost.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of component localizes method for customizing, it is characterised in that including:
The internationalized application developer component configuration file of the acquiescence prestored is obtained from terminal local or in real time from server Obtain the internationalized application developer component configuration file of acquiescence, the internationalized application developer component configuration file, for for setting Put the configuration file of localization custom;
Generation includes user and localizes the internationalized application developer component configuration file that custom is set, and sends to server, The localization custom, which is set, includes date format setting, time format is set, digital display format is set, character ordering rule Set and/or national information is set;
Receive the internationalized application developer component that the server returns according to the configuration file generated;
Wherein, the generation includes the internationalized application developer component configuration file that user's localization custom is set and included:
, should to the internationalization according to the related data of storage after the localization customization request of Client-initiated component is got Set with the relevant parameter in developer component configuration file, including user with generation localizes the internationalization for being accustomed to setting Application and development component profile;Or
The localization that user in the internationalized application developer component configuration file of last time generation has modification authority is accustomed to setting Option, shown in the form of human-computer interaction interface;
Receive the localization custom that user is acted on human-computer interaction interface and input instruction is set;
According to the internationalized application developer component configuration file of the instruction and last generation, generate and new include user's sheet The internationalized application developer component configuration file that groundization custom is set.
2. component according to claim 1 localizes method for customizing, it is characterised in that is receiving the server according to institute After the internationalized application developer component that the configuration file of generation returns, in addition to:
The internationalized application developer component that this is received is replaced to the internationalized application developer component being being currently used.
3. component according to claim 1 localizes method for customizing, it is characterised in that methods described also includes:
After the localization for recovering acquiescence custom configuring request is received, by the internationalized application development group of the acquiescence prestored Part configuration file is sent to the server, to indicate that the server is matched somebody with somebody according to the internationalized application developer component of the acquiescence File generated acquiescence internationalized application developer component is put to be issued;Or
After the localization for recovering acquiescence custom configuring request is received, send acquiescence component to the server and issue request, To indicate that the server generates acquiescence internationalized application development group according to the internationalized application developer component configuration file of acquiescence Part is issued.
4. a kind of component localizes method for customizing, it is characterised in that including:
The internationalized application developer component configuration file for including user and localizing custom setting of receiving terminal transmission, described Groundization custom, which is set, includes date format setting, time format is set, digital display format is set, character ordering rule is set And/or national information is set;
The corresponding localization application code of parsing generation is carried out to the internationalized application developer component configuration file received;
Internationalized application developer component sound code file by the localization application code added to setting, to described by adding Sound code file after operation is compiled internationalized application developer component of the generation corresponding to the terminal, and sends to the end End;
Wherein, the internationalized application developer component configuration file for including user and localizing custom and setting sent in receiving terminal Afterwards, in addition to:
The user that the received internationalized application developer component configuration file of extraction is included localizes custom and set;
The corresponding relation that the user extracted is localized to custom setting and the terminal is stored into historical statistics record;
Methods described also includes:
Every the fixed cycle, the internationalized application developer component configuration file for upgrading acquiescence is recorded according to the historical statistics, and It is issued to the terminal.
5. component according to claim 4 localizes method for customizing, it is characterised in that the internationalized application received is opened Hair component profile carries out the corresponding localization application code of parsing generation, including:
The internationalized application developer component configuration file received is verified, the illegal arrange parameter included in it is repaiied Just it is being legal arrange parameter;
The corresponding localization application of parsing generation is carried out to the internationalized application developer component configuration file after amendment operates Code.
A kind of 6. terminal, it is characterised in that including:
Default configuration file acquiring unit, for obtaining the internationalized application developer component of the acquiescence prestored from terminal local Configuration file or the internationalized application developer component configuration file for obtaining acquiescence from server in real time;
Configuration file generates and transmitting element, for generating the internationalized application development group for including user and localizing custom and setting Part configuration file, and send to server, the localization custom, which is set, includes date format setting, time format is set, number Word display format is set, character ordering rule is set and/or national information is set;
Developer component receiving unit, opened for receiving the internationalized application that the server returns according to the configuration file generated Send out component;
Wherein, the configuration file generation and transmitting element, are specifically used for:
After the localization customization request of Client-initiated component is got, according to the related data of storage, to the configuration file In relevant parameter set, with generation include user localize custom set internationalized application developer component configure text Part;Or
The localization that user in the internationalized application developer component configuration file of last time generation has modification authority is accustomed to setting Option, shown in the form of human-computer interaction interface;
Receive the localization custom that user is acted on human-computer interaction interface and input instruction is set;
According to the internationalized application developer component configuration file of the instruction and last generation, generate and new include user's sheet The internationalized application developer component configuration file that groundization custom is set.
7. terminal according to claim 6, it is characterised in that also include:
Developer component replacement unit, for receiving the server according to the configuration generated in the developer component receiving unit After the internationalized application developer component that file returns, the internationalized application developer component that this is received is replaced currently The internationalized application developer component used.
8. terminal according to claim 6, it is characterised in that also include acquiescence component recovery unit, be used for:
After the localization for recovering acquiescence custom configuring request is received, by the internationalized application development group of the acquiescence prestored Part configuration file is sent to the server, to indicate that the server is matched somebody with somebody according to the internationalized application developer component of the acquiescence File generated acquiescence internationalized application developer component is put to be issued;Or
After the localization for recovering acquiescence custom configuring request is received, send acquiescence component to the server and issue request, To indicate that the server generates acquiescence internationalized application development group according to the internationalized application developer component configuration file of acquiescence Part is issued.
A kind of 9. server, it is characterised in that including:
Configuration file receiving unit, opened for the internationalized application for including user's localization custom setting that receiving terminal is sent Component profile is sent out, the localization custom, which is set, includes date format setting, time format is set, digital display format is set Put, character ordering rule is set and/or national information is set;
Application code generation unit, the internationalized application developer component for being received to the configuration file receiving unit configure text Part carries out the corresponding localization application code of parsing generation;
Developer component generates and issuance unit, for the localization application code addition for generating the application code generation unit To the internationalized application developer component sound code file of setting, generation is compiled to the sound code file after addition operates Corresponding to the internationalized application developer component of the terminal, and send to the terminal;
Wherein, in addition to:
Localization custom sets memory cell, includes user for what is sent in the configuration file receiving unit receiving terminal After the internationalized application developer component configuration file that localization custom is set, the received internationalized application developer component of extraction The user that configuration file is included localizes custom and set;The user extracted is localized into custom setting and pair of the terminal It should be related to and store into historical statistics record;
Default configuration file upgrade unit, for every the fixed cycle, the world for upgrading acquiescence to be recorded according to the historical statistics Change application and development component profile, and be issued to the terminal.
10. server according to claim 9, it is characterised in that the application code generation unit, be specifically used for:
The internationalized application developer component configuration file received to the configuration file receiving unit verifies, and will wherein be wrapped The illegal arrange parameter contained is modified to legal arrange parameter;
The corresponding localization application of parsing generation is carried out to the internationalized application developer component configuration file after amendment operates Code.
CN201410536137.9A 2014-10-11 2014-10-11 Component localization method for customizing, terminal and server Expired - Fee Related CN104320387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410536137.9A CN104320387B (en) 2014-10-11 2014-10-11 Component localization method for customizing, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410536137.9A CN104320387B (en) 2014-10-11 2014-10-11 Component localization method for customizing, terminal and server

Publications (2)

Publication Number Publication Date
CN104320387A CN104320387A (en) 2015-01-28
CN104320387B true CN104320387B (en) 2018-01-19

Family

ID=52375558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410536137.9A Expired - Fee Related CN104320387B (en) 2014-10-11 2014-10-11 Component localization method for customizing, terminal and server

Country Status (1)

Country Link
CN (1) CN104320387B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412080A (en) * 2016-10-21 2017-02-15 李丽亚 Method for realizing software localization and internationalization based on network service
CN107038042B (en) * 2017-02-07 2020-08-28 阿里巴巴集团控股有限公司 Service execution method and device
CN107688464A (en) * 2017-06-28 2018-02-13 上海壹账通金融科技有限公司 Software customized server, method and computer-readable recording medium
CN111538542B (en) * 2020-03-24 2023-10-24 中国平安人寿保险股份有限公司 System configuration method and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840370A (en) * 2010-04-30 2010-09-22 南京德讯信息***有限公司 Service state online detection method and system based on components
CN102004640A (en) * 2010-11-11 2011-04-06 深圳市文鼎创数据科技有限公司 Method and device for rapidly providing customized software package
CN103959709A (en) * 2011-09-30 2014-07-30 西门子公司 Tool and method for dynamic configuration and implementation of device firmware utilizing defined components

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840370A (en) * 2010-04-30 2010-09-22 南京德讯信息***有限公司 Service state online detection method and system based on components
CN102004640A (en) * 2010-11-11 2011-04-06 深圳市文鼎创数据科技有限公司 Method and device for rapidly providing customized software package
CN103959709A (en) * 2011-09-30 2014-07-30 西门子公司 Tool and method for dynamic configuration and implementation of device firmware utilizing defined components

Also Published As

Publication number Publication date
CN104320387A (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN106155686B (en) Interface generation method, device and system
CN103853761A (en) Method and device for displaying and adding comments of webpage content
CA2787816C (en) Share box for endorsements
CN104320387B (en) Component localization method for customizing, terminal and server
CN104158836A (en) Method for rendering mobile application interface through data
CN101882162A (en) Method and system for transmitting network information
CN102609264A (en) Method and device for generating calling codes by calling application programming interfaces
CN102929867A (en) Technology used for automatically translating a document
US9262774B2 (en) Method and systems for providing a digital display of company logos and brands
CN102207872A (en) Method and system for customizing Web UI (User Interface) control according to user requirements
CN202177892U (en) Web UI control customization system
CN104820855A (en) Generation and identification method of dynamic two-dimensional codes based on mobile environment perception technology
CN103544150B (en) For browser of mobile terminal provides the method and system of recommendation information
CN103841154A (en) Network media information publishing method, system and client
CN102831150A (en) Interactive method, system and terminal for browser and local application
CN104123155A (en) Business system page layer development platform and method based on WEB
CN107018232A (en) A kind of identifying code rendering method and terminal
CN104239452A (en) Method and device for resource acquisition
CN104156209A (en) Cross-platform application interface modeling method and device
CN104123301A (en) Method and device controlling running of browser
CN109597845B (en) Report configuration method, report configuration device, computer equipment and storage medium
CN105450501A (en) Method and apparatus for setting customized reply function
CN104156685A (en) Implementation method and device for input method
KR102213871B1 (en) System and method for advertisement delivery, and apparatus applied to the same
CN103678644A (en) Method and device for displaying schedule information in browser

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
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180119

CF01 Termination of patent right due to non-payment of annual fee