CN1564618A - Method of synchronously playing image data and speech data in cell phone - Google Patents

Method of synchronously playing image data and speech data in cell phone Download PDF

Info

Publication number
CN1564618A
CN1564618A CN200410024001.6A CN200410024001A CN1564618A CN 1564618 A CN1564618 A CN 1564618A CN 200410024001 A CN200410024001 A CN 200410024001A CN 1564618 A CN1564618 A CN 1564618A
Authority
CN
China
Prior art keywords
data
voice data
station location
location marker
audio
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
CN200410024001.6A
Other languages
Chinese (zh)
Other versions
CN1290368C (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.)
Hisense Group Co Ltd
Qingdao Hisense Communication Co Ltd
Original Assignee
Hisense Group Co Ltd
Qingdao Hisense Communication 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 Hisense Group Co Ltd, Qingdao Hisense Communication Co Ltd filed Critical Hisense Group Co Ltd
Priority to CN200410024001.6A priority Critical patent/CN1290368C/en
Publication of CN1564618A publication Critical patent/CN1564618A/en
Application granted granted Critical
Publication of CN1290368C publication Critical patent/CN1290368C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The method is used in an electronic control system composed of the key-press, the display, the video cameral, the DSP, the micro phone, the speaker, the audio codes, the MPU and the memory. It includes following steps: the video cameral module collects image data and at same time sends a instruction to the audio collection module for starting audio collection; in the process of collection the image data positioning label and the audio data positioning label are set at fixed time, when the collection of image is finished the video cameral module sends a instruction to the audio module for stopping the collection of audio, the image data and audio data are separately saved in the memory; the mobile phone display the audio and video file, the video camera reads the image and audio data from memory and sends them into the image buffer and audio buffer; the image is displayed on the display screen and the sound is outputted by the speaker through decode and D/A conversion.

Description

