CN102123198A - Memory management method and memory manager for media player - Google Patents

Memory management method and memory manager for media player Download PDF

Info

Publication number
CN102123198A
CN102123198A CN2011100047714A CN201110004771A CN102123198A CN 102123198 A CN102123198 A CN 102123198A CN 2011100047714 A CN2011100047714 A CN 2011100047714A CN 201110004771 A CN201110004771 A CN 201110004771A CN 102123198 A CN102123198 A CN 102123198A
Authority
CN
China
Prior art keywords
memory
module
precedents
object data
object packet
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
Application number
CN2011100047714A
Other languages
Chinese (zh)
Inventor
甘震
霍龙社
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN2011100047714A priority Critical patent/CN102123198A/en
Publication of CN102123198A publication Critical patent/CN102123198A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a memory management method and memory manager for a media player. The method comprises the following steps: according to the memory performance of a mobile phone terminal, dividing the memory of a mobile phone into a plurality of memory blocks; after stream media data is divided through a stream media input module, storing generated input object data packets in the memory blocks in sequence; storing decoding object data packets in the memory blocks in sequence; releasing the processed input object data packets; storing display object data packets in the memory blocks; releasing the processed decoding object data packets; and sending the display object data packets to a player for playing, and releasing the displayed display object data packets. In the invention, the memory is managed by using the memory manager, the divided memory blocks are used for storing the input object data packets, the decoding object data packets and the display object data packets and releasing the processed object data packets, therefore, the circular utilization in the memory space is realized, and the use ratio of the memory is improved.

Description

