Method and system for automatically setting page language by mobile terminal browser

A technology of mobile terminals and browsers, applied in transmission systems, instruments, branch office equipment, etc., can solve the problems of judgment, single judgment condition, and inability to judge accept-language information

Active Publication Date: 2011-01-26
ALIBABA (CHINA) CO LTD
View PDF5 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the default language value of mobile browsers is often set by developers, and cannot be set by users themselves like PC browsers.
The mobile phone system will only judge the default language value of the mobile browser to generate the accept-language value. Some of the popular mobile phones on the market currently have parallel imports and modified versions. Many of these mobile phones are cracked and localized by businessmen. However, the default language value of the mobile browser has no Chinese information, so the accept-language in the sending request is still English, and the Chinese page cannot be returned
In addition, most domestic mobile phone manufacturers use the Mtk platform, and there is no unified communication standard among manufacturers, especially after using the java virtual machine (some built-in browsers need to use the java function), it is completely impossible to judge the correct The accept-language information causes the page to return an error
[0004] At present, some mobile phones can judge the mobile phone language according to a certain logic, but the judgment conditions are single and cannot meet the needs of users: the mobile phone system only judges the value of accept-language for the default language of the mobile phone, and cannot judge the user's detailed information, Such as region, web browsing habits, language habits, etc.

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
  • Method and system for automatically setting page language by mobile terminal browser
  • Method and system for automatically setting page language by mobile terminal browser
  • Method and system for automatically setting page language by mobile terminal browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0027] figure 1 A flowchart showing a method for automatically setting a page language by a browser of a mobile terminal. The language request header used in this embodiment is accept-language. accept-language is one of the request header data conforming to the W3C standard, which contains the language information used by the user. The web server will judge this information and return the same language as the accept-language request, which is convenient for the user to read.

[0028] Such as figure 1 As shown, in step S1, the user logs in the browser of the mobile terminal, and initializes the browser of the mobile terminal. In step S2, the browser acquires user-related information and accept-language data. Wherein, the browser identifies the SIM card of the mobile phone, and obtains user-related information such as network operator inform...

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 provides a method for automatically setting a page language by a mobile terminal browser. The method comprises the following steps of: acquiring relevant information of a user by using the browser and neglecting the default language value of a mobile terminal; determining a precedence language value according to the relevant information of the user and a preset weight of the default language value of a browser edition and writing the precedence language value into a language request header so as to generate language request header data; and transmitting the language request header data to a webpage server and receiving page contents of a corresponding language edition. The invention also provides a system for automatically setting the page language by the mobile terminal browser. The system comprises an information acquisition unit, an information analysis unit, a request header reset unit and a data interaction unit. Through the implementation of the technical scheme of the invention, a mobile phone browser determines the precedence language value by acquiring the relevant information of the user so as to provide the webpage contents of a corresponding language edition for the user and meet the requirement of the user on the page language edition when a webpage is browsed.

Description

Technical field: [0001] The invention relates to a method and a system for automatically setting a page language by a browser, in particular to a method and a system for automatically setting a page language by a browser serving a mobile terminal. Background technique: [0002] With the rapid development of Internet technology, many large-scale websites have realized the internationalization technology of the website one after another, that is, returning the website content of the corresponding language version according to the language information of the client. When the client browser sends an access request to the server, it adds the language information set in the browser as a request header (accept-language) to the request and sends it to the server. Information returns the corresponding language version of the website content. [0003] The above techniques are also applicable in mobile browsers. However, the default language value of mobile phone browsers is often se...

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/30H04M1/725H04L29/08H04M1/72445
Inventor 梁捷余涛
Owner ALIBABA (CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products