CN108132909A - A kind of processing method and processing device of DSP data storage - Google Patents

A kind of processing method and processing device of DSP data storage Download PDF

Info

Publication number
CN108132909A
CN108132909A CN201611091179.1A CN201611091179A CN108132909A CN 108132909 A CN108132909 A CN 108132909A CN 201611091179 A CN201611091179 A CN 201611091179A CN 108132909 A CN108132909 A CN 108132909A
Authority
CN
China
Prior art keywords
data
storage
dsp
external
external memorizer
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
CN201611091179.1A
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.)
Shenzhen 3nod Acousticlink Co Ltd
Shenzhen 3Nod Digital Technology Co Ltd
Guangxi 3Nod Digital Technology Co Ltd
Original Assignee
Shenzhen 3nod Acousticlink Co Ltd
Shenzhen 3Nod Digital Technology Co Ltd
Guangxi 3Nod Digital Technology 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 Shenzhen 3nod Acousticlink Co Ltd, Shenzhen 3Nod Digital Technology Co Ltd, Guangxi 3Nod Digital Technology Co Ltd filed Critical Shenzhen 3nod Acousticlink Co Ltd
Priority to CN201611091179.1A priority Critical patent/CN108132909A/en
Publication of CN108132909A publication Critical patent/CN108132909A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7839Architectures of general purpose stored program computers comprising a single central processing unit with memory
    • G06F15/7842Architectures of general purpose stored program computers comprising a single central processing unit with memory on one IC chip (single chip microcontrollers)
    • G06F15/7846On-chip cache and off-chip main memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Read Only Memory (AREA)

Abstract

The invention discloses a kind of processing methods of DSP data storage, are related to field of audio devices, and the processing method of DSP data storage includes:In response to external data transfer request, receive external data and be written into external memorizer;DSP module reads the storage data in the external memorizer.The embodiment of the present invention is by setting an external memory, the external memory is first written into the big data of the outside of reception, further according to the current idle storage space of DSP module the big data is read to be segmented, it avoids when DSP module writes direct big data to the load pressure of memory, the shortcomings that avoiding DSP module and expand memory to adapt to big data, the requirement of cost and manufacture craft is reduced.

Description

