CN109558072A - The memory expanding method, system, audio that audio plays chip play chip and storage device - Google Patents

The memory expanding method, system, audio that audio plays chip play chip and storage device Download PDF

Info

Publication number
CN109558072A
CN109558072A CN201811179250.0A CN201811179250A CN109558072A CN 109558072 A CN109558072 A CN 109558072A CN 201811179250 A CN201811179250 A CN 201811179250A CN 109558072 A CN109558072 A CN 109558072A
Authority
CN
China
Prior art keywords
memory
audio
song
chip
plays
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811179250.0A
Other languages
Chinese (zh)
Other versions
CN109558072B (en
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.)
Buildwin International Zhuhai Ltd
Original Assignee
建荣半导体(深圳)有限公司
建荣集成电路科技(珠海)有限公司
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 建荣半导体(深圳)有限公司, 建荣集成电路科技(珠海)有限公司 filed Critical 建荣半导体(深圳)有限公司
Priority to CN201811179250.0A priority Critical patent/CN109558072B/en
Publication of CN109558072A publication Critical patent/CN109558072A/en
Application granted granted Critical
Publication of CN109558072B publication Critical patent/CN109558072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0665Virtualisation aspects at area level, e.g. provisioning of virtual or logical volumes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management

Abstract

The memory expanding method, system, audio for playing chip the present invention provides a kind of audio play chip and storage device, which comprises virtual memory step: the residual memory space in external memory is mapped as the virtual memory that audio plays chip;File write step: song sort file is written in the residual memory space in the external memory.Using the above method, it can solve the problems, such as that the memory space of audio broadcasting chip is limited.

Description

