CN109408149A - Starting method, apparatus, equipment and the storage medium of application program - Google Patents
Starting method, apparatus, equipment and the storage medium of application program Download PDFInfo
- Publication number
- CN109408149A CN109408149A CN201811276611.3A CN201811276611A CN109408149A CN 109408149 A CN109408149 A CN 109408149A CN 201811276611 A CN201811276611 A CN 201811276611A CN 109408149 A CN109408149 A CN 109408149A
- Authority
- CN
- China
- Prior art keywords
- application program
- data
- physical memory
- memory
- page
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Starting method, apparatus, equipment and the storage medium of a kind of application program provided by the invention, this method comprises: depending on the user's operation, obtain application program switching command, application program switching command, which is used to indicate, switches to the second application program for the first application program, according to application program switching command, first application program out of service, and store the operation data of the first application program.Then exchange partition is written in the data in the physical memory page the first application program occupied in memory, and discharges the memory that the first application program occupies, and starts the second application program.It realizes and reduces Installed System Memory occupancy, meanwhile, according to the data and operation data of the application program of preservation, it is capable of the operating status of fast quick-recovery application program, accelerates starting speed when application program is again started up.
Description
Technical field
The present invention relates to the starting method, apparatus of field of terminal technology more particularly to a kind of application program, equipment and deposit
Storage media.
Background technique
With popularizing for terminal device, the use of application program is more various and frequent, and has been dissolved into people
Every aspect in life, user have received increasingly higher demands for the operation sense of starting, the operation of application program.
Currently, in the process for being switched to application program 2 from application program 1, for providing better application program launching speed
Degree and the speed of service, provide two schemes in the prior art: 1) when switching application program, application program 1 being switched to
From the background, without discharging the memory of application program 1 to greatest extent, the restarting of application program can be accelerated in this way;2) exist
When switching application program, application program 1 is thoroughly exited, release running memory improves the speed of service.
There are contradictions with speed of service these two aspects is guaranteed improving application program launching speed for above two scheme, not
It can accomplish not only to reduce EMS memory occupation, but also accelerate the starting speed of application program.
Summary of the invention
The present invention provides starting method, apparatus, equipment and the storage medium of a kind of application program, quasi- to overcome the prior art
There are contradictions for middle raising application program launching speed and guarantee speed of service these two aspects.
In a first aspect, the present invention provides a kind of starting method of application program, it is applied to terminal device, comprising:
Depending on the user's operation, the enabled instruction of the first application program is obtained;
According to the enabled instruction, the data of first application program are obtained from exchange partition, and by described first
The data of application program are written as the physical memory page of first application program;Wherein, institute in the exchange partition
State the first application program data be in last time operation suspension described in the first application program store.
The operation data of pre-stored first application program is obtained, the operation of first application program is started.
Further, the enabled instruction is also used to indicate to be switched to the first application program from the second application program and be transported
Row, then it is described according to the enabled instruction, before the data for obtaining first application program in exchange partition, the method
Further include:
According to the enabled instruction, second application program out of service, and store the fortune of second application program
Row data;
Exchange partition is written in data in the physical memory page that second application program is occupied in memory, and releases
Put the memory that second application program occupies.
In a kind of concrete implementation mode, the physical memory page that second application program is occupied in memory
Exchange partition is written in data in face, comprising:
Virtual memory region in scan procedure obtains the page table entry of second application program;
According to the page table entry of second application program, obtain in the physics that second application program occupies in memory
Deposit the page;
The exchange partition is written into data in the physical memory page.
In a kind of concrete implementation mode, the memory of release the second application program occupancy, comprising:
Release the page table entry of second application program and the mapping relations of the physical memory page;
The physical memory page is discharged, and the physical memory page is added to idle chained list.
Second aspect, the present invention provide a kind of starter of application program, comprising:
Module is obtained, for depending on the user's operation, obtaining the enabled instruction of the first application program;
First processing module, for obtaining first application program from exchange partition according to the enabled instruction
Data, and the data of first application program are written as to the physical memory page of first application program;Wherein,
The data of first application program described in the exchange partition be in last time operation suspension described in the first application program store.
Second processing module starts described for obtaining the operation data of pre-stored first application program
The operation of one application program.
In a kind of concrete implementation mode, described device further include: third processing module and fourth processing module;
The third processing module is used for according to the enabled instruction, second application program out of service, and is stored
The operation data of second application program;
In the physical memory page that the fourth processing module is used in memory occupy second application program
Exchange partition is written in data, and discharges the memory that second application program occupies.
Specifically, the fourth processing module is specifically used for:
Virtual memory region in scan procedure obtains the page table entry of second application program;
According to the page table entry of second application program, obtain in the physics that second application program occupies in memory
Deposit the page;
The exchange partition is written into data in the physical memory page.
Further, the fourth processing module also particularly useful for:
Release the page table entry of second application program and the mapping relations of the physical memory page;
The physical memory page is discharged, and the physical memory page is added to idle chained list.
The third aspect, the present invention provide a kind of terminal device, comprising: memory, processor and computer program, institute
State computer program storage in the memory, the processor runs the computer program perform claim and requires 1 to 4
The starting method of application program described in one.
Fourth aspect, the present invention provide a kind of storage medium, comprising: readable storage medium storing program for executing and computer program, the meter
Calculation machine program for realizing the described in any item application programs of Claims 1-4 starting method.
Starting method, apparatus, equipment and the storage medium of a kind of application program provided in an embodiment of the present invention.According to
The enabled instruction at family obtains the data of the first application program from exchange partition, and the data of the first application program is written as
The physical memory page of first application program, wherein the data of the first application program were suspended in last time in exchange partition
The storage of first application program described in when operation, and the operation data of pre-stored first application program is obtained, start
The operation of first application program.This programme had not only reduced the occupancy of Installed System Memory, but also accelerated the starting speed of application program
Degree.
Detailed description of the invention
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 technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of the starting embodiment of the method one of application program provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the starting embodiment of the method two of application program provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of the starting embodiment of the method three of application program provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of the starting embodiment of the method four of application program provided in an embodiment of the present invention;
Fig. 5 is the flow diagram that a kind of program process provided in an embodiment of the present invention is hung up;
Fig. 6 is the flow diagram that a kind of program process provided in an embodiment of the present invention restores;
Fig. 7 is a kind of flow diagram of application program switching provided in an embodiment of the present invention;
Fig. 8 is a kind of application scenarios schematic diagram of application program switching device provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram one of the starter of application program provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram two of the starter of application program provided in an embodiment of the present invention;
Figure 11 is the hardware structural diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
In the prior art, in the process for being switched to application program 2 from application program 1, for providing better application program
Start speed and the speed of service, there are two types of schemes: 1) when switching application program, application program 1 being switched to backstage, and is not had
There is the memory of release application program 1 to greatest extent, the restarting of application program can be accelerated in this way;2) journey is applied in switching
When sequence, application program 1 is thoroughly exited, release running memory improves the speed of service.Two schemes are improving application program launching
There are contradictions for speed and guarantee speed of service these two aspects, cannot accomplish not only to reduce EMS memory occupation, but also accelerate application program
Start speed.
Meanwhile (SuSE) Linux OS has Swap mechanism, linux system meeting timing scan memory service condition, discovery has
Memory is inactive, exchange partition can be exchanged to according to certain algorithm, with releasing memory.However, coming for application process
Say, this be passively, and not in time with it is incomplete.
To overcome problem of the prior art, the Swap mechanism of this programme combination linux system proposes a kind of application program
Starting method.By increasing process active Swap mechanism, according to the application program switching command of user, out of service first is answered
With program, the operation data of the first application program is stored, by the data write-in exchange point of the first application program committed memory storage
Area, and the memory that the first application program occupies is discharged, it is extensive by the way that the store in exchange partition second application data are read in memory
The operating status of multiple second application program.Not only it can be reduced the occupancy of Installed System Memory, but also the starting speed of application program can be accelerated, just
In application recovery operating status.
The program is described in detail below by several specific embodiments.
Embodiment one:
Fig. 1 is a kind of flow diagram of the starting embodiment of the method one of application program provided in an embodiment of the present invention, such as
Shown in Fig. 1, the starting method of the application program includes:
S101: depending on the user's operation, the enabled instruction of the first application program is obtained.
In this step, it should be appreciated that the first application program is system background operation, and operation data has stored, memory
Data have exchanged to the application program of exchange partition.
Wherein, the enabled instruction of the first application program is to be obtained according to user to the operation of terminal device, in a kind of tool
In the implementation of body, user views all application programs of system background operation by the interface of terminal device, and selection needs
Want the application program of reverting starting.In another concrete implementation mode, user passes through the application program being currently running,
The a certain application program just in system background operation is jumped to, for example, user sees Tencent's news public platform when using wechat
The article of push checks details by selection, jumps to Tencent's news application program.In another concrete implementation mode,
The program starting operation that user is run system background by hot key, to make the program stopped being currently running run and hand over
Change to system background.
Optionally, terminal device can be mobile phone, tablet computer, intelligence wearing product etc., and this programme does not require this.
S102: according to the enabled instruction, the data of first application program are obtained from exchange partition, and will be described
The data of first application program are written as the physical memory page of first application program.
In this step, the first application program is the application program of non-initial start, and the data of first application program are deposited
It is stored in exchange partition, also, the operation data once run before first application program is stored in the storage medium of terminal device
In.After receiving the enabled instruction of user, the first application recovery operation, system passes through the Swap mechanism of linux system
According to the physical memory page of application, the data of first application program are stored in physical memory again, and according to depositing
The operation data stored in storage media, the previous operating status of fast the second application program of quick-recovery, continues to run.
Specifically, during system accesses memory, not finding the first application when the first application program starts to resume operation
The data of program, with that is, linux kernel triggers page faults signal, and then the application physical memory page, and utilization Swap mechanism
The data of the second application program in exchange partition are stored in physical memory again.
S103: obtaining the operation data of pre-stored first application program, starts the operation of the first application program.
In this step, the first application program obtains pre-stored operation data in storage medium, the operation data
Previous secondary program is hung up in pre-operation and is stored, and according to the operation data, the first application program can be restored to previous
Operating status continues to run.
The starting method of a kind of application program provided in an embodiment of the present invention, according to the enabled instruction of user, from exchange point
The data of the first application program are obtained in area, and the data of the first application program are written as to the physics of the first application program
Memory pages, wherein in exchange partition the data of the first application program be in last time operation suspension described in the first application program
Storage, and the operation data of pre-stored first application program is obtained, start the operation of first application program,
Not only reduce the occupancy of Installed System Memory, but also accelerate the starting speed of application program.
Embodiment two
Fig. 2 is a kind of flow diagram of the starting embodiment of the method two of application program provided in an embodiment of the present invention,
On the basis of above-described embodiment one, as shown in Fig. 2, when obtaining the enabled instruction of the first application program, if the second application program
Be currently running, then the starting method of the application program also answer the following steps are included:
S201: according to enabled instruction, the second application program out of service, and store the operation data of the second application program.
In this step, after the enabled instruction for receiving the first application program, if system is currently running the second application program,
System carries out the second application program and hangs up pre-operation, main to complete the second application program operation suspension, records the second application program
Current operating conditions, and operation data is stored, which can be the time point that video reproduction program stops video playing,
It can be e-book reading page when e-book program stops, be also possible to commodity page when shopping program stops.To,
When being again started up the second application program, system can be according to the operation data of storage, and fast the second application program of quick-recovery is previous
Secondary operating status.
Optionally, operation data is storable in the storage mediums such as hard disk, SD card, the CF card of terminal device, this programme pair
This is not required.
S202: exchange partition is written in the data in the physical memory page that the second application program is occupied in memory, and
Discharge the memory of the second application program occupancy.
In this step, all data that the second application program of system searching stores in physical memory, and be written into
Then the physical memory page of occupancy is discharged, reduces the occupancy of Installed System Memory by exchange partition.
Wherein, exchange partition is created by linux system, is the virtual memory subregion of linux system, and also referred to as Swap divides
Area.
Embodiment three:
Fig. 3 is a kind of flow diagram of the starting embodiment of the method three of application program provided in an embodiment of the present invention,
On the basis of embodiment two, Fig. 3 show handing over the data write-in in the physical memory of the second application program in embodiment two
The specific steps of subregion are changed, as shown in figure 3, the starting method of the application program further include:
S301: virtual memory region in scan procedure obtains the page table entry of the second application program.
In this step, pass through virtual memory region all in scan procedure, the institute of available second application program
There is page table entry, for obtaining the physical memory page of the second application program.
Specifically, CPU can access memory when executing a process.But CPU cannot directly access physical memory page
Face needs indirectly to access the physical memory page by virtual memory region.Virtual memory region and the physical memory page are logical
Cross page table one-to-one correspondence.
S302: according to the page table entry of the second application program, the physical memory that the second application program occupies in memory is obtained
The page.
In this step, it should be appreciated that page table entry and the physical memory page correspond, and pass through the second application program of traversal
All page table entries, all physics memory pages that available second application program occupies in memory, are answered to obtain second
With all data of program.
S303: exchange partition is written into the data in the physical memory page.
In this step, by the data writing systems exchange partition in all physics memory pages of application program.Herein, it answers
Understand, exchange partition is written into the data in the physical memory page, can realize application program in the case where being not take up memory
Fast quick-recovery.
In the embodiment of the present invention, the virtual memory region in scan procedure traverses institute to obtain the page table entry of application program
There is the physical memory page of page table entry available applications program, exchange partition is written into the data in the physical memory page, is used for
The fast quick-recovery of application program running state.
Example IV:
Fig. 4 is a kind of flow diagram of the starting embodiment of the method four of application program provided in an embodiment of the present invention,
On the basis of embodiment two, Fig. 4 show the specific steps of the release of the second application program memory in embodiment two, such as Fig. 4 institute
Show, the starting method of the application program further include:
S401: the page table entry of the second application program and the mapping relations of the physical memory page are released.
In this step, when application program is after the data that the physical memory page stores are written to exchange partition, releasing is answered
With the mapping relations of program page table entry and the physical memory page.
S402: release physical memory pages, and the physical memory page is added to idle chained list.
In this step, release physical memory pages, for example, the physical memory page is labeled as free state, and by object
Reason memory pages are added to idle chained list, thus, system completes Memory recycle, reduces the occupancy of system physical internal memory.
In the embodiment of the present invention, behind the data write-in exchange partition in application program physical memory, page table entry and object are released
The physical memory page is added to idle chained list by the mapping relations for managing memory pages, is completed Installed System Memory recycling, is reduced system
The occupancy of physical memory.
Embodiment five:
On the basis of the above embodiments, it will be hung up below by program process, program process restores, and
Application program switches three aspects, is using 1 with current operation program, system background program is to illustrate the present invention using for 2
A kind of starting method of the application program provided.
Fig. 5 is the flow diagram that a kind of program process provided in an embodiment of the present invention is hung up, as shown in figure 5, answering
The specific steps hung up with program process:
A) pre-operation is hung up in application, main to complete application pause operation, records current operating conditions, synchrodata to storage
Equipment;
B) triggering process pending operation, all virtual memory regions of scan procedure (virtual memory areas,
VMA);
C) all page table entries (Page Table Entry, PTE), the corresponding physical memory page of each page table entry are traversed
Face;
D) the corresponding physical memory page of page table entry is write into exchange partition;
E) PTE page table entry is released with the mapping relations of physics memory pages;
F) the release physical physical memory page, and be added in idle chained list;Play the role of releasing memory.
Fig. 6 is the flow diagram that a kind of program process provided in an embodiment of the present invention restores, as shown in fig. 6, answering
The specific steps restored with program process:
A) application recovery is run;
B) memory is accessed, since actual memory has exchanged to exchange partition, so system can utilize linux system automatically
Swap mechanism the page is restored in memory;
C) restore last time state when hanging up, using continuing to run.
Fig. 7 is a kind of flow diagram of application program switching provided in an embodiment of the present invention, as shown in fig. 7, using journey
The specific steps of sequence switching:
(1) user triggers switching application, is switched to from application 1 using 2.
(2) application management module hang up using 1 operation.
(3) the memory swap operation of page table entry, the corresponding physical memory page of memory page table entry which is used are triggered
Exchange to the exchange partition of EMMC.To guarantee to be not take up memory in suspended state using 1.
(4) application management module starting applies 2.
(5) kernel triggers memory page faults, the interrupt signal can trigger action, which can will be in Swap subregion
It deposits page to exchange on memory, to realize using 2 quick starts.
On the basis of Fig. 5 is to embodiment illustrated in fig. 7, Fig. 8 is a kind of application program switching provided in an embodiment of the present invention
The application scenarios schematic diagram of device, as shown in Figure 8:
1, it is currently running application are as follows: apply 1;
2, it once ran before using 2, and application 2 is suspended state at present;
3, user carries out the handover operation from application 1 to application 2 (i.e. restarting applies 2);
The present invention provides a kind of application program switching device, which can be used for executing embodiment one to example IV
The technical solution of either method.
Fig. 9 is a kind of structural schematic diagram one of the starter of application program provided in an embodiment of the present invention, such as Fig. 9 institute
Show, the starter 10 of the application program, comprising:
Module 101 is obtained, for depending on the user's operation, obtaining the enabled instruction of the first application program;
First processing module 102, for obtaining first application program from exchange partition according to the enabled instruction
Data, and the data of first application program are written as to the physical memory page of first application program;Its
In, the data of the first application program described in the exchange partition be in last time operation suspension described in the first application program storage
's.
Second processing module 103, for obtaining the operation data of pre-stored first application program, described in starting
The operation of first application program.
The starter of application program provided in this embodiment, for executing application program in aforementioned either method embodiment
Starting method technical solution, it is similar that the realization principle and technical effect are similar, according to the enabled instruction of user, from exchange partition
The data of the first application program are obtained, and the data of the first application program are written as to the physical memory of the first application program
The page, wherein in exchange partition the data of the first application program be in last time operation suspension described in the first application program storage
, and the operation data of pre-stored first application program is obtained, start the operation of first application program.It realizes
Reduction Installed System Memory occupies, meanwhile, it saves the data and operation data of the first application program, is transported convenient for application recovery
Row state accelerates starting speed when application program is again started up.
On the basis of above-mentioned apparatus embodiment, Figure 10 is a kind of starting dress of application program provided in an embodiment of the present invention
The structural schematic diagram two set, as shown in Figure 10, the starter 10 of the application program, further includes:
Third processing module 104 and fourth processing module 105;
The third processing module 104 is used for according to the enabled instruction, second application program out of service, and is deposited
Store up the operation data of second application program;
In the physical memory page that the fourth processing module 105 is used in memory occupy second application program
Data exchange partition is written, and discharge the memory that second application program occupies.
In a kind of concrete implementation mode, fourth processing module 105 is specifically used for:
Virtual memory region in scan procedure obtains the page table entry of first application program;
According to the page table entry of first application program, obtain in the physics that first application program occupies in memory
Deposit the page;
The exchange partition is written into data in the physical memory page.
In another concrete implementation mode, fourth processing module 105 also particularly useful for:
Release the page table entry of first application program and the mapping relations of the physical memory page;
The physical memory page is discharged, and the physical memory page is added to idle chained list.
Figure 11 is the hardware structural diagram of terminal device provided in an embodiment of the present invention.As shown in figure 11, the present embodiment
Terminal device 20 include: processor 202 and memory 201;Wherein
Memory 201, for storing computer executed instructions;
Processor 202, for executing the computer executed instructions of memory storage, to realize, terminal is set in above-described embodiment
Standby performed each step.It specifically may refer to the associated description in preceding method embodiment.
Optionally, memory 201 can also be integrated with processor 202 either independent.
When memory 201 is independently arranged, which further includes bus 203, for connecting 201 He of memory
Processor 202.
The embodiment of the present invention also provides a kind of computer readable storage medium, stores in the computer readable storage medium
There are computer executed instructions, when processor executes the computer executed instructions, realizes opening for application program as described above
Dynamic method.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (10)
1. a kind of starting method of application program, which is characterized in that be applied to terminal device, comprising:
Depending on the user's operation, the enabled instruction of the first application program is obtained;
According to the enabled instruction, the data of first application program are obtained from exchange partition, and described first is applied
The data of program are written as the physical memory page of first application program;Wherein, described in the exchange partition
The data of one application program be in last time operation suspension described in the first application program store;
The operation data of pre-stored first application program is obtained, the operation of first application program is started.
2. the method according to claim 1, wherein the enabled instruction is also used to indicate from the second application program
The first application program is switched to be run, then it is described according to the enabled instruction, described first is obtained from exchange partition answers
Before the data of program, the method also includes:
According to the enabled instruction, second application program out of service, and store the operation number of second application program
According to;
Exchange partition is written in data in the physical memory page that second application program is occupied in memory, and discharges institute
State the memory of the second application program occupancy.
3. according to the method described in claim 2, it is characterized in that, described occupy second application program in memory
Exchange partition is written in data in the physical memory page, comprising:
Virtual memory region in scan procedure obtains the page table entry of second application program;
According to the page table entry of second application program, the physical memory page that second application program occupies in memory is obtained
Face;
The exchange partition is written into data in the physical memory page.
4. according to the method described in claim 3, it is characterized in that, the memory that the release second application program occupies,
Include:
Release the page table entry of second application program and the mapping relations of the physical memory page;
The physical memory page is discharged, and the physical memory page is added to idle chained list.
5. a kind of starter of application program characterized by comprising
Module is obtained, for depending on the user's operation, obtaining the enabled instruction of the first application program;
First processing module, for obtaining the data of first application program from exchange partition according to the enabled instruction,
And the data of first application program are written as to the physical memory page of first application program;Wherein, described
The data of first application program described in exchange partition be in last time operation suspension described in the first application program store;
Second processing module, for obtaining the operation data of pre-stored first application program, starting described first is answered
With the operation of program.
6. device according to claim 5, which is characterized in that described device further include: third processing module and is everywhere
Manage module;
The third processing module is used for according to the enabled instruction, second application program out of service, and described in storage
The operation data of second application program;
The data in the physical memory page that the fourth processing module is used in memory occupy second application program
Exchange partition is written, and discharges the memory that second application program occupies.
7. device according to claim 6, which is characterized in that the fourth processing module is specifically used for:
Virtual memory region in scan procedure obtains the page table entry of second application program;
According to the page table entry of second application program, the physical memory page that second application program occupies in memory is obtained
Face;
The exchange partition is written into data in the physical memory page.
8. device according to claim 7, which is characterized in that the fourth processing module also particularly useful for:
Release the page table entry of second application program and the mapping relations of the physical memory page;
The physical memory page is discharged, and the physical memory page is added to idle chained list.
9. a kind of terminal device characterized by comprising memory, processor and computer program, the computer journey
Sequence stores in the memory, and it is described in any item that the processor runs the computer program perform claim requirement 1 to 4
The starting method of application program.
10. a kind of storage medium characterized by comprising readable storage medium storing program for executing and computer program, the computer program are used
In the starting method for realizing the described in any item application programs of Claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811276611.3A CN109408149B (en) | 2018-10-30 | 2018-10-30 | Application program starting method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811276611.3A CN109408149B (en) | 2018-10-30 | 2018-10-30 | Application program starting method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109408149A true CN109408149A (en) | 2019-03-01 |
CN109408149B CN109408149B (en) | 2022-02-25 |
Family
ID=65469956
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811276611.3A Active CN109408149B (en) | 2018-10-30 | 2018-10-30 | Application program starting method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109408149B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111045749A (en) * | 2019-12-18 | 2020-04-21 | 青岛海信传媒网络技术有限公司 | Application program starting method and device |
CN112905256A (en) * | 2019-12-03 | 2021-06-04 | 北京奇艺世纪科技有限公司 | Data processing method and device, electronic equipment and storage medium |
WO2022001504A1 (en) * | 2020-06-28 | 2022-01-06 | 华为技术有限公司 | Method and apparatus for restoring running state of application program, and storage medium |
CN114546523A (en) * | 2022-01-29 | 2022-05-27 | 阿里巴巴(中国)有限公司 | Application program starting method and device, electronic equipment, medium and program product |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009237767A (en) * | 2008-03-26 | 2009-10-15 | Nippon Telegr & Teleph Corp <Ntt> | Information succession method and saving/restoration device and information succession program |
CN101788936A (en) * | 2010-01-08 | 2010-07-28 | 中兴通讯股份有限公司 | Snapshot backup and restoration method and device when in running of mobile terminal |
CN102779072A (en) * | 2012-06-18 | 2012-11-14 | 中国科学院上海微系统与信息技术研究所 | Embedded system and dormancy and wake-up method of application process thereof |
CN104035791A (en) * | 2014-05-08 | 2014-09-10 | Tcl集团股份有限公司 | Methods for starting and stopping application program and intelligent terminal |
CN105389174A (en) * | 2014-09-04 | 2016-03-09 | Tcl集团股份有限公司 | Application program acceleration starting method and system based on mobile operating system |
CN106155778A (en) * | 2016-07-07 | 2016-11-23 | 中国科学院声学研究所 | A kind of startup method and system of application container |
CN106155733A (en) * | 2015-04-23 | 2016-11-23 | 腾讯科技(深圳)有限公司 | A kind of method and apparatus running application program |
CN106951291A (en) * | 2017-03-28 | 2017-07-14 | 努比亚技术有限公司 | Application program accelerates to start method and device |
CN108037683A (en) * | 2017-12-20 | 2018-05-15 | 深圳市沃特沃德股份有限公司 | Onboard system recovers the method and onboard system of application program running state |
-
2018
- 2018-10-30 CN CN201811276611.3A patent/CN109408149B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009237767A (en) * | 2008-03-26 | 2009-10-15 | Nippon Telegr & Teleph Corp <Ntt> | Information succession method and saving/restoration device and information succession program |
CN101788936A (en) * | 2010-01-08 | 2010-07-28 | 中兴通讯股份有限公司 | Snapshot backup and restoration method and device when in running of mobile terminal |
CN102779072A (en) * | 2012-06-18 | 2012-11-14 | 中国科学院上海微系统与信息技术研究所 | Embedded system and dormancy and wake-up method of application process thereof |
CN104035791A (en) * | 2014-05-08 | 2014-09-10 | Tcl集团股份有限公司 | Methods for starting and stopping application program and intelligent terminal |
CN105389174A (en) * | 2014-09-04 | 2016-03-09 | Tcl集团股份有限公司 | Application program acceleration starting method and system based on mobile operating system |
CN106155733A (en) * | 2015-04-23 | 2016-11-23 | 腾讯科技(深圳)有限公司 | A kind of method and apparatus running application program |
CN106155778A (en) * | 2016-07-07 | 2016-11-23 | 中国科学院声学研究所 | A kind of startup method and system of application container |
CN106951291A (en) * | 2017-03-28 | 2017-07-14 | 努比亚技术有限公司 | Application program accelerates to start method and device |
CN108037683A (en) * | 2017-12-20 | 2018-05-15 | 深圳市沃特沃德股份有限公司 | Onboard system recovers the method and onboard system of application program running state |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112905256A (en) * | 2019-12-03 | 2021-06-04 | 北京奇艺世纪科技有限公司 | Data processing method and device, electronic equipment and storage medium |
CN112905256B (en) * | 2019-12-03 | 2024-02-09 | 北京奇艺世纪科技有限公司 | Data processing method, device, electronic equipment and storage medium |
CN111045749A (en) * | 2019-12-18 | 2020-04-21 | 青岛海信传媒网络技术有限公司 | Application program starting method and device |
WO2022001504A1 (en) * | 2020-06-28 | 2022-01-06 | 华为技术有限公司 | Method and apparatus for restoring running state of application program, and storage medium |
CN114546523A (en) * | 2022-01-29 | 2022-05-27 | 阿里巴巴(中国)有限公司 | Application program starting method and device, electronic equipment, medium and program product |
Also Published As
Publication number | Publication date |
---|---|
CN109408149B (en) | 2022-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11531625B2 (en) | Memory management method and apparatus | |
CN109408149A (en) | Starting method, apparatus, equipment and the storage medium of application program | |
US10552337B2 (en) | Memory management and device | |
US9921955B1 (en) | Flash write amplification reduction | |
CN110532197B (en) | Memory recovery method and device, electronic equipment and storage medium | |
CN104808952B (en) | data cache method and device | |
CN104407933B (en) | A kind of backup method and device of data | |
WO2022089281A1 (en) | Container-based application management method and apparatus | |
US10169088B2 (en) | Lockless free memory ballooning for virtual machines | |
US9727368B1 (en) | Virtual machine migration acceleration with page state indicators | |
CN109542645A (en) | A kind of method, apparatus, electronic equipment and storage medium calling service | |
CN108880898B (en) | Main and standby container system switching method and device | |
US9886198B2 (en) | Page compression strategy for improved page out process | |
US10416994B2 (en) | Control method | |
JP2009525555A (en) | Reduce power consumption by disabling refresh of unused portions of DRAM during periods of device inactivity | |
CN110704161B (en) | Virtual machine creation method and device and computer equipment | |
EP4030289A1 (en) | Method and device for virtual machine memory management | |
CN105786405A (en) | Online upgrading method, device and system | |
CN112598565B (en) | Service operation method and device based on accelerator card, electronic equipment and storage medium | |
CN113778662B (en) | Memory recovery method and device | |
CN103914325B (en) | Shutdown and startup method and system of Linux system based on hybrid memory | |
CN112925606B (en) | Memory management method, device and equipment | |
CN112306669A (en) | Task processing method and device based on multi-core system | |
CN114661428A (en) | Atomic operation processing method, equipment, device and storage medium | |
CN115268767A (en) | Data processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221025 Address after: 83 Intekte Street, Devon, Netherlands Patentee after: VIDAA (Netherlands) International Holdings Ltd. Address before: 266061 room 131, 248 Hong Kong East Road, Laoshan District, Qingdao City, Shandong Province Patentee before: QINGDAO HISENSE MEDIA NETWORKS Ltd. |
|
TR01 | Transfer of patent right |