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

Multi-language supporting webpage processing method, webpage loading method and systems

A web page loading method and multi-language technology, applied in the field of computer network applications, can solve the problems of reducing the response speed of users switching web pages or switching languages, modifying source codes, increasing the redundancy of language strings, etc., so as to reduce the time of manual investment. and cost, saving storage capacity, and reducing the effect of redundancy

Active Publication Date: 2012-09-26
HANGZHOU HIKVISION DIGITAL TECH
View PDF5 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] 1. Although the language strings in the web pages are designed with soft coding (that is, the language strings are separated from the HTML files), the language types supported by the product are hard coded in the web script code, so each time you provide When supporting products with a collection of different language types, the source code needs to be modified;
[0012] 2. The currently known three schemes all use the id attribute of the tag containing the language string in the HTML file (hereinafter referred to as "language tag") as the index key between the XML file and the World Wide Web Consortium standard requires that an HTML file contains The id attributes of all tags cannot be repeated, so that the tags of the same language string displayed in different locations in an HTML file must be assigned different location attributes, and repeated multiple times in the corresponding XML file;
[0014] 4. For web pages with few language strings and close relationships (may be frequently switched back and forth by users), an XML file must be loaded every time a new HTML file is loaded, which will inevitably increase the The pressure of front-end and back-end interaction of the big Web;
[0015] 5. When the user chooses to switch languages, the language string dynamically inserted into the Web page by means of Web script code cannot be replaced (hereinafter referred to as "dynamic language string", which means that the language tag in the HTML file is not related to the XML file node. Linked language string), or can only refresh the web page while switching languages
[0016] In summary, disadvantages 1, 2, and 3 increase the workload when adding new languages ​​and maintaining existing languages, and increase the redundancy between language strings; disadvantages 4 and 5 reduce the time when users switch web pages or switch languages. response speed

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
  • Multi-language supporting webpage processing method, webpage loading method and systems
  • Multi-language supporting webpage processing method, webpage loading method and systems
  • Multi-language supporting webpage processing method, webpage loading method and systems

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In the following description, many technical details are proposed in order to enable readers to better understand the application. However, those skilled in the art can understand that without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in each claim of the present application can be realized.

[0048] In order to make the purpose, technical solution and advantages of the present invention clearer, the following will further describe the implementation of the present invention in detail in conjunction with the accompanying drawings.

[0049] The first embodiment of the present invention relates to a web page processing method supporting multiple languages. figure 1 It is a schematic flowchart of the method for processing webpages supporting multiple languages. The web page processing method supporting multiple languages ​​is based on a tree-structured translation file set, whe...

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 relates to the field of computer network application, and discloses a multi-language supporting webpage processing method, a multi-language supporting webpage loading method, a multi-language supporting webpage processing system and a multi-language supporting webpage loading system. When a certain language is added or modified, labor time and labor cost are reduced, the storage capacity of a webpage server is saved, webpage loading speed and translation rendering speed are increased, and the redundancy of a translated file set is reduced. The multi-language supporting webpage processing method is based on a translated file set with a tree structure, wherein each hyper text markup language (HTML) file corresponds to a translated file. The multi-language supporting webpage processing method comprises the following steps of: scanning all translated files in the translated file set; extracting the same language character string in different node sets of different translated files or the same translated file, and inserting the same language character string into a least common ancestor translated file of the different translated files or a common node set of the same translated file; and deleting the same language character string from the original translated files or the node sets.

Description

technical field [0001] The invention relates to the field of computer network applications, in particular to a web page realization technology supporting multiple languages. Background technique [0002] A necessary condition for internationalization is the design and development of products that are easily adapted to the requirements of different regions. For products that can be accessed through the network, it requires that the World Wide Web (World Wide Web, referred to as "WWW") pages can be easily switched and displayed in multiple languages. This convenience includes two aspects: [0003] 1. Add and maintain web pages in multiple languages; [0004] 2. The interactive experience of the user using the Web page. The former method requires Web pages to support multiple languages, and the workload of adding new languages ​​and maintaining existing languages ​​needs to be minimized, while the latter requires this method to have a high response speed. [0005] In order ...

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 Applications(China)
IPC IPC(8): G06F17/30G06F17/28G06F40/143
CPCG06F17/3089G06F17/30H03M7/3088H03M7/707G06F16/958G06F16/2282G06F16/986G06F40/197G06F40/131G06F40/143G06F40/58
Inventor 吴飏石炎明万鹏向晓张小媛
Owner HANGZHOU HIKVISION DIGITAL TECH
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