The memory expanding method, system, audio that audio plays chip play chip and deposit Storage device
Technical field
The invention belongs to the memory expanding sides that audio play-back technology field more particularly to a kind of audio play chip Method, system, audio play chip and storage device.
Background technique
Song origin in audio player generally has 2 approach, and a kind is stored in internal memory space, and a kind is It is stored in exterior storage medium (such as SD card or USB flash disk, hard disk etc.).Song is stored in external memory, such as is stored in SD Card or USB flash disk on equipment in, audio play chip internal storage space very little, do some operations for needing largely to cache or It is relatively limited when information stores, such as do some file orderings, if SD card or USB flash disk song are very more, the needs that sort it is interior RAM needs in portion are very big, when especially needing to play according to filename sequence, certain space needed to carry out storage file name And serial number, by an equipment N song, 1 song stores name M bytes to calculate, and requires the sky of about N*M byte here Between, correspondence song is for thousands of, and memory space plays chip (external memorizer relative to the audio of audio player Calculate) it is very big.
Summary of the invention
The memory expanding method, system, audio for playing chip the embodiment of the invention provides a kind of audio play core Piece and storage device, it is intended to solve the audio in the audio player of the prior art and play the technology that the memory space of chip is limited Problem.
In embodiments of the present invention, a kind of memory expanding method of audio broadcasting chip is provided comprising:
Virtual memory step: the residual memory space in external memory is mapped as audio and plays the virtual interior of chip It deposits;
File write step: song sort file is written in the residual memory space in the external memory.
In embodiments of the present invention, before the virtual memory step, further include
Initialization step: initializing external memory and obtains the residual memory space address of external memory.
In embodiments of the present invention, in the initialization step, the null data area being directed toward using cluster chain is as the void The memory space of quasi- memory.
In embodiments of the present invention, the method also includes:
Song sequence step: being ranked up song according to song files name and generates song sort file.
In embodiments of the present invention, the method also includes
Playback of songs step: it sorts from the song read in the external memory in the song sort file to song Carry out played in order.
In embodiments of the present invention, a kind of memory expanding system of audio broadcasting chip is additionally provided comprising:
Virtual memory unit plays the virtual of chip for the residual memory space in external memory to be mapped as audio Memory;
File write unit, the residual memory space for being written to song sort file in the external memory In.
In embodiments of the present invention, the system also includes
Initialization unit, for the remaining storage of external memory to be initialized and obtained and recorded to external memory Space address.
In embodiments of the present invention, memory space of the null data area being directed toward using cluster chain as the virtual memory.
In embodiments of the present invention, the system also includes:
Song sequencing unit, for being ranked up according to song files name to song and generating song sort file.
In embodiments of the present invention, the system also includes:
Playback of songs unit, for from read in the external memory in the song sort file song sequence pair Song carries out played in order.
In embodiments of the present invention, a kind of audio broadcasting chip is additionally provided, which is characterized in that the audio plays chip Including at least a processor, memory and interface, at least a processor, memory and the interface are connected by bus;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that the audio plays Chip perform claim requires the memory expanding method of the described in any item audios broadcasting chips of 1-5.
In embodiments of the present invention, a kind of storage device is additionally provided, instruction, the finger are stored on the storage device Enable the memory expanding method for realizing that perform claim requires the described in any item audios of 1-5 to play chip when being executed by processor The step of.
Compared with prior art, it is played using the memory expanding method, system, audio that above-mentioned audio plays chip Vacant memory space in external memory is mapped as the virtual memory of audio player to be used to deposit by chip and storage device It stores up song sort file and solves the internal storage space of audio player to extend the memory space of audio player Limited problem;Further, the null data area being directed toward to the cluster chain in external memory is written and read as buffer zone, It ensure that the hot-swappable safety of external memory.
Detailed description of the invention
Fig. 1 is the implementation flow chart for the memory expanding method that the audio that the embodiment of the present invention one provides plays chip;
Fig. 2 is the structural schematic diagram of the memory space of external memory;
Fig. 3 is the structural schematic diagram for the memory expanding system that audio provided by Embodiment 2 of the present invention plays chip;
Fig. 4 is the structural schematic diagram that the audio that the embodiment of the present invention three provides plays chip.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Realization of the invention is described in detail below in conjunction with specific embodiment:
Embodiment one
Fig. 1 shows the embodiment of the present invention one and provides the memory expanding method that audio plays chip comprising step S1-S5 is illustrated separately below.
Step S1, initialization step: initializing external memory and obtains the remaining storage sky of external memory Between address.
It should be noted that played after chip connect with External memory equipment in the audio, at the beginning of when booting, needs progress Beginningization, during initialization, the audio play the residual memory space address that chip obtains external memory.
Step S2, virtual memory step: the residual memory space in external memory is mapped as audio and plays chip Virtual memory.
It should be noted that being generally made of its file storage system file system for external memory SD card or USB flash disk System, file system generally by master boot record (MBR), boot sector and data district's groups at.The file system of each boot sector Can not be identical, it can be FAT32, be also possible to exFAT, be also possible to other formats such as NTFS, for movable storage device, Generally based on FAT32 and exFAT.In file system, compare crucially cluster chain (FAT), cluster chain is file system data area Position, as shown in Fig. 2, 0000 is exactly not used data field, numerical value is used data field.For a file For system, whole equipment file system entanglement will lead to if the directory area in MBR and boot sector is lost, in order to guarantee File system is not influenced, the null data area that the embodiment of the present invention only uses cluster chain direction is empty as the storage of the virtual memory Between.
Step S3, song sequence step: being ranked up song according to song files name and generates song sort file.
It should be noted that needing first to be ranked up song, song can be passed through in audio player plays song Name is ranked up, and can also be ranked up by other means, and corresponding song sort file, audio are generated after the completion of sequence Player is according to the played in order song of the song sort file.
Step S4, it is empty that song sort file file write step: is written to the remaining storage in the external memory Between in.
It should be noted that being written into the audio after generating song sort file and playing the virtual interior right of chip In residual memory space in corresponding external memory, the storage inside sky of chip is played without being stored in the audio Between in.
Step S5, playback of songs step: from the song row read in the external memory in the song sort file Ordered pair song carries out played in order.
It should be noted that when the audio plays chip broadcasting song, from from the external memory described in reading Song sequence in song sort file, and according to the played in order song of the song sort file.
Embodiment two
Fig. 3 shows the memory expanding system that audio provided by Embodiment 2 of the present invention plays chip comprising:
Initialization unit 201, for being initialized and being obtained and recorded the residue of external memory to external memory Memory space address;
Virtual memory unit 202 plays chip for the residual memory space in external memory to be mapped as audio Virtual memory;
Song sequencing unit 203, for being ranked up according to song files name to song and generating song sort file;
File write unit 204, it is empty for song sort file to be written to the remaining storage in the external memory Between in.
Playback of songs unit 205, for being arranged from the song read in the external memory in the song sort file Ordered pair song carries out played in order.
It should be noted that above-mentioned it should be noted that above-mentioned audio plays in the memory expanding system of chip, respectively The contents such as information exchange, implementation procedure between module/unit play the memory expanding of chip with the audio of embodiment one System is based on same design, and realization process and bring technical effect are the same as example 1, and particular content can be found in implementation Related narration in example one, details are not described herein again.
Embodiment three
As shown in figure 4, providing a kind of audio broadcasting chip comprising an at least processor in the embodiment of the present invention three 310, memory 320 and interface 330, at least a processor 310, memory 320 and the interface 330 are connected by bus;
The memory 320 stores computer executed instructions;
At least one described processor 310 executes the computer executed instructions that the memory 320 stores, so that the sound Frequency plays chip and executes the memory expanding method that audio described in embodiment one plays chip.
Further, the embodiment of the invention also provides a kind of storage device, instruction, institute are stored on the storage device It states and realizes that audio described in embodiment one plays the memory expanding method of chip when instruction is executed by processor.
In conclusion playing chip using the memory expanding method, system, audio that above-mentioned audio plays chip and depositing Storage device, the vacant memory space in external memory is mapped as the virtual memory of audio player, and song is arranged for storage Preface part, to extend the memory space of audio player, the internal storage space for solving audio player limited is asked Topic;Further, the null data area being directed toward to the cluster chain in external memory is written and read as buffer zone, ensure that outer The hot-swappable safety of portion's memory.
It is worth noting that, those of ordinary skill in the art will appreciate that: the step of realizing above method embodiment or portion This can be accomplished by hardware associated with program instructions step by step, and program above-mentioned can store to be situated between in computer-readable storage In matter, which when being executed, executes step including the steps of the foregoing method embodiments, and storage medium above-mentioned include: ROM, The various media that can store program code such as RAM, magnetic or disk.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (12)