A kind of processing method and processing device of DSP data storage
Technical field
The present invention relates to the processing method and processing devices that field of audio devices more particularly to a kind of DSP data store.
Background technology
With the development of society, people are not only higher and higher while also right to the intelligence of audio product, hommization requirement The reliability of audio product proposes more requirements.DSP (digital signal processor) is widely used in the productions such as audio reproducing On product, but general DSP program and data spaces separate, can respectively simultaneously access instruction and data.Have in DSP quick RAM (Random-Access Memory random access memory), usually can by independent data/address bus in two pieces simultaneously It accesses, but higher and higher with the requirement of people, the data for needing to debug and RAM being written are also increasing.
In process of the present invention is realized, inventor has found that at least there are the following problems in the prior art:ROM inside DSP The space requirement of (Read Only Memory read-only memory) storage is increasing, increases the cost of manufacture of DSP, while It is required that higher manufacture craft.
Invention content
In order to overcome the shortcomings of Related product in the prior art, the present invention proposes a kind of processing method of DSP data storage And device, solve the problems, such as that existing DSP storage spaces when handling big data are insufficient.
The technical solution adopted by the present invention to solve the technical problems is:
The present invention provides a kind of DSP data storage processing method, including:In response to external data transfer request, Receive outside data and be written into external memorizer;DSP module reads the storage data in the external memorizer.
As a further improvement on the present invention, the storage data that the DSP module is read in the external memorizer include: DSP module monitors the data variation of the external memorizer;When the data of the external memorizer memory storage change, institute State the storage data that the external memorizer is read in DSP module segmentation.
As a further improvement on the present invention, the storage data packet of the external memorizer is read in the DSP module segmentation It includes:The DSP module carries out pre-read to the storage data of the external memorizer, obtains the attribute letter of the storage data Breath;Calculate the current idle storage space of the DSP module;Believed according to the attribute of the result of calculating and the storage data The storage data of the external memorizer are carried out segmentation reading by breath, wherein, the size of every one piece of data of reading is no more than institute State the current idle storage space of DSP module.
As a further improvement on the present invention, the external memorizer is communicated to connect with DSP module, the external memorizer Including eeprom memory and/or flash storage.
The present invention provides a kind of DSP data storage processing method, including:In response to external data transfer request, Receive outside data and be written into external memorizer;Storage data in the one-chip computer module reading external memorizer are simultaneously The data of reading are written to DSP module.
As a further improvement on the present invention, the one-chip computer module reads storage data in the external memorizer simultaneously The data of reading are written to DSP module to include:One-chip computer module monitors the data variation of the external memorizer;Described outer When connecing the data of memory memory storage and changing, the storage data of the external memorizer are read in the one-chip computer module segmentation And the data of reading are written to DSP module.
As a further improvement on the present invention, the storage data of the external memorizer are read in the one-chip computer module segmentation And the data of reading are written to DSP module and are included:The one-chip computer module carries out the storage data of the external memorizer Pre-read obtains the attribute information of the storage data;Calculate the current idle storage space of the DSP module;According to calculating Result and it is described storage data attribute information, to the storage data of the external memorizer carry out segmentation reading and will read The data taken are written to DSP module, wherein, the size of every one piece of data of reading is no more than the DSP module current free time Memory space.
As a further improvement on the present invention, the external memorizer and one-chip computer module communicate to connect, described external to deposit Reservoir includes eeprom memory and/or flash storage.
Compared with prior art, the invention has the advantages that:
The processing method of DSP data storage provided in an embodiment of the present invention will be received by setting an external memory The big data of outside the external memory is first written, read further according to the current idle storage space of DSP module to be segmented The big data avoids when DSP module writes direct big data to the load pressure of memory, avoids DSP module in order to suitable The shortcomings that answering big data and expanding memory reduces cost and manufacture craft requirement.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the flow diagram of processing method one embodiment of DSP data of the present invention storage;
Fig. 2 is another flow diagram of processing method one embodiment of DSP data of the present invention storage;
Fig. 3 is the flow diagram of another embodiment of the processing method of DSP data of the present invention storage;
Fig. 4 is another flow diagram of another embodiment of the processing method of DSP data of the present invention storage.
Specific embodiment
For the ease of understanding the present invention, the present invention is described more fully below with reference to relevant drawings.In attached drawing Give presently preferred embodiments of the present invention.But the present invention can realize in many different forms, however it is not limited to this paper institutes The embodiment of description.On the contrary, the purpose for providing these embodiments is to make the understanding to the disclosure more thorough Comprehensively.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention The normally understood meaning of technical staff is identical.Term used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Embodiment one
As shown in fig.1, the flow diagram of processing method one embodiment for DSP data of the present invention storage, The processing method of the DSP data storage includes:
S101:In response to external data transfer request, receive external data and be written into external memorizer.
When DSP module is as master control, in response to external data transfer request, receives external data and be written into External memorizer, in an embodiment of the present invention, the external memorizer are communicated to connect with DSP module, the external storage Device includes eeprom memory and/or flash storage etc., and the data refer to the relevant parameter number that audio is adjusted and controlled According to.
S102:DSP module reads the storage data in the external memorizer.
Optionally, the DSP module monitors the data variation of the external memorizer, in the external memorizer memory storage Data when changing, the storage data of the external memorizer are read in the DSP module segmentation.
Correspondingly, as shown in fig.2, the storage data that the external memorizer is read in DSP module segmentation further include Following steps:
S201:The DSP module carries out pre-read to the storage data of the external memorizer, obtains the storage data Attribute information.
In an embodiment of the present invention, the attribute information includes the type and size of the storage data.
S202:Calculate the current idle storage space of the DSP module.
It is current that the embodiment of the present invention calculates the DSP module by obtaining the service condition of ROM in the DSP module Idle storage space, the idle storage space refers to the effective memory space that can currently use, and the DSP module can not Directly read the data more than the idle storage space size.
S203:According to the attribute information of the result of calculating and the storage data, the storage to the external memorizer Data carry out segmentation reading, wherein, the size of every one piece of data of reading is no more than the current idle storage sky of the DSP module Between.
The embodiment of the present invention sets an external memory, and DSP module the big data of the outside of reception is first written described External memory reads the big data further according to current idle storage space to be segmented, and external memory can be according to reality Border demand selects different size of memory, avoids when DSP module writes direct big data to the load pressure of memory, avoids The shortcomings that DSP module expands memory to adapt to big data, reduces the requirement of cost and manufacture craft.
Embodiment two
As shown in fig.3, the flow signal for another embodiment of the processing method of DSP data of the present invention storage Figure, the processing method of the DSP data storage include:
S301:In response to external data transfer request, receive external data and be written into external memorizer.
When one-chip computer module is as master control, in response to external data transfer request, receive external data and by its External memorizer is written, in an embodiment of the present invention, the external memorizer is communicated to connect with one-chip computer module, described outer It connects memory and includes eeprom memory and/or flash storage etc., it is related to control that the data refer to that audio is adjusted Supplemental characteristic.
S302:One-chip computer module reads the storage data in the external memorizer and the data of reading is written to DSP Module.
Optionally, the one-chip computer module monitors the data variation of the external memorizer;In the external memorizer When the data of storage change, one-chip computer module segmentation reads the storage data of the external memorizer and by reading Data are written to DSP module.
Correspondingly, as shown in fig.4, one-chip computer module segmentation reads the storage data of the external memorizer and will It is further comprising the steps of that the data of reading are written to DSP module:
S401:The one-chip computer module carries out pre-read to the storage data of the external memorizer, obtains the storage The attribute information of data.
In an embodiment of the present invention, the attribute information includes the type and size of the storage data.
S402:Calculate the current idle storage space of the DSP module.
It is current that the embodiment of the present invention calculates the DSP module by obtaining the service condition of ROM in the DSP module Idle storage space, the idle storage space refers to the effective memory space that can currently use, and the DSP module can not Directly read the data more than the idle storage space size.
S403:According to the attribute information of the result of calculating and the storage data, the storage to the external memorizer Data carry out segmentation reading and the data of reading are written to DSP module, wherein, the size of every one piece of data of reading is no more than The current idle storage space of the DSP module.
The embodiment of the present invention sets an external memory, and institute is first written in the big data of the outside of reception by one-chip computer module External memory is stated, reads the big data further according to the current idle storage space of DSP module to be segmented, external memory can To select different size of memory according to actual demand, the load to memory when DSP module writes direct big data is avoided Pressure the shortcomings that avoiding DSP module and expand memory to adapt to big data, reduces the requirement of cost and manufacture craft, Simultaneously using one-chip computer module as during master control, the intermediary of digital independent is used as by one-chip computer module, DSP moulds can not influenced While block works normally, one-chip computer module is replaced or expanded at any time, there is better using effect.
Above-described embodiment is the preferable embodiment of the present invention, but embodiments of the present invention are not by above-described embodiment Limitation, other any Spirit Essences without departing from the present invention with made under principle change, modification, replacement, combine, simplification, Equivalent substitute mode is should be, is included within protection scope of the present invention.

Claims (8)

1. a kind of processing method of DSP data storage, which is characterized in that including:
In response to external data transfer request, receive external data and be written into external memorizer;
DSP module reads the storage data in the external memorizer.
2. the processing method of DSP data storage according to claim 1, which is characterized in that described in the DSP module is read Storage data in external memorizer include:
DSP module monitors the data variation of the external memorizer;
When the data of the external memorizer memory storage change, the external memorizer is read in the DSP module segmentation Storage data.
3. the processing method of DSP data storage according to claim 2, which is characterized in that the DSP module segmentation is read The storage data of the external memorizer include:
The DSP module carries out pre-read to the storage data of the external memorizer, obtains the attribute letter of the storage data Breath;
Calculate the current idle storage space of the DSP module;
According to the attribute information of the result of calculating and the storage data, the storage data of the external memorizer are divided Section is read, wherein, the size of every one piece of data of reading is no more than the current idle storage space of the DSP module.
4. the processing method of DSP data storage according to claim 3, it is characterised in that:The external memorizer and DSP Module communicates to connect, and the external memorizer includes eeprom memory and/or flash storage.
5. a kind of processing method of DSP data storage, which is characterized in that including:
In response to external data transfer request, receive external data and be written into external memorizer;
One-chip computer module reads the storage data in the external memorizer and the data of reading is written to DSP module.
6. the processing method of DSP data storage according to claim 5, which is characterized in that the one-chip computer module is read The data of reading are simultaneously written to DSP module and included by storage data in the external memorizer:
One-chip computer module monitors the data variation of the external memorizer;
When the data of the external memorizer memory storage change, the external storage is read in the one-chip computer module segmentation The data of reading are simultaneously written to DSP module by the storage data of device.
7. the processing method of DSP data storage according to claim 6, which is characterized in that the one-chip computer module segmentation It reads the storage data of the external memorizer and the data of reading is written to DSP module and include:
The one-chip computer module carries out pre-read to the storage data of the external memorizer, obtains the attribute of the storage data Information;
Calculate the current idle storage space of the DSP module;
According to the attribute information of the result of calculating and the storage data, the storage data of the external memorizer are divided Section reads and the data of reading is written to DSP module, wherein, the size of every one piece of data of reading is no more than the DSP moulds The current idle storage space of block.
8. the processing method of DSP data storage according to claim 7, it is characterised in that:The external memorizer and list Piece machine module communicates to connect, and the external memorizer includes eeprom memory and/or flash storage.
CN201611091179.1A 2016-12-01 2016-12-01 A kind of processing method and processing device of DSP data storage Pending CN108132909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611091179.1A CN108132909A (en) 2016-12-01 2016-12-01 A kind of processing method and processing device of DSP data storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611091179.1A CN108132909A (en) 2016-12-01 2016-12-01 A kind of processing method and processing device of DSP data storage

Publications (1)

Publication Number Publication Date
CN108132909A true CN108132909A (en) 2018-06-08

Family

ID=62387630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611091179.1A Pending CN108132909A (en) 2016-12-01 2016-12-01 A kind of processing method and processing device of DSP data storage

Country Status (1)

Country Link
CN (1) CN108132909A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558072A (en) * 2018-10-10 2019-04-02 建荣半导体(深圳)有限公司 The memory expanding method, system, audio that audio plays chip play chip and storage device
CN110633057A (en) * 2019-09-24 2019-12-31 京信通信系统(中国)有限公司 Method and device for storing setting parameters, computing equipment and storage medium
CN112835759A (en) * 2021-02-01 2021-05-25 百度在线网络技术(北京)有限公司 Test data processing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5898892A (en) * 1996-05-17 1999-04-27 Advanced Micro Devices, Inc. Computer system with a data cache for providing real-time multimedia data to a multimedia engine
JP2007206826A (en) * 2006-01-31 2007-08-16 Sanyo Electric Co Ltd Data reproducing device
CN101382948A (en) * 2008-10-14 2009-03-11 成都市华为赛门铁克科技有限公司 File memory method, apparatus and system
CN103020010A (en) * 2012-12-21 2013-04-03 中颖电子股份有限公司 Storage framework of embedded system
CN104090804A (en) * 2014-07-15 2014-10-08 四川航天系统工程研究所 Virtual memory expansion method for real-time DSP embedded system
CN105590644A (en) * 2014-10-19 2016-05-18 先慧 Audio player having USB interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5898892A (en) * 1996-05-17 1999-04-27 Advanced Micro Devices, Inc. Computer system with a data cache for providing real-time multimedia data to a multimedia engine
JP2007206826A (en) * 2006-01-31 2007-08-16 Sanyo Electric Co Ltd Data reproducing device
CN101382948A (en) * 2008-10-14 2009-03-11 成都市华为赛门铁克科技有限公司 File memory method, apparatus and system
CN103020010A (en) * 2012-12-21 2013-04-03 中颖电子股份有限公司 Storage framework of embedded system
CN104090804A (en) * 2014-07-15 2014-10-08 四川航天系统工程研究所 Virtual memory expansion method for real-time DSP embedded system
CN105590644A (en) * 2014-10-19 2016-05-18 先慧 Audio player having USB interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡元义,马俊宏: "《操作系统原理教程》", 31 July 2014, 西安电子科技大学出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558072A (en) * 2018-10-10 2019-04-02 建荣半导体(深圳)有限公司 The memory expanding method, system, audio that audio plays chip play chip and storage device
CN109558072B (en) * 2018-10-10 2022-03-25 建荣半导体(深圳)有限公司 Storage space expansion method and system of audio playing chip, audio playing chip and storage device
CN110633057A (en) * 2019-09-24 2019-12-31 京信通信系统(中国)有限公司 Method and device for storing setting parameters, computing equipment and storage medium
CN112835759A (en) * 2021-02-01 2021-05-25 百度在线网络技术(北京)有限公司 Test data processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11042297B2 (en) Techniques to configure a solid state drive to operate in a storage mode or a memory mode
USRE48736E1 (en) Memory system having high data transfer efficiency and host controller
JP6768928B2 (en) Methods and devices for compressing addresses
TWI544334B (en) Data storage device and operating method thereof
JP2006195569A (en) Memory unit
CN105335309B (en) A kind of data transmission method and computer
US9483318B2 (en) Distributed procedure execution in multi-core processors
CN108132909A (en) A kind of processing method and processing device of DSP data storage
JP2005182983A (en) Flash memory device and flash memory system including buffer memory
JP2017527877A (en) Method and apparatus for reading / writing data from / to flash memory and user equipment
CN107391285A (en) Internal memory sharing method and system
US20140143447A1 (en) Sas expander system and method for dynamically allocating sas addresses to sas expander devices
CN107451271A (en) A kind of Hash table processing method, device, equipment and storage medium
US8891523B2 (en) Multi-processor apparatus using dedicated buffers for multicast communications
CN104808950A (en) Mode-dependent access to embedded storage element
CN105264608B (en) Method, Memory Controller Hub and the central processing unit of data storage
WO2014190700A1 (en) Method of memory access, buffer scheduler and memory module
CN113535087A (en) Data processing method, server and storage system in data migration process
CN108519860B (en) SSD read hit processing method and device
CN116670661A (en) Cache access method of graphics processor, graphics processor and electronic device
KR20070082835A (en) Apparatus and method for controlling direct memory access
CN115883022B (en) DMA transmission control method, apparatus, electronic device and readable storage medium
CN110096355B (en) Shared resource allocation method, device and equipment
US7558901B2 (en) Apparatus and method for connecting processor to bus
CN107870736B (en) Method and device for supporting non-linear flash memory larger than 4GB

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180608

RJ01 Rejection of invention patent application after publication