Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for processing system function call request and browser

A system function invocation and system function technology, applied in the field of Internet applications, can solve the problems of high number of cache operations, occupation, and multiple system resources, and achieve the effect of reducing the number of cache times, the amount of cached data, and the occupation.

Active Publication Date: 2016-01-13
HISENSE VISUAL TECH CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the inventor found that in the above solutions of the prior art, as long as the web application requests different return results, the browser will execute system function calls, which still need to occupy more system resources
At the same time, every time the browser executes a system function call, it must cache the new return result, so the number of cache operations is large, and the amount of cached data is large, which makes the browser consume system resources for maintaining and managing the cached data. more 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
  • Method for processing system function call request and browser
  • Method for processing system function call request and browser
  • Method for processing system function call request and browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] Embodiments of the present invention provide a method for processing system function call requests, which are applied to browsers. Refer to figure 1 shown, including the following steps:

[0027] 101. The browser receives the system function calling request sent by the web application.

[0028] The web application may be various application programs running on the basis of a browser, including HTML web pages, JavaScript scripts, and the like. Web applications can run online, such as various browser-based online games. In addition, Web applications can also run offline, such as various HTML files stored locally by the user.

[0029] As a platform supporting the operation of Web applications, the browser is an application program installed in the operating system, and its hardware platform can be a personal computer, smart phone, smart TV, e-book reader, etc. The present invention does not limit the hardware platform of the operating system .

[0030] The system funct...

Embodiment 2

[0049] based on figure 1 In the corresponding embodiment, Embodiment 2 of the present invention provides a method for processing a system function call request, which is applied to a browser. Refer to figure 1 As shown, the following steps are included, and some of the steps are the same as the corresponding steps in the first embodiment, so details will not be repeated in the second embodiment.

[0050] 201. The browser receives a system function calling request sent by a web application.

[0051] As a platform supporting the operation of Web applications, the browser can provide system function interfaces to the Web applications, so that the Web applications can invoke system functions through the browser. For example, in a specific application scenario, the browser provides a system function call interface through a JavaScript extension object. At this time, the system function call request sent by the Web application may specifically be a JavaScript method call request. ...

Embodiment 3

[0079] Embodiment 3 of the present invention provides a browser for performing the functions completed by the browser in Embodiment 1 and Embodiment 2. Refer to image 3 As shown, the browser 40 includes:

[0080] The receiving module 401 is configured to receive a system function call request sent by a web application. The system function call request is used to request the browser to call a system function. The system function is a function provided by the operating system installed on the browser.

[0081] The processing module 402 is configured to determine call information, the call information includes at least one item of system information required by the browser 40 to process the system function call request, and the system information is the information saved in the system directory by the operating system when executing the system function.

[0082] The cache module 403 is configured to obtain the call information from the cached information when it is determined th...

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

Embodiments of the present invention provide a method for processing a system function call request and a browser, and relates to the field of internet applications. Resource occupancy of the browser to a system can be reduced. The specific scheme comprises: receiving the system function call request sent by a Web application; determining call information, wherein the call information comprises at least one piece of system information required for the browser to process the system function call request; when it is determined that cached information comprises the call information, obtaining the call information from the cached information, wherein the cached information comprises at least one piece of system information obtained and cached by performing the call of a system function before the system function call request is received by the browser; and according to the system function call request and the call information, returning a calling result to the Web application. The method provided by the present invention is used for development and design of the browser.

Description

technical field [0001] The invention relates to the field of Internet applications, in particular to a method for processing system function call requests and a browser. Background technique [0002] With the popularity of smart devices, more and more home users download and install various applications on smart devices. Web applications are developed using HyperText Markup Language (English full name: HyperTextMarkupLanguage, English abbreviation: HTML), JavaScript, Cascading Style Sheets (English full name: CascadingStyleSheets, English abbreviation: CSS), and run based on browsers. Web applications rely on their cross-platform The advantages of running are favored by more and more developers. [0003] As a platform supporting the operation of Web applications, the browser can provide system function interfaces to the Web applications, so that the Web applications can invoke system functions through the browser. However, if the web application calls the system function f...

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): G06F9/46
Inventor 赵永健
Owner HISENSE VISUAL TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products