Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for code optimization for embedded browser

An embedded browser and optimization method technology, applied in the field of communications, can solve problems such as the embedded browser cannot be displayed normally, business logic function execution errors, external source file parsing errors, etc., to improve user experience, improve reliability and Compatibility, the effect of ensuring the correct rate

Inactive Publication Date: 2010-04-07
ZTE CORP
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention aims to provide an encoding optimization method and device for an embedded browser, which can solve the problem of external source files that appear in the embedded browser in the related art when the encoding format of the HTML page is different from the encoding format of the external source file it refers to. The parsing error of the embedded browser will cause the embedded browser to fail to display normally, and even cause the execution of the business logic function to be wrong, which will affect the user experience.

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 device for code optimization for embedded browser
  • Method and device for code optimization for embedded browser
  • Method and device for code optimization for embedded browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0022] figure 1 It shows a flow chart of a coding optimization method according to the first embodiment of the present invention, and the method includes the following steps:

[0023] Step 101, the embedded browser detects the first encoding format of the external source file in the data to be parsed, and the second encoding format of the webpage file to which the external source file belongs;

[0024] Step 102, the embedded browser judges whether the first encoding format is the same as the second encoding format;

[0025] Step 103, if the first encoding format is different from the second encoding format, the embedded browser re-encodes the file content of the external source file according to the second encoding format to obtain a re-encoded external source file for parsing.

[0026] In this embodiment, the embedded browser firs...

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 and a device for code optimization for an embedded browser. The method comprises that: the embedded browser detects a first code format of an external source file in data to be resolved and a second code format of a web file to which the external source file belongs; the embedded browser judges whether the first code format and the second code format are the same or not; and if the first code format and the second code format are different, the embedded browser recodes the file content of the external source file according to the second code format to acquire a recoded external source file used for resolving. The method and the device improve the reliability and compatibility of service logic function execution and improve user experience so as to solve the problems that abnormal display of the embedded browser in the related art caused by the difference between the HTML web code format and the external source file code format quoted by the embedded browser leads to errors in execution of the service logic function and influences on the user experience.

Description

technical field [0001] The present invention relates to the field of communications, in particular to an encoding optimization method and device for an embedded browser. Background technique [0002] With the rapid development of network-based IPTV (Internet Protocol Television, Internet TV) business applications, the IPTV business system uses a large number of Web technologies, and introduces CSS (Cascading Style Sheets, Cascading Style Sheets) style sheets, JavaScript scripts, etc. W3C (World Wide Web Consortium, World Wide Web Consortium) technical standards, and W3C technical standards have also become a long-term development trend of IPTV. As long as there is a browser supporting the W3C specification on the embedded terminal device, it can well support the IPTV service. The promotion and application of IPTV services require embedded browsers to have better compatibility and support for W3C technical standards, especially for details not covered by W3C specifications, ...

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/30H04N7/173H04N21/43H04N21/431
Inventor 刘军周兴俊
Owner ZTE CORP