CN107066335A - A kind of optimization method of cloud platform internal memory and optimization system - Google Patents
A kind of optimization method of cloud platform internal memory and optimization system Download PDFInfo
- Publication number
- CN107066335A CN107066335A CN201710179722.1A CN201710179722A CN107066335A CN 107066335 A CN107066335 A CN 107066335A CN 201710179722 A CN201710179722 A CN 201710179722A CN 107066335 A CN107066335 A CN 107066335A
- Authority
- CN
- China
- Prior art keywords
- internal memory
- function
- address
- public
- optimization
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0253—Garbage collection, i.e. reclamation of unreferenced memory
-
- 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/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- 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/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45583—Memory management, e.g. access or allocation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Exchange Systems With Centralized Control (AREA)
Abstract
The present invention provides a kind of optimization method of cloud platform internal memory and optimization system, and the optimization method includes:Receive the internal memory optimization code for carrying program identification and internal memory release function;Whether backstage from foreground is switched to by application program described in the internal memory optimization code detection;If detecting from foreground and being switched to running background, function pair internal memory is discharged by internal memory described in application call and optimized.The real-time embodiment of the present invention, memory source recovery can just be triggered in cloud platform low memory by solving, and cause the problem of cloud platform is constantly in memory source tense situation, reach the effect for the disposal ability for improving cloud platform.
Description
Technical field
The present invention relates to electric data processing field, more particularly to a kind of outdoor advertising dispensing side based on traffic trip data
Method and jettison system.
Background technology
Operate in foreground during application program launching, a large amount of internal memories can be taken by carrying out initialization, into steady operation period after turn
To running background, a large amount of internal memories need not be now taken, and idle internal memory is still employed program occupancy, virtual machine is by very
Long time treatment can just be recovered these internal memories.Therefore, it is necessary to by idle memory source in the case of internal memory inadequate resource
It is quick to reclaim.
When progress memory source is quickly reclaimed, cloud platform is detected to the application program of all operations, if detecting
The memory source value that the application program of all operations takes is more than first threshold, then each application program point to being run in system
Do not detected, if the memory source value detected the presence of shared by some application program is more than Second Threshold, terminating should
The operation of application program, reclaims the internal memory shared by the application program.
Memory source recovery can be just triggered in cloud platform low memory, causes cloud platform to be constantly in memory source nervous
State, reduces the disposal ability of cloud platform.
The content of the invention
In view of this, the present invention provides a kind of optimization method of cloud platform internal memory and optimization system, to solve prior art
Easily cause the problem of cloud platform memory source is nervous.
Specifically, the present invention is achieved through the following technical solutions:
The present invention provides a kind of optimization method of cloud platform internal memory, and the optimization method includes:
The internal memory optimization code for carrying program identification and internal memory release function is received, described program is identified to be needed for identifying
The application program of releasing idling internal memory is wanted, the free memory is that application program takes and in running background in front stage operation
The internal memory taken is not required to, the internal memory release function is used for releasing idling internal memory;
Whether backstage from foreground is switched to by application program described in the internal memory optimization code detection;
If detecting from foreground and being switched to running background, function pair internal memory is discharged by internal memory described in application call
Optimize.
Present invention also offers a kind of optimization system of cloud platform internal memory, the optimization system, including:
Traffic trip data capture unit, for obtaining corresponding traffic trip data according to default screening conditions;
Unit is delivered in outdoor advertising, for carrying out outdoor advertising dispensing according to the traffic trip data.
The embodiment of the present invention, the internal memory optimization code of program identification and internal memory release function, the journey are carried by receiving
Sequence is identified needs the application program of releasing idling internal memory for identifying, and the free memory is that application program takes in front stage operation
And the internal memory of occupancy is not required in running background;Whether backstage from foreground is switched to by internal memory optimization code detection application program
Operation;If going out application program from foreground by internal memory optimization code detection is switched to running background, pass through application call
Internal memory discharges function, and internal memory release function is used for releasing idling internal memory, can directly invoke and include internal memory release function
Internal memory optimization code, discharges to the free memory of application program, solves in just being triggered in cloud platform low memory
Resource reclaim is deposited, causes the problem of cloud platform is constantly in memory source tense situation, the processing energy for improving cloud platform has been reached
The effect of power.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the optimization method of cloud platform internal memory shown in an exemplary embodiment of the invention;
Fig. 2 is a kind of structure chart of the optimization system of cloud platform internal memory shown in an exemplary embodiment of the invention.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the present invention.
It is the purpose only merely for description specific embodiment in terminology used in the present invention, and is not intended to be limiting the present invention.
" one kind ", " described " and "the" of singulative used in the present invention and appended claims are also intended to including majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from
In the case of the scope of the invention, the first information can also be referred to as the second information, similarly, and the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
As shown in Figure 1 for a kind of cloud platform internal memory shown in an exemplary embodiment of the invention optimization method flow
Figure, the optimization method includes:
Step S101, receives the internal memory optimization code for carrying program identification and internal memory release function, described program mark
Need the application program of releasing idling internal memory for identifying, the free memory be application program taken in front stage operation and
The internal memory taken is not required to during running background, the internal memory release function is used for releasing idling internal memory.
In embodiments of the present invention, internal memory release function is used for the free memory for determining that application program takes, and releasably
The space of the free memory.
Whether step S102, from foreground backstage is switched to by application program described in the internal memory optimization code detection.
In embodiments of the present invention, the foreground of cloud platform is operated in during application program launching, can be taken after being initialized
A large amount of internal memories, into steady operation period after go to running background, need not now take a large amount of internal memories, and free memory still by
Application program takes, at this point it is possible to by internal memory optimization code come releasing idling internal memory.
Before the free memory of application program is discharged using internal memory optimization code, whether cloud platform needs detection application program
Running background is switched to from foreground, so that it is determined that application program whether there is free memory.
Step S103, running background is switched to if detecting from foreground, is discharged by internal memory described in application call
Function pair internal memory is optimized.
In summary, the Memory Optimize Method that the disclosure is provided, program identification and internal memory release letter are carried by receiving
Several internal memory optimization codes, the program identification, which is used to identify, needs the application program of releasing idling internal memory, and the free memory is should
The internal memory taken is taken and is not required in running background in front stage operation with program;Pass through internal memory optimization code detection application journey
Whether sequence is switched to running background from foreground;Transported if going out application program by internal memory optimization code detection and being switched to backstage from foreground
OK, then function is discharged by application call internal memory, internal memory release function is used for releasing idling internal memory, can directly invoked
Include the internal memory optimization code that internal memory discharges function, the free memory of application program is discharged, solved in cloud platform
Memory source recovery can be just triggered during low memory, causes the problem of cloud platform is constantly in memory source tense situation, reaches
Improve the effect of the disposal ability of cloud platform.
As an alternative embodiment of the invention, carry program identification in the reception and internal memory discharges the internal memory of function
Before the step of Optimized code, the optimization method also includes:
If internal memory release function is the publicly-owned letter that application call is obtained in the private function for forbidding editing mode
Several absolute address, wherein, the Public Function has the authority for calling internal memory to discharge function;Absolute address to Public Function is entered
Row display, the absolute address of the Public Function is used to indicate the absolute address of calculating internal memory release function and internal memory is discharged into function
Absolute address be added in internal memory optimization code, the internal memory release function absolute address be equal to Public Function absolute address
The relative address of function is discharged plus Public Function and internal memory, the Public Function and internal memory discharge the relative address of function by presetting
Symbol table provide.
It is private function that internal memory, which discharges function in virtual machine source code, is with the free time for determining application program occupancy
The function of the function of the free memory is deposited and discharges, the free memory is that application program takes in front stage operation and in backstage fortune
The internal memory taken is not required to during row.Public Function is the function with the authority for calling internal memory release function, and absolute address is function
It is the memory address that the function is distributed to be loaded into system after application program.
When application program is run on a virtual machine, as the sky shared by virtual machine call internal memory discharges function pair application program
Not busy internal memory is discharged, and because virtual machine needs that by the processing of some time internal memory could be reclaimed, therefore, cloud platform can be straight
Connect and call the internal memory release function in virtual machine to carry out releasing idling internal memory.If internal memory discharges function in forbidding editing mode
Private function, i.e. internal memory release function is not editable source code, now, in order to call the internal memory to discharge function, cloud
The internal memory discharges the absolute address of function when platform needs to obtain application program operation.
Because the relative address that Public Function and internal memory discharge function is fixed, it therefore, it can by obtaining publicly-owned letter
Several absolute address come obtain internal memory discharge function absolute address.Therefore, cloud platform needs to obtain Public Function utterly
Location and Public Function discharge the relative address of function with internal memory.
Wherein, the absolute address of the Public Function of application call is obtained, including:
(1) the address reading instruction for carrying program identification and the function identification of Public Function, is received;
(2), in dynamic link library, the absolute address of the Public Function of application call is searched.
When Public Function is employed routine call, system can be the Public Function storage allocation address, and cloud platform should
The absolute address that memory address is defined as the Public Function is stored in dynamic link library.When need obtain the Public Function it is exhausted
During to address, cloud platform can directly read the absolute address from dynamic link library.
During due to Public Function by different application calls, system with can distributing different internal memories for the Public Function
Location, therefore, when obtaining the Public Function of some application call, in addition it is also necessary to obtain the program identification of the application program.
That is, the address that cloud platform is received, which is read in instruction, to be needed to carry program identification and the function identification of Public Function, cloud platform
The absolute address of the Public Function is searched in dynamic link library according to program identification and function identification, and the absolute address is entered
Row display.
It should be noted that before function identification to be added to address acquisition instruction, user can be virtual by checking
Machine source code finds the call function for the free memory that release virtual machine takes, then by checking that the header file of virtual machine is determined
The Public Function for the authority that having in the call function calls internal memory to discharge function, the function identification of the Public Function is added
Into address acquisition instruction.
It is relative due to Public Function and internal memory release function when obtaining the relative address of Public Function and private function
Address is provided by default symbol table, therefore, user can by checking the symbol table, reading need the Public Function with it is privately owned
The relative address of function.Wherein, the default symbol table is obtained by symbol storehouses by objdump.
After the absolute address and Public Function that Public Function is determined discharge the relative address of function with internal memory, the internal memory
The absolute address of release function can be determined that the absolute address of Public Function discharges function plus Public Function and internal memory
Relative address.Therefore, the absolute address for the Public Function that cloud platform is shown is got in user, and, read from symbol table
To after the relative address of Public Function and private function, the absolute address of Public Function can be added relative address by user, be obtained
To the absolute address of private function.
The embodiment of the present invention, the internal memory optimization code of program identification and internal memory release function, the journey are carried by receiving
Sequence is identified needs the application program of releasing idling internal memory for identifying, and the free memory is that application program takes in front stage operation
And the internal memory of occupancy is not required in running background;Whether backstage from foreground is switched to by internal memory optimization code detection application program
Operation;If going out application program from foreground by internal memory optimization code detection is switched to running background, pass through application call
Internal memory discharges function, and internal memory release function is used for releasing idling internal memory, can directly invoke and include internal memory release function
Internal memory optimization code, discharges to the free memory of application program, solves in just being triggered in cloud platform low memory
Resource reclaim is deposited, causes the problem of cloud platform is constantly in memory source tense situation, the processing energy for improving cloud platform has been reached
The effect of power.
A kind of structure of the optimization system for the cloud platform internal memory being illustrated in figure 2 shown in an exemplary embodiment of the invention
Figure, the optimization system, including:
Receiving unit 201, the internal memory optimization code of program identification and internal memory release function, the journey are carried for receiving
Sequence is identified needs the application program of releasing idling internal memory for identifying, and the free memory is that application program is accounted in front stage operation
The internal memory taken is not required to during with and running background, the internal memory release function is used for releasing idling internal memory.
In embodiments of the present invention, internal memory release function is used for the free memory for determining that application program takes, and releasably
The space of the free memory.
Detection unit 202, for whether being switched to by application program described in the internal memory optimization code detection from foreground
Backstage.
In embodiments of the present invention, the foreground of cloud platform is operated in during application program launching, can be taken after being initialized
A large amount of internal memories, into steady operation period after go to running background, need not now take a large amount of internal memories, and free memory still by
Application program takes, at this point it is possible to by internal memory optimization code come releasing idling internal memory.
Before the free memory of application program is discharged using internal memory optimization code, whether cloud platform needs detection application program
Running background is switched to from foreground, so that it is determined that application program whether there is free memory.
Optimize unit 203, if being switched to running background for detecting from foreground, in described in application call
Release function pair internal memory is deposited to optimize.
In summary, the Memory Optimize Method that the disclosure is provided, program identification and internal memory release letter are carried by receiving
Several internal memory optimization codes, the program identification, which is used to identify, needs the application program of releasing idling internal memory, and the free memory is should
The internal memory taken is taken and is not required in running background in front stage operation with program;Pass through internal memory optimization code detection application journey
Whether sequence is switched to running background from foreground;Transported if going out application program by internal memory optimization code detection and being switched to backstage from foreground
OK, then function is discharged by application call internal memory, internal memory release function is used for releasing idling internal memory, can directly invoked
Include the internal memory optimization code that internal memory discharges function, the free memory of application program is discharged, solved in cloud platform
Memory source recovery can be just triggered during low memory, causes the problem of cloud platform is constantly in memory source tense situation, reaches
Improve the effect of the disposal ability of cloud platform.
As the alternative embodiment of the present invention, the optimization system also includes:
Absolute address acquiring unit, if it is, in the private function for forbidding editing mode, to obtain to discharge function for internal memory
The absolute address of the Public Function of application call is taken, wherein, the Public Function has the authority for calling internal memory to discharge function;
Absolute address to Public Function shows that the absolute address of the Public Function is used to indicate to calculate the exhausted of internal memory release function
It is added to address and by the absolute address that internal memory discharges function in internal memory optimization code, the internal memory discharges the absolute address of function
Absolute address equal to Public Function discharges the relative address of function plus Public Function and internal memory, and the Public Function and internal memory are released
The relative address for putting function is provided by default symbol table.
It is private function that internal memory, which discharges function in virtual machine source code, is with the free time for determining application program occupancy
The function of the function of the free memory is deposited and discharges, the free memory is that application program takes in front stage operation and in backstage fortune
The internal memory taken is not required to during row.Public Function is the function with the authority for calling internal memory release function, and absolute address is function
It is the memory address that the function is distributed to be loaded into system after application program.
When application program is run on a virtual machine, as the sky shared by virtual machine call internal memory discharges function pair application program
Not busy internal memory is discharged, and because virtual machine needs that by the processing of some time internal memory could be reclaimed, therefore, cloud platform can be straight
Connect and call the internal memory release function in virtual machine to carry out releasing idling internal memory.If internal memory discharges function in forbidding editing mode
Private function, i.e. internal memory release function is not editable source code, now, in order to call the internal memory to discharge function, cloud
The internal memory discharges the absolute address of function when platform needs to obtain application program operation.
Because the relative address that Public Function and internal memory discharge function is fixed, it therefore, it can by obtaining publicly-owned letter
Several absolute address come obtain internal memory discharge function absolute address.Therefore, cloud platform needs to obtain Public Function utterly
Location and Public Function discharge the relative address of function with internal memory.
Wherein, the absolute address of the Public Function of application call is obtained, including:
(1) the address reading instruction for carrying program identification and the function identification of Public Function, is received;
(2), in dynamic link library, the absolute address of the Public Function of application call is searched.
When Public Function is employed routine call, system can be the Public Function storage allocation address, and cloud platform should
The absolute address that memory address is defined as the Public Function is stored in dynamic link library.When need obtain the Public Function it is exhausted
During to address, cloud platform can directly read the absolute address from dynamic link library.
During due to Public Function by different application calls, system with can distributing different internal memories for the Public Function
Location, therefore, when obtaining the Public Function of some application call, in addition it is also necessary to obtain the program identification of the application program.
That is, the address that cloud platform is received, which is read in instruction, to be needed to carry program identification and the function identification of Public Function, cloud platform
The absolute address of the Public Function is searched in dynamic link library according to program identification and function identification, and the absolute address is entered
Row display.
It should be noted that before function identification to be added to address acquisition instruction, user can be virtual by checking
Machine source code finds the call function for the free memory that release virtual machine takes, then by checking that the header file of virtual machine is determined
The Public Function for the authority that having in the call function calls internal memory to discharge function, the function identification of the Public Function is added
Into address acquisition instruction.
It is relative due to Public Function and internal memory release function when obtaining the relative address of Public Function and private function
Address is provided by default symbol table, therefore, user can by checking the symbol table, reading need the Public Function with it is privately owned
The relative address of function.Wherein, the default symbol table is obtained by symbol storehouses by objdump.
After the absolute address and Public Function that Public Function is determined discharge the relative address of function with internal memory, the internal memory
The absolute address of release function can be determined that the absolute address of Public Function discharges function plus Public Function and internal memory
Relative address.Therefore, the absolute address for the Public Function that cloud platform is shown is got in user, and, read from symbol table
To after the relative address of Public Function and private function, the absolute address of Public Function can be added relative address by user, be obtained
To the absolute address of private function.
The embodiment of the present invention, the internal memory optimization code of program identification and internal memory release function, the journey are carried by receiving
Sequence is identified needs the application program of releasing idling internal memory for identifying, and the free memory is that application program takes in front stage operation
And the internal memory of occupancy is not required in running background;Whether backstage from foreground is switched to by internal memory optimization code detection application program
Operation;If going out application program from foreground by internal memory optimization code detection is switched to running background, pass through application call
Internal memory discharges function, and internal memory release function is used for releasing idling internal memory, can directly invoke and include internal memory release function
Internal memory optimization code, discharges to the free memory of application program, solves in just being triggered in cloud platform low memory
Resource reclaim is deposited, causes the problem of cloud platform is constantly in memory source tense situation, the processing energy for improving cloud platform has been reached
The effect of power.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can
To be or may not be physically separate, the part shown as unit can be or may not be physics list
Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs
In some or all of module realize the purpose of the present invention program.Those of ordinary skill in the art are not paying creative labor
In the case of dynamic, you can to understand and implement.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.
Claims (6)
1. a kind of optimization method of cloud platform internal memory, it is characterised in that the optimization method includes:
The internal memory optimization code for carrying program identification and internal memory release function is received, described program is identified to be released for identifying needs
The application program of free memory is put, the free memory is that application program takes and is not required in running background in front stage operation
The internal memory of occupancy, the internal memory release function is used for releasing idling internal memory;
Whether backstage from foreground is switched to by application program described in the internal memory optimization code detection;
If detecting from foreground and being switched to running background, function pair internal memory is discharged by internal memory described in application call and carried out
Optimization.
2. optimization method as claimed in claim 1, it is characterised in that carry program identification and internal memory release in the reception
Before the step of internal memory optimization code of function, the optimization method also includes:
If internal memory release function is the Public Function that application call is obtained in the private function for forbidding editing mode
Absolute address, wherein, the Public Function has the authority for calling internal memory to discharge function;Absolute address to Public Function is shown
Show, the absolute address of the Public Function is used to indicate that calculating internal memory discharges the absolute address of function and internal memory is discharged into the exhausted of function
Address is added in internal memory optimization code, the absolute address of internal memory release function is added equal to the absolute address of Public Function
Public Function and internal memory discharge the relative address of function, and the Public Function and internal memory discharge the relative address of function by default symbol
Number table is provided.
3. optimization method as claimed in claim 2, it is characterised in that the Public Function of the acquisition application call it is exhausted
To address, including:
Receive the address reading instruction for carrying program identification and the function identification of Public Function;
In dynamic link library, the absolute address of the Public Function of application call is searched.
4. a kind of optimization system of cloud platform internal memory, it is characterised in that the optimization system includes:
Receiving unit, the internal memory optimization code of program identification and internal memory release function, described program mark are carried for receiving
Need the application program of releasing idling internal memory for identifying, the free memory be application program taken in front stage operation and
The internal memory taken is not required to during running background, the internal memory release function is used for releasing idling internal memory;
Detection unit, for whether from foreground being switched to backstage by application program described in the internal memory optimization code detection;
Optimize unit, if being switched to running background for detecting from foreground, discharged by internal memory described in application call
Function pair internal memory is optimized.
5. optimize system as claimed in claim 4, it is characterised in that the optimization system also includes:
Absolute address acquiring unit, if it is that, in the private function for forbidding editing mode, obtaining should to discharge function for internal memory
With the absolute address of the Public Function of routine call, wherein, the Public Function has the authority for calling internal memory to discharge function;To public affairs
The absolute address for having function is shown that the absolute address of the Public Function is used to indicate to calculate internal memory release function utterly
Location and by internal memory discharge function absolute address be added in internal memory optimization code, the internal memory release function absolute address be equal to
The absolute address of Public Function discharges the relative address of function, the Public Function and internal memory release letter plus Public Function and internal memory
Several relative addresses is provided by default symbol table.
6. as claimed in claim 5 optimization system, it is characterised in that the Public Function of the acquisition application call it is exhausted
To address, including:
Receive the address reading instruction for carrying program identification and the function identification of Public Function;
In dynamic link library, the absolute address of the Public Function of application call is searched.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710179722.1A CN107066335A (en) | 2017-03-23 | 2017-03-23 | A kind of optimization method of cloud platform internal memory and optimization system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710179722.1A CN107066335A (en) | 2017-03-23 | 2017-03-23 | A kind of optimization method of cloud platform internal memory and optimization system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107066335A true CN107066335A (en) | 2017-08-18 |
Family
ID=59618149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710179722.1A Pending CN107066335A (en) | 2017-03-23 | 2017-03-23 | A kind of optimization method of cloud platform internal memory and optimization system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107066335A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019128542A1 (en) * | 2017-12-29 | 2019-07-04 | Oppo广东移动通信有限公司 | Application processing method, electronic device, computer readable storage medium |
CN111209114A (en) * | 2019-12-31 | 2020-05-29 | 深圳Tcl新技术有限公司 | System memory releasing method, device and storage medium |
CN112114965A (en) * | 2020-09-15 | 2020-12-22 | 深圳市欢太科技有限公司 | Application program running method and device, terminal and storage medium |
CN113742263A (en) * | 2020-05-29 | 2021-12-03 | 上海高德威智能交通***有限公司 | Bandwidth distribution determination and program optimization methods, devices and equipment |
CN113742263B (en) * | 2020-05-29 | 2024-06-25 | 上海高德威智能交通***有限公司 | Bandwidth distribution determination and program optimization method, device and equipment |
-
2017
- 2017-03-23 CN CN201710179722.1A patent/CN107066335A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019128542A1 (en) * | 2017-12-29 | 2019-07-04 | Oppo广东移动通信有限公司 | Application processing method, electronic device, computer readable storage medium |
CN109992522A (en) * | 2017-12-29 | 2019-07-09 | 广东欧珀移动通信有限公司 | Application processing method and device, electronic equipment, computer readable storage medium |
CN111209114A (en) * | 2019-12-31 | 2020-05-29 | 深圳Tcl新技术有限公司 | System memory releasing method, device and storage medium |
CN113742263A (en) * | 2020-05-29 | 2021-12-03 | 上海高德威智能交通***有限公司 | Bandwidth distribution determination and program optimization methods, devices and equipment |
CN113742263B (en) * | 2020-05-29 | 2024-06-25 | 上海高德威智能交通***有限公司 | Bandwidth distribution determination and program optimization method, device and equipment |
CN112114965A (en) * | 2020-09-15 | 2020-12-22 | 深圳市欢太科技有限公司 | Application program running method and device, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109873804A (en) | Service identification method, device, equipment and the readable storage medium storing program for executing of Behavior-based control | |
CN107066335A (en) | A kind of optimization method of cloud platform internal memory and optimization system | |
CN105117289A (en) | Task allocation method, device and system based on cloud testing platform | |
CN112291382B (en) | IP address allocation method and device | |
US20100031268A1 (en) | Thread ordering techniques | |
CN105279017A (en) | Cloud test platform based task distribution method, apparatus and system | |
CN104539708A (en) | Capacity reduction method, device and system for cloud platform resources | |
CN101295266B (en) | Method, device and system for detecting and removing deadlock | |
CN103914355A (en) | Method and device for positioning memory repeated release | |
US20180188990A1 (en) | Method, apparatus and system for inserting disk | |
CN112685333B (en) | Heap memory management method and device | |
CN107291486B (en) | Installation method and device of operating system | |
CN106933644A (en) | Data processing method and device | |
CN108614734B (en) | Security parameter index management method and device | |
CA2907476C (en) | Method and device for determining mail path information | |
CN105205409A (en) | Method for preventing data leakage during memory multiplexing and computer system | |
CN102984330A (en) | Contact person data management method of communication device | |
CN109062781B (en) | Message buffer management method and device | |
CN112231053A (en) | Load balancing service distribution method and device | |
CN111880942A (en) | Network threat processing method and device | |
CN106533882B (en) | Message processing method and device | |
CN115277553A (en) | Flow table storage method, device, equipment and computer readable storage medium | |
CN112100017A (en) | Memory resource monitoring method and device | |
CN106326170B (en) | A kind of equipment call number distribution method, apparatus and system | |
US20070061227A1 (en) | Determining a computer system inventory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170818 |