CN103902367B - A kind of method and electronic equipment of switching at runtime process model - Google Patents
A kind of method and electronic equipment of switching at runtime process model Download PDFInfo
- Publication number
- CN103902367B CN103902367B CN201210589534.3A CN201210589534A CN103902367B CN 103902367 B CN103902367 B CN 103902367B CN 201210589534 A CN201210589534 A CN 201210589534A CN 103902367 B CN103902367 B CN 103902367B
- Authority
- CN
- China
- Prior art keywords
- shipping options
- options page
- process model
- instruction
- electronic equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The embodiment of the present invention provides a kind of method and electronic equipment of switching at runtime process model, it is related to computer realm, it can be when opening Shipping Options Page, process model corresponding with the Shipping Options Page is adaptively selected according to system mode and/or system configuration, to improve the stability of browser at runtime, the collapse of browser is effectively prevented.Its method is:After having opened the first Shipping Options Page, the first Shipping Options Page is opened according to the first process model, obtains the first instruction, and the second Shipping Options Page is opened in the first instruction instruction;The system mode and/or system configuration after the first Shipping Options Page are opened in inquiry;According to the system mode and/or system configuration after the first Shipping Options Page of opening, the second process model corresponding with the second Shipping Options Page is selected;According to the second process model, the second Shipping Options Page is opened.
Description
Technical field
The present invention relates to computer realm more particularly to a kind of methods and electronic equipment of switching at runtime process model.
Background technology
Currently, browser is at runtime, system is provided for four kinds of process models altogether:Process-per-site-
Instance (opens a webpage, then belong to the same process from all websites that this web page interlinkage is opened),
Process-per-site (each website belongs to the same process), Process-per-tab (each label belong to it is same into
Journey) and Single-Process (all webpages belong to the same process).Browser on startup, need from above four kinds into
A kind of process model is selected in journey model, to make browser work under the process model.
However, upon actuation due to existing browser, a kind of process model can be selected and worked, until browser quilt
It closes, which is not modifiable.Therefore, it if user constantly opens Shipping Options Page or website, will produce more next
More processes, the occupied memory headroom of browser also can be increasing, and which results in browsers at runtime very not
Stablize, or even there is a situation where collapse.
Invention content
The embodiment of the present invention provides a kind of method and electronic equipment of switching at runtime process model, can open label
When page, process model corresponding with the Shipping Options Page is adaptively selected according to system mode and/or system configuration, to improve
The stability of browser at runtime, effectively prevents the collapse of browser.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
On the one hand, a kind of method of switching at runtime process model is provided, is applied in electronic equipment, the electronic equipment packet
At least one process model is included, after having opened the first Shipping Options Page, first Shipping Options Page is opened according to the first process model, institute
The method of stating includes:
The first instruction is obtained, the second Shipping Options Page is opened in the first instruction instruction;
The system mode and/or system configuration after first Shipping Options Page are opened in inquiry;
According to the system mode and/or system configuration after opening first Shipping Options Page, selection is marked with described second
Sign corresponding second process model of page;
According to second process model, second Shipping Options Page is opened.
On the one hand, a kind of electronic equipment is provided, including:
Acquisition module, for obtaining the first instruction, the second Shipping Options Page is opened in the first instruction instruction;
Enquiry module, for inquiring system mode and/or system configuration after opening first Shipping Options Page;
Decision-making module, for according to the system mode and/or system configuration after opening first Shipping Options Page, selection
The second process model corresponding with second Shipping Options Page;
Execution module, for according to second process model, opening second Shipping Options Page.
The embodiment of the present invention provides a kind of method and electronic equipment of switching at runtime process model, is opening the first mark
After signing page, the first Shipping Options Page is opened according to the first process model, and by obtaining the first instruction, the second mark is opened in the first instruction instruction
Page is signed, the system mode and/or system configuration after the first Shipping Options Page are opened in inquiry, according to the system shape after the first Shipping Options Page of opening
State and/or system configuration select the second process model corresponding with the second Shipping Options Page, and according to the second process model, open
Second Shipping Options Page.With this solution, can be after getting the instruction for opening Shipping Options Page, inquiry system state and/or system are matched
It sets, and according to inquiry system state and/or system configuration, adaptively selects process model corresponding with the Shipping Options Page, to
The stability of browser at runtime is improved, the collapse of browser is effectively prevented.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow diagram one of the method for switching at runtime process model provided in an embodiment of the present invention;
Fig. 2 is the flow diagram two of the method for switching at runtime process model provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram one of electronic equipment provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram two of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Embodiment one
The embodiment of the present invention provides a kind of method of switching at runtime process model, as shown in Figure 1, being applied to electronic equipment
In, electronic equipment includes at least one process model, and after having opened the first Shipping Options Page, the first Shipping Options Page is according to the first process mould
Type is opened, and this method includes:
S101, electronic equipment obtain the first instruction, and the second Shipping Options Page is opened in the first instruction instruction.
At runtime, system is provided as its four kinds of process models to browser altogether:Process-per-site-
Instance (opens a webpage, then belong to the same process from all websites that this web page interlinkage is opened), for example,
User opens a webpage A, and a series of webpages then opened by the link in webpage A all belong to same with webpage A
Process;Process-per-site (each website belongs to the same process) is then used for example, user opens a webpage B
Family is opened and webpage B belongs to the webpage of same domain name scope and belongs to the same process with webpage B, wherein domain name refer to enterprise,
The mechanisms such as government, non-government organization or the personal title registered on Domain Name Registrar, are enterprises or inter-agency on internet
The network address mutually got in touch with;Process-per-tab (each label belongs to the same process) often opens a webpage
It is a process;And Single-Process (all webpages belong to the same process).It is opened when user starts browser
It when one Shipping Options Page, needs to select a kind of process model from above four kinds of process models, to open under the process model
The Shipping Options Page.
In the embodiment of the present invention, user is first turned on the first Shipping Options Page, wherein the first Shipping Options Page is according to the first process mould
What type was opened, after opening the first Shipping Options Page, when user inputs the instruction for opening the second Shipping Options Page, electronic equipment gets this
The second Shipping Options Page is opened in first instruction, the first instruction instruction.
System mode and/or system configuration after the first Shipping Options Page are opened in S102, electronic equipment inquiry.
S103, electronic equipment are according to the system mode and/or system configuration after opening the first Shipping Options Page, selection and the second mark
Sign corresponding second process model of page.
In the following, in conjunction with step S102 and S103, how the system mode after opening the first Shipping Options Page is inquired to electronic equipment
And/or system configuration, and according to the system mode and/or system configuration after the first Shipping Options Page of opening, selection and the second Shipping Options Page
The process of corresponding second process model illustrates.
When user inputs the instruction for opening the second Shipping Options Page, electronic equipment gets the first instruction, the first instruction instruction
Open the second Shipping Options Page.After electronic equipment gets the first instruction, the system shape after the first Shipping Options Page is opened in electronic equipment inquiry
State and/or system configuration.
It should be noted that system configuration is set in advance in electronic equipment.System configuration is to corresponding to Shipping Options Page
Process model can carry out rough setting, for example, all Shipping Options Pages open when be all set to a kind of process
Model.After electronic equipment gets the first instruction, electronic equipment by inquiry system configure in a kind of process mould for setting
Type, and open the second Shipping Options Page that the first instruction indicates according to the process model;System configuration is to the process corresponding to Shipping Options Page
Model can also carry out detailed setting, for example, can include a list in system configuration, which may include different
Process model corresponding to Shipping Options Page.After electronic equipment gets the first instruction, in electronic equipment is configured by inquiry system
Process model selective listing, determine the first instruction instruction open the first Shipping Options Page corresponding to the second process model.
Likewise, after electronic equipment gets the first instruction, the system shape after the first Shipping Options Page is opened in electronic equipment inquiry
State, wherein open the first Shipping Options Page after system mode include open the first Shipping Options Page after Installed System Memory occupancy and
Open the quantity of the process run in the system after the first Shipping Options Page.Electronic equipment inquires the system after opening the first Shipping Options Page
It, can be according in the system after the first Shipping Options Page of occupancy and opening of the Installed System Memory after the first Shipping Options Page of opening after state
The quantity of the process of operation selects the second process model for being suitble to the first Shipping Options Page.
You need to add is that if it includes system configuration to only include the system mode after opening the first Shipping Options Page in system not,
Then electronic equipment is after getting the first instruction, and the system mode after the first Shipping Options Page is opened in only inquiry, and according to opening first
System mode after Shipping Options Page, selection are suitble to the second process model of the second Shipping Options Page of the first instruction instruction opening;If system
It inside only includes system configuration and the system mode after opening the first Shipping Options Page cannot be inquired, then electronic equipment is getting first
After instruction, inquiry system configuration, and according to the system configuration at current time, selection is suitble to second that the first instruction instruction is opened
Second process model of Shipping Options Page;If in system including simultaneously the system mode after the first Shipping Options Page of system configuration and opening,
Electronic equipment is after getting the first instruction, and the system mode and system configuration after the first Shipping Options Page are opened in inquiry, and according to beating
System mode and system configuration after the first Shipping Options Page are opened, selection is suitble to the second of the second Shipping Options Page of the first instruction instruction opening
Process model.It is understood that in the embodiment of the present invention, system mode and system after there is opening the first Shipping Options Page are matched
It, can be with the selected process mould of system configuration when setting the different situation of process model corresponding to selected second Shipping Options Page
Subject to type.
S104, electronic equipment open the second Shipping Options Page according to the second process model.
Electronic equipment is according to the system mode and/or system configuration after opening the first Shipping Options Page, selection and the second Shipping Options Page
After corresponding second process model, electronic equipment opens the second Shipping Options Page, so that the second Shipping Options Page according to the second process model
It works under the second process model.
The embodiment of the present invention provides a kind of method of switching at runtime process model, after having opened the first Shipping Options Page, the
One Shipping Options Page is opened according to the first process model, and by obtaining the first instruction, the second Shipping Options Page, inquiry are opened in the first instruction instruction
Open system mode and/or system configuration after the first Shipping Options Page, according to open the first Shipping Options Page after system mode and/or be
It is under unified central planning to set, the second process model corresponding with the second Shipping Options Page is selected, and according to the second process model, open the second label
Page.With this solution, can be after getting the instruction for opening Shipping Options Page, inquiry system state and/or system configuration, and according to
Inquiry system state and/or system configuration adaptively select process model corresponding with the Shipping Options Page, to improve browsing
The stability of device at runtime, effectively prevents the collapse of browser.
Embodiment two
The embodiment of the present invention provides a kind of method of switching at runtime process model, as shown in Fig. 2, including:
S201, electronic equipment open the first Shipping Options Page according to the first process model.
Currently, browser is at runtime, system is provided for four kinds of process models altogether:Process-per-
Site-instance (opens a webpage, then belong to the same process from all websites that this web page interlinkage is opened),
For example, user opens a webpage A, a series of webpages then opened by the link in webpage A all belong to same with webpage A
One process;Process-per-site (each website belongs to the same process), for example, user opens a webpage B, with
Afterwards user open and webpage B belong to the webpage of same domain name scope and all belong to the same process with webpage B, wherein domain name refers to
The mechanisms such as enterprise, government, non-government organization or the personal title registered on Domain Name Registrar, are enterprise or machine on internet
The network address mutually got in touch between structure;Process-per-tab (each label belongs to the same process) often opens a net
Page is all a process;And Single-Process (all webpages belong to the same process).When user starts browser
It when opening a Shipping Options Page, needs to select a kind of process model from above four kinds of process models, under the process model
Open the Shipping Options Page.
It is understood that in above-mentioned four kinds of process models, since Single-Process is that all webpages belong to
The process model of the same process, therefore the Installed System Memory occupancy of Single-Process is minimum, in remaining three kinds of processes
In model, the sequence of Installed System Memory occupancy from small to large is followed successively by Process-per-site-instance, Process-
Per-site and Process-per-tab, since Process-per-tab is the process mould that each label belongs to the same process
Type, therefore the Installed System Memory occupancy of Process-per-tab is maximum.
In the embodiment of the present invention, when user inputs the instruction for opening the first Shipping Options Page, electronic equipment gets the instruction,
And according to the system mode and/or system configuration at the instructions query current time, according to the system mode at current time and/or it is
It is under unified central planning to set, select corresponding with the first Shipping Options Page the first process model so that the first Shipping Options Page under the first process model into
Row work.
S202, electronic equipment obtain the first instruction, and the second Shipping Options Page is opened in the first instruction instruction.
In the embodiment of the present invention, user is first turned on the first Shipping Options Page, wherein the first Shipping Options Page is according to the first process mould
What type was opened, after opening the first Shipping Options Page, when user inputs the instruction for opening the second Shipping Options Page, electronic equipment gets this
The second Shipping Options Page is opened in first instruction, the first instruction instruction.
System mode and/or system configuration after the first Shipping Options Page are opened in S203, electronic equipment inquiry.
S204, electronic equipment are according to the system mode and/or system configuration after opening the first Shipping Options Page, selection and the second mark
Sign corresponding second process model of page.
In the following, in conjunction with step S202 and S203, how the system mode after opening the first Shipping Options Page is inquired to electronic equipment
And/or system configuration, and according to the system mode and/or system configuration after the first Shipping Options Page of opening, selection and the second Shipping Options Page
The process of corresponding second process model illustrates.
When user inputs the instruction for opening the second Shipping Options Page, electronic equipment gets the first instruction, the first instruction instruction
Open the second Shipping Options Page.After electronic equipment gets the first instruction, the system shape after the first Shipping Options Page is opened in electronic equipment inquiry
State and/or system configuration.
It should be noted that system configuration is set in advance in electronic equipment.System configuration is to corresponding to Shipping Options Page
Process model can carry out rough setting, for example, all Shipping Options Pages open when be all set to a kind of process
Model.After electronic equipment gets the first instruction, electronic equipment by inquiry system configure in a kind of process mould for setting
Type, and open the second Shipping Options Page that the first instruction indicates according to the process model;System configuration is to the process corresponding to Shipping Options Page
Model can also carry out detailed setting, for example, can include a list in system configuration, which may include different
Process model corresponding to Shipping Options Page.After electronic equipment gets the first instruction, in electronic equipment is configured by inquiry system
Process model selective listing, determine the first instruction instruction open the first Shipping Options Page corresponding to the second process model.
Likewise, after electronic equipment gets the first instruction, the system shape after the first Shipping Options Page is opened in electronic equipment inquiry
State, wherein open the first Shipping Options Page after system mode include open the first Shipping Options Page after Installed System Memory occupancy and
Open the quantity of the process run in the system after the first Shipping Options Page.Electronic equipment inquires the system after opening the first Shipping Options Page
It, can be according in the system after the first Shipping Options Page of occupancy and opening of the Installed System Memory after the first Shipping Options Page of opening after state
The quantity of the process of operation selects the second process model for being suitble to the first Shipping Options Page.
You need to add is that if it includes system configuration to only include the system mode after opening the first Shipping Options Page in system not,
Then electronic equipment is after getting the first instruction, and the system mode after the first Shipping Options Page is opened in only inquiry, and according to opening first
System mode after Shipping Options Page, selection are suitble to the second process model of the second Shipping Options Page of the first instruction instruction opening;If system
It inside only includes system configuration and the system mode after opening the first Shipping Options Page cannot be inquired, then electronic equipment is getting first
After instruction, inquiry system configuration, and according to the system configuration at current time, selection is suitble to second that the first instruction instruction is opened
Second process model of Shipping Options Page;If in system including simultaneously the system mode after the first Shipping Options Page of system configuration and opening,
Electronic equipment is after getting the first instruction, and the system mode and system configuration after the first Shipping Options Page are opened in inquiry, and according to beating
System mode and system configuration after the first Shipping Options Page are opened, selection is suitble to the second of the second Shipping Options Page of the first instruction instruction opening
Process model.It is understood that in the embodiment of the present invention, system mode and system after there is opening the first Shipping Options Page are matched
It, can be with the selected process mould of system configuration when setting the different situation of process model corresponding to selected second Shipping Options Page
Subject to type.
You need to add is that if in system including simultaneously the system configuration and system mode opened after the first Shipping Options Page,
Electronic equipment is after getting the first instruction, and the system mode and system configuration after the first Shipping Options Page are opened in inquiry, and according to beating
System mode and system configuration after the first Shipping Options Page are opened, the process model for being suitble to the second Shipping Options Page is selected.Under normal circumstances, when
When opening the process model difference of selected second Shipping Options Page of the system mode after the first Shipping Options Page and system configuration, with system
It configures subject to selected process model.But the occupancy of the Installed System Memory of system mode after opening the first Shipping Options Page
When excessive (such as the occupancy of Installed System Memory is more than 90%), electronic equipment cannot be satisfied under current system conditions according to system
Configure the process model of selection, at this point, be subject to open the first Shipping Options Page after the selected process model of system mode.
The present invention is not particularly limited the size of the occupancy of the Installed System Memory after the first Shipping Options Page of above-mentioned opening, system
The occupancy of memory can be when more than 90% so that electronic equipment is to open selected by the system mode after the first Shipping Options Page
It, can also be when more than 80% subject to the process model selected so that electronic equipment is to open the system after the first Shipping Options Page
Subject to the selected process model of state.
S205, electronic equipment open the second Shipping Options Page according to the second process model.
Electronic equipment is according to the system mode and/or system configuration after opening the first Shipping Options Page, selection and the second Shipping Options Page
After corresponding second process model, electronic equipment opens the second Shipping Options Page, so that the second Shipping Options Page according to the second process model
It works under the second process model.
S206, electronic equipment obtain the second instruction, and third Shipping Options Page is opened in the second instruction instruction.
System mode and/or system configuration after the second Shipping Options Page are opened in S207, electronic equipment inquiry.
S208, electronic equipment, will be with the second labels according to system mode and/or system configuration after opening the second Shipping Options Page
Corresponding second process model of page is switched to third process model.
In the following, in conjunction with step S206, S207 and S208, to electronic equipment how will corresponding with the second Shipping Options Page second into
Journey models switching is that the process of third process model illustrates.
User is first turned on the first Shipping Options Page, wherein the first Shipping Options Page is opened according to the first process model, is opening
After first Shipping Options Page, when user inputs the instruction for opening second Shipping Options Page, electronic equipment gets first instruction, and first refers to
Instruction is enabled to open the second Shipping Options Page.Later, the system mode after the first Shipping Options Page of electronic equipment inquiry opening and/or system are matched
Set, and according to open the first Shipping Options Page after system mode and/or system configuration, select corresponding with the second Shipping Options Page second into
Journey model, electronic equipment open the second Shipping Options Page according to the second process model.
After electronic equipment has had already turned on several Shipping Options Pages, when electronic equipment obtains the second instruction, the second instruction
Instruction open third Shipping Options Page, electronic equipment inquiry open the second Shipping Options Page after system mode and/or system configuration, and according to
System mode and/or system configuration after the second Shipping Options Page are opened, process model corresponding with Shipping Options Page is selected.
But since current time electronic equipment has had already turned on several Shipping Options Pages, the opening that electronic equipment inquires
The occupancy of Installed System Memory after second Shipping Options Page may be excessive, the second mark of the front opening that electronic equipment allows hand at this time
The process model of page is signed, and the second process model is switched to the smaller third process model of occupancy of Installed System Memory.
S209, electronic equipment periodically or aperiodically inquiry system memory.
If S210, Installed System Memory meet preset condition, the second process model corresponding with the second Shipping Options Page is switched to
4th process model.
Wherein, Installed System Memory meets preset condition and specifically includes:The occupancy of Installed System Memory is more than pre-determined threshold.Pre- gating
It is limited to 90%.
In the following, in conjunction with step S209 and S210, how will the second process mould corresponding with the second Shipping Options Page to electronic equipment
The process that type is switched to the 4th process model illustrates.
After electronic equipment opens a Shipping Options Page, electronic equipment can be periodically or aperiodically in inquiry system
It deposits.
If the occupancy of Installed System Memory is more than 90%, illustrate the occupancy mistake for the Installed System Memory that electronic equipment inquires
Greatly, the process model of the second Shipping Options Page of the front opening that electronic equipment allows hand at this time, and the second process model is switched to
Smaller 4th process model of occupancy of Installed System Memory.
Illustratively, user starts electronic equipment, includes system configuration and system mode in the electronic equipment.Electronic equipment
The instruction for opening the first Shipping Options Page A is obtained, electronic equipment inquires the system mode and system configuration at current time, current time
The first process model corresponding with the first Shipping Options Page A indicated by system mode and system configuration is Process-per-tab, then
Select Process-per-tab process models as the process model of the first Shipping Options Page A, according to Process-per-tab processes
Model opens the first Shipping Options Page A.
Then, electronic equipment obtains the first instruction, and the second Shipping Options Page B is opened in the first instruction instruction, and electronic equipment inquiry is beaten
Open system mode and system configuration after the first Shipping Options Page, indicated by system configuration with the second Shipping Options Page B corresponding second into
Journey model is Process-per-tab, and is opened corresponding with the second Shipping Options Page B indicated by the system mode after the first Shipping Options Page
The second process model be Process-per-site, due to current time Installed System Memory occupancy be 30%, then select be
The process model under unified central planning that indicated Process-per-tab process models are set as the second Shipping Options Page B, according to Process-
Per-tab process models open the second Shipping Options Page B.
Electronic equipment obtains the second instruction, and third Shipping Options Page C is opened in the second instruction instruction, and electronic equipment inquiry opens second
System mode after Shipping Options Page and system configuration, the third process model corresponding with third Shipping Options Page C indicated by system configuration
For Process-per-site, and open corresponding with third Shipping Options Page C the indicated by the system mode after the second Shipping Options Page
Three process models are Process-per-site-instance, since the occupancy of current time Installed System Memory is 92%, are then selected
The Process-per-site-instance process models indicated by the system mode after opening the second Shipping Options Page are selected as third
The process model of Shipping Options Page C opens third Shipping Options Page C according to Process-per-site-instance process models.
Electronic equipment obtains third instruction, and the 4th Shipping Options Page D is opened in third instruction instruction, and third is opened in electronic equipment inquiry
System mode after Shipping Options Page and system configuration, it is Process-per-site- to select the process model of the 4th Shipping Options Page D
Instance process models.Since the occupancy of the Installed System Memory after opening third Shipping Options Page is 95%, then electronic equipment can
The process model of the front opening of switching.Since the corresponding process models of the first Shipping Options Page A are Process-per-tab process moulds
Type, the corresponding process models of the second Shipping Options Page B are Process-per-tab process models, and the first Shipping Options Page A and the second label
Page B belongs to same domain name website, then can be by the process model of the first Shipping Options Page A and the second Shipping Options Page B from Process-per-tab
Process model is switched to Process-per-site process models, and two processes are merged into a process, are reduced in system
The occupancy deposited improves the stability of browser at runtime, effectively prevents the collapse of browser.
It should be noted that when handover process model, since electronic equipment is needed to the first Shipping Options Page A and the second Shipping Options Page
B reconfigures process model, therefore after handover process model, and the first Shipping Options Page A and the second Shipping Options Page B can refresh automatically, again
Open the first Shipping Options Page A and the second Shipping Options Page B.
After electronic equipment opens four Shipping Options Pages, electronic equipment periodically or aperiodically inquiry system memory,
It was found that it is 93% to open the Installed System Memory occupancy after four Shipping Options Pages, then illustrate that electronic equipment inquired opens four
The occupancy of Installed System Memory after Shipping Options Page is excessive, and electronic equipment can open Shipping Options Page next time at this time, that is, open
When the 5th Shipping Options Page E, the process model of the front opening of switching.Since the process model of the first Shipping Options Page A and the second Shipping Options Page B are
The process model of Process-per-site process models, third Shipping Options Page C and the 4th Shipping Options Page D are Process-per-
Site-instance process models, then can be by the process model of the first Shipping Options Page A and the second Shipping Options Page B from Process-
Per-site process models are switched to Single-Process process models, by the process of third Shipping Options Page C and the 4th Shipping Options Page D
Model is switched to Single-Process process models from Process-per-site-instance process models, by three into
Journey merges into a process, reduces the occupancy of Installed System Memory, improves the stability of browser at runtime, effectively prevent
The collapse of browser.
The embodiment of the present invention provides a kind of method of switching at runtime process model, after having opened the first Shipping Options Page, the
One Shipping Options Page is opened according to the first process model, and by obtaining the first instruction, the second Shipping Options Page, inquiry are opened in the first instruction instruction
Open system mode and/or system configuration after the first Shipping Options Page, according to open the first Shipping Options Page after system mode and/or be
It is under unified central planning to set, the second process model corresponding with the second Shipping Options Page is selected, and according to the second process model, open the second label
Page.With this solution, can be after getting the instruction for opening Shipping Options Page, inquiry system state and/or system configuration, and according to
Inquiry system state and/or system configuration adaptively select process model corresponding with the Shipping Options Page, to improve browsing
The stability of device at runtime, effectively prevents the collapse of browser.
Embodiment three
The embodiment of the present invention provides a kind of electronic equipment 1, as shown in figure 3, including:
Acquisition module 10, for obtaining the first instruction, the second Shipping Options Page is opened in the first instruction instruction.
Enquiry module 11, for inquiring system mode and/or system configuration after opening the first Shipping Options Page.
Decision-making module 12, for according to the system mode and/or system configuration after the first Shipping Options Page of opening, selection and second
Corresponding second process model of Shipping Options Page.
Execution module 13, for according to the second process model, opening the second Shipping Options Page.
Further, electronic equipment 1, as shown in figure 4, further including:
Acquisition module 10 is additionally operable to obtain the second instruction, and third Shipping Options Page is opened in the second instruction instruction.
Enquiry module 11 is additionally operable to inquiry and opens system mode and/or system configuration after the second Shipping Options Page.
Handover module 14, for that according to the system mode and/or system configuration after the second Shipping Options Page of opening, will be marked with second
Corresponding second process model of label page is switched to third process model.
Further, enquiry module 11 are specifically used for periodically or aperiodically inquiry system memory.
Handover module 14, if being additionally operable to Installed System Memory meets preset condition, will corresponding with the second Shipping Options Page second into
Journey models switching is the 4th process model.
Further, Installed System Memory meets preset condition and specifically includes:
The occupancy of Installed System Memory is more than pre-determined threshold.
Further, pre-determined threshold 90%.
The embodiment of the present invention provides a kind of electronic equipment, which includes:Acquisition module refers to for obtaining first
Enable, first instruction instruction open the second Shipping Options Page, enquiry module, for inquire open the first Shipping Options Page after system mode with/
Or system configuration, decision-making module, for according to opening system mode and/or system configuration after the first Shipping Options Page, selection and the
Corresponding second process model of two Shipping Options Pages and execution module, for according to the second process model, opening the second Shipping Options Page.
With this solution, can be after getting the instruction for opening Shipping Options Page, inquiry system state and/or system configuration, and according to looking into
System mode and/or system configuration are ask, process model corresponding with the Shipping Options Page is adaptively selected, to improve browser
Stability at runtime effectively prevents the collapse of browser.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or light
The various media that can store program code such as disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of method of switching at runtime process model, which is characterized in that be applied in electronic equipment, the electronic equipment includes
At least one process model, at least one process model include:All belong to from all websites that the link of a webpage is opened
In the same process, each website belong to the same process, each label belongs to the same process, all webpages belong to it is same
A process,
After having opened the first Shipping Options Page, first Shipping Options Page is opened according to the first process model, the method includes:
The first instruction is obtained, the second Shipping Options Page is opened in the first instruction instruction;
The system mode and/or system configuration after first Shipping Options Page are opened in inquiry;
According to the system mode and/or system configuration after opening first Shipping Options Page, selection and second Shipping Options Page
Corresponding second process model;
According to second process model, second Shipping Options Page is opened.
2. the method for switching at runtime process model according to claim 1, which is characterized in that it is described according to described second into
Journey model further includes after opening second Shipping Options Page:
The second instruction is obtained, third Shipping Options Page is opened in the second instruction instruction;
The system mode and/or system configuration after second Shipping Options Page are opened in inquiry;
It, will be with second Shipping Options Page pair according to the system mode and/or system configuration after opening second Shipping Options Page
Second process model answered is switched to third process model.
3. the method for switching at runtime process model according to claim 1, which is characterized in that it is described according to described second into
Journey model further includes after opening second Shipping Options Page:
Periodically or aperiodically inquiry system memory;
It, will the second process model switching corresponding with second Shipping Options Page if the Installed System Memory meets preset condition
For the 4th process model.
4. the method for switching at runtime process model according to claim 3, which is characterized in that the Installed System Memory meets pre-
If condition specifically includes:
The occupancy of the Installed System Memory is more than pre-determined threshold.
5. the method for switching at runtime process model according to claim 4, which is characterized in that the pre-determined threshold is
90%.
6. a kind of electronic equipment, which is characterized in that the electronic equipment includes at least one process model, it is described it is at least one into
Journey model includes:From all websites that the link of a webpage is opened belong to the same process, each website belongs to same
Process, each label belong to the same process, all webpages belong to the same process,
After having opened the first Shipping Options Page, first Shipping Options Page is opened according to the first process model, and the electronic equipment includes:
Acquisition module, for obtaining the first instruction, the second Shipping Options Page is opened in the first instruction instruction;
Enquiry module, for inquiring system mode and/or system configuration after opening first Shipping Options Page;
Decision-making module, for according to the system mode and/or system configuration after opening first Shipping Options Page, selection and institute
State corresponding second process model of the second Shipping Options Page;
Execution module, for according to second process model, opening second Shipping Options Page.
7. electronic equipment according to claim 6, which is characterized in that the electronic equipment further includes:
The acquisition module is additionally operable to obtain the second instruction, and third Shipping Options Page is opened in the second instruction instruction;
The enquiry module is additionally operable to inquiry and opens system mode and/or system configuration after second Shipping Options Page;
Handover module, for according to the system mode and/or system configuration opened after second Shipping Options Page, will with it is described
Corresponding second process model of second Shipping Options Page is switched to third process model.
8. electronic equipment according to claim 7, which is characterized in that
The enquiry module is specifically used for periodically or aperiodically inquiry system memory;
The handover module will be corresponding with second Shipping Options Page if being additionally operable to the Installed System Memory meets preset condition
Second process model is switched to the 4th process model.
9. electronic equipment according to claim 8, which is characterized in that the Installed System Memory meets preset condition and specifically wraps
It includes:
The occupancy of the Installed System Memory is more than pre-determined threshold.
10. electronic equipment according to claim 9, which is characterized in that the pre-determined threshold is 90%.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210589534.3A CN103902367B (en) | 2012-12-28 | 2012-12-28 | A kind of method and electronic equipment of switching at runtime process model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210589534.3A CN103902367B (en) | 2012-12-28 | 2012-12-28 | A kind of method and electronic equipment of switching at runtime process model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103902367A CN103902367A (en) | 2014-07-02 |
CN103902367B true CN103902367B (en) | 2018-08-10 |
Family
ID=50993706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210589534.3A Active CN103902367B (en) | 2012-12-28 | 2012-12-28 | A kind of method and electronic equipment of switching at runtime process model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103902367B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113536409B (en) * | 2021-08-06 | 2024-04-05 | 北京涌联恒创电力工程设计有限公司 | Electric power engineering design method and device applied to single software and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436457A (en) * | 2011-02-18 | 2012-05-02 | 奇智软件(北京)有限公司 | Method and equipment for distributing progresses of browser |
US8266276B1 (en) * | 2003-06-27 | 2012-09-11 | Bank Of America Corporation | System and method to monitor performance of different domains associated with a computer or network |
CN102662738A (en) * | 2012-03-15 | 2012-09-12 | 奇智软件(北京)有限公司 | Multiprocessing management method and apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030233372A1 (en) * | 2002-06-13 | 2003-12-18 | Warner Scott Jacob | Markup workflow management system |
-
2012
- 2012-12-28 CN CN201210589534.3A patent/CN103902367B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8266276B1 (en) * | 2003-06-27 | 2012-09-11 | Bank Of America Corporation | System and method to monitor performance of different domains associated with a computer or network |
CN102436457A (en) * | 2011-02-18 | 2012-05-02 | 奇智软件(北京)有限公司 | Method and equipment for distributing progresses of browser |
CN102662738A (en) * | 2012-03-15 | 2012-09-12 | 奇智软件(北京)有限公司 | Multiprocessing management method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN103902367A (en) | 2014-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Mariani et al. | Industry 4.0: A bibliometric review of its managerial intellectual structure and potential evolution in the service industries | |
Peteraf et al. | The elephant in the room of dynamic capabilities: Bringing two diverging conversations together | |
Fornahl et al. | Broadening our knowledge on cluster evolution | |
Christensen | Marketing strategy: learning by doing | |
US9514191B2 (en) | Visualizing ranking factors for items in a search result list | |
CN101609457A (en) | A kind of method and device that the start page recommended configuration is provided | |
Xiang et al. | H∞ filtering for switched nonlinear systems under asynchronous switching | |
CN103020295A (en) | Problem label marking method and device | |
US20150220228A1 (en) | Systems Methods Circuits and Associated Computer Executable Code for Arranging and Organizing Computerized Application Tabs Based on Content Service and User Characterization | |
CN103324661A (en) | Data search and automatic filling method and system based on user habits | |
CN105786846A (en) | Website platform component capable of generating modules in user-defined manner | |
CN103902367B (en) | A kind of method and electronic equipment of switching at runtime process model | |
US9864802B2 (en) | Rules-based knowledge-driven search filters | |
Cook et al. | Unit root testing against an ST–MTAR alternative: finite-sample properties and an application to the UK housing market | |
CN109948238A (en) | A kind of management method, device, system and the storage medium of assembled design document | |
Grömping | Creating clear designs: a graph-based algorithm and a catalog of clear compromise plans | |
Lagendijk et al. | Beyond the regional cradle and policy trap: Proximity and embedding as development potentialities | |
Townsend | Web for sustainability: Tackling environmental complexity with scale | |
CN102243663A (en) | Dynamic labeling method based on electronic drawing | |
US8185516B2 (en) | Method for filtering file clusters | |
Zharova et al. | An explainable multi-agent recommendation system for energy-efficient decision support in smart homes | |
Pavitt | The globalizing learning economy | |
Auger et al. | A model of a fishery with fish stock involving delay equations | |
Yokokawa | Reflections on compressed development: Time and timing in economic and social development | |
CN105117449B (en) | A kind of method and apparatus for generating the label of content item |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |