Implementation method and device for browser cold start

An implementation method and browser technology, applied in the computer field, can solve the problems of slow startup process, long waiting time, and high resource consumption, and achieve the effects of reducing page missing, saving time, and reducing seek operations.

Active Publication Date: 2018-01-12
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the cold start process of existing browsers has the disadvantages of slow start process and high resource consumption, and the user needs to wait for a long time before seeing the browser window

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
  • Implementation method and device for browser cold start
  • Implementation method and device for browser cold start
  • Implementation method and device for browser cold start

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0018] figure 1 It is a schematic flow diagram of a method for realizing a browser cold start provided by Embodiment 1 of the present invention. The method can be executed by a device for realizing a browser cold start. The device is implemented by software and can be used as a subroutine of a browser program. The cold start process is controlled under the call of the browser main program. In this case, the subroutine, as a program for driving the browser, is embedded in the browser program, that is, the browser cold start implementation method in this embodiment is executed by the browser. Of course, the device may also be an auxiliary program independent of the browser program, for example, as a program in the operating system, which monitors the cold start process of the browser, thereby controlling the cold start process. In this case, the auxiliary program is provided outside the browser program as a program for driving the browser, that is, the implementation method of ...

Embodiment 2

[0035] figure 2 It is a schematic flowchart of a browser cold start implementation method provided by Embodiment 2 of the present invention. This embodiment provides a preferred embodiment on the basis of the first embodiment above. For this example see figure 2 , the implementation method of the browser cold start includes the following operations:

[0036] 210. Traverse each startup stage of the browser according to the browser startup instruction obtained, and read the data files of the startup stage currently traversed sequentially starting from the storage location of the data file of the startup stage currently traversed in the disk , save the read data file in memory;

[0037] 220. Based on the sequence of each startup stage and according to the browser startup process's requirements for data files, search and read the data file of the current startup stage from the memory, and run the current startup stage according to the read data file;

[0038] 230 . After run...

Embodiment 3

[0049] image 3 It is a schematic structural diagram of an apparatus for implementing browser cold start provided by Embodiment 3 of the present invention. see image 3 , the concrete structure of this realization device is as follows:

[0050] The disk reading unit 310 is configured to read the data files sequentially from the storage location of the data files of the browser in the disk according to the acquired browser start instructions, and store the read data files in the memory ;

[0051] The memory reading unit 320 is configured to search and read the corresponding data file from the memory according to the requirement of the data file during the browser startup process.

[0052] Further, the data file of the browser includes at least one data file in the startup phase;

[0053] The disk reading unit 310 includes:

[0054] The file search subunit 3101 is configured to traverse each startup stage of the browser according to the browser startup instruction obtained,...

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 embodiment of the invention discloses a browser cold start method and device. The method includes: reading the data files sequentially from the storage position of the data files of the browser in the disk according to the acquired starting instructions of the browser, and storing the read data files in the memory; Find and read the corresponding data file from the internal memory according to the requirement for the data file during the startup process of the server. The technical solution provided by this embodiment can reduce the seek operation of randomly reading the disk, avoid page faults, and optimize the interface display effect when the browser is cold started.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer technology, and in particular, to a method and device for implementing a cold start of a browser. Background technique [0002] At present, methods for starting a browser on a terminal can be divided into a cold start method and a hot start method. The so-called cold start of the browser refers to starting the browser for the first time after turning on the terminal device; the so-called hot start of the browser refers to restarting the browser after starting and closing the browser on the terminal device. [0003] In the prior art, the cold start process of the browser mainly reads and opens various data files run by the browser through disk I / O reading and writing, so as to support the running function of the browser. [0004] However, the cold start process of the existing browser has the disadvantages of slow start process, high resource consumption, and the user needs to wait fo...

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 Patents(China)
IPC IPC(8): G06F9/445G06F12/02
Inventor 钱毅
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) 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