1. a kind of memory expanding method that audio plays chip characterized by comprising
Virtual memory step: the residual memory space in external memory is mapped as the virtual memory that audio plays chip;
File write step: song sort file is written in the residual memory space in the external memory.
2. the memory expanding method that audio as described in claim 1 plays chip, which is characterized in that the virtual memory Before step, further includes:
Initialization step: initializing external memory and obtains the residual memory space address of external memory.
3. the memory expanding method that audio as claimed in claim 2 plays chip, which is characterized in that the initialization step In rapid, memory space of the null data area being directed toward using cluster chain as the virtual memory.
4. the memory expanding method that audio as described in claim 1 plays chip, which is characterized in that the method is also wrapped It includes:
Song sequence step: being ranked up song according to song files name and generates song sort file.
5. the memory expanding method that audio as claimed in claim 4 plays chip, which is characterized in that the method is also wrapped It includes:
Playback of songs step: song is carried out from the song sequence read in the external memory in the song sort file Played in order.
6. the memory expanding system that a kind of audio plays chip characterized by comprising
Virtual memory unit plays the virtual interior of chip for the residual memory space in external memory to be mapped as audio It deposits;
File write unit, for song sort file to be written in the residual memory space in the external memory.
7. the memory expanding system that audio as claimed in claim 6 plays chip, which is characterized in that the system is also wrapped It includes
Initialization unit, for being initialized and being obtained and recorded the residual memory space of external memory to external memory Address.
8. the memory expanding system that audio as claimed in claim 7 plays chip, which is characterized in that be directed toward using cluster chain Memory space of the null data area as the virtual memory.
9. the memory expanding system that audio as claimed in claim 6 plays chip, which is characterized in that the system is also wrapped It includes:
Song sequencing unit, for being ranked up according to song files name to song and generating song sort file.
10. the memory expanding system that the audio as claimed in claim 9 plays chip, which is characterized in that described System further include:
Playback of songs unit, for sorting from the song read in the external memory in the song sort file to song Carry out played in order.
11. a kind of audio plays chip, which is characterized in that the audio play chip include an at least processor, memory and Interface, at least a processor, memory and the interface are connected by bus;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that the audio plays chip Perform claim requires the memory expanding method of the described in any item audios broadcasting chips of 1-5.
12. a kind of storage device, which is characterized in that be stored with instruction on the storage device, described instruction is executed by processor The step of Shi Shixian perform claim requires the described in any item audios of 1-5 to play the memory expanding method of chip.
CN201811179250.0A 2018-10-10 2018-10-10 Storage space expansion method and system of audio playing chip, audio playing chip and storage device Active CN109558072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811179250.0A CN109558072B (en) 2018-10-10 2018-10-10 Storage space expansion method and system of audio playing chip, audio playing chip and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811179250.0A CN109558072B (en) 2018-10-10 2018-10-10 Storage space expansion method and system of audio playing chip, audio playing chip and storage device

