CN101505333A - Mobile terminal having direct recording function and direct recording method thereof - Google Patents

Mobile terminal having direct recording function and direct recording method thereof Download PDF

Info

Publication number
CN101505333A
CN101505333A CNA2008102072085A CN200810207208A CN101505333A CN 101505333 A CN101505333 A CN 101505333A CN A2008102072085 A CNA2008102072085 A CN A2008102072085A CN 200810207208 A CN200810207208 A CN 200810207208A CN 101505333 A CN101505333 A CN 101505333A
Authority
CN
China
Prior art keywords
straight
digital signal
portable terminal
audio
input
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
CNA2008102072085A
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.)
Shanghai Wingtech Electronic Technology Co Ltd
Original Assignee
Shanghai Wingtech Electronic 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 Shanghai Wingtech Electronic Technology Co Ltd filed Critical Shanghai Wingtech Electronic Technology Co Ltd
Priority to CNA2008102072085A priority Critical patent/CN101505333A/en
Publication of CN101505333A publication Critical patent/CN101505333A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a mobile terminal with a direct recording function, which comprises a direct recording input port used for connecting external audio equipment, a digital signal processor used for processing received audio signals, a baseband chip for detecting the access of the external audio equipment, a program memory providing a judgment program detecting the external audio access, and a memory for storing direct recording results. The invention also relates to a direct recording method using the terminal, which comprises the following steps that: a plug of the external audio equipment is inserted to access the direct recording input port; the electrical level of a universal input and output port on the baseband chip changes from high to low, resulting in interruption; the digital signal processor receives an inputted audio analog signal and converts the received audio analog signal into a digital signal by an internal ADC and puts the digital signal into an internal FIFO queue; and a file encoder of the digital signal processor takes out the digital signal from the FIFO queue, executes file encoding, and saves the encoded data to the memory.

Description

Portable terminal and straight recording method thereof with straight recording function
Technical field
The present invention relates to a kind of portable terminal, relate in particular to a kind of straight recording method that has the portable terminal of straight recording function and relate to this portable terminal.
Background technology
Along with the high speed development of electronic technology, the communication technology and computer technology, portable terminal, as mobile phone etc., disposal ability is increasing, and function is more and more, and cost is more and more lower, therefore obtains popularizing widely.
Most mobile phones have had functions such as photograph, MP3 broadcast.Straight record (Line In) input function has erected the bridge of many portable terminals and other many audio frequency apparatuses.
Straight record is exactly the audio frequency apparatus with other, exports such as the audio frequency of equipment such as walkman, CD, computer, MP3 player to be connected with the straight record port of mobile phone, just its in progress music content can be recorded and preserved, for repeat playing.
Because the MP3 format file has the characteristics that tonequality is good, compression ratio is high, be easy to play, and present most of mobile phone is all supported the MP3 playing function, the mp3 file that records, can on the mobile phone of supporting the MP3 broadcast, play, also can copy other equipment to, on other has the mobile phone, MP3 player, PC of MP3 playing function, play by transfer of data.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method of directly recording with portable terminal and this portable terminal of straight recording function.
The present invention solves above-mentioned technical problem by such technical scheme:
A kind of portable terminal with straight recording function, detects baseband chip that outer audio equipment inserts, provides and detect external audio and insert the program storage of determining program and the memory of depositing straight record result the digital signal processor that comprise the straight record input port that is used to connect outer audio equipment, is used for the audio signal that receives is handled.
As a kind of improvement of the present invention, this terminal also comprises audio frequency power amplifier and loud speaker.
As a kind of improvement of the present invention, directly record and comprise some pins in the input port, wherein a pin is connected to baseband chip, and is grounded when externally audio frequency apparatus inserts, and whether detect in order to baseband chip has outer audio equipment to insert.
As a kind of improvement of the present invention, on the pin of straight record input port connection external audio left and right acoustic channels, connect inductance to eliminate electromagnetic interference.
As a kind of improvement of the present invention, the inductance of connection is a magnetic bead.
As a kind of improvement of the present invention, this terminal also comprises the analog switch that switches straight record input channel.
The present invention provides a kind of straight recording method that utilizes the above-mentioned portable terminal with straight recording function in addition, and this method comprises the steps: that the plug that inserts outer audio equipment inserts straight record input port; The level of the universal input and output port on the baseband chip is produced and is interrupted by high step-down; Digital signal processor receives the audio analog signals of input, and the simulated audio signal that receives is converted to digital signal and puts into its inner First Input First Output by its internal mode number converter; The document No. device of digital signal processor takes out digital signal and execute file coding from First Input First Output, encoded data is saved in the memory.
Compared with prior art, the present invention has the following advantages: the portable terminal user can transcribe multiple external sound source, comprise CD, VCD, DVD, Walkman, sound equipment, TV, computer sound card or the like, as long as the external equipment of band source of sound output all can be transcribed into the file of MP3 format or other form with source of sound by straight record input port, appreciate repeatedly after convenient.
Description of drawings
Fig. 1 is the system architecture diagram that the present invention has the portable terminal of straight recording function.
Fig. 2 is the flow chart that the present invention directly records into mp3 file.
Fig. 3 is the peripheral circuit diagram that the present invention directly records input port.
Fig. 4 is that the present invention utilizes analog switch to select the connection layout of straight record passage.
Embodiment
Describe the specific embodiment of the present invention in detail below in conjunction with accompanying drawing.
Portable terminal with straight recording function of the present invention as mobile phone or other portable mobile entertainment equipment, is joined shown in Figure 1ly, and it has general straight record input port 10, baseband chip 11, program storage 12, digital signal processor 13 and memory 14.
Straight record input port 10, as earphone socket, this directly records the audio signal that input port 10 can be introduced outer audio equipment.
Baseband chip 11 (Base Band IC), has universal input and output port (GPIO, General PurposeInput Output) realizes that the interruption that outer audio equipment inserts detects, if the equipment that detected inserts, judge by the judge module of baseband chip 11 control stores in program storage 12 whether described portable terminal has opened straight recording function, if opened sound-recording function this moment, digital signal processor will be recorded into the MP3 format file to the audio signal content of outer audio equipment input, and is kept in the memory 14.
In addition, portable terminal of the present invention can also be provided with audio frequency power amplifier 15 and loud speaker 16, so that self plays the mp3 file that records.
Please join Fig. 2, the step of on the portable terminal audio signal of outer audio equipment input being recorded into mp3 file specifically is as follows:
1. digital signal processor receives the analog signal of outer audio equipment;
2. digital signal processor converts the simulated audio signal that receives digital signal to and puts into its inner First Input First Output (FIFO, First In First Out) by its internal mode number converter (ADC, Analog to Digital Convertor);
3. the MP3 encoder of digital signal processor takes out digital signal and carries out the MP3 coding in First Input First Output;
4. digital signal processor is saved in encoded data in the memory.
The straight recording method of portable terminal of the present invention, universal input and output port by baseband chip 11 detects whether the straight record of plug (the audio frequency output plug of external audio playback equipment) insertion input port 10 is arranged earlier, if having detected plug inserts, whether then further detect the straight recording function of portable terminal opens, under the situation that straight recording function is opened, the audio recording of importing is become mp3 file by digital signal processor.
Particularly, please in the lump with reference to ginseng Fig. 3, the straight record input port 10 and the peripheral circuit thereof that have the portable terminal of straight recording function for the present invention, it is example that present embodiment has been selected the common receiver J-Horner with straight recording function, socket is the interior part of frame of broken lines among the figure, Pin1~the Pin6 that is indicated among the figure is the inside pin with receiver J-Horner of straight recording function, Pin1 and Pin4 be the left and right acoustic channels input of attachment plug respectively, Pin5 ground connection, Pin6 is a vacant state when not having plug to insert, when plug inserts and Pin5 short circuit, i.e. ground connection; Pin2 and Pin3 do not use.Pin6 is connected to the universal input and output port that is configured to import on the baseband chip 11 by resistance R 3, is pulled to chip operating voltage VDDIO by R2 simultaneously.When not having plug to insert, the universal input and output port of baseband chip 11 is drawn high by R3 and R2, baseband chip 11 detects high level and is " 1 ", when plug inserts, Pin6 is connected to Pin5, i.e. ground connection, and baseband chip 11 detects low level and is " 0 ", produce and interrupt, the number of notifications word signal processor begins recording.
Can accept electromagnetic equipment for mobile phone etc., its antenna may be introduced radiation by straight record input port 10, bring influence to audio signal.Be to eliminate the radiation that antenna is introduced from straight record input port, i.e. electromagnetic interference, tandem electric inductance L1, L2 on left and right acoustic channels, and meet capacitor C 3, C4, simultaneously, on Pin1, Pin4, Pin6 to ground connection and meet piezo-resistance FV3, FV1 and FV2, to improve the electrostatic discharge (ESD) performance.In present embodiment, inductance L 1 and L2 are magnetic bead, and high-frequency noise and spike that magnetic bead is used to suppress on holding wire, the power line disturb, and also have the ability that absorbs electrostatic pulse.Magnetic bead has very high resistivity and magnetic permeability, he is equivalent to resistance and inductance series connection, but resistance value and inductance value are all with frequency change, than common inductance better High frequency filter characteristic is arranged, when high frequency, present resistive, so can in quite wide frequency range, keep higher impedance, thereby improve the frequency modulation filter effect.As power filter, can use inductance.But the circuit symbol of magnetic bead be exactly use as can be seen on the inductance model be magnetic bead on circuit function, magnetic bead is that principle is identical with inductance, just the frequency characteristic difference.
In present embodiment, the input of total two-way left and right acoustic channels in actual use, can distribute as the case may be.
Straight recording method of the present invention except supporting the straight record of audio frequency input, is also supported the recording of the up-downgoing voice pathway in frequency modulation(FM) (FM) recording, the mobile phone communication process etc.In order to realize these recording, need add analog switch 17 and switch, could satisfy the demand of recording.What as shown in Figure 4, analog switch 17 was selected is the dpdt double-pole double-throw (DPDT) audio frequency switching analoging switch that is adapted at using on the portable terminal.The two-way input of analog switch 17 connects left and right acoustic channels LINEIN-L, the LINEIN-R input and warbled left and right acoustic channels FM-L, the FM-R input of the straight record of audio frequency input respectively, the judge module of application program is controlled the switching of analog switch two-way input according to different operating positions, when carrying out audio frequency input recording, left and right acoustic channels LINEIN-L, the LINEIN-R of the straight record of audio frequency input are connected to digital signal processor 13, when carrying out the frequency modulation(FM) recording, then FM-L, FM-R are connected to digital signal processor 13.
The method of implementing straight record by above-mentioned framework specifically comprises following several steps:
1, insert straight record input port as the connection plug that connects outer audio equipment, during as receiver J-Horner, the state (level) that the universal input and output port that detects is inserted in conduct on the baseband chip is produced and is interrupted by high step-down;
2, baseband chip control analog switch is connected the path of straight record input, and the number of notifications word signal processor begins the content of input is recorded into the MP3 format file; If only use single straight record path, then do not need analog switch;
3, the digital signal processor audio input interface receives the audio analog signals of input, and the simulated audio signal that receives is converted to digital signal and puts into its inner First Input First Output by its internal mode number converter;
4, the MP3 encoder of digital signal processor takes out digital signal and carries out the MP3 coding from First Input First Output, and encoded data is saved in the memory.
The hardware of the platform motherboard of present embodiment can select for use SC6600D as baseband chip, selects for use AIT706 as digital signal processor, selects for use K5L2731CAM as program storage, selects for use PI3A223C as analog switch.
In addition, except MP3 format, can record into other form, as long as the corresponding document No. device of conversion according to different demands.
The above only is a better embodiment of the present invention; protection scope of the present invention is not exceeded with above-mentioned execution mode; as long as the equivalence that those of ordinary skills do according to disclosed content is modified or changed, all should include in the protection range of putting down in writing in claims.

Claims (9)

1. portable terminal with straight recording function is characterized in that: the digital signal processor that this terminal comprises the straight record input port that is used to connect outer audio equipment, be used for the audio signal that receives is handled, detect baseband chip that outer audio equipment inserts, provide and detect external audio and insert the program storage of determining program and the memory of depositing straight record result.
2. the portable terminal with straight recording function according to claim 1 is characterized in that: this terminal also comprises audio frequency power amplifier and loud speaker.
3. the portable terminal with straight recording function according to claim 1, it is characterized in that: directly record and comprise some pins in the input port, wherein a pin is connected to baseband chip, and whether be grounded when externally audio frequency apparatus inserts, detecting in order to baseband chip has outer audio equipment to insert.
4. the portable terminal with straight recording function according to claim 3 is characterized in that: connect inductance to eliminate electromagnetic interference on the pin of straight record input port connection external audio left and right acoustic channels.
5. the portable terminal with straight recording function according to claim 4 is characterized in that: the inductance of connection is a magnetic bead.
6. the portable terminal with straight recording function according to claim 1 is characterized in that: this terminal also comprises the analog switch that switches straight record input channel.
7. one kind is utilized the described straight recording method with portable terminal of straight recording function of claim 1, and it is characterized in that: this method comprises the steps:
The plug that inserts outer audio equipment inserts straight record input port;
The level of the universal input and output port on the baseband chip is produced and is interrupted by high step-down;
Digital signal processor receives the audio analog signals of input, and the simulated audio signal that receives is converted to digital signal and puts into its inner First Input First Output by its internal mode number converter;
The document No. device of digital signal processor takes out digital signal and execute file coding from First Input First Output, encoded data is saved in the memory.
8. straight recording method according to claim 7 is characterized in that: baseband chip is connected to an analog switch, in order to switch straight record input channel.
9. straight recording method according to claim 7 is characterized in that: the document No. device is the MP3 encoder.
CNA2008102072085A 2008-12-18 2008-12-18 Mobile terminal having direct recording function and direct recording method thereof Pending CN101505333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008102072085A CN101505333A (en) 2008-12-18 2008-12-18 Mobile terminal having direct recording function and direct recording method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008102072085A CN101505333A (en) 2008-12-18 2008-12-18 Mobile terminal having direct recording function and direct recording method thereof

Publications (1)

Publication Number Publication Date
CN101505333A true CN101505333A (en) 2009-08-12

Family

ID=40977396

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102072085A Pending CN101505333A (en) 2008-12-18 2008-12-18 Mobile terminal having direct recording function and direct recording method thereof

Country Status (1)

Country Link
CN (1) CN101505333A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025836A (en) * 2010-12-23 2011-04-20 惠州Tcl移动通信有限公司 Mobile terminal and recording device thereof
CN105516862A (en) * 2015-11-27 2016-04-20 福州瑞芯微电子股份有限公司 Audio frequency transcription and wireless distribution device and method
CN111381798A (en) * 2018-12-28 2020-07-07 广州市百果园信息技术有限公司 Audio processing method, device, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW572307U (en) * 2003-05-07 2004-01-11 Phison Electronics Corp Wireless speech device with MP3 codec/recording chip
CN1774141A (en) * 2004-11-08 2006-05-17 佛山市顺德区顺达电脑厂有限公司 Detecting device for ear phone with speeking function and operating method thereof
CN101287202A (en) * 2008-06-06 2008-10-15 嘉兴闻泰通讯科技有限公司 Earphone detecting method for mobile terminal
CN101299845A (en) * 2008-05-23 2008-11-05 嘉兴闻泰通讯科技有限公司 Method for sound-recording FM on mobile terminal into MP3 file and mobile terminal
CN101316422A (en) * 2008-07-01 2008-12-03 中兴通讯股份有限公司 Mobile terminal and method for working as audio apparatus speaker

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW572307U (en) * 2003-05-07 2004-01-11 Phison Electronics Corp Wireless speech device with MP3 codec/recording chip
CN1774141A (en) * 2004-11-08 2006-05-17 佛山市顺德区顺达电脑厂有限公司 Detecting device for ear phone with speeking function and operating method thereof
CN101299845A (en) * 2008-05-23 2008-11-05 嘉兴闻泰通讯科技有限公司 Method for sound-recording FM on mobile terminal into MP3 file and mobile terminal
CN101287202A (en) * 2008-06-06 2008-10-15 嘉兴闻泰通讯科技有限公司 Earphone detecting method for mobile terminal
CN101316422A (en) * 2008-07-01 2008-12-03 中兴通讯股份有限公司 Mobile terminal and method for working as audio apparatus speaker

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025836A (en) * 2010-12-23 2011-04-20 惠州Tcl移动通信有限公司 Mobile terminal and recording device thereof
CN102025836B (en) * 2010-12-23 2015-07-29 惠州Tcl移动通信有限公司 A kind of mobile terminal and recording device thereof
CN105516862A (en) * 2015-11-27 2016-04-20 福州瑞芯微电子股份有限公司 Audio frequency transcription and wireless distribution device and method
CN111381798A (en) * 2018-12-28 2020-07-07 广州市百果园信息技术有限公司 Audio processing method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
US9031253B2 (en) Plug insertion detection
CN101841588B (en) Audio interface device and electronic device using same
CN101729958A (en) Audio frequency output device
US11431181B2 (en) Wireless sound output device with charging function
CN104267924A (en) Mobile terminal and audio processing method thereof
CN106126165B (en) A kind of audio stream processing method and mobile terminal
CN104113816A (en) Electronic device and earphone detection method
CN105872909B (en) A kind of method and device for realizing Audio Signal Processing
CN102355518A (en) Mobile phone and audio processing method thereof
US20110058694A1 (en) Audio Signal Switching Apparatus
CN101505333A (en) Mobile terminal having direct recording function and direct recording method thereof
CN109343820A (en) A kind of control method, device and terminal that audio plays
CN105142072A (en) Audio apparatus with externally connected player and audio playing method thereof
CN201134257Y (en) On-vehicle DVD system
CN102361505B (en) Electronic equipment and method for identifying external power amplification module based on MICRO-USB interface
CN107705794A (en) Intensified multifunction digital audio frequency decoder
KR20010028354A (en) Mp3 player for car audio
CN214228452U (en) Audio circuit and electronic equipment
CN106454628A (en) Method and terminal of controlling hifi function
CN107104642A (en) A kind of circuit structure for being used to amplify audio signal
CN108632696B (en) FM earphone seat circuit, audio terminal and control method thereof
CN106488044B (en) Mobile phone and system for mobile sound card and implementation method
CN201233594Y (en) Test device for sound interface
CN1595960A (en) Digital television set with added USB interface
EP1696313B9 (en) An audio signal switching apparatus

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: 20090812