The EMS memory management process of media player and memory manager
Technical field
The present invention relates to the multimedia treatment technology, particularly a kind of EMS memory management process of media player and memory manager.
Background technology
At present, DST PLAYER such as mobile phone is based on substantially all that specific operating system designs.Because most DST PLAYERs all are to design on the basis of the DST PLAYER of computer.Generally speaking, the framework of playout software mainly is divided into input module, decoder module and demonstration and makes up module.Wherein input module is responsible for the input of media data, and decoder module is responsible for media data is decoded with synchronously, shows that making up module then is that the audio frequency media data of looking that obtain after the decoding are presented.In playout software, in general, the internal memory of program all is to manage according to module, is come the internal memory of administration module and plug-in unit by each independent module or plug-in unit.So present mobile phone flow medium player is to manage internal memory independently according to current needs basically
Existing DST PLAYER is to design on the basis of the player framework of computer on the one hand, is that the current needs according to each module or each plug-in unit carry out memory management on the other hand.Though have more flexible and practicality to a certain extent, but because the particularity that mobile phone had, its internal memory is less, processor frequencies is lower, varying of operation platform, have many irrational places so simply the framework of computer player is transplanted to the mobile media player, especially there is following defective in the management aspect at internal memory: can't reasonably assess the performance of mobile phone EMS memory, accomplish the optimization of using; Limited memory source on can't the reasonable use mobile phone is accomplished the high efficiency of using; Can't carry out unified memory management.
Summary of the invention
The invention provides a kind of EMS memory management process and memory manager of media player, in order to improve the internal memory service efficiency of terminals such as mobile phone.
The invention provides a kind of EMS memory management process of media player, comprising:
According to the internal memory performance of mobile phone terminal,, the internal memory of described mobile phone is divided into a plurality of memory pieces according to default distribution method; Described a plurality of memory piece is used for stored stream media data relevant input object packet, decoder object packet and display object packet;
After the Streaming Media input module was divided, the input object packet of generation was stored in the described memory piece successively with stream medium data;
Described input object packet is sent to decoder module successively carry out decoding processing, and the decoder object packet that generates is stored in the described memory piece successively; And discharge the input object packet that decoder module had been handled;
Described decoder object packet is sent to demonstration make up module construction display object packet, and the display object packet that makes up is stored in the described memory piece; And release shows the decoder object packet that the structure module had been handled;
Described display object packet is sent to player realizing the broadcast of described stream medium data, and discharge the display object packet that had shown.
The present invention also provides a kind of memory manager of media player, comprising:
The internal memory performance detecting module is used for the internal memory performance according to mobile phone terminal, according to default distribution method, the internal memory of described mobile phone is divided into a plurality of memory pieces; Described a plurality of memory piece is used for stored stream media data relevant input object packet, decoder object packet and display object packet;
The cell scheduling module is used for stream medium data after the Streaming Media input module is divided, and the input object packet of generation is stored in the described memory piece successively; Described input object packet is sent to decoder module successively carry out decoding processing, and the decoder object packet that generates is stored in the described memory piece successively; And discharge the input object packet that decoder module had been handled; Described decoder object packet is sent to demonstration make up module construction display object packet, and the display object packet that makes up is stored in the described memory piece; And release shows the decoder object packet that the structure module had been handled; Described display object packet is sent to player realizing the broadcast of described stream medium data, and discharge the display object packet that had shown.
The present invention internally deposits into the line pipe reason by adopting memory manager, adopt memory block storage input object packet, decoder object packet and the display object packet divided, and the object data bag that release had been handled discharges corresponding memory headroom, realize recycling of memory headroom thus, improved the utilance and the result of use of internal memory.
Description of drawings
The schematic diagram of the stream medium data processing procedure that Fig. 1 a provides for first embodiment of the invention;
The flow chart of the EMS memory management process of the media player that Fig. 1 b provides for first embodiment of the invention;
The structural representation of the memory piece that Fig. 1 c provides for first embodiment of the invention;
The structural representation of the memory cell that Fig. 1 d provides for first embodiment of the invention;
The structural representation of the precedents that Fig. 1 e provides for first embodiment of the invention;
The structural representation of the object data bag that Fig. 1 f provides for first embodiment of the invention;
The structural representation of the memory manager of the media player that Fig. 2 provides for second embodiment of the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtained under the creative work prerequisite.
In view of the media player of portable terminals such as mobile phone in the prior art can't reasonably be assessed the performance of mobile phone EMS memory, limited memory source and carry out unified memory management on can't the reasonable use terminal has reduced the service efficiency of internal memory.The present invention proposes a kind of EMS memory management process at multifarious DST PLAYERs of terminal system such as mobile phones, to be implemented on the basis of determining the mobile phone EMS memory performance, by dividing step by step and managing internal memory, do not influencing under the situation of mobile phone flow medium player framework as far as possible, by internal memory limited on the mobile phone terminal is carried out unified management, to realize making full use of the terminal internal memory, improve the utilance of memory source.
In the present embodiment, still be divided into input module, decoder module and the demonstration of DST PLAYER framework make up module.Input module is responsible for the input of media data, generates the input object data; Decoder module is responsible for media data is decoded with synchronously, generates the decoding object data, shows that the structure module then is that the audio frequency media data of looking that obtain after the decoding are handled, and generates the display object data, uses for playing.
In the present embodiment, the memory management of mobile phone flow medium player relates to: manager two parts of the memory of internal memory and internal memory, and memory is used to store data, and memory manager internally deposits into the line pipe reason.According to the application need of reality, by making up the composition of memory manager, to reach to the management and use of internal memory resources effective.The data handling procedure of Streaming Media can be referring to shown in Fig. 1 a.
Be depicted as the flow chart of the EMS memory management process of the media player that present embodiment provides referring to Fig. 1 b, comprise:
Step 11, according to the internal memory performance of mobile phone terminal, according to default distribution method, the internal memory of described mobile phone is divided into a plurality of memory pieces; Described a plurality of memory piece is used for stored stream media data relevant input object packet, decoder object packet and display object packet;
In the present embodiment, be internal memory to be divided into the memory piece manage, to realize effective management to internal memory.Wherein, the memory piece can use different internal memory forms according to the needs of mobile phone terminal and player software, and two kinds of internal memory forms of one-level internal memory and secondary internal memory can be arranged.In the present embodiment, the one-level internal memory is meant the internal memory form that is directly defined and described by physical address; The secondary internal memory then is the internal memory form through memory-mapped.According to the difference of the internal memory form of using, the structure of memory piece is also different.If what use is the one-level internal memory, then memory block is made of storage initial address, the sequence number of memory block and the length three of this memory block.If what use is the secondary internal memory, then memory block is made up of storage initial address and sequence number, and need not describe the length of memory block.Because its length is to detect by internal memory to obtain global value, that is to say that the size of each memory block is all the same.
In the present embodiment, the length of memory block is determined by the internal memory performance detecting module.The internal memory performance of detecting of internal memory performance detecting module and assessment mobile phone; According to the internal memory performance of mobile phone,, determine the size and the quantity of the memory piece that mobile phone EMS memory is divided according to default distribution method.As the internal memory performance of the mobile phone terminal that obtains according to detection, as the size of internal memory, performances such as read or write speed are determined the space size of memory block of one-level internal memory and secondary internal memory and the number of memory block etc.Bigger as internal memory in terminal, when read or write speed is very fast, can divide more one-level internal memory relatively, less at the internal memory of terminal, when read or write speed is also slow, can divide more secondary internal memory relatively.
According to concrete function, the memory piece can be used for storing input object data, decoder object data and display object data.The input object data are to resolve data with Synchronous Processing through decoder module after stream medium data is divided, the decoder object data are the data of carrying out dissection process through decoder module, and the display object data are for showing the data that supply to show and play usefulness that make up module construction.
In the present embodiment, the memory piece is to divide according to the thinking of layering step by step, is the structural representation of memory piece shown in Fig. 1 c.The hierarchy step by step of memory piece comprises:
(1) basic memory block.
(2) memory cell pond.
(3) precedents pond.
(4) object data pond.
The memory cell pond is based on basic memory block, is made of memory cell one by one.Shown in Fig. 1 d, each memory cell is made up of memory cell sequence number, length, reference count, memory block and next memory unit address.Reference count is used for sign and is used simultaneously by several memory cell.Each memory cell that is to say a memory cell chained list, and it can comprise the memory block of a division, also can comprise the memory block of a plurality of divisions.
The precedents pond is based on the memory cell pond, is made of precedents one by one.Shown in Fig. 1 e, each precedents is made up of memory cell, original position, length and next precedents address.Wherein original position is used to represent the memory cell the quoted side-play amount with respect to initial address.Length then is used to represent the length of the memory cell quoted.Similar with memory cell, each precedents that is to say a precedents chained list, and it can use a memory cell chained list, also can use a plurality of memory cell chained lists simultaneously.And, owing to identified the definite position of the memory cell chained list that uses, so different precedents can multiplexing identical memory cell.
The object data pond is based on the precedents pond, is made of object data bag one by one.Shown in Fig. 1 f, each object data bag is stabbed by precedents, initial time stamp, concluding time and next object data packet address is formed.Wherein initial time stamp is represented the zero-time of this object data bag, and the concluding time is stabbed the concluding time of indicated object packet.With last two kinds of unit classes seemingly, each object data bag that is to say an object data chained list.
Based on above-mentioned introduction, after internal memory is divided into a plurality of memory blocks, just can carry out corresponding memory management at stream medium data.
Step 12, with stream medium data after the Streaming Media input module is divided, the input object packet of generation is stored in the described memory piece successively;
After stream medium data was divided through the input module of player, memory manager just needed to make up the memory space of input object packet, so that the input object packet is stored in the memory piece.
When making up the input object packet, the object data of memory manager is assured the reason module is sent request from the memory space of compound object packet to the precedents administration module; Precedents administration module inquiry obtains all untapped precedents, calculates the memory space whether memory piece that all untapped precedents can quote can construct described object data bag; If can, then make up precedents making up this memory space, if can not, then make up new memory piece with memory space as described object data bag to the application of Storage Unit Management module.
Behind the memory space that has made up the object data bag, just a plurality of input object packets that input module is divided can be stored in the memory block of terminal internal memory successively.
Step 13, described input object packet is sent to decoder module successively carry out decoding processing, and the decoder object packet that generates is stored in the described memory piece successively; And discharge the input object packet that decoder module had been handled;
Memory manager sends to decoder module successively with the input object packet and carries out decoding processing, generating decoding object data bag is stored in the memory piece, when storage, still need to make up earlier the memory space of decoder object packet, the method that makes up memory space is identical with the method that makes up the input object packet, repeats no more.
After decoder module has been finished decoding to the input object packet, generate decoding object data bag, input object packet originally can discharge, to discharge memory source.The method that discharges the input object packet is as follows: object data is assured the reason module and is sent the request that discharges the input object packet to the precedents administration module; After the precedents administration module was received request, releasing was quoted precedents, discharged the memory piece that precedents can be quoted; The Storage Unit Management module discharges the memory piece that described precedents administration module discharges.
After object data is assured reason module received the packet release command, remove, discharge packet object data structure the quoting of precedents.The precedents administration module is then removed the quoting of respective memory unit, and reduces the reference count to memory cell, finishes the release of input object packet.The cell scheduling module meeting cyclic polling Storage Unit Management module of memory manager checks whether there is the memory cell that is not cited for a long time, if exist, then calls the Storage Unit Management module and discharges this memory cell.Correspondingly, the Storage Unit Management module will be called the internal memory that basic memory block administration module discharges basic memory block, realize the release to freememory.
Owing to decoded input object packet is discharged by memory manager, make that the memory source that has utilized can obtain discharging with recycling timely, improved the utilance of internal memory thus.
Step 14, described decoder object packet sent to show to make up module construction display object packet, and the display object packet that makes up is stored in the described memory piece; And release shows the decoder object packet that the structure module had been handled;
For decoded decoder object packet, just can import demonstration structure module and carry out respective handling, generate the display object packet and be stored in the described memory piece, use for next step broadcast demonstration.In addition,, recycle after then can discharging through the decoder object packet after the demonstration structure resume module for, the method that discharges the decoder object packet is identical with the method that discharges the input object packet, repeats no more herein.
Step 15, described display object packet is sent to player realizing the broadcast of described stream medium data, and discharge the display object packet that had shown.
After having generated the display object packet, media player just can be play this Streaming Media according to the display object packet.After finishing playing, memory manager discharges the display object packet that had shown again, discharges corresponding memory headroom to recycle.The method that discharges the display object packet is identical with the method that discharges the input object packet, repeats no more herein.
For the memory piece that discharges, be responsible for the recovery of memory block in the basic memory block by the basic memory block administration module in the memory manager, it reclaims the internal memory that has discharged and recycles, and guarantees that the memory block that the mobile phone player can use remains at a zone of reasonableness.
Present embodiment internally deposits into the line pipe reason by adopting memory manager, adopt memory piece storage input object packet, decoder object packet and the display object packet divided, and the object data bag that release had been handled discharges corresponding memory headroom, realize recycling of memory headroom thus, improved the utilance and the result of use of internal memory.
Structural representation referring to the memory manager that Figure 2 shows that a kind of media player that second embodiment of the invention provides comprises: internal memory performance detecting module 21; Cell scheduling module 22; Object data is assured reason module 23; Precedents administration module 24; Storage Unit Management module 25; Basic memory block administration module 26.
Internal memory performance detecting module 21 is used for the internal memory performance according to mobile phone terminal, according to default distribution method, the internal memory of described mobile phone is divided into a plurality of memory pieces; Described a plurality of memory piece is used for stored stream media data relevant input object packet, decoder object packet and display object packet;
Cell scheduling module 22 is used for stream medium data after the Streaming Media input module is divided, and the input object packet of generation is stored in the described memory piece successively; Described input object packet is sent to decoder module successively carry out decoding processing, and the decoder object packet that generates is stored in the described memory piece successively; And discharge the input object packet that decoder module had been handled; Described decoder object packet is sent to demonstration make up module construction display object packet, and the display object packet that makes up is stored in the described memory piece; And release shows the decoder object packet that the structure module had been handled; Described display object packet is sent to player realizing the broadcast of described stream medium data, and discharge the display object packet that had shown.
In the present embodiment, internal memory performance detecting module 21 is when dividing one-level internal memory and secondary internal memory, can divide according to default distribution method, the internal memory performance of the mobile phone terminal that obtains according to detection, size as internal memory, performances such as read or write speed are determined the space size of memory cell of one-level internal memory and secondary internal memory and the number of memory cell etc.
Internal memory performance detecting module 21 is used to detect and assess the internal memory performance of mobile phone; According to the internal memory performance of mobile phone,, determine the size and the quantity of the memory piece that mobile phone EMS memory is divided according to default distribution method.The memory block of mobile phone EMS memory is divided into one-level internal memory and secondary internal memory.
When making up the memory space of object data bag, described cell scheduling module 22 also is used for assuring the request that reason module 23 sends the memory space that makes up described object data bag to described object data.When described object data is assured the request of the memory space that reason module 23 receives the described object data bag of structure that described cell scheduling module 22 sends, make up the memory space of described object data bag.
Described object data is assured reason module 23, is used for sending to precedents administration module 24 request of the memory space of compound object packet;
Described precedents administration module 24 is used for inquiry and obtains all untapped precedents, calculates the memory space whether memory piece that all untapped precedents can quote can construct described object data bag; If can, then make up precedents making up this memory space, if can not, then make up new memory piece with memory space as described object data bag to the application of Storage Unit Management module;
Described Storage Unit Management module 25 is used for the application according to described precedents administration module 24, makes up described new memory piece with the memory space as described object data bag.
When discharging the memory space of object data bag, described object data is assured reason module 23, also is used for sending the request that discharges the object data bag to precedents administration module 24;
Described precedents administration module 24, also be used to the request of receiving after, remove the quoting of precedents, discharge the memory piece that precedents can be quoted;
Described Storage Unit Management module 25 also is used to discharge the memory piece that described precedents administration module 24 discharges.
In addition, after playing Streaming Media, also should memory space and all memory pieces of all object data bags be reclaimed, for the memory piece that discharges, be responsible for the recovery of memory block in the basic memory block by the basic memory block administration module in the memory manager 26, it reclaims the internal memory that has discharged and recycles, and guarantees that the memory block that the mobile phone player can use remains at a zone of reasonableness.
Described basic memory block administration module 26 is used for discharging the memory space of all object data bags and all memory pieces after described streaming media playing is intact.
The function of each module in this memory manager and internodally can not repeat them here referring to the record of the corresponding embodiment of Fig. 1 a-1e alternately.
Present embodiment internally deposits into the line pipe reason by adopting memory manager, adopt memory block storage input object packet, decoder object packet and the display object packet divided, and the object data bag that release had been handled discharges corresponding memory headroom, realize recycling of memory headroom thus, improved the utilance and the result of use of internal memory.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, and module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
One of ordinary skill in the art will appreciate that: the module in the device among the embodiment can be described according to embodiment and be distributed in the device of embodiment, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that previous embodiment is put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of embodiment of the invention technical scheme.

