Invention Grant
- Patent Title: Method and apparatus for compressing webpage text
- Patent Title (中): 用于压缩网页文本的方法和装置
-
Application No.: US14388529Application Date: 2013-09-04
-
Publication No.: US09542373B2Publication Date: 2017-01-10
- Inventor: Jie Liang , Xiaopeng He , Yongfu Yu , Shunyan Zhu , Xing Yang
- Applicant: GUANGZHOU UCWEB COMPUTER TECHNOLOGY CO., LTD
- Applicant Address: CN Guangzhou
- Assignee: GUANGZHOU UCWEB COMPUTER TECHNOLOGY CO., LTD
- Current Assignee: GUANGZHOU UCWEB COMPUTER TECHNOLOGY CO., LTD
- Current Assignee Address: CN Guangzhou
- Agency: Anova Law Group, PLLC
- Priority: CN201210593915 20121231
- International Application: PCT/CN2013/082950 WO 20130904
- International Announcement: WO2014/101462 WO 20140703
- Main IPC: G06F17/00
- IPC: G06F17/00 ; G06F17/22 ; G06F17/27

Abstract:
Methods and apparatus for compressing webpage text are provided. According to a webpage-opening request of a mobile terminal browser, a current language environment of the terminal is obtained. According to the language environment, a character container corresponding to the language environment is initialized. Requested webpage data are received. The received webpage data are parsed. The webpage data are merged and stored using the corresponding character container. During the initializing of the corresponding character container according to the language environment, it is determined whether the language environment belongs to Latin languages. When the language environment belongs to Latin languages, the character container is initialized to store utf-8 encoded data. Otherwise, the character container is initialized to store utf-16 encoded data. The present disclosure can intelligently determine a storage method according to the language environment, optimize and adapt stored content, and effectively reduce the browser memory occupied by the webpage data.
Public/Granted literature
- US20150058715A1 METHOD AND APPARATUS FOR COMPRESSING WEBPAGE TEXT Public/Granted day:2015-02-26
Information query