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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


