Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of memory allocation method and device, can distribute target memory block for video data, its
In, video data includes multiple block of video data, and block of video data can be one-frame video data, or a few frame video counts
According to the size of the block of video data of video data is change, for example, for same video data, when being played in mobile phone, hand
Machine transverse screen from different broadcast interface resolution ratio are corresponded in the case of mobile phone portrait layout respectively, then under different broadcast interface resolution ratio
Block of video data it is in different size.In the embodiment of the present invention, can according to the size of the block of video data for currently getting, with
The size of default memory block compares, in the cause not of uniform size of size and the default memory block of block of video data, according to video counts
According to the size of block for video data distributes target memory block, so as to avoid the size of the size more than memory block of block of video data
Cause block of video data cannot situation of the full storage between internal memory, it also avoid the size of block of video data empty less than internal memory
Between size cause memory headroom waste situation.
Further, the default memory block in the embodiment of the present invention is the memory block of free time in target memory pond, the present invention
Target memory block in embodiment is memory block idle in target memory pond.
Further alternative, the embodiment of the present invention was carried out before playing video data, and target is being distributed for video data
After memory block, the block of video data of video data is cached in target memory block, then a frame is read from target memory block
Video data, so as to carry out the broadcasting of video data, so that can the various video qualities of self adaptation so that the video counts of video data
It is adapted to the size of target memory block according to block size, improves the flexibility of video data Memory Distribution Map.
It can be personal computer, panel computer, smart mobile phone, pen that the embodiment of the present invention provides a kind of Memory Allocation device
Remember the terminal device of the playable video data such as this computer, or in terminal device as:Video player client, net
The client modules such as page browsing device client.A kind of Memory Distribution Map provided in an embodiment of the present invention is for example:Broadcast in webpage
When putting video, scene of Memory Allocation etc. need to be carried out to the video data for caching during buffered video.
Below in conjunction with 1~accompanying drawing of accompanying drawing 3, memory allocation method provided in an embodiment of the present invention is described in detail.
Fig. 1 is referred to, is a kind of flow chart of memory allocation method provided in an embodiment of the present invention;The method may include with
Lower step S101~S104.
S101, when the memory request of video data is detected, obtains the size of block of video data, and video data includes many
Individual block of video data.
As a kind of optional implementation method, when the memory request of video data is detected, specifically, can receive
To user to the play operation of video data when determine to detect the memory request of video data, detecting in video data
After depositing request, the size of block of video data is obtained, wherein, video data includes multiple block of video data, and block of video data can be with
It is one-frame video data, or a few frame video datas, is not limited by the embodiment of the present invention specifically.
Further, the size of step S101 acquisitions block of video data can specifically include:
The size of each block of video data received in Preset Time is obtained, each received in Preset Time is regarded
During the cause not of uniform size of the size of frequency data block and default memory block, determine that comparative result is:The size of block of video data with it is pre-
If the cause not of uniform size of memory block;Or
The size of each block of video data in the top n block of video data that acquisition is received, wherein, N is predetermined number,
In the top n block of video data for receiving during the cause not of uniform size of the size of each block of video data and default memory block, it is determined that
Comparative result is:The cause not of uniform size of the size of block of video data and default memory block.
In implementing, what Preset Time can be configured according to per the integral multiple of the delivery time of frame video data
Time numerical value, such as 20ms, 15ms etc., the settable timer of Preset Time are controlled, then M can be received in Preset Time
Block of video data, M is the positive integer more than 1, obtains the size of each block of video data in M block of video data.
Further, the size of each block of video data in the top n block of video data for receiving is obtained, wherein, N is pre-
If quantity, specifically, can also be counted to the quantity of block of video data, a block of video data is often received, be incremented by internal meter
Number, when the numerical value for internally counting reaches predetermined number N, obtains the size of each block of video data in N number of block of video data,
First block of video data receiving, second block of video data ... n-th block of video data are processed, is obtained
The size of each block of video data in top n block of video data.
S102, obtains the size of pre-assigned default memory block in target memory pond, and target memory pond includes multiple pre-
If memory block.
As a kind of optional implementation method, the size of pre-assigned default memory block in target memory pond can be obtained,
Wherein, target memory pond includes multiple default memory blocks, and the size for presetting memory block is a numerical value set in advance, target memory
Pond be when memory request is received from memory pool apply a memory pool for enough memory headrooms, target memory pond it is big
The small size more than video data.
It is further alternative, the execution of step S101, S102 without priority point, one of them can be first carried out, then perform
Another step, can also perform simultaneously.
S103, compares the size of block of video data and the size of default memory block.
As a kind of optional implementation method, the size of block of video data and the size of default memory block are may compare.Specifically
In realization, the size of block of video data and the difference of the size of default memory block can be calculated.Further, may compare default internal memory
The size of block whether more than block of video data size the first ratio value, or relatively default memory block size whether less than regarding
Second ratio value of the size of frequency data block.Wherein, the first ratio value can be the size ratio of default memory block set in advance
Ratio value more than the size of block of video data, such as the first ratio value can be 120%, if the size of default memory block is
80KB, the size of block of video data is 30KB, then 80>30*120%;Second ratio value can be default internal memory set in advance
The size of the block ratio value fewer than the size of block of video data, such as the second ratio value can be 110%, if default memory block
Size is 80KB, and the size of block of video data is 80KB, then 80<80*110%.
S104, be in comparative result:During the cause not of uniform size of the size of block of video data and default memory block, according to video
The size of data block is that video data distributes target memory block.
It is the size and default memory block of block of video data in the comparative result of S103 as a kind of optional implementation method
Cause not of uniform size when, size according to block of video data distributes target memory block for video data.Specifically, can also empty pre-
The default memory block for first distributing, then be again video data storage allocation block, specially video data distributes target memory block.Enter
One step, size that also can directly according to block of video data is video data distribution target memory block, specifically unreal by the present invention
Apply the limitation of example.
Further, after the size for obtaining each block of video data received in Preset Time, in Preset Time
During the cause not of uniform size of the size of each block of video data for inside receiving and default memory block, it may be determined that comparative result is:Depending on
The cause not of uniform size of the size of frequency data block and default memory block.
Further, after the size of each block of video data in obtaining the top n block of video data for receiving, connecing
In the top n block of video data for receiving during the cause not of uniform size of the size of each block of video data and default memory block, it is determined that than
Relatively result is:The cause not of uniform size of the size of block of video data and default memory block.
Further, the size and difference resulting in the difference of the size of default memory block of block of video data are being calculated
When meeting default first difference threshold, determine that comparative result is:The size of block of video data is not of uniform size with default memory block
Cause.Wherein, difference of the size with the size of default memory block that the first difference threshold is block of video data set in advance is preset
Minimum value and maximum, for example, default first difference threshold can be:[- 15, -1] (unit is KB), i.e. block of video data
Size and the difference of the size of default memory block minimum value can be -15KB, maximum can be -1KB.
Further, it is in first ratio value of the size more than the size of block of video data of default memory block or default interior
When the size of counterfoil is less than the second ratio value of the size of block of video data, determine that comparative result is:The size of block of video data
With the cause not of uniform size of default memory block.
Used as a kind of optional implementation method, the size according to block of video data is video data distribution target memory block tool
Body can include:
Calculate the size of block of video data and default second difference threshold and, or calculating block of video data size with it is pre-
If the product of fractional threshold, the size of target memory block is obtained by result of calculation;
Size according to target memory block applies for multiple target memory blocks from target memory pond;
For block of video data distributes target memory block.
In implementing, default second difference threshold is the size and block of video data of default memory block set in advance
The minimum value and maximum of the difference of size, for example, default second difference threshold can be:[1,20] (unit is KB), that is, regard
The size of frequency data block can be 1KB with the minimum value of the difference of the size of default memory block, and maximum can be 20KB, specifically
, one can be selected as end value from default second difference threshold, for example, 1 can be selected, if then the size of block of video data is
30KB, then the size of target memory block can be set to 30+1=31KB.
Wherein, default fractional threshold can be the size and the size of block of video data of target memory block set in advance
The minimum value and maximum of ratio, for example, default fractional threshold can for [1.1,1.5], the i.e. size of target memory block with regard
The minimum value of the ratio of the size of frequency data block can be 1.1, and the maximum of ratio can be 1.5.For example, block of video data
Size is 30KB, then the size of target memory block can be set to 30*1.1=33KB.
In implementing, after the size of target memory block is calculated, the size according to target memory block is from target
The multiple target memory blocks of application in pond are deposited, for example, the size for being calculated target memory block is 31KB, then can be from target memory pond
The target memory block of middle application multiple 31KB.Further, it is that each block of video data distributes a target memory block, so that can
The block of video data that will be received is cached in target memory block.
It is further alternative, be in comparative result:The size of block of video data and default memory block it is in the same size when, will
The block of video data for receiving is cached in default memory block.
It is further alternative, be in comparative result:During the cause not of uniform size of the size of block of video data and default memory block,
Default memory block is emptied, target memory block can be distributed for video data, wherein, size and the block of video data of target memory block
Size is identical.
The embodiment of the present invention provides a kind of memory allocation method, can be obtained when the memory request of video data is detected
The size of block of video data, can also obtain the size of pre-assigned default memory block in target memory pond, and then comparable regard
The size of the size of frequency data block and default memory block, be in comparative result:The size of block of video data and default memory block
During cause not of uniform size, default memory block is emptied, and be that video data distributes target memory block according to the size of block of video data, this
Inventive embodiments can carry out Memory Allocation according to the size of the block of video data in real-time video data, and the memory block of distribution is big
It is small to be adapted to the size of block of video data, the flexibility of video data Memory Distribution Map is improved, improve memory usage.
Fig. 2 is referred to, is the flow chart of another memory allocation method provided in an embodiment of the present invention, the method may include
Following steps S201~S207.
S201, obtains the size of pre-assigned default memory block in target memory pond.
Used as a kind of optional implementation method, target memory pond is to apply from memory pool when memory request is received
One memory pool of enough memory headrooms, wherein, target memory pond includes multiple default memory blocks.
S202, when the memory request of video data is detected, each is regarded in the top n block of video data that acquisition is received
The size of frequency data block.
Further, the size of each block of video data in the top n block of video data for receiving is obtained, wherein, N is pre-
If quantity, specifically, can also be counted to the quantity of block of video data, a block of video data is often received, be incremented by internal meter
Number, when the numerical value for internally counting reaches predetermined number N, obtains the size of each block of video data in N number of block of video data,
First block of video data receiving, second block of video data ... n-th block of video data are processed, is obtained
The size of each block of video data in top n block of video data.
S203, calculates the size of block of video data and the difference of the size of default memory block.
Whether S204, the difference that judgement is calculated meets default first difference threshold.When judged result is to be, perform
Step S205~S206, when judged result is no, performs step S207.
As a kind of optional implementation method, default first difference threshold be block of video data set in advance size with
The minimum value and maximum of the difference of the size of default memory block, for example, default first difference threshold can be:[- 15, -1]
(unit is KB), the i.e. size of block of video data can be -15KB with the minimum value of the difference of the size of default memory block, maximum
Value can be -1KB.
S205, the size by block of video data is big with default second difference threshold and being calculated target memory block
It is small.
Used as a kind of optional implementation method, when the difference being calculated meets default first difference threshold, calculating is regarded
The size of frequency data block and default second difference threshold and obtain the size of target memory block, default second difference threshold is pre-
The minimum value and maximum of the difference of the size of the default memory block for first setting and the size of block of video data, for example, default the
Two difference thresholds can be:The difference of [1,20] (unit is KB), the i.e. size of block of video data and the size of default memory block
Minimum value can be 1KB, maximum can be 20KB, specifically, a conduct can be selected most from default second difference threshold
Final value, for example, 1 can be selected, if then the size of block of video data is 30KB, the size of target memory block can be set to 30+1=
31KB。
S206, by the size of the target memory block being calculated for video data distributes target memory block.
As a kind of optional implementation method, after the size of target memory block is calculated, can be according to target memory block
Size apply for multiple target memory blocks from target memory pond, for example, the size for being calculated target memory block is 31KB, then
The target memory block of multiple 31KB can be applied for from target memory pond.
S207, is video data distribution target memory block, and the size of target memory block is equal in magnitude with block of video data.
It is further alternative, as shown in figure 3, being a kind of Memory Allocation schematic diagram provided in an embodiment of the present invention, video counts
Include first block of video data, 311, second block of video data 312, the 3rd database block 313 ..., target according to 31
Memory pool 32 includes the first default memory block 323 ... of the default default memory block the 322, the 3rd of memory block 321, second, target
Also include in memory pool:First object memory block 331, the second target memory block 332, the 3rd target memory block 333 ....This hair
In bright embodiment, the size of each block of video data in top n block of video data can be calculated, N=3 calculates first video counts
According to the size of block 311, the size and the 3rd size of database block 313 of second block of video data 312.Specifically, can count
Calculate the size of the first default memory block 321:B1=40KB, calculates the size of the second default memory block 322:B2=40KB, calculating
The size of the 3rd default memory block 323:B3=40KB ....When first block of video data 311 is received, first is calculated
The size of block of video data 311:A1=30KB, may compare the size of a1, b1, and default first difference is met in the difference of a1 and b1
During threshold value, by the size and default second difference threshold of block of video data and the size of target memory block is calculated, thus
The size of first object memory block 331 can be calculated:C1=31KB;When second block of video data 312 is received, second is calculated
The size of individual block of video data 312:A2=30KB, may compare the size of a2, b2, can similarly calculate the second target memory block 332
Size:C2=31KB;When the 3rd block of video data 313 is received, the 3rd size of block of video data 313 is calculated:
A3=30KB, may compare the size of a3, b3, can similarly calculate the size of the 3rd target memory block 333:C3=31KB ... enters one
Step, after the size for calculating target memory block, default memory block can be emptied, and by the big of the target memory block that is calculated
Small is video data distribution target memory block, and as first block of video data 311 distributes the first object internal memory of c1=31KB
Block 331, is second second target memory block 332 of the distribution of block of video data 312 c2=31KB, is the 3rd video database
Block 313 distributes the 3rd target memory block 333 of c3=31KB.
The embodiment of the present invention provides a kind of memory allocation method, can obtain pre-assigned default internal memory in target memory pond
The size of block, can obtain each video in the top n block of video data for receiving when the memory request of video data is detected
The size of data block, and then the size of block of video data and the difference of the size of default memory block can be calculated, what is be calculated
When difference meets default first difference threshold, by the size and default second difference threshold of block of video data and mesh is calculated
The size of memory block is marked, can be by the size of the target memory block being calculated for video data distributes target memory block, the present invention
Embodiment can carry out Memory Allocation according to the size of the block of video data in real-time video data, the internal memory block size of distribution with
The size adaptation of block of video data, improves the flexibility of video data Memory Distribution Map, improves memory usage.
Below in conjunction with 4~Fig. 6 of accompanying drawing, Memory Allocation device provided in an embodiment of the present invention is described in detail.Need
It is noted that the Memory Allocation device shown in 4~Fig. 6 of accompanying drawing, the side for performing Fig. 1 of the present invention or embodiment illustrated in fig. 2
Method, for convenience of description, illustrate only the part related to the embodiment of the present invention, and particular technique details is not disclosed, refer to
Embodiment shown in Fig. 1 of the present invention or Fig. 2.
Fig. 4 is referred to, is a kind of structural representation of Memory Allocation device provided in an embodiment of the present invention;The device can be wrapped
Include:Data block acquisition module 401, memory block acquisition module 402, comparison module 403 and distribute module 404.
Data block acquisition module 401, for when the memory request of video data is detected, obtaining the big of block of video data
Small, video data includes multiple block of video data.
As a kind of optional implementation method, when the memory request of video data is detected, specifically, can receive
To user to the play operation of video data when determine to detect the memory request of video data, detecting in video data
After depositing request, data block acquisition module 401 can obtain the size of block of video data, wherein, video data includes multiple video counts
According to block, block of video data can be one-frame video data, or a few frame video datas, specifically not by the embodiment of the present invention
Limitation.
Further alternative, data block acquisition module 401 can include:First acquisition unit or second acquisition unit.
First acquisition unit, the size for obtaining each block of video data received in Preset Time, when default
During the cause not of uniform size of the size of interior each block of video data for receiving and default memory block, the big of block of video data is determined
The small cause not of uniform size with default memory block.
Second acquisition unit, the size for obtaining each block of video data in the top n block of video data for receiving, its
In, N is predetermined number, the size of each block of video data and default memory block in the top n block of video data for receiving
During cause not of uniform size, the size of block of video data and the cause not of uniform size of default memory block are determined.
In implementing, what Preset Time can be configured according to per the integral multiple of the delivery time of frame video data
Time numerical value, such as 20ms, 15ms etc., the settable timer of Preset Time are controlled, then M can be received in Preset Time
Block of video data, M is the positive integer more than 1, and then first acquisition unit can obtain each video data in M block of video data
The size of block.
Further, second acquisition unit can obtain each block of video data in the top n block of video data for receiving
Size, wherein, N is predetermined number, specifically, can also be counted to the quantity of block of video data, often receives a video counts
According to block, it is incremented by count internal, when the numerical value for internally counting reaches predetermined number N, each is regarded in obtaining N number of block of video data
The size of frequency data block, i.e. first block of video data, second block of video data ... n-th video data to receiving
Block is processed, and obtains the size of each block of video data in top n block of video data.
Memory block acquisition module 402, the size for obtaining pre-assigned default memory block in target memory pond, target
Memory pool includes multiple default memory blocks.
Used as a kind of optional implementation method, memory block acquisition module 402 can obtain pre-assigned in target memory pond
The size of default memory block, wherein, target memory pond includes multiple default memory blocks, presets the size of memory block to preset
A numerical value, target memory pond be when memory request is received from memory pool apply an internal memory for enough memory headrooms
Pond, the size of the size more than video data in target memory pond.
Comparison module 403, for comparing the size of block of video data and the size of default memory block.
Used as a kind of optional implementation method, comparison module 403 may compare the size and default memory block of block of video data
Size.In implementing, the size of block of video data and the difference of the size of default memory block can be calculated.Further, may be used
Compare default memory block size whether more than block of video data size the first ratio value, or relatively default memory block is big
Second ratio value of the small size for whether being less than block of video data.
It is further alternative, as shown in figure 5, being the structural representation of comparison module provided in an embodiment of the present invention, such as scheme
Shown, comparison module 403 can include:First computing unit 51.
First computing unit 51, for calculating the size of block of video data and the difference of the size of default memory block, in difference
When value meets default first difference threshold, the comparative result for determining comparison module is:The size of block of video data and default internal memory
The cause not of uniform size of block.
Further alternative, comparison module 403 can also include:Ratio value comparing unit 52.
Ratio value comparing unit 52, for relatively default memory block size whether more than block of video data size the
One ratio value, or relatively default memory block size whether less than block of video data size the second ratio value;In default
The size of counterfoil is more than the first ratio value of the size of block of video data, or the size of default memory block is less than block of video data
During the second ratio value of size, the comparative result for determining comparison module is:The size of block of video data is big with default memory block
It is small inconsistent.
In implementing, the first ratio value can be that the size of default memory block set in advance is bigger than block of video data
Small many ratio values, such as the first ratio value can be 120%, if the size of default memory block is 80KB, block of video data
Size is 30KB, then 80>30*120%;Second ratio value can be that the size of default memory block set in advance compares video data
The few ratio value of the size of block, such as the second ratio value can be 110%, if the size of default memory block is 80KB, video counts
It is 80KB, then 80 according to the size of block<80*110%.
Distribute module 404, be in the comparative result of comparison module 403:The size of block of video data and default memory block
During cause not of uniform size, the size according to block of video data is video data distribution target memory block.
As a kind of optional implementation method, comparison module 403 comparative result for block of video data size with it is pre-
If during the cause not of uniform size of memory block, distribute module 404 can empty default memory block, and according to the size of block of video data be regarding
Frequency data distribution target memory block.Specifically, distribute module 404 can empty pre-assigned default memory block, then be again regarding
Frequency is according to storage allocation block, specially video data distribution target memory block.Further, also can be directly according to block of video data
Size for video data distribute target memory block, do not limited by the embodiment of the present invention specifically.
Further, data block acquisition module 401 obtain Preset Time in receive each block of video data it is big
After small, during the cause not of uniform size of the size of each block of video data received in Preset Time and default memory block, than
Can determine that comparative result is compared with module 403:The cause not of uniform size of the size of block of video data and default memory block.
Further, after the size of each block of video data in obtaining the top n block of video data for receiving, connecing
In the top n block of video data for receiving during the cause not of uniform size of the size of each block of video data and default memory block, it is determined that than
Comparative result compared with module 403 is:The cause not of uniform size of the size of block of video data and default memory block.
Further, the size and difference resulting in the difference of the size of default memory block of block of video data are being calculated
When meeting default first difference threshold, it may be determined that the comparative result of comparison module 403 is:The size of block of video data is interior with default
The cause not of uniform size of counterfoil.Wherein, size and default internal memory that the first difference threshold is block of video data set in advance are preset
The minimum value and maximum of the difference of the size of block, for example, default first difference threshold can be:[- 15, -1] (unit is
KB), i.e. the minimum value of the size of block of video data and the difference of the size of default memory block can be -15KB, and maximum can be with
For -1KB.
Further, it is in first ratio value of the size more than the size of block of video data of default memory block or default interior
When the size of counterfoil is less than the second ratio value of the size of block of video data, class determines that the comparative result of comparison module 403 is:Depending on
The cause not of uniform size of the size of frequency data block and default memory block.
It is further alternative, as shown in fig. 6, being the structural representation of distribute module provided in an embodiment of the present invention, such as scheme
Shown, distribute module 404 can include:Second computing unit 61 and allocation unit 62.
Second computing unit 61, for calculate the size of block of video data and default second difference threshold and, or calculating
The size of block of video data and the product of default fractional threshold, the size of target memory block is obtained by result of calculation.
Allocation unit 62, multiple target memory blocks are applied for for the size according to target memory block from target memory pond,
And for block of video data distributes target memory block.
In implementing, default second difference threshold is the size and block of video data of default memory block set in advance
The minimum value and maximum of the difference of size, for example, default second difference threshold can be:[1,20] (unit is KB), that is, regard
The size of frequency data block can be 1KB with the minimum value of the difference of the size of default memory block, and maximum can be 20KB, specifically
, one can be selected as end value from default second difference threshold, for example, 1 can be selected, if then the size of block of video data is
30KB, then the size of target memory block can be set to 30+1=31KB.
Wherein, default fractional threshold can be the size and the size of block of video data of target memory block set in advance
The minimum value and maximum of ratio, for example, default fractional threshold can for [1.1,1.5], the i.e. size of target memory block with regard
The minimum value of the ratio of the size of frequency data block can be 1.1, and the maximum of ratio can be 1.5.For example, block of video data
Size is 30KB, then the size of target memory block can be set to 30*1.1=33KB.
In implementing, after the second computing unit 61 is calculated the size of target memory block, allocation unit 62 can root
Apply for multiple target memory blocks from target memory pond according to the size of target memory block, for example, being calculated target memory block
Size is 31KB, then can apply for the target memory block of multiple 31KB from target memory pond.Further, it is each video data
Block distributes a target memory block, so that the block of video data that will can be received is cached in target memory block.
It is further alternative, be in the comparative result of comparison module 403:The size of block of video data and default memory block
When in the same size, the block of video data that distribute module 404 will can also be received is cached in default memory block.
It is further alternative, be in the comparative result of comparison module 403:The size of block of video data and default memory block
During cause not of uniform size, default memory block is emptied, distribute module 404 can distribute target memory block for video data, wherein, in target
The size of counterfoil is identical with the size of block of video data.
The embodiment of the present invention provides a kind of Memory Allocation device, and data block acquisition module can be being detected in video data
When depositing request, the size of block of video data is obtained, memory block acquisition module can obtain pre-assigned default in target memory pond
The size of memory block, and then comparison module may compare the size of block of video data and the size of default memory block, in comparison module
Comparative result be:During the cause not of uniform size of the size of block of video data and default memory block, distribute module can be according to video counts
According to the size of block for video data distributes target memory block, the embodiment of the present invention can be according to the video counts in real-time video data
Memory Allocation is carried out according to the size of block, the internal memory block size of distribution is adapted to the size of block of video data, improves video data
The flexibility of Memory Distribution Map, improves memory usage.
The embodiment of the invention also discloses a kind of terminal, including any shown devices of Fig. 4~Fig. 6;The structure of the device
With function reference can be made to the associated description of any illustrated embodiments of Fig. 4~Fig. 6, will not be described here.It should be noted that the present embodiment
The server of offer is corresponding with the memory allocation method shown in Fig. 1, Fig. 2, is based on the Memory Allocation side shown in Fig. 1 or Fig. 2
The executive agent of method.
One of ordinary skill in the art will appreciate that all or part of flow in realizing above-described embodiment method, can be
The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Above disclosed is only present pre-ferred embodiments, can not limit the right model of the present invention with this certainly
Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.