Publications (2)

Publication Number Publication Date
CN109558072A true CN109558072A (en) 2019-04-02
CN109558072B CN109558072B (en) 2022-03-25

Family

ID=65864712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811179250.0A Active CN109558072B (en) 2018-10-10 2018-10-10 Storage space expansion method and system of audio playing chip, audio playing chip and storage device

Country Status (1)

Country Link
CN (1) CN109558072B (en)

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1268706A (en) * 1999-03-03 2000-10-04 索尼公司 Non volatile momory and device for reproducing same
US20010037431A1 (en) * 1990-07-11 2001-11-01 Nobuo Hamamoto Digital information system, digital audio signal processor and signal converter
KR20030009701A (en) * 2001-07-23 2003-02-05 엘지전자 주식회사 MP3 player using a wireless communication and replaying method therefore
US6938258B1 (en) * 1998-05-26 2005-08-30 Rockwell Collins Message processor for a passenger entertainment system, method and article of manufacture
CN1832014A (en) * 2005-03-08 2006-09-13 索尼株式会社 Composite memory device, data processing method and data processing program
US20070168481A1 (en) * 2006-01-18 2007-07-19 Dell Products L.P. Upgradeable persistent virtual storage
CN101110085A (en) * 2006-07-21 2008-01-23 索尼株式会社 Reproducing apparatus, reproducing method, and reproducing program
CN101334758A (en) * 2008-07-03 2008-12-31 深圳市中兴集成电路设计有限责任公司 Device and method for embedded system expanding memory space
CN101404741A (en) * 2008-11-06 2009-04-08 北京创毅视讯科技有限公司 Audio playing apparatus and method, and digital television chip
US20090172146A1 (en) * 2007-12-26 2009-07-02 Cary Lee Bates Media Playlist Construction for Virtual Environments
CN101876956A (en) * 2009-12-15 2010-11-03 北京中星微电子有限公司 File access method and device of SD (Secure Digital) card
CN101908028A (en) * 2009-06-02 2010-12-08 深圳市融创天下科技发展有限公司 Method and system for realizing input/output (IO) expansion through standard secure digital (SD) memory interface
CN102100076A (en) * 2008-07-24 2011-06-15 松下电器产业株式会社 Playback device capable of stereoscopic playback, playback method, and program
CN102262646A (en) * 2011-05-26 2011-11-30 深圳市九洲电器有限公司 Music document classifying method of set-top box
JP2012079347A (en) * 2012-01-23 2012-04-19 Hitachi Ltd Memory module
CN104183253A (en) * 2013-05-24 2014-12-03 富泰华工业(深圳)有限公司 Music play system, music play device and music play method
CN106970816A (en) * 2017-03-31 2017-07-21 广东欧珀移动通信有限公司 A kind of software upgrading processing method, device and audio-frequence player device
CN107644056A (en) * 2017-08-04 2018-01-30 武汉烽火众智数字技术有限责任公司 A kind of file memory method, apparatus and system
CN108132909A (en) * 2016-12-01 2018-06-08 深圳市三诺数字科技有限公司 A kind of processing method and processing device of DSP data storage

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010037431A1 (en) * 1990-07-11 2001-11-01 Nobuo Hamamoto Digital information system, digital audio signal processor and signal converter
US6938258B1 (en) * 1998-05-26 2005-08-30 Rockwell Collins Message processor for a passenger entertainment system, method and article of manufacture
CN1268706A (en) * 1999-03-03 2000-10-04 索尼公司 Non volatile momory and device for reproducing same
KR20030009701A (en) * 2001-07-23 2003-02-05 엘지전자 주식회사 MP3 player using a wireless communication and replaying method therefore
CN1832014A (en) * 2005-03-08 2006-09-13 索尼株式会社 Composite memory device, data processing method and data processing program
US20070168481A1 (en) * 2006-01-18 2007-07-19 Dell Products L.P. Upgradeable persistent virtual storage
CN101110085A (en) * 2006-07-21 2008-01-23 索尼株式会社 Reproducing apparatus, reproducing method, and reproducing program
US20090172146A1 (en) * 2007-12-26 2009-07-02 Cary Lee Bates Media Playlist Construction for Virtual Environments
CN101334758A (en) * 2008-07-03 2008-12-31 深圳市中兴集成电路设计有限责任公司 Device and method for embedded system expanding memory space
CN102100076A (en) * 2008-07-24 2011-06-15 松下电器产业株式会社 Playback device capable of stereoscopic playback, playback method, and program
CN101404741A (en) * 2008-11-06 2009-04-08 北京创毅视讯科技有限公司 Audio playing apparatus and method, and digital television chip
CN101908028A (en) * 2009-06-02 2010-12-08 深圳市融创天下科技发展有限公司 Method and system for realizing input/output (IO) expansion through standard secure digital (SD) memory interface
CN101876956A (en) * 2009-12-15 2010-11-03 北京中星微电子有限公司 File access method and device of SD (Secure Digital) card
CN102262646A (en) * 2011-05-26 2011-11-30 深圳市九洲电器有限公司 Music document classifying method of set-top box
JP2012079347A (en) * 2012-01-23 2012-04-19 Hitachi Ltd Memory module
CN104183253A (en) * 2013-05-24 2014-12-03 富泰华工业(深圳)有限公司 Music play system, music play device and music play method
CN108132909A (en) * 2016-12-01 2018-06-08 深圳市三诺数字科技有限公司 A kind of processing method and processing device of DSP data storage
CN106970816A (en) * 2017-03-31 2017-07-21 广东欧珀移动通信有限公司 A kind of software upgrading processing method, device and audio-frequence player device
CN107644056A (en) * 2017-08-04 2018-01-30 武汉烽火众智数字技术有限责任公司 A kind of file memory method, apparatus and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
符运河: "基于AX2010解码芯片的嵌入式MP3播放系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Also Published As

