CN101778185A - On-line recording method and device of mobile terminal - Google Patents

On-line recording method and device of mobile terminal Download PDF

Info

Publication number
CN101778185A
CN101778185A CN200910045206A CN200910045206A CN101778185A CN 101778185 A CN101778185 A CN 101778185A CN 200910045206 A CN200910045206 A CN 200910045206A CN 200910045206 A CN200910045206 A CN 200910045206A CN 101778185 A CN101778185 A CN 101778185A
Authority
CN
China
Prior art keywords
code stream
channel
voice
online
speech
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
CN200910045206A
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.)
Leadcore Technology Co Ltd
Original Assignee
Leadcore 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 Leadcore Technology Co Ltd filed Critical Leadcore Technology Co Ltd
Priority to CN200910045206A priority Critical patent/CN101778185A/en
Publication of CN101778185A publication Critical patent/CN101778185A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention relates to an on-line recording method and a device of a mobile terminal. Differing from a traditional recording mode of firstly mixing sounds, then encoding and finally saving as a document, in the method and the device of the invention, uplink speech is directly encoded to obtain a first code stream, the first code stream and a downlink signal channel are decoded to obtain a second code stream, the second code stream is converted into a two-channel format document, wherein each channel corresponds to one code stream, and then the two-channel format document is saved. The mode can avoid using a speech encoder in the recoding process, so the mode is easy to realize, has little resource consumption, can no influence normal connection quality and video quality, is beneficial to balancing the processing capability of a processor and can lower the energy consumption of the terminal.

Description