Claims (14)

1. the EMS memory management process of a media player is characterized in that, comprising:
According to the internal memory performance of mobile phone terminal,, the internal memory of described mobile phone is divided into a plurality of memory pieces according to default distribution method; Described a plurality of memory piece is used for stored stream media data relevant input object packet, decoder object packet and display object packet;
After the Streaming Media input module was divided, the input object packet of generation was stored in the described memory piece successively with stream medium data;
Described input object packet is sent to decoder module successively carry out decoding processing, and the decoder object packet that generates is stored in the described memory piece successively; And discharge the input object packet that decoder module had been handled;
Described decoder object packet is sent to demonstration make up module construction display object packet, and the display object packet that makes up is stored in the described memory piece; And release shows the decoder object packet that the structure module had been handled;
Described display object packet is sent to player realizing the broadcast of described stream medium data, and discharge the display object packet that had shown.
2. the EMS memory management process of media player according to claim 1 is characterized in that, stores before the described object data bag, also comprises:
Make up the memory space of described object data bag.
3. the EMS memory management process of media player according to claim 2 is characterized in that, makes up the memory space of described object data bag, comprising:
Object data is assured the reason module is sent request from the memory space of compound object packet to the precedents administration module;
Precedents administration module inquiry obtains all untapped precedents, calculates the memory space whether memory piece that all untapped precedents can quote can construct described object data bag; If can, then make up precedents making up this memory space, if can not, then make up new memory space with memory space as described object data bag to the application of Storage Unit Management module.
4. the EMS memory management process of media player according to claim 3 is characterized in that, discharges the object data bag, comprising:
Object data is assured the reason module and is sent the request that discharges the object data bag to the precedents administration module;
After the precedents administration module was received request, releasing was quoted precedents, discharged the memory piece that precedents can be quoted;
The Storage Unit Management module discharges the memory piece that described precedents administration module discharges.
5. the EMS memory management process of media player according to claim 1 is characterized in that, also comprises:
After described streaming media playing is intact, reclaim the memory space of all object data bags and all memory pieces.
6. the EMS memory management process of media player according to claim 1 is characterized in that, the internal memory of described mobile phone is divided into before a plurality of memory pieces, also comprises:
The internal memory performance of detecting and assessment mobile phone;
According to the internal memory performance of mobile phone,, determine the size and the quantity of the memory piece that mobile phone EMS memory is divided according to default distribution method.
7. the EMS memory management process of media player according to claim 6 is characterized in that, determines also to comprise after the size and quantity of the memory piece that mobile phone EMS memory is divided:
The memory block of mobile phone EMS memory is divided into one-level internal memory and secondary internal memory.
8. the memory manager of a media player is characterized in that, comprising:
The internal memory performance detecting module is used for the internal memory performance according to mobile phone terminal, according to default distribution method, the internal memory of described mobile phone is divided into a plurality of memory pieces; Described a plurality of memory piece is used for stored stream media data relevant input object packet, decoder object packet and display object packet;
The cell scheduling module is used for stream medium data after the Streaming Media input module is divided, and the input object packet of generation is stored in the described memory piece successively; Described input object packet is sent to decoder module successively carry out decoding processing, and the decoder object packet that generates is stored in the described memory piece successively; And discharge the input object packet that decoder module had been handled; Described decoder object packet is sent to demonstration make up module construction display object packet, and the display object packet that makes up is stored in the described memory piece; And release shows the decoder object packet that the structure module had been handled; Described display object packet is sent to player realizing the broadcast of described stream medium data, and discharge the display object packet that had shown.
9. the memory manager of media player according to claim 8 is characterized in that, also comprises: object data is assured the reason module;
Described object data is assured the reason module, when being used to receive the request of memory space of the described object data bag of structure that described cell scheduling module sends, makes up the memory space of described object data bag.
10. the memory manager of media player according to claim 9 is characterized in that, also comprises: precedents administration module and Storage Unit Management module;
Described object data is assured the reason module, is used for sending to the precedents administration module request of the memory space of compound object packet;
Described precedents administration module is used for inquiry and obtains all untapped precedents, calculates the memory space whether memory piece that all untapped precedents can quote can construct described object data bag; If can, then make up precedents making up this memory space, if can not, then make up new memory space with memory space as described object data bag to the application of Storage Unit Management module;
Described Storage Unit Management module is used for the application according to described precedents administration module, makes up described new memory piece with the memory space as described object data bag.
11. the memory manager of media player according to claim 10 is characterized in that,
Described object data is assured the reason module, also is used for sending the request that discharges the object data bag to the precedents administration module;
Described precedents administration module, also be used to the request of receiving after, remove the quoting of precedents, discharge the memory piece that precedents can be quoted;
Described Storage Unit Management module also is used to discharge the memory piece that described precedents administration module discharges.
12. the memory manager of media player according to claim 8 is characterized in that, also comprises:
Described cell scheduling module also is used for discharging the memory space of all object data bags and all memory pieces after described streaming media playing is intact.
13. the memory manager of media player according to claim 8 is characterized in that,
Described internal memory performance detecting module is used to detect and assess the internal memory performance of mobile phone; According to the internal memory performance of mobile phone,, determine the size and the quantity of the memory piece that mobile phone EMS memory is divided according to default distribution method.
14. the memory manager of media player according to claim 13 is characterized in that,
Described internal memory performance detecting module is used for the memory block of mobile phone EMS memory is divided into one-level internal memory and secondary internal memory.
CN2011100047714A 2011-01-11 2011-01-11 Memory management method and memory manager for media player Pending CN102123198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100047714A CN102123198A (en) 2011-01-11 2011-01-11 Memory management method and memory manager for media player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100047714A CN102123198A (en) 2011-01-11 2011-01-11 Memory management method and memory manager for media player