Publication number Publication date
CN109558072B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
US10853238B2 (en) Unaligned data coalescing
US7146455B2 (en) System and method for optimized access to memory devices requiring block writing
US9645918B2 (en) Storage devices including non-volatile memory and memory controller and methods of allocating write memory blocks
US11216189B2 (en) Method and computer program product for reading partial data of a page on multiple planes
US5117495A (en) Method of sorting data records
US20100235359A1 (en) File retrieval method and device and time stream file processor
US20130060999A1 (en) System and method for increasing read and write speeds of hybrid storage unit
CN101983376B (en) Access device, information recording device, information recording system, file management method, and program
JPS61112255A (en) Computer system
US11048678B2 (en) Bulk-load for B-trees
JP2009540466A (en) Application program interface for managing media files
WO2023277819A3 (en) Data processing method, system, device, computer program product, and storage function
KR100425678B1 (en) Memory card to adapt digital player and file write/read method thereof
CN109558072A (en) The memory expanding method, system, audio that audio plays chip play chip and storage device
CN104657471B (en) Method and system for establishing pre-allocated file of FAT file system
CN113220639B (en) File storage system control device for space application
US20060200656A1 (en) Apparatus and method to capture data from an embedded device
US20160283322A1 (en) Recording device and information processing device
CN100405330C (en) Method and device for getting residual space for FAT file system
US20190354306A1 (en) Available-space management method for nonvolatile memory, access device which stores data to information storage device with nonvolatile memory, information storage device, and information storage system
TWI492050B (en) Storage device, memory controller, and data protection method
CN100444166C (en) Position-based interface access method and device for FAT file system
CN100389396C (en) FAT file system error treating method and device
CN112433675B (en) Storage space optimization method and system for super fusion architecture
CN1395246A (en) Method for implementing virtual image optical disk and and its system hardware structure

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220506

Address after: Rooms 1306-1309, 13 / F, 19 science Avenue West, Hong Kong Science Park, Shatin, New Territories, China

Patentee after: BUILDWIN INTERNATIONAL (ZHUHAI) LTD.

Address before: 1302, yuemeite building, 1 Gaoxin South 7th Road, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: Jianrong semiconductor (Shenzhen) Co.,Ltd.

Patentee before: BUILDWIN INTERNATIONAL (ZHUHAI) Ltd.