Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and electronic device for dynamically switching process models

A process model and technology of electronic devices, applied in the computer field, can solve problems such as large browser memory space, crashes, and unstable browser operation.

Active Publication Date: 2018-08-10
LENOVO (BEIJING) LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, since existing browsers will select a process model to work after the browser is started, the process model cannot be changed until the browser is closed
Therefore, if the user keeps opening tabs or websites, more and more processes will be generated, and the memory space occupied by the browser will also become larger and larger, which makes the browser very unstable when running, or even When a crash occurs

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
  • A method and electronic device for dynamically switching process models
  • A method and electronic device for dynamically switching process models
  • A method and electronic device for dynamically switching process models

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] An embodiment of the present invention provides a method for dynamically switching process models, such as figure 1 As shown, when applied to an electronic device, the electronic device includes at least one process model. After the first tab page is opened, the first tab page is opened according to the first process model. The method includes:

[0025] S101. The electronic device acquires a first instruction, where the first instruction instructs to open a second tab page.

[0026] When the browser is running, the system provides a total of four process models: Process-per-site-instance (open a webpage, and then all websites opened from this webpage link belong to the same process), for example, the user opens the A webpage A, and then a series of webpages opened through links in webpage A belong to the same process as webpage A; Process-per-site (each site belongs to the same process), for example, the user opens a webpage B, and then The webpages opened by the user ...

Embodiment 2

[0039] Embodiments of the present invention provide a method for dynamically switching process models, such as figure 2 shown, including:

[0040] S201. The electronic device opens a first tab page according to the first process model.

[0041] At present, when the browser is running, the system provides a total of four process models: Process-per-site-instance (opening a web page, and then all websites opened from this web page link belong to the same process), for example, The user opens a web page A, and then a series of web pages opened through links in web page A belong to the same process as web page A; Process-per-site (each site belongs to the same process), for example, the user opens a web page B. The web pages opened by the user and belonging to the same domain name category as web page B belong to the same process as web page B. Among them, the domain name refers to the name registered on the domain name registrar by an organization or individual such as an enter...

Embodiment 3

[0078] The embodiment of the present invention provides an electronic device 1, such as image 3 shown, including:

[0079] The obtaining module 10 is configured to obtain a first instruction, where the first instruction instructs to open a second tab page.

[0080] The query module 11 is configured to query the system status and / or system configuration after opening the first tab page.

[0081] The decision module 12 is configured to select a second process model corresponding to the second tab page according to the system state and / or system configuration after the first tab page is opened.

[0082] The execution module 13 is configured to open the second tab page according to the second process model.

[0083] Further, the electronic device 1, such as Figure 4 shown, including:

[0084] The acquiring module 10 is further configured to acquire a second instruction, where the second instruction instructs to open a third tab page.

[0085] The query module 11 is further ...

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 provides a method for dynamically switching process models and electronic equipment and relates to the field of computers. According to the method and the electronic equipment, when label pages are opened, the process models corresponding to the label pages can be adaptively selected according to the system state and / or the system configuration, and therefore the operation stability of a browser is improved, and collapse of the browser is effectively prevented. The method comprises the steps that after the first label page is opened, the first label page is opened according the first process model to obtain a first instruct, the second label page is opened according to instruction of the first instruct, the system state and / or the system configuration is inquired after the first label page is opened, the second process model corresponding to the second label page is selected according to the system state and / or the system configuration after the first label page is opened, and the second label page is opened according to the second process model.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method for dynamically switching process models and electronic equipment. Background technique [0002] At present, when the browser is running, the system provides four process models: Process-per-site-instance (open a webpage, and then all websites opened from this webpage link belong to the same process), Process-per-site-instance -site (each site belongs to the same process), Process-per-tab (each tab belongs to the same process) and Single-Process (all web pages belong to the same process). When the browser starts, it needs to select a process model from the above four process models, so that the browser can work under this process model. [0003] However, since an existing browser will select a process model to work after it is started, the process model cannot be changed until the browser is closed. Therefore, if the user keeps opening tabs or websites, more and more processes...

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/48
Inventor 李京
Owner LENOVO (BEIJING) LTD