Supercharge Your Innovation With Domain-Expert AI Agents!

Web performance optimization method based on domestic CPU, operating system and browser

An operating system and browser technology, applied in the direction of network data browsing optimization, instruments, multi-programming devices, etc., can solve the problems of resource waste, performance waste, excessive calculation, etc., and achieve the effect of improving running speed and fluency.

Pending Publication Date: 2022-05-13
INSPUR QILU SOFTWARE IND
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Query, login, verification code and other buttons are clicked too quickly by the user, resulting in multiple requests being sent;
[0005] Adjust the size of the browser window, resize times are too frequent, resulting in too many calculations;
[0006] When the input box queries the list, every time the input content is changed, a query will be triggered, resulting in a lot of query data that is not what we want to query, resulting in waste of performance;
[0007] Browser scrolling scroll events, browser scrolling events are triggered in large numbers, and the callback function will be executed every time it is triggered. In fact, most of them can not be executed, resulting in waste of performance
[0008] The frequent triggering of these events will slow down the running speed of the system, and there is still relatively little experience sharing on the performance optimization of high-frequency triggering events of Web application software in the domestic environment on the Internet, which will continue to repeat the research and development of optimization methods, resulting in waste of resources

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
  • Web performance optimization method based on domestic CPU, operating system and browser
  • Web performance optimization method based on domestic CPU, operating system and browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] A web performance optimization method based on a domestic CPU, operating system, and browser. The method includes processing high-frequency trigger events of web application software through the Javascript MVM framework angularJs (1.0) technology, and determining the trigger by judging the execution interval time Whether the event is executed, so as to achieve the purpose of saving performance;

[0033] Further, after the high-frequency event is triggered, the function will only be executed once within the preset time, and if the high-frequency event is triggered again within the preset time, it will be recalculated;

[0034] Furthermore, after the high-frequency event is triggered, the function will only be executed once within the preset time. If the high-frequency event is triggered again within the preset time, the specific steps of recalculation are as follows:

[0035] S1 uses the $timeout command of angularJs to set the execution delay time;

[0036] S2 When a h...

Embodiment 2

[0041] A web performance optimization method based on a domestic CPU, operating system, and browser. The method includes processing high-frequency trigger events of web application software through the Javascript MVM framework angularJs (1.0) technology, and determining the trigger by judging the execution interval time Whether the event is executed, so as to achieve the purpose of saving performance;

[0042] Further, within a period of time after the high-frequency event is triggered, an event is regularly executed at each preset time interval, which dilutes the frequency of event execution;

[0043] Further, after the high-frequency event is triggered, within a period of time, the event is regularly executed at each preset time interval, and the specific steps for diluting the frequency of event execution are as follows:

[0044] When S1 executes the method for the first time, set the global variable and assign it to false, and judge whether the global variable is true;

...

Embodiment 3

[0051] A web performance optimization system based on domestic CPU, operating system and browser, the system specifically includes an instruction delay module and an instruction processing module:

[0052] Instruction delay module: use the $timeout instruction of angularJs to set the execution delay time;

[0053] Command processing module: When a high-frequency event is triggered within the preset time, clear the current $timeout command and reset it.

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 Web performance optimization method based on a domestic CPU, an operating system and a browser, and belongs to the field of Web performance optimization. The method comprises the following steps: processing a Web application software high-frequency trigger event through a Javascript MVM framework angularJs (1.0) technology, and determining whether the trigger event is executed or not by judging execution interval time, so that the purpose of saving performance is achieved; according to the method, the problem that most events which are triggered at high frequency and have no practical significance occupy a large amount of browser performance is solved, the running speed of Web software is effectively increased, and compared with unprocessed codes, the running smoothness of the software is effectively improved; according to the method optimized by the method disclosed by the invention, extra operation of a user and extra occupation of system resources are not increased.

Description

technical field [0001] The invention discloses a web performance optimization method based on a domestic CPU, an operating system and a browser, and relates to the technical field of web performance optimization. Background technique [0002] With the country's strong support for Xinchuang, the industry has developed rapidly, and a number of excellent Xinchuang software and hardware products have emerged in China, which can already meet the daily needs of domestic governments, enterprises and institutions. More and more Web services based on Xinchuang software and hardware Application software systems are in use in many industries. [0003] However, in the process of Web software development, some events that are easily triggered repeatedly, such as: [0004] Query, login, verification code and other buttons are clicked too quickly by the user, resulting in multiple requests being sent; [0005] Adjust the size of the browser window, resize times are too frequent, resultin...

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/50G06F16/957G06F16/958
CPCG06F16/958G06F16/957G06F9/5027
Inventor 张海伦李杨王松
Owner INSPUR QILU SOFTWARE IND
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