Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Dynamic character resource managing method

A dynamic management and character technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of heavy maintenance workload, complicated development and maintenance process, and inability to configure and manage, and achieve dynamic modification and replacement. , increase flexibility, support perfect effect

Inactive Publication Date: 2005-05-04
HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantages of the above method are: first, the target code of the program will show a tendency of vicious expansion, and character constants will occupy a considerable proportion of the code; second, the development and maintenance process is complicated, because character constants are usually distributed throughout the program, which may make In order to modify a small prompt message error, it will lead to a huge program or file modification workload; the third is the difficulty of multilingual support
Generally speaking, the "built-in" character resources of different languages ​​in each application software product are limited, for example, only Chinese and English are built in, and if it is necessary for internationalization, a certain language needs to be added or replaced, such as Traditional Chinese and French , Russian, etc., you only have to modify the code, then retest and release a new version; fourth, the configuration management is not clear, because the character resources and program codes are different, the configuration management methods should also be different, if the character resources and codes are not separated , no separate configuration management
Even if the character resources used by the application software are defined in one file, due to the fixed attachment relationship between the application software product and the character resource file, there will be a large maintenance workload and the inability to realize multilingual support

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Dynamic character resource managing method
  • Dynamic character resource managing method
  • Dynamic character resource managing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0017] In order to solve the problem of character resource management in the existing method, the present invention adopts the method of separating the character resource and the application software code in the system to manage the multilingual character resource file. For the specific method, please refer to figure 1 Examples described. according to figure 1 , the present invention first processes the character resource file, the character resource file is divided into a source file and a target file, the source file is a text format file for editing the content of the character resource file, and the target file is a binary character resource file for loading into The character resource area of ​​the system provides character services in different languages ​​for the system application software. Load target binary files of different langu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a dynamic management method of character resources. The method adopts text file format to edit character resource files of selected languages, and compiles character resource files of different languages ​​into corresponding binary character resource files, and establishes them in the system. In the resource file area of ​​different languages, load the binary character resource files of different languages ​​into the character resource file area of ​​the corresponding language in the system, select the character resource area corresponding to the language of the application software as the active area, and make the application software and the character resource file in the active area Finally, the application software completes the real-time query, switching, exporting, and copying operations of the character file areas in different languages ​​in the system; the above-mentioned scheme makes it possible to configure and manage the character resource files independently, so that the target code of the program can be obtained. Streamlined, more complete support for multilingual character resources, improving the flexibility of using character resources.

Description

technical field [0001] The invention relates to a method for managing character resources in the computer and communication fields. Background technique [0002] In application software products in the field of computer and communication, the usual method of managing and using character resources is to directly embed characters into program codes, that is, directly define character constants in different languages ​​in the program and directly quote them. The disadvantages of the above method are: first, the target code of the program will show a tendency of vicious expansion, and character constants will occupy a considerable proportion of the code; second, the development and maintenance process is complicated, because character constants are usually distributed throughout the program, which may make In order to modify a small error in the prompt information, a huge program or file modification workload is caused; the third is the difficulty of multilingual support. Gener...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/28
Inventor 朱鲲鹏
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products