Publications (1)

Publication Number Publication Date
CN102123198A true CN102123198A (en) 2011-07-13

Family

ID=44251646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100047714A Pending CN102123198A (en) 2011-01-11 2011-01-11 Memory management method and memory manager for media player

Country Status (1)

Country Link
CN (1) CN102123198A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630805A (en) * 2014-10-30 2016-06-01 阿里巴巴集团控股有限公司 Multimedia file processing method and device
CN106330574A (en) * 2016-10-24 2017-01-11 杭州迪普科技有限公司 Flow analysis method and device
CN109213758A (en) * 2018-07-24 2019-01-15 中国联合网络通信集团有限公司 Data access method, device, equipment and computer readable storage medium
CN110020314A (en) * 2017-12-21 2019-07-16 广州市动景计算机科技有限公司 Web page data processing method, calculates equipment and storage medium at device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127989A (en) * 2007-09-11 2008-02-20 中兴通讯股份有限公司 A method for supporting hypertext transmission stream media service of mobile phone
US20080104086A1 (en) * 2006-10-31 2008-05-01 Bare Ballard C Memory management
CN101231619A (en) * 2008-02-22 2008-07-30 浙江大学 Method for managing dynamic internal memory base on discontinuous page
CN101330472A (en) * 2008-07-28 2008-12-24 中兴通讯股份有限公司 Method for caching and processing stream medium data
CN101739354A (en) * 2009-12-14 2010-06-16 浙江大学 Method for optimizing H.264 decoding of BREW mobile phone based on memory pool technique
CN101901191A (en) * 2010-05-31 2010-12-01 深圳市茁壮网络股份有限公司 Method and device for managing multiclass memories of embedded system
CN101937402A (en) * 2010-09-08 2011-01-05 无锡中星微电子有限公司 Memory management method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080104086A1 (en) * 2006-10-31 2008-05-01 Bare Ballard C Memory management
CN101127989A (en) * 2007-09-11 2008-02-20 中兴通讯股份有限公司 A method for supporting hypertext transmission stream media service of mobile phone
CN101231619A (en) * 2008-02-22 2008-07-30 浙江大学 Method for managing dynamic internal memory base on discontinuous page
CN101330472A (en) * 2008-07-28 2008-12-24 中兴通讯股份有限公司 Method for caching and processing stream medium data
CN101739354A (en) * 2009-12-14 2010-06-16 浙江大学 Method for optimizing H.264 decoding of BREW mobile phone based on memory pool technique
CN101901191A (en) * 2010-05-31 2010-12-01 深圳市茁壮网络股份有限公司 Method and device for managing multiclass memories of embedded system
CN101937402A (en) * 2010-09-08 2011-01-05 无锡中星微电子有限公司 Memory management method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630805A (en) * 2014-10-30 2016-06-01 阿里巴巴集团控股有限公司 Multimedia file processing method and device
CN106330574A (en) * 2016-10-24 2017-01-11 杭州迪普科技有限公司 Flow analysis method and device
CN110020314A (en) * 2017-12-21 2019-07-16 广州市动景计算机科技有限公司 Web page data processing method, calculates equipment and storage medium at device
CN110020314B (en) * 2017-12-21 2023-09-29 阿里巴巴(中国)有限公司 Web page data processing method, device, computing equipment and storage medium
CN109213758A (en) * 2018-07-24 2019-01-15 中国联合网络通信集团有限公司 Data access method, device, equipment and computer readable storage medium
CN109213758B (en) * 2018-07-24 2021-03-30 中国联合网络通信集团有限公司 Data access method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN102725753B (en) Method and apparatus for optimizing data access, method and apparatus for optimizing data storage
CN102591789B (en) Storage space recovery method and storage space recovery device
CN103425435B (en) Disk storage method and disk storage system
CN102123198A (en) Memory management method and memory manager for media player
CN105681057A (en) Group head portrait update method and device
CN102541450A (en) Display control method and display control device for application program icons
WO2020019313A1 (en) Graph data updating method, system, computer readable storage medium, and device
US8296270B2 (en) Adaptive logging apparatus and method
CN101226553A (en) Method and device for storing length-various field of embedded database
WO2024060682A1 (en) Memory management method and apparatus, memory manager, device and storage medium
CN108595483B (en) Data processing method and related device
CN100395712C (en) Source management method for software system
CN102752538A (en) Method for generating agent code stream materials
CN110347497A (en) A kind of method and device that multiple storage equipment are divided to equipment group
CN105243078A (en) File resource distribution method, system and apparatus
CN102054005A (en) Method and device for loading file
CN102158345B (en) Method, device and system for data management
CN103095833A (en) Updating method of cloud service system and device
CN109597577A (en) A kind of method, system and relevant apparatus handling NVME agreement read write command
CN113391882B (en) Virtual machine memory management method and device, storage medium and electronic equipment
CN113778688A (en) Memory management system, memory management method, and memory management device
CN102710981A (en) Set top box-based method and device for receiving and processing data
CN102291622B (en) Application presentation interface realizing method and device and digital television terminal
CN101478652A (en) Searching method, system and digital television receiving terminal for memory data
CN112965972A (en) Parallel construction method and device of Merkel-B + tree

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110713