Check patentability & draft patents in minutes with Patsnap Eureka AI!

Page loading method and device

A page loading and page technology, applied in the computer field to achieve the effect of improving page loading speed

Inactive Publication Date: 2016-11-09
LETV HLDG BEIJING CO LTD +1
View PDF4 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] We often open the homepage of some social networking sites, personal homepage, etc., and we can see modules such as personal information, dynamic information, who has seen me, everyone is watching, etc. These modules are independent of each other, but in traditional Internet development, it is necessary to One by one is taken out from the database or cache, etc., and they are performed serially with each other, which is very slow

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
  • Page loading method and device
  • Page loading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] refer to figure 1 , a page loading method comprising the following steps,

[0027] Step 1, establish multi-threading in one request, and obtain data of multiple modules at the same time,

[0028] Step 2, load the acquired module data to the page.

[0029] The existing loading technology needs to be taken out one by one from the database or cache, etc., and they are performed serially, which is very slow. This embodiment adopts the method of establishing multi-threading in one request to obtain multiple module data at the same time , load the obtained module data to the page, especially load the obtained module data to the same page, this method obtains each module displayed on the page in parallel, and the page loading speed has been doubled.

[0030] In another preferred embodiment of the present invention, step 1 sets up multithreading in a request, obtains a plurality of module data simultaneously, sets overtime when obtaining a plurality of module data, and the mo...

Embodiment 2

[0042] refer to figure 2 , a page loading device, comprising an acquisition unit 10 and a loading unit 11,

[0043] The acquisition unit 10 establishes multi-threads in one request, and acquires multiple module data at the same time;

[0044] The loading unit 11 loads the obtained module data into the page. The existing loading technology needs to be taken out one by one from the database or cache, etc., which are performed serially and are very slow. module data, the loading unit 11 loads the obtained module data to the page, especially the loading unit 11 loads the obtained module data to the same page. This method obtains each module displayed on the page in parallel, and the page loading speed is doubled. improvement.

[0045] In another preferred embodiment of the present invention, the page loading device further includes a timing unit, the timing unit sets a timeout period, and the module data acquired within the timeout period is loaded to the page. The module dat...

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 discloses a page loading method and device. The page loading method comprises the following steps that 1, multiple threads are established in a request, and meanwhile multiple pieces of module data are acquired; 2, the acquired module data is loaded to a page. According to the method, multiple threads are established in one request, the module data is acquired, and then the acquired module data is loaded to the page; the method of establishing multiple threads in one request is adopted, the module data is acquired, the acquired module data is loaded to the page, therefore, all modules for page display are acquired in parallel, and the page loading speed is increased by times.

Description

technical field [0001] The invention relates to the field of computers, in particular to a page loading method and device. Background technique [0002] We often open the homepage of some social networking sites, personal homepage, etc., and we can see modules such as personal information, dynamic information, who has seen me, everyone is watching, etc. These modules are independent of each other, but in traditional Internet development, it is necessary to One by one is fetched from the database or cache, etc., and they are performed serially with each other, which is very slow. Contents of the invention [0003] The invention provides a method and device for loading pages faster. The present invention has adopted following technical scheme: [0004] A page loading method, comprising the following steps, [0005] Step 1, establish multi-threading in one request, and obtain data of multiple modules at the same time, [0006] Step 2, load the acquired module data to the ...

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
IPC IPC(8): G06F9/445
CPCG06F9/44578
Inventor 谢晓静
Owner LETV HLDG BEIJING CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More