CN105022826A - Method and system for improving Internet surfing speed of browser of android system intelligent terminal - Google Patents

Method and system for improving Internet surfing speed of browser of android system intelligent terminal Download PDF

Info

Publication number
CN105022826A
CN105022826A CN201510442452.XA CN201510442452A CN105022826A CN 105022826 A CN105022826 A CN 105022826A CN 201510442452 A CN201510442452 A CN 201510442452A CN 105022826 A CN105022826 A CN 105022826A
Authority
CN
China
Prior art keywords
intelligent terminal
database file
browser
user agent
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510442452.XA
Other languages
Chinese (zh)
Other versions
CN105022826B (en
Inventor
钟凡
陈�光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Sentinel E-commerce Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510442452.XA priority Critical patent/CN105022826B/en
Publication of CN105022826A publication Critical patent/CN105022826A/en
Application granted granted Critical
Publication of CN105022826B publication Critical patent/CN105022826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention discloses a method and system for improving an Internet surfing speed of a browser of an android system intelligent terminal. A database file described by a user agent is stored in an intelligent terminal system; when the intelligent terminal system is started, an interface service is provided for providing the database file to the system for use; when the browser of the intelligent terminal is started, the database file is inquired by the interface service to obtain user agent information of the intelligent terminal; the user agent information of the intelligent terminal is transmitted to a website server by the browser of the intelligent terminal; and the website server returns a webpage code required by the browser of the intelligent terminal according to the user agent information. The browser of the intelligent terminal receives the webpage code and the process that the browser analyzes an XML format file is converted into the database inquiring process, so that blank page waiting time of the browser of the intelligent terminal is reduced.

Description

A kind of method and system improving Android system intelligent terminal browser networking speed
Technical field
The present invention relates to a kind of method improving Android system intelligent terminal browser networking speed, particularly relate to a kind of method reducing the Android system intelligent terminal browser blank page stand-by period.
Background technology
The full name of UAProf is User Agent Profile, it is exactly UAProf file, be mainly used in the performance and the preference information that describe terminal device, in order to allow other equipment, such as WAP gateway, can identification intelligent terminal automatically, thus the content format passing to intelligent terminal can be optimized.The information such as the network environment characteristics that UAProf generally describes the hardware platform of intelligent terminal, software platform, therewith equipment are connected, when utilizing intelligent terminal browser to surf the Net, browser can resolve UAProf file, take out user agent's information (User Agent) and be transferred to Website server, Website server can identify operating system and the version of user according to User Agent, browser and version. then judge the function that intelligent terminal browser can be supported, thus return to the web page code of browser needs.
UAProf is common in carrier customization intelligent terminal.Operator manages concentratedly these UAProf.Operator judges according to its software and hardware characteristic to intelligent terminal, when pushing the value-added service of oneself to intelligent terminal, can follow according to these characteristics to push the content of applicable intelligent terminal.Such as can judge that MP4 or RM format video supported by intelligent terminal.According to supporting different video formats, push different video contents.
The UAProf that scheme company also can obtain operator is stored on intelligent terminal, operator is for supporting globalization service, UAProf information all for market can be stored in UAProf file, such browser resolves UAProf document time is very long, and user can be caused to wait as long for blank page phenomenon.
Along with the arrival in mobile interchange epoch, palm is done shopping, and palm surfing etc. are more and more welcome, and the networking speed of mobile intelligent terminal is a rigid index, directly determines the market shipment amount of intelligent terminal.Ge great scheme company meticulously optimizing the software and hardware resources of product of oneself, is all an important optimization point to the improvement of browser access webpage speed.Some intelligent terminals are blank for a long time in order to avoid browser, added the slight animation of section or a secondary beautiful picture when browser starts.Be can the notice of transferring user like this, alleviate the agitation that blank is waited for.But this method needs to strengthen internal memory, improve cpu frequency, therefore improve cost, the solution increasing hardware cost is not suitable for little scheme company, cost is too high, the bad sale in market, and the browser scheme increasing animation or picture can not tackle the problem at its root, can only transferring user notice a little.
Summary of the invention
Object of the present invention, proposes a kind of method and system improving intelligent terminal browser networking speed exactly, reduces the intelligent terminal browser blank page stand-by period, from the basic speed improving browser access webpage.
The present invention is for solving the problems of the technologies described above adopted technical scheme:
Improve a method for Android system intelligent terminal browser networking speed,
The database file of UAProf is stored in described intelligent terminal system;
When intelligent terminal system starts, providing an interface service, using for database file being supplied to system;
When described intelligent terminal browser starts, by described interface service data query library file, obtain user agent's information of described intelligent terminal;
By described intelligent terminal browser, described intelligent terminal user proxy information is transferred to Website server;
Described Website server returns to the web page code required for described intelligent terminal browser according to institute user proxy information;
Described intelligent terminal browser receives described web page code.
The database file of UAProf is stored in intelligent terminal system, substitute the UAProf file of storing X ML form, the process of browser resolves XML format file is converted to the process to data base querying, the arithmetic speed that the arithmetic speed of data base querying is resolved much larger than XML file, arithmetic speed can be improved, in this way, the intelligent terminal browser blank page stand-by period can be reduced.
Preferably,
When compiling described intelligent terminal software version, increase an operation, for:
The UAProf file of parsing XML format;
Set up a database file, by user agent's information of parsing stored in database file;
Described database file is stored in described intelligent terminal system.
More than provide user agent's information stored in the method for building up of database file, compiling intelligent terminal software version is general all on PC, and the arithmetic capability of PC is much larger than mobile terminal, a few second, just energy dissection process was complete, did not affect the described intelligent terminal software version speed of compiling.
Preferably,
Described operation is realized by script.
Script highly versatile, easy to use.
Preferably,
Described database file is SQLite database file.
SQLite is a light-duty database, fast operation.
Present invention also offers a kind of system improving Android system intelligent terminal browser networking speed, comprise intelligent terminal and network service end, wherein:
Intelligent terminal comprises:
Memory module, for storing the database file of UAProf in intelligent terminal system;
Service providing module, for when intelligent terminal system starts, provides an interface service, and described database file is supplied to system and uses by described service;
User agent's data obtaining module, when starting for described intelligent terminal browser, by described interface service data query library file, obtains user agent's information of described intelligent terminal;
User agent's information sending module, for by described intelligent terminal browser by described user agent's information transmission to website service end;
Info web receiver module, for receiving the web page code that network service end returns;
Network service end comprises:
User agent's information receiving module, for receiving described user agent's information;
Web page code provides module, for returning to the web page code of described intelligent terminal browser according to user agent's information.
Preferably,
Also include:
Compiling service end, described compiling service end comprises:
Parsing module, for the UAProf file of parsing XML format;
Database file generation module, for setting up a database file, by user agent's information of parsing stored in database file;
Database file writing module, for writing described database file in described intelligent terminal system.
Preferably,
Described parsing module, database file generation module, database file writing module are all realize its function by script.
Preferably,
Described database file is SQLite database file.
The present invention by storing the database file of UAProf in intelligent terminal system, substitute the UAProf file of storing X ML form, the process of browser resolves XML format file is converted to the process to data base querying, the arithmetic speed that the arithmetic speed of data base querying is resolved much larger than XML file, arithmetic speed can be improved, in this way, the intelligent terminal browser blank page stand-by period can be reduced.The present invention also provides user agent's information stored in the method for building up of database file, compiling intelligent terminal software version is general all on PC, and the arithmetic capability of PC is much larger than mobile terminal, the UAProf document analysis of XML format just can be disposed by a few second, the described intelligent terminal software version speed of compiling is not affected, building database file on PC, and by user agent's information write into Databasce file of parsing, in the database file write intelligent terminal system of UAProf afterwards.
Accompanying drawing explanation
Fig. 1 is a kind of embodiment one schematic flow sheet improving the method for intelligent terminal browser networking speed.
Fig. 2 is a kind of embodiment one structural representation improving the system of intelligent terminal browser networking speed.
Fig. 3 is a kind of embodiment two schematic flow sheet improving the method for intelligent terminal browser networking speed.
Fig. 4 is a kind of embodiment two structural representation improving the system of intelligent terminal browser networking speed.
Embodiment
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Embodiment one:
As shown in Figure 1, a kind of method improving Android system intelligent terminal browser networking speed of the present embodiment;
The database file of UAProf is stored in intelligent terminal system, database file is SQLite database file normally, called after: UAProf_DB.db, the path being stored in intelligent terminal is: data/data/com.android/UAProf_DB/UAProf_DB.db.
When intelligent terminal system starts, providing an interface service, using for database file being supplied to system.When system starts, start a ContentProvider (Android system stores and obtains data and provides unified interface, can share data between different applications) interface service, interface service called after BrowserProvider.This service specifically starts in the systemReady of ActivityManagerService (service that Android system provides) (method that Android system provides) method.Database is supplied to system and uses by this service.
When intelligent terminal browser starts, by interface service data query library file, obtain user agent's information of intelligent terminal.When browser starts, BrowserProvider is obtained by getContentProvider method (method for set by connecting interface service) in a browser, and then to BrowserProvider operation, data query library file, obtains user agent's information.
By intelligent terminal browser, intelligent terminal user proxy information is transferred to Website server;
Website server returns to the web page code required for intelligent terminal browser according to institute user proxy information.
Intelligent terminal browser receives web page code, and web page code is adapted to intelligent terminal browser, in a browser display web page.
The database file of UAProf is stored in intelligent terminal system, substitute the UAProf file of storing X ML form, the process of browser resolves XML format file is converted to the process to data base querying, the arithmetic speed that the arithmetic speed of data base querying is resolved much larger than XML file, arithmetic speed can be improved, in this way, the intelligent terminal browser blank page stand-by period can be reduced.
As shown in Figure 2, the present embodiment also provides a kind of system improving Android system intelligent terminal browser networking speed, comprises intelligent terminal and network service end, wherein:
Intelligent terminal comprises:
Memory module, for storing the database file of UAProf in intelligent terminal system;
Service providing module, for when intelligent terminal system starts, provides an interface service, serves and database file is supplied to system use;
User agent's data obtaining module, when starting for intelligent terminal browser, by interface service data query library file, obtains user agent's information of intelligent terminal;
User agent's information sending module, for passing through intelligent terminal browser by user agent's information transmission to website service end;
Info web receiver module, for receiving the web page code that network service end returns;
Network service end comprises:
User agent's information receiving module, for receiving user agent's information;
Web page code provides module, for returning to the web page code of intelligent terminal browser according to user agent's information.
When intelligent terminal browser starts, user agent's data obtaining module of intelligent terminal, by the interface service that service providing module provides, the UAProf database file that inquiry memory module stores, obtain user agent's information of intelligent terminal, user agent's information is sent to network service end by user agent's information sending module by intelligent terminal browser, network service end receives user agent's information by user agent's information receiving module, the web page code of network service end provides module to return to the web page code required for institute's intelligent terminal browser according to user agent's information, the info web receiver module of intelligent terminal receives the web page code that network service end returns, display web page in a browser.
Embodiment two:
As shown in Figure 3, the method for the raising Android system intelligent terminal browser networking speed that the present embodiment provides is substantially identical with embodiment one, and its difference is, what present embodiments provide UAProf database file sets up mode:
When compiling intelligent terminal software version, increase an operation, operation specifically runs at make (compiler directive) script file write in advance before, and script file is used for:
The UAProf file of parsing XML format, because UAProf file (UAProf) data that operator provides usually are all XML format;
Set up a database file, by user agent's information of parsing stored in database file;
Database file is stored in intelligent terminal system.
Compiling intelligent terminal software version is general all on PC, and the arithmetic capability of PC is much larger than mobile terminal, a few second, just energy dissection process was complete, compiling intelligent terminal software version speed is not affected, PC completes and sets up UAProf database file, write in intelligent terminal system afterwards.
As shown in Figure 4, the present embodiment additionally provides a kind of system improving Android system intelligent terminal browser networking speed, and system is substantially identical with embodiment one, and its difference is, system also includes compiling service end, and compiling service end comprises:
Parsing module, for the UAProf file of parsing XML format;
Database file generation module, for setting up a database file, by user agent's information of parsing stored in database file;
Database file writing module, for writing database file in intelligent terminal memory module.
The parsing module of compiling service end is used for the UAProf file of parsing XML format, database generation module is used for setting up a database file, the user agent's information parsed by parsing module is stored in database file, and database file writing module is used for writing in the memory module of UAProf database file write intelligent terminal of user agent's information.
Below be only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (8)

1. improve a method for Android system intelligent terminal browser networking speed, it is characterized in that,
The database file of UAProf is stored in described intelligent terminal system;
When intelligent terminal system starts, providing an interface service, using for database file being supplied to system;
When described intelligent terminal browser starts, by described interface service data query library file, obtain user agent's information of described intelligent terminal;
By described intelligent terminal browser, described intelligent terminal user proxy information is transferred to Website server;
Described Website server returns to the web page code required for described intelligent terminal browser according to institute user proxy information;
Described intelligent terminal browser receives described web page code.
2. the method improving Android system intelligent terminal browser networking speed as claimed in claim 1, is characterized in that,
When compiling described intelligent terminal software version, increase an operation, for:
The UAProf file of parsing XML format;
Set up a database file, by user agent's information of parsing stored in database file;
Described database file is stored in described intelligent terminal system.
3. the method improving Android system intelligent terminal browser networking speed as claimed in claim 2, is characterized in that,
Described operation is realized by script.
4. the method for the raising Android system intelligent terminal browser networking speed as described in claim 1-3 any one claim, is characterized in that,
Described database file is SQLite database file.
5. improve a system for Android system intelligent terminal browser networking speed, it is characterized in that, comprise intelligent terminal and network service end, wherein:
Intelligent terminal comprises: memory module, for storing the database file of UAProf in intelligent terminal system;
Service providing module, for when intelligent terminal system starts, provides an interface service, and described database file is supplied to system and uses by described service;
User agent's data obtaining module, when starting for described intelligent terminal browser, by described interface service data query library file, obtains user agent's information of described intelligent terminal;
User agent's information sending module, for by described intelligent terminal browser by described user agent's information transmission to website service end;
Info web receiver module, for receiving the web page code that network service end returns;
Network service end comprises:
User agent's information receiving module, for receiving described user agent's information;
Web page code provides module, for returning to the web page code of described intelligent terminal browser according to user agent's information.
6. the system of the raising Android system intelligent terminal browser networking speed as described in right 5, is characterized in that, also include:
Compiling service end, described compiling service end comprises:
Parsing module, for the UAProf file of parsing XML format;
Database file generation module, for setting up a database file, by user agent's information of parsing stored in database file;
Database file writing module, for writing described database file in described intelligent terminal system.
7. the system improving Android system intelligent terminal browser networking speed as claimed in claim 6, is characterized in that,
Described parsing module, database file generation module, database file writing module are all realize its function by script.
8. the system of the raising Android system intelligent terminal browser networking speed as described in claim 5-7 any one claim, is characterized in that,
Described database file is SQLite database file.
CN201510442452.XA 2015-07-24 2015-07-24 A kind of method and system for improving Android system intelligent terminal browser networking speed Active CN105022826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510442452.XA CN105022826B (en) 2015-07-24 2015-07-24 A kind of method and system for improving Android system intelligent terminal browser networking speed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510442452.XA CN105022826B (en) 2015-07-24 2015-07-24 A kind of method and system for improving Android system intelligent terminal browser networking speed

Publications (2)

Publication Number Publication Date
CN105022826A true CN105022826A (en) 2015-11-04
CN105022826B CN105022826B (en) 2018-07-06

Family

ID=54412795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510442452.XA Active CN105022826B (en) 2015-07-24 2015-07-24 A kind of method and system for improving Android system intelligent terminal browser networking speed

Country Status (1)

Country Link
CN (1) CN105022826B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146346A (en) * 2006-09-13 2008-03-19 华为技术有限公司 Device capability information reporting method and terminal device
US20110137973A1 (en) * 2009-12-07 2011-06-09 Yottaa Inc System and method for website performance optimization and internet traffic processing
CN102637211A (en) * 2012-04-12 2012-08-15 华为技术有限公司 Method, device and system for updating terminal adapted database

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146346A (en) * 2006-09-13 2008-03-19 华为技术有限公司 Device capability information reporting method and terminal device
US20110137973A1 (en) * 2009-12-07 2011-06-09 Yottaa Inc System and method for website performance optimization and internet traffic processing
CN102637211A (en) * 2012-04-12 2012-08-15 华为技术有限公司 Method, device and system for updating terminal adapted database

Also Published As

Publication number Publication date
CN105022826B (en) 2018-07-06

Similar Documents

Publication Publication Date Title
US10277702B2 (en) Method and apparatus for accessing an enterprise resource planning system via a mobile device
CN103389969B (en) A kind of methods, devices and systems for mobile terminal preview pdf document
CN110399388A (en) Data query method, system and equipment
US20130073946A1 (en) Method and apparatus for loading webpage content of webkit browser
CN102665127A (en) Browser system of digital television
CN101183946B (en) Method and system of obtaining resource listing of download file
CN102110168B (en) Method and device for extending functions of mobile terminal browser
CN101616132A (en) A kind of data capture method and device thereof and system
CN103067423A (en) Browser kernel adaption method and browser
CN102722551A (en) Intelligent switching method and system for browser kernels
CN103383687A (en) Page processing method and device
WO2015021873A1 (en) Method, platform server, and system of data pushing
CN101540768B (en) Multiple terminal self-adapting operation method of rich media system
CN101272543A (en) Wireless data transmission method
CN101079848B (en) A communication method, device, server and system for messages at Internet
CN102571826A (en) Method for pushing application from network platform to client side and system adopting same
CN101616501A (en) A kind of application memory, compiler server, access system and method and client terminal
CN102523271B (en) Terminal and communication method and system thereof
CN102110144B (en) Document access method and terminal equipment
CN105022826A (en) Method and system for improving Internet surfing speed of browser of android system intelligent terminal
Huang et al. Developing an XML gateway for business-to-business commerce
CN103001924A (en) Method, network server and system for accessing pages
CN102664959B (en) The wireless middleware of a kind of mobile platform
CN104202680A (en) Method and device for acquiring stream media
CN105160557A (en) Method for realizing shop-and-supermarket information community based on intelligent apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201117

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right

Effective date of registration: 20201215

Address after: 210000 zhimengyuan, science and technology innovation block, model road, Gulou District, Nanjing City, Jiangsu Province

Patentee after: Wang Qian

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210425

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 210000 zhimengyuan, science and technology innovation block, model road, Gulou District, Nanjing City, Jiangsu Province

Patentee before: Wang Qian

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230829

Address after: B005, 7th Floor, No. 2 Saidi Road, North New Area, Yubei District, Chongqing, 400000

Patentee after: Chongqing Sentinel E-commerce Co.,Ltd.

Address before: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee before: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right