The method of view data and voice data synchronous playing in the cell-phone camera
Technical field
The invention belongs to the mobile communication terminal technical field, more specifically to the method that realizes independent image data and independent voice data synchronous playing in the cell-phone camera function.
Background technology
Support in the mobile phone of camera function at present, its played file mode mainly can be divided into two kinds, a kind of mode is for to record and to play continuous picture file by camera and digital signal processor DSP chip, to reach animation effect, because this kind mode is not gathered and handled voice data,, the file of this mode belongs to noiseless animation so playing.Another be at the storage file be the image file of reference format, as MPEG4, WMV, WMA, WAV etc., can directly call standard library function during broadcast can realize, bigger but the shortcoming of this mode is that storage takes up room, processing time is longer, and cost is higher.
Summary of the invention
Purpose of the present invention, just be to solve in the camera mobile phone and can only record and play the continuous images file, the problem that does not have sound effect, provide a kind of mobile phone to increase acoustic processing and make view data and the method for voice data synchronous playing, this scheme need not to add any Streaming Media software kit and hardware facility, and only need are being recorded and broadcast makes and continuous image data and voice data are done respective handling gets final product, algorithm flow is simple, it is convenient to realize, it is less to take resource, and cost is lower.
For achieving the above object, the method of view data and voice data synchronous playing in the cell-phone camera, be operated in the electronic control system of forming by button, display, camera, digital signal processor, Mike, loud speaker, sound coder, microprocessor, memory, it is characterized in that it may further comprise the steps:
(1) photographing module begins acquisition of image data, sends the instruction notification sound module simultaneously and begins to gather voice data, and graph data station location marker and voice data station location marker regularly are set in the gatherer process;
(2) the photographing module acquisition of image data finishes, and sends the instruction notification sound module and stops to gather voice data, stores into view data and voice data in the memory respectively;
(3) mobile phone is play audio video interleaved, and reads image data and voice data from memory are stored in image processing buffering area and acoustic processing buffering area respectively;
(4) view data shows on display, voice data through decoding, D/A switch is by loudspeaker plays.
Regularly judge whether the station location marker of view data and voice data is identical in the playing process, if it is inequality, then according to view data station location marker upgrade the current location of voice data, and obtain the initial address of new voice data according to new station location marker.
Described image data process, the station location marker of view data and voice data are to be provided with once in per 5 seconds.
Description of drawings
Below in conjunction with drawings and Examples the present invention is further described.
Fig. 1 is a hardware connection side block diagram of the present invention;
Fig. 2 is the flow chart of acquisition of image data of the present invention and voice data;
Fig. 3 is the flow chart of playing image data of the present invention and voice data;
Fig. 4 is the station location marker corresponding schematic diagram of view data among the present invention with voice data.
Embodiment
As shown in Figure 1: realize that with this invention relevant hardware mainly contains microprocessor, memory, digital signal processor DSP, Voice decoder, LCD display, camera, keyboard, Mike and loud speaker.During acquisition of image data, need the extraneous data of camera collection and give DSP transfer of data, DSP is presented at data on the LCD display by relevant register is set, DSP will change the value of related register when receiving the beginning record command, the beginning acquisition of image data also stores in the built-in buffer area of DSP, relies on DSP, camera, LCD display three to realize alternately for collection, broadcast, the demonstration of view data.Wherein dsp chip is brought into play central role, can directly control LCD display, be delivered directly to the data in the DSP buffer area in the LCD buffer area and display image data, the mutual of DSP and other modules then controlled and coordinated to the ModemCPU interface, makes the whole software orderly function.When gathering voice data, need Mike or band Mike's earphone to gather the external sound data and be sent to power amplification circuit, analog signal is converted to digital signal through A/D converter, by noise suppression and automatic gain control circuit, in encoder, carry out the voice digital signal coding, when playing sound data, decoder carries out tone decoding to the voice digital signal that receives, through automatic gain control circuit, be sent to D/A converter and be converted to analog signal, through power amplification circuit, from loud speaker or earphone, play out sound.Memory Controller Hub be responsible for view data and voice data in the memory storage, read and operation such as deletion, memory has ROM read-only memory and RAM random access memory, RAM is as buffer.Wherein microprocessor adopts the chip of the MSM5100 of Qualcomm model, and sound coder is the variable rate voice codec, adopts the chip of QDSP2000 model.
As shown in Figure 2: for the flow process of program in view data and the voice data gatherer process, step is as follows: the user sends the instruction of beginning image data by KeyEvent, digital signal processor DSP is provided with its register according to user instruction, and initialization, sound relevant program simultaneously reinitializes, photographing module begins acquisition of image data, send the instruction notification sound module simultaneously and begin to gather voice data, in the image data process according to the time clock correction come regularly to be provided with graph data station location marker and voice data station location marker, for example, the station location marker that the view data of gathering in 0 to 5 second is set is 1, and the view data of gathering in 6 to 10 seconds station location marker is set is 2.This view data station location marker is corresponding one by one with the station location marker that collects voice data, and the station location marker of gathering voice data in promptly 0 to 5 second is 1, and the voice data setting of gathering in 6 to 10 seconds is designated 2.The image data process finishes then to stop data collection the image that collects, voice data and station location marker data is kept in the memory.
As shown in Figure 3, the program step of synchronously playing images data and voice data is as follows: the user sends the beginning play instruction by KeyEvent, photographing module can read corresponding view data according to choosing of user in the storage device, voice data and relevant position are identified in the interim buffering area, after data read finishes, respectively view data and voice data are sent to the buffering area of digital signal processor DSP buffering area and voice decoder, DSP register and initialization sound interface are set, then begin playing image data and voice data as success, view data shows on display, voice data broadcasts by loud speaker, in the process of data playback, if the station location marker of current image date changes, whether whether the station location marker that will judge voice data so identical with the station location marker of current image date, if the identical station location marker as view data and voice data of station location marker all is 2, the value that then only changes station location marker continues to play, if station location marker is inequality to be 2 as the view data station location marker, and the voice data station location marker is 1, then when changing station location marker, upgrade voice data, reach the synchronous of view data and voice data.
As shown in Figure 4, independently view data and the voice data independently station location marker by between the two associates, and promptly the position sign is a sign of judging that image and sound is whether synchronous.Mobile phone adds a last station location marker after gathering one section view data, the blanking time of each section view data is identical, can take for 5 seconds, station location marker is taked natural number, 1,2,3 ... increase progressively successively, the collection of voice data and point of addition sign is corresponding one by one with view data, also is that the voice data in 5 seconds of every interval adds a station location marker.In audiovideography broadcast process, mobile phone judges regularly whether the station location marker of current image date is identical with the station location marker of current voice data, if the station location marker of current image date is identical with the station location marker of current voice data, then think the current audio-visual synchronous playing state that is in, if the station location marker of the station location marker of current image date and current voice data is inequality, think that then the current speech broadcast is asynchronous.To reset the station location marker of voice data according to the station location marker of view data playing under the out of step conditions program, and obtain the initial address of new voice data, to reach synchronous effect according to new station location marker.

Claims (3)

1. the method for view data and voice data synchronous playing in the cell-phone camera, be operated in the electronic control system of forming by button, display, camera, digital signal processor, Mike, loud speaker, sound coder, microprocessor, memory, it is characterized in that it may further comprise the steps:
(1) photographing module begins acquisition of image data, sends the instruction notification sound module simultaneously and begins to gather voice data, and graph data station location marker and voice data station location marker regularly are set in the gatherer process;
(2) the photographing module acquisition of image data finishes, and sends the instruction notification sound module and stops to gather voice data, stores into view data and voice data in the memory respectively;
(3) mobile phone is play audio video interleaved, and reads image data and voice data from memory are stored in image processing buffering area and acoustic processing buffering area respectively;
(4) view data shows on display, voice data through decoding, D/A switch is by loudspeaker plays.
2. the method for view data and voice data synchronous playing in the cell-phone camera according to claim 1, it is characterized in that regularly judging whether the station location marker of view data and voice data is identical in the playing process, if it is inequality, then according to view data station location marker upgrade the current location of voice data, and obtain the initial address of new voice data according to new station location marker.
3. the method for view data and voice data synchronous playing in the cell-phone camera according to claim 1, the station location marker that it is characterized in that described view data and voice data are to be provided with once in per 5 seconds.
CN200410024001.6A 2004-04-08 2004-04-08 Method of synchronously playing image data and speech data in cell phone Expired - Fee Related CN1290368C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200410024001.6A CN1290368C (en) 2004-04-08 2004-04-08 Method of synchronously playing image data and speech data in cell phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200410024001.6A CN1290368C (en) 2004-04-08 2004-04-08 Method of synchronously playing image data and speech data in cell phone