The online way of recording and the device of portable terminal
Technical field
The present invention relates to voice signal and handle, relate in particular to a kind of online way of recording and device of portable terminal.
Background technology
The online recording of voice is meant that portable terminal records the voice of uplink and downlink simultaneously and save as local file in order to playing later in the process of conversation.Because basic identical when plain old telephone and visual telephone to the processing procedure of up-downgoing voice signal, therefore said here " online recording " both comprised " the online recording " when beating plain old telephone, also comprise " online recording " when making visual telephone.
Fig. 1 has described the implementation of the online recording of existing voice.In up link, analog voice becomes digital speech after handling through ADC (analog to digital converter) 102, digital speech strengthens module 104 at voice and sends to speech coder 106 later on the compressed information amount through a series of enhancing processing with the quality that improves voice, encodes after launched by antenna through channel encoder 108 at last; In down link, the digital signal that receives is at first through channel decoder 118 decodings, 116 decodings form linear PCM (pulse code modulation through Voice decoder then, pulse code modulation) signal, the PCM signal strengthens module 114 through voice and carries out the voice enhancement process and pass through DAC (digital to analog converter) 112 later on and play back.Recording is after PCM voice signal before the ascending voice coding and the process of the PCM signal before descending DAC mixer 122 audio mixings, encode through speech coder 124 again, need the canned data amount with minimizing, in memory 126, save as file at last and wait for later broadcast.
This shows that the online recording implementation of traditional voice needs two speech coders, this resource for communication process terminal anxiety is a very big burden.Table 1 provides the occupation condition of an encoding and decoding speech (AMR encoding and decoding) of a typical platform, as can be seen, the resource consumption of speech coder generally is 6 to 7 times of decoder, so Duo resource requirement is a very big burden for terminal, particularly when dialing visual telephone, even may be because normal conversation of inadequate resource influence or video quality.
The AMR resource consumption situation of the existing platform of table 1
Module Amount of calculation (MCPS)
The AMR encoder ??14.1
The AMR decoder ??2.2
Summary of the invention
In view of this, technical problem to be solved by this invention provides the online way of recording of portable terminal and the device that a kind of resource is saved.
The present invention solves the problems of the technologies described above the online way of recording that the technical scheme that adopts is a kind of portable terminal of proposition, may further comprise the steps.At first, second code stream that obtains behind first code stream that obtains after the up speech coding and the descending channel-decoding is converted to a pair of channel format file, wherein each sound channel is with wherein a code stream is corresponding.Secondly, preserve described dual track formatted file.
On the other hand, the present invention proposes a kind of online recording device of portable terminal, comprises a performance element and a memory cell.Second code stream that obtains behind first code stream that this performance element obtains after with up speech coding and the descending channel-decoding is converted to a pair of channel format file, and wherein each sound channel is with wherein a code stream is corresponding.This memory cell is in order to preserve described dual track formatted file.
The present invention is owing to adopt above technical scheme, make it compared with prior art, needn't re-use extra speech coder, thereby resource consumption is little, it is simple to realize, can not impact, in addition, also help the disposal ability of Balance Treatment device normal speech quality and video quality, and reduce the terminal energy consumption, thereby more power saving.
Description of drawings
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated, wherein:
Fig. 1 illustrates traditional online recording device structured flowchart.
Fig. 2 illustrates the online recording device of one embodiment of the invention.
Fig. 3 illustrates the online way of recording flow process of one embodiment of the invention.
Fig. 4 illustrates dual track playing flow according to an embodiment of the invention.
Fig. 5 illustrates monophony playing flow according to an embodiment of the invention.
Embodiment
For foregoing invention purpose, feature, the advantage of the embodiment of the invention can be become apparent, cooperate appended graphicly, be described in detail below:
Please refer to shown in Figure 2ly, Fig. 2 illustrates the online recording device of one embodiment of the invention.With traditional process similarly be, in up link, analog voice is converted to digital speech after handling through ADC (analog to digital converter) 202, digital speech strengthens module 204 at voice and delivers to speech coder 206 later on the compressed information amount through a series of enhancing processing with the quality that improves voice, the speech coder 206 outputs first code stream C1 is at last through launching through antenna after channel encoder 208 codings.In addition, in down link, the digital signal that receives is at first through channel decoder 218 decodings, obtain the second code stream C2,216 decodings form linear PCM (pulse code modulation through Voice decoder then, pulse code modulation) signal, the PCM signal strengthens module 214 through downlink voice and carries out the voice enhancement process and pass through DAC (digital to analog converter) 212 later on and play back.
Continue with reference to shown in Figure 2, online recording device 220 of the present invention comprises a performance element 222 and a memory cell 224.Wherein performance element 222 is connected to the output of above-mentioned speech coder 206 and the output of channel-decoding preceding 218, directly is converted to a pair of channel format file (including but not limited to the DAT file) in order to the second code stream C2 that obtains behind the first code stream C1 that will obtain after the up speech coding and the descending channel-decoding.This dual track form for example comprises L channel and R channel, and wherein each sound channel is with wherein a code stream is corresponding.For instance, the code stream of the L channel corresponding ascending voice of meeting (being the machine main speech), R channel can be play the code stream of downlink voice (being the other side's voice).In one embodiment, performance element 222 can be a hardware circuit, or the program product that moves in a processor, or is solidificated in the firmware in the memory.
In the present invention, need to carry out following transfer process with reference to relevant standard.For example, if the voice coding/decoding adopts the AMR encoding and decoding, need be a dual track file according to the normative translation of RFC3267 standard 5.2 joints so, so that when playing, can restore the voice dialogue situation in the communication process.Certainly, for different code encoding/decoding modes, the standard of its preservation also is different, and those skilled in the art are when the preservation standard that can select adaptation according to code encoding/decoding mode.
Accept above-mentionedly, memory cell 224 is connected to performance element 222, in order to preserve the dual track formatted file, including but not limited to the DAT file.In one embodiment, memory cell 224 can be including but not limited to flash memory (Flash ROM).
On the other hand, embodiments of the invention propose a kind of online way of recording, and its flow process comprises the following steps: with reference to Fig. 2 and shown in Figure 3
Step S1: the second signal bit stream C2 of (after being channel-decoding) before first signal bit stream C1 after the up speech coding and the downlink voice decoding is converted to dual track formatted file DAT;
Step S2: preserve above-mentioned dual track formatted file DAT in memory cell.
The broadcast of above-mentioned dual track formatted file need play back by suitable manner, with the situation of the both sides dialogue of reproduction communication process.Be illustrated for example respectively below.
If portable terminal supports dual track to play, and then can adopt playing flow as shown in Figure 4.At first, read file (step S11), carry out L channel and R channel tone decoding (step S12, S13) respectively, afterwards, carry out DAC conversion (step S14, S15) respectively, play (step S16, S17) by L channel and right channel loudspeaker respectively at last.For instance, L channel can be play ascending voice, and R channel can be play downlink voice.
If portable terminal does not support dual track to play, and then can adopt playing flow as shown in Figure 5.At first, read file (step S21), carry out L channel and R channel tone decoding (step S22, S23) respectively, afterwards, carry out audio mixing (step S24), carry out DAC conversion (step S25) again, carry out monophony at last and play (step S26).At this moment, ascending voice and downlink voice are all by same loudspeaker plays.
In sum, the online recording that the present invention uses needing to avoid two speech coders in communication process, only need adopt the speech code stream of uplink and downlink suitable manner to preserve and get final product.This mode realizes that simply resource consumption is little, can avoid causing inadequate resource and influencing normal conversation in the process of recording, particularly when making visual telephone.The disposal ability that helps the Balance Treatment device, and can reduce the terminal energy consumption and reach the effect of power saving.
Though the present invention discloses as above with preferred embodiment; right its is not in order to qualification the present invention, any those skilled in the art, without departing from the spirit and scope of the present invention; when can doing a little modification and perfect, so protection scope of the present invention is when with being as the criterion that claims were defined.

Claims (5)

1. the online way of recording of a portable terminal is characterized in that, may further comprise the steps:
Second code stream that obtains behind first code stream that obtains after the up speech coding and the descending channel-decoding is converted to a pair of channel format file, and wherein each sound channel is with wherein a code stream is corresponding; And
Preserve described dual track formatted file.
2. the online recording device of a portable terminal is characterized in that, comprising:
One performance element is converted to a pair of channel format file with second code stream that obtains behind first code stream that obtains after the up speech coding and the descending channel-decoding, and wherein each sound channel is with wherein a code stream is corresponding; And
One memory cell is in order to preserve described dual track formatted file.
3. online recording device as claimed in claim 2 is characterized in that described performance element is a hardware circuit.
4. online recording device as claimed in claim 2 is characterized in that, described performance element is the program product that moves in a processor.
5. online recording device as claimed in claim 2 is characterized in that, described performance element is the firmware that is solidificated in the memory.
CN200910045206A 2009-01-13 2009-01-13 On-line recording method and device of mobile terminal Pending CN101778185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910045206A CN101778185A (en) 2009-01-13 2009-01-13 On-line recording method and device of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910045206A CN101778185A (en) 2009-01-13 2009-01-13 On-line recording method and device of mobile terminal

Publications (1)

Publication Number Publication Date
CN101778185A true CN101778185A (en) 2010-07-14

Family

ID=42514506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910045206A Pending CN101778185A (en) 2009-01-13 2009-01-13 On-line recording method and device of mobile terminal

Country Status (1)

Country Link
CN (1) CN101778185A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348007A (en) * 2011-09-27 2012-02-08 宇龙计算机通信科技(深圳)有限公司 Method and mobile terminal of realizing bidirectional call recording in packet switched domain
CN103338293A (en) * 2013-05-09 2013-10-02 毛秀允 Binaural recording device based on intelligent recording telephone, and recording method thereof
CN104143325A (en) * 2014-07-18 2014-11-12 腾讯科技(深圳)有限公司 Method and system for switching accompaniment/original audio data
CN106412767A (en) * 2016-11-29 2017-02-15 维沃移动通信有限公司 Sound mixing method and sound mixing circuit
CN113556421A (en) * 2020-04-24 2021-10-26 成都鼎桥通信技术有限公司 Recording data processing method, recording data processing device and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348007A (en) * 2011-09-27 2012-02-08 宇龙计算机通信科技(深圳)有限公司 Method and mobile terminal of realizing bidirectional call recording in packet switched domain
CN102348007B (en) * 2011-09-27 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Method and mobile terminal of realizing bidirectional call recording in packet switched domain
CN103338293A (en) * 2013-05-09 2013-10-02 毛秀允 Binaural recording device based on intelligent recording telephone, and recording method thereof
CN103338293B (en) * 2013-05-09 2015-09-16 毛秀允 Based on binaural recording equipment and the way of recording thereof of intelligent telegraphone
CN104143325A (en) * 2014-07-18 2014-11-12 腾讯科技(深圳)有限公司 Method and system for switching accompaniment/original audio data
CN106412767A (en) * 2016-11-29 2017-02-15 维沃移动通信有限公司 Sound mixing method and sound mixing circuit
CN106412767B (en) * 2016-11-29 2020-03-31 维沃移动通信有限公司 Sound mixing method and sound mixing circuit
CN113556421A (en) * 2020-04-24 2021-10-26 成都鼎桥通信技术有限公司 Recording data processing method, recording data processing device and storage medium
CN113556421B (en) * 2020-04-24 2023-01-24 成都鼎桥通信技术有限公司 Recording data processing method, recording data processing device and storage medium

Similar Documents

Publication Publication Date Title
USRE40778E1 (en) Mobile radio telephone capable of recording/reproducing voice signal and method for controlling the same
JP3235654B2 (en) Wireless telephone equipment
US8195470B2 (en) Audio data packet format and decoding method thereof and method for correcting mobile communication terminal codec setup error and mobile communication terminal performance same
CN1732512A (en) Method and device for compressed-domain packet loss concealment
CN101778185A (en) On-line recording method and device of mobile terminal
KR20060107120A (en) Speech codec switching method for mobile communication terminal
CN1137546C (en) N-channel transmission, compatible with 2-channel transmission and 1-channel transmission
WO2005096530A1 (en) Communication method, transmitting method and apparatus, and receiving method and apparatus
KR100506224B1 (en) Noise controlling apparatus and method in mobile station
CN105869647B (en) A kind of primary DSD audio-frequency decoding method of smart phone, system and smart phone
KR970072776A (en) Telephone system and speech coding / decoding method
CN100446519C (en) Handset for playing music in calling course and its method
JP2004120432A (en) Mobile communication terminal
JP3193515B2 (en) Voice coded communication system and apparatus therefor
US9070362B2 (en) Audio quantization coding and decoding device and method thereof
CN206432998U (en) A kind of multipurpose digital-analog audio frequency broadcast front end
JP3130834B2 (en) Mobile phone
KR100723679B1 (en) Method for Delivering Audio Bitstream in Ring Back Tone Section by Using Voice Slot Data Structure of Code Division Multiple Access Mobile Communication Network
KR19990045553A (en) Telephone device and voice recording method
JPH09139978A (en) Sound signal transmitter-receiver
JP2004120431A (en) Mobile communication terminal
JPS62117421A (en) Sound encoding system
KR100760905B1 (en) Method of processing audio signals for improving the quality of output audio signal which is transferred to subscriber?s terminal over network and audio signal pre-processing apparatus of enabling the method
JP2676046B2 (en) Digital voice transmission system
JPH09298591A (en) Voice coding device

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

Open date: 20100714