CN111935220A - Voice data real-time storage system - Google Patents

Voice data real-time storage system Download PDF

Info

Publication number
CN111935220A
CN111935220A CN202010635052.1A CN202010635052A CN111935220A CN 111935220 A CN111935220 A CN 111935220A CN 202010635052 A CN202010635052 A CN 202010635052A CN 111935220 A CN111935220 A CN 111935220A
Authority
CN
China
Prior art keywords
data
recording
audio data
overflowed
module
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
CN202010635052.1A
Other languages
Chinese (zh)
Other versions
CN111935220B (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.)
Yuntian Intelligent Information Shenzhen Co ltd
Original Assignee
Yuntian Intelligent Information Shenzhen 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 Yuntian Intelligent Information Shenzhen Co ltd filed Critical Yuntian Intelligent Information Shenzhen Co ltd
Priority to CN202010635052.1A priority Critical patent/CN111935220B/en
Publication of CN111935220A publication Critical patent/CN111935220A/en
Application granted granted Critical
Publication of CN111935220B publication Critical patent/CN111935220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/16Storage of analogue signals in digital stores using an arrangement comprising analogue/digital [A/D] converters, digital memories and digital/analogue [D/A] converters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

The application relates to a voice data real-time storage system, which comprises a sound collecting module, a voice recording module and a voice recording module, wherein the sound collecting module is arranged on a sound recording pen and is used for converting external audio into audio data to be stored; the offline storage module is arranged on the recording pen, stores new audio data offline, and sends overflowed audio data outwards when the available memory is smaller than a set minimum memory value, so that the overflowed audio data is covered by the new audio data, and the overflowed audio data is the audio data with the longest storage time in the offline storage module; the online storage module compresses the overflowed audio data into data to be transmitted according to a preset compression method and sends the data to be transmitted outwards; and the online database receives the data to be transmitted, decompresses the data to be transmitted according to a preset compression method to obtain overflowed audio data, and stores the overflowed audio data according to the generated time data in sequence. The method and the device have the effect that when the storage space in the recording pen is full, recording can be continuously carried out, and recording cannot be stopped.

Description

Voice data real-time storage system
Technical Field
The application relates to the field of voice data processing, in particular to a voice data real-time storage system.
Background
At present, the recording devices are applied more and more widely, and the use scenes are more and more, so the recording devices are called an emerging consumer electronics, such as a recording pen. The recording pen is mainly used for recording live music and occasionally recording music inspiration, occasionally serves as a walkman, can be competent for recording a sound source with a relatively long distance, and can expand a storage space through the plug-in card.
The existing recording pen is also called as a digital recording stick or a digital recorder, one type of the digital recorder is not a simple pen type for facilitating operation and improving recording quality, is convenient to carry, and has multiple functions, such as a laser pen function, FM (frequency modulation) and MP3 playing. Compared with the traditional recorder, the digital recording pen records the audio by a digital storage mode. The voice control recording and telephone recording functions are important, the voice control recording can stop recording when no voice signal exists, and can be recovered to work when voice signals exist, so that the recording time is prolonged, more electricity is saved, and the voice control recording and telephone recording functions are quite useful. The telephone recording function provides convenience for telephone interview and record. Besides, it is important to have the function of recording in segments and marking the recording, so that the management efficiency of the recorded data is high.
In view of the above-mentioned related art, the inventor believes that there is a defect that recording cannot be continued unless recording is stopped to copy recorded voice data when the storage space in the recording pen is full.
Disclosure of Invention
In order to enable the recording pen to continuously record when the storage space is full, the application provides a voice data real-time storage system, which adopts the following technical scheme:
a voice data real-time storage system comprises a recording pen and further comprises the following modules:
the sound collecting module is arranged on the recording pen and used for converting external audio frequency into audio frequency data to be stored;
the off-line storage module is arranged on the recording pen, is electrically connected with the sound collecting module, and is used for off-line storing new audio data, sending overflowed audio data outwards when the available memory is smaller than a set minimum memory value, and enabling the new audio data to cover the overflowed audio data, wherein the overflowed audio data is the audio data with the longest storage time in the off-line storage module;
the online storage module is in wireless connection with the offline storage module and is used for receiving and temporarily storing overflowed audio data, compressing the overflowed audio data into data to be transmitted according to a preset compression method and sending the data to be transmitted to the outside;
and the online database is electrically connected with the online storage module and is used for receiving the data to be transmitted, decompressing the data to be transmitted according to a preset compression method to obtain overflowed audio data, and storing the overflowed audio data in sequence according to the generated time data.
By adopting the technical scheme, the sound collecting module obtains external sound and converts the sound into audio data, the offline storage module ensures that the latest audio data can be stored in the system, the online storage module and the online database can ensure that the previous audio data can be reserved, and when the storage space in the recording pen is full, recording can be continued without stopping recording.
Preferably, a RK3308 platform with 8 paths of MICs is arranged in the system, the 8 paths of MICs comprise 6 paths of digital MICs and 2 paths of analog MICs, the 6 paths of digital MICs are provided with PDM interfaces, CLK clocks in the platform are shared and are provided with three paths of data branch boards, and the three paths of data branch boards sample the 2 paths of digital MICs controlled by one path of data at the rising edge and the falling edge of the CLK clock;
RK3308 platform data connection has the codec chip, and the codec chip is used for converting analog MIC into digital MIC, and the codec chip is equipped with the CLK clock in PDM interface and the shared platform.
By adopting the technical scheme, sampling synchronization of 8 paths of MICs is realized.
Preferably, the sound collecting module is electrically connected with an earphone module, an SGM2549 switch is arranged in the earphone module, and the power-on time sequence of the earphone module is synchronous with the bias voltage of the earphone and is later than the power-on voltage of the SGM2549 switch.
By adopting the technical scheme, the SGM2549 switch is used, so that both CTIA and OMTP earphones can be used on the equipment. Note that the power-on sequence of the earphone needs to be synchronous with the bias voltage of the earphone and is later than the power-on voltage of the SGM2549, so that the switch already makes earphone mode judgment when the earphone is plugged and restarted, and current sound of the earphone at the moment of starting is avoided.
Preferably, a transparent touch strip is arranged on the outer wall of the recording pen, a light strip is arranged beside the touch strip, the touch strip guides light for the light strip, and the length of a light emitting section of the light strip corresponds to a touched part on the touch strip;
the system starts recording in response to a state where the touch bar is touched, pauses recording in response to a state where the touch bar is not touched for a set time, and stops recording and generates a separate recording file in response to a state where the touch bar is not touched for more than the set time.
By adopting the technical scheme, a user holds the recording pen to start recording after touching, the recording pen stops recording after the hand leaves the recording pen and does not touch, and recording is stopped and an independent recording file is generated if the production time is not touched.
Preferably, the system adjusts the amount of data stored online at a time in response to the length of the touch bar touched and the touched portion slid when the recording is stopped, and the amount of data stored online is the amount of data stored in the database for a set time as the length of the light emitting section is longer and the amount of data stored online is larger.
By adopting the technical scheme, the data volume stored on line at one time can be adjusted by sliding on the touch strip, and the light-emitting section which changes along with the change of the sliding distance can display the data volume being adjusted and the data volume stored on line at one time.
Preferably, when the recording is stopped, the system adjusts the recording volume in response to the length of the touch strip touched and the touch part slid, and the recording volume is increased when the light-emitting section is longer.
By adopting the technical scheme, the volume is recorded by sliding on the touch strip, and the luminous section which changes along with the change of the sliding distance can display the current value of the recording volume while being adjusted.
Preferably, the touched and double-clicked portion of the touch bar corresponds to a value of a minimum memory value of the recording pen.
By adopting the technical scheme, the value of the minimum memory value can be changed by double clicking, so that whether the previous audio data is quickly covered or not is determined, and a large space is left for the existing audio data.
Drawings
Fig. 1 is a block diagram of a system architecture of a real-time voice data storage system according to the present application.
Fig. 2 is a structural diagram of a recording pen in the voice data real-time storage system of the present application.
Reference numerals: 1. a sound collecting module; 2. an offline storage module; 3. an online storage module; 4. an online database; 5. a recording pen; 6. a touch bar; 7. a light bar.
Detailed Description
The present application is described in further detail below with reference to figures 1-2.
The embodiments of the present application will be described in further detail with reference to the drawings attached hereto.
The embodiment of the application discloses voice data real-time storage system, including the recording pen 5 that is equipped with MCU, as shown in fig. 1 and fig. 2, still include the following module:
and the sound collecting module 1 is arranged on the recording pen 5 and used for converting external audio into audio data to be stored. A RK3308 platform with 8 paths of MICs is arranged in the system, the application range in front of the platform is expanded, and user experience similar to that of a smart phone is achieved. The 8 paths of MICs comprise 6 paths of digital MICs and 2 paths of analog MICs, the 6 paths of digital MICs are provided with PDM interfaces, CLK clocks in the platform are shared and are provided with three paths of data branch boards, and the three paths of data branch boards sample the 2 paths of digital MICs controlled by one path of data at the rising edge and the falling edge of the CLK clocks; RK3308 platform data connection has the codec chip, and the codec chip is used for converting analog MIC into digital MIC, and the codec chip is equipped with the CLK clock in PDM interface and the shared platform. The recording audio parameters are synchronized by simulating the MIC, so that a codec chip is added to convert the analog MIC into the digital MIC, a PDM interface is also used, CLK is shared, and sampling synchronization of 8 paths of MICs is realized. The sound collecting module 1 is electrically connected with an earphone module, an SGM2549 switch is arranged in the earphone module, the power-on time sequence of the earphone module is synchronous with the bias voltage of the earphone, and the power-on time sequence is later than the power-on voltage of the SGM2549 switch. The SGM2549 switch is used, so that both CTIA and OMTP headsets can be used on the device. Particularly, the power-on sequence of the earphone needs to be synchronous with the bias voltage of the earphone and is later than the power-on voltage of the SGM2549, so that the switch already makes earphone mode judgment when the earphone is plugged and restarted, and current sound of the earphone at the moment of starting is avoided.
And the offline storage module 2 is arranged on the recording pen 5, is electrically connected with the sound collection module 1, and is used for storing new audio data offline, sending overflowed audio data outwards when the available memory is smaller than a set minimum memory value, and enabling the overflowed audio data to be covered by the new audio data, wherein the overflowed audio data is the audio data with the longest storage time in the offline storage module 2. The off-line storage module 2 comprises one or more FLASH memory chips electrically connected with the MCU.
And the online storage module 3 is in radio connection with the offline storage module 2 through a wireless component, and is used for receiving and temporarily storing overflowed audio data, compressing the overflowed audio data into data to be transmitted according to a preset compression method, and sending the data to be transmitted outwards. The wireless component may employ a GSM/GPRS component, a WIFI component, a Bluetooth component, or an NFC component.
And the online database 4 is electrically connected with the online storage module 3 and is used for receiving the data to be transmitted, decompressing the data to be transmitted according to a preset compression method to obtain overflowed audio data, and storing the overflowed audio data in sequence according to the generated time data. The online database 4 may employ a MySQL component, or use a cloud database of arry, huazhi, tengyo or hundredth clouds.
The outer wall of the recording pen 5 is provided with a transparent touch strip 6, a light strip 7 is arranged beside the touch strip 6, the touch strip 6 guides light for the light strip 7, and the length of a light-emitting section of the light strip 7 corresponds to the touched part on the touch strip 6. The system starts recording in response to a state where the touch bar 6 is touched, pauses recording in response to a state where the touch bar 6 is not touched for a set time, stops recording in response to a state where the touch bar 6 is not touched for more than the set time, and generates a separate recording file. The touch strip 6 is electrically connected with a common touch control chip in the prior art, the light strip 7 adopts an LED lamp strip and is electrically connected with an LED driver, and the touch control chip and the LED driver are both electrically connected with the MCU.
When the recording is stopped, the system responds to the length touched on the touch strip 6 and the sliding of the touched part, so that the data amount stored on line at one time is adjusted, the longer the light-emitting section is, the larger the data amount stored on line is, and the data amount stored on line is the data amount stored in the database within the set time. In another case, the system adjusts the volume of recording in response to the length of the touch bar 6 touched and the touched portion slid when stopping recording, the longer the light emitting segment, the larger the volume of recording. In another case, the touched and double-clicked portion of the touch bar 6 corresponds to a value of the minimum memory value of the recording pen 5.
The implementation principle of the voice data real-time storage system in the embodiment of the application is as follows: the user holds the recording pen 5 and starts recording after touching, the sound collection module 1 obtains outside sound and converts the sound into audio data, and during recording, the recording volume can be displayed by sliding the touch strip 6 and the light-emitting section which changes along with the change of the sliding distance, so that the recording volume can be adjusted and the current value of the recording volume can be approximately displayed. The offline storage module 2 ensures that the latest audio data can be stored in the system, and the value of the minimum memory value can be changed by double-clicking the touch bar 6, so that whether the previous audio data is quickly covered or not is determined, and a large space is left for the existing audio data. The online storage module 3 and the online database 4 can ensure that the previous audio data can be kept, and the data volume which is being adjusted and stored online can be displayed by adjusting the data volume which is stored online once on the touch strip 6 in a sliding manner and the light-emitting section which changes along with the change of the sliding distance. When the storage space in the recording pen 5 is full, recording can be continued without stopping recording. And (5) stopping recording after the hand leaves the recording pen 5 and is not touched, and stopping recording and generating an independent recording file if the hand does not touch the recording pen in the production time.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (7)