Publications (2)

Publication Number Publication Date
CN1564618A true CN1564618A (en) 2005-01-12
CN1290368C CN1290368C (en) 2006-12-13

Family

ID=34480424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200410024001.6A Expired - Fee Related CN1290368C (en) 2004-04-08 2004-04-08 Method of synchronously playing image data and speech data in cell phone

Country Status (1)

Country Link
CN (1) CN1290368C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100450240C (en) * 2005-06-10 2009-01-07 华为技术有限公司 Device and method for controlling mobile terminal physical operation
CN101686236B (en) * 2008-09-27 2012-07-25 中国移动通信集团公司 Synchronous method and device thereof of parallel association type services
CN101530332B (en) * 2008-03-14 2013-07-10 深圳迈瑞生物医疗电子股份有限公司 Method and system for real-time synchronization of images and sounds in ultrasound diagnostic equipment
WO2018006540A1 (en) * 2016-07-06 2018-01-11 中兴通讯股份有限公司 Information processing method and apparatus
CN109600566A (en) * 2018-12-03 2019-04-09 浙江工业大学 A kind of video dubbing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100450240C (en) * 2005-06-10 2009-01-07 华为技术有限公司 Device and method for controlling mobile terminal physical operation
CN101530332B (en) * 2008-03-14 2013-07-10 深圳迈瑞生物医疗电子股份有限公司 Method and system for real-time synchronization of images and sounds in ultrasound diagnostic equipment
CN101686236B (en) * 2008-09-27 2012-07-25 中国移动通信集团公司 Synchronous method and device thereof of parallel association type services
WO2018006540A1 (en) * 2016-07-06 2018-01-11 中兴通讯股份有限公司 Information processing method and apparatus
CN107592484A (en) * 2016-07-06 2018-01-16 中兴通讯股份有限公司 A kind of information processing method and device
CN109600566A (en) * 2018-12-03 2019-04-09 浙江工业大学 A kind of video dubbing method

Also Published As

Publication number Publication date
CN1290368C (en) 2006-12-13

Similar Documents

Publication Publication Date Title
US7822050B2 (en) Buffering, pausing and condensing a live phone call
KR20050083086A (en) Method and device for outputting data of wireless terminal to external device
CN109302664A (en) Display screen and its sound output position control method and device
CN107509092A (en) Set top box plays method, set top box, terminal and the storage medium of audio in real time
CN114845144B (en) Screen projection method, auxiliary screen projection device and storage medium
CN114845213A (en) Method for adjusting volume of terminal and terminal
CN1290368C (en) Method of synchronously playing image data and speech data in cell phone
KR20100041108A (en) Moving picture continuous capturing method using udta information and portable device supporting the same
CN101834933A (en) Mobile terminal and method for realizing call in use process of mobile telephone TV service
US20080076469A1 (en) Method and Mobile Communication Terminal for Playing Multimedia Content
CN101763874A (en) Method and system for synchronously playing acoustic images by mobile communication equipment and external equipment
CN1988633A (en) Mobile communication terminal capable of recording TV program and recording method
CN112087591A (en) Interactive system and method for video conference
CN101197981A (en) TV set for recording audio/video information and its implementing method
CN1279779C (en) Animation and music playing method for handset
CN114974324A (en) Method for recording call audio by earphone, earphone and storage medium
CN101219029A (en) Video terminal, display method and storage medium for providing buddhism bodhimandala scene
CN2814832Y (en) TV set with sound prompting function
CN2772158Y (en) Device for playing audio-video message
CN1881276A (en) Data presentation systems and methods
CN100499425C (en) Multifunctional handset capable of recording and playing speech
CN201248115Y (en) Information multimedia integration system
CN103780739A (en) Intelligent telephone terminal device based on desktop operating system
CN206341432U (en) A kind of internet interactive device
CN1767547A (en) Network telephone terminal and network telephone calling, hearing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Qingdao Hisense communication Co., Ltd.

Document name: Notification to Pay the Fees

DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Qingdao Hisense communication Co., Ltd.

Document name: Notification of Termination of Patent Right

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20061213

Termination date: 20190408