1. A voice data real-time storage system comprises a recording pen (5), and is characterized in that: the system also comprises the following modules:
the sound collecting module (1) is arranged on the recording pen (5) and is used for converting external audio into audio data to be stored;
the offline storage module (2) is arranged on the recording pen (5), is electrically connected with the sound collection module (1), and is used for storing new audio data offline, sending overflowed audio data outwards when the available memory is smaller than a set minimum memory value, and enabling the new audio data to cover the overflowed audio data, wherein the overflowed audio data is the audio data with the longest storage time in the offline storage module (2);
the online storage module (3) is in radio connection with the offline storage module (2) and is used for receiving and temporarily storing overflowed audio data, compressing the overflowed audio data into data to be transmitted according to a preset compression method and sending the data to be transmitted to the outside;
and the online database (4) is electrically connected with the online storage module (3) and is used for receiving the data to be transmitted, decompressing the data to be transmitted according to a preset compression method to obtain overflowed audio data, and storing the overflowed audio data in sequence according to the generated time data.
2. The system of claim 1, wherein: the system is internally provided with an RK3308 platform with 8 paths of MICs, the 8 paths of MICs comprise 6 paths of digital MICs and 2 paths of analog MICs, the 6 paths of digital MICs are provided with PDM interfaces, CLK clocks in the platform share and are provided with three paths of data branch boards, and the three paths of data branch boards sample the 2 paths of digital MICs controlled by one path of data at the rising edge and the falling edge of the CLK clock;
RK3308 platform data connection has the codec chip, and the codec chip is used for converting analog MIC into digital MIC, and the codec chip is equipped with the CLK clock in PDM interface and the shared platform.
3. The system of claim 2, wherein: the sound collecting module (1) is electrically connected with an earphone module, an SGM2549 switch is arranged in the earphone module, the power-on time sequence of the earphone module is synchronous with the bias voltage of the earphone, and the power-on time sequence is later than the power-on voltage of the SGM2549 switch.
4. The system of claim 1, wherein: a transparent touch strip (6) is arranged on the outer wall of the recording pen (5), a light strip (7) is arranged beside the touch strip (6), the touch strip (6) guides light to the light strip (7), and the length of a light emitting section of the light strip (7) corresponds to the touched part on the touch strip (6);
the system starts recording in response to a state that the touch bar (6) is touched, pauses recording in response to a state that the touch bar (6) is not touched for a set time, and stops recording in response to a state that the touch bar (6) is not touched for more than the set time and generates a separate recording file.
5. The system of claim 4, wherein: when the recording is stopped, the system responds to the length touched on the touch bar (6) and the sliding of the touched part, so that the data amount stored on line at one time is adjusted, the longer the light-emitting section is, the larger the data amount stored on line is, and the data amount stored on line is the data amount stored in the database within the set time.
6. The system of claim 4, wherein: when the recording is stopped, the system responds to the length touched on the touch bar (6) and the sliding of the touched part to adjust the recording volume, and the longer the light-emitting section is, the larger the recording volume is.
7. The system of claim 4, wherein: the touched and double-clicked part of the touch strip (6) corresponds to the value of the minimum memory value of the recording pen (5).
CN202010635052.1A 2020-07-03 2020-07-03 Voice data real-time storage system Active CN111935220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010635052.1A CN111935220B (en) 2020-07-03 2020-07-03 Voice data real-time storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010635052.1A CN111935220B (en) 2020-07-03 2020-07-03 Voice data real-time storage system

Publications (2)

Publication Number Publication Date
CN111935220A true CN111935220A (en) 2020-11-13
CN111935220B CN111935220B (en) 2021-08-10

Family

ID=73317258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010635052.1A Active CN111935220B (en) 2020-07-03 2020-07-03 Voice data real-time storage system

Country Status (1)

Country Link
CN (1) CN111935220B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100115121A1 (en) * 2008-10-29 2010-05-06 Edgeware Ab (Se) Method and an apparatus for data recording and streaming
CN103916443A (en) * 2013-01-07 2014-07-09 上海博路信息技术有限公司 Method for sharing mobile phone sound recording capacity
CN204407007U (en) * 2015-01-15 2015-06-17 北京纽曼腾飞科技有限公司 The recording pen of two storage
CN207637497U (en) * 2017-09-05 2018-07-20 深圳市安特保科技有限公司 A kind of recording pen
CN210743593U (en) * 2019-11-22 2020-06-12 深圳动听汽车经纪有限公司 Multifunctional recording pen and recording pen system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100115121A1 (en) * 2008-10-29 2010-05-06 Edgeware Ab (Se) Method and an apparatus for data recording and streaming
CN103916443A (en) * 2013-01-07 2014-07-09 上海博路信息技术有限公司 Method for sharing mobile phone sound recording capacity
CN204407007U (en) * 2015-01-15 2015-06-17 北京纽曼腾飞科技有限公司 The recording pen of two storage
CN207637497U (en) * 2017-09-05 2018-07-20 深圳市安特保科技有限公司 A kind of recording pen
CN210743593U (en) * 2019-11-22 2020-06-12 深圳动听汽车经纪有限公司 Multifunctional recording pen and recording pen system

Also Published As

Publication number Publication date
CN111935220B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
US10728656B1 (en) Audio device and audio processing method
KR20140132660A (en) Method and apparatus for supplying electric power to active noise cancellation earphone using power supply of electronic device
CN210298030U (en) Multifunctional charging bin set of TWS (two way communication) Bluetooth headset
CN104540061A (en) Bluetooth headset recording method and device
CN104883641A (en) Mobile terminal of realizing high fidelity music play
CN204991146U (en) Recording pen with make a video recording with a key send function
CN209184746U (en) Microphone system
CN111935220B (en) Voice data real-time storage system
CN209627629U (en) A kind of TWS bluetooth headset with audio playing function
CN103199602A (en) Mobile terminal charging system and mobile terminal charging method
CN209747122U (en) Portable digital recorder
CN201035807Y (en) Heartbeat sphygmus simulator of anthropomorphic robot
US11936715B2 (en) Multi-machine wireless synchronous recorder, multi-track recording system and method
CN204013994U (en) Earphone
CN207321519U (en) A kind of intelligent sound box based on wireless communication module
CN203243502U (en) Mobile power supply portable sound equipment
CN209747132U (en) Multi-machine wireless synchronous split-track recorder
CN210743592U (en) Intelligent translation pen
CN111464916A (en) Screen-separated external sound card
CN202339715U (en) Novel wireless MP3 (moving picture experts group audio layer-3)
CN207706345U (en) Terminal is played simultaneously in a kind of multimedia cloud
CN105049983A (en) Wireless loudspeaker box based on WIFI and power amplifier overload protection
CN214708047U (en) Multifunctional power amplifier
CN204066712U (en) A kind of smart bluetooth electronic keyboard system
CN204810440U (en) Hearing is with directly carving terminal

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