CN105120070A - Methods and terminal for playing music during call - Google Patents

Methods and terminal for playing music during call Download PDF

Info

Publication number
CN105120070A
CN105120070A CN201510420616.9A CN201510420616A CN105120070A CN 105120070 A CN105120070 A CN 105120070A CN 201510420616 A CN201510420616 A CN 201510420616A CN 105120070 A CN105120070 A CN 105120070A
Authority
CN
China
Prior art keywords
audio data
data stream
bag
terminal
blended
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
CN201510420616.9A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510420616.9A priority Critical patent/CN105120070A/en
Publication of CN105120070A publication Critical patent/CN105120070A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

An embodiment of the invention discloses a terminal playing music during a call. The terminal comprises an application APP processor for sending a selected music file to an ADSP, the ADSP for processing the music file into an audio data flow and for returning the audio data flow to an APP processor, the APP processor further used to packaged the audio data flow and a received voice data flow into a mixed data packet and then to send the mixed data packet to a modem, and the modem used to, after the mixed data packet is processed, send the processed mixed data packet to at least one opposite-side terminal through radio frequency; and the processed mixed data packet is used for the at least one opposite-side terminal to play the audio data flow and the voice data flow in the processed mixed data packet. Embodiments of the invention further disclose methods for playing the music during the call.

Description

Method and the terminal of music is play in a kind of communication process
Technical field
The present invention relates to wireless communication technology, particularly relate to the method and terminal of playing music in a kind of communication process.
Background technology
Along with the development of wireless communication technology, the business that terminal is enjoyed is more and more abundanter.Voice call is the main business of terminal, and user carrys out transmission of information by voice call.In some cases, interesting in order to strengthen when voice call, user wishes to play background music in voice call process.
The voice call process of terminal is the sound being caught user and surrounding environment by microphone, sound is after quantization encoding, after being converted to digital signal by analog signal, reach Advanced Digital Signal Processor (ADSP, AdvancedDigitalSignalProcessor), acoustic processing is after audio data stream by ADSP, send modulator-demodulator (modem) process to, modem interweaves to the audio data stream received, speech coding, the process such as modulation, then send via radio frequency (RF, RadioFrequency).
The method playing music at present in the process of call is: local user opens music player and plays music, now local user can hear the music of broadcasting at receiver, and peer user cannot hear the music that local user plays, can only local user oneself music appreciating alone.
Summary of the invention
In view of this, the embodiment of the present invention is expected to provide the method and terminal of playing music in a kind of communication process, and both call sides can be made all to hear the music of broadcasting.
For achieving the above object, technical scheme of the present invention is achieved in that
Play a terminal for music in communication process, described terminal comprises:
Application APP processor, for sending to Advanced Digital Signal Processor ADSP by selected music file;
Described ADSP, for described music file is treated to audio data stream, and returns to described APP processor by described audio data stream;
Described APP processor, also sends to modulator-demodulator after described audio data stream and the audio data stream that receives are packaged into blended data bag;
Described modulator-demodulator, for by after the process of described blended data bag, blended data bag after process is sent at least one distant terminal, and the blended data bag after described process is used at least one distant terminal described and plays audio data stream in the blended data bag after described process and audio data stream.
In such scheme, two sub-data packet group specifically for respectively described audio data stream and the audio data stream that receives being packaged into subdata bag, and then are dressed up blended data bag by described APP processor; Wherein, the packet header flag value of subdata bag that described blended data bag sound intermediate frequency data flow is packaged into is set to 1; The packet header flag value of the subdata bag that audio data stream is packaged into is set to 0.
In such scheme, described modulator-demodulator, specifically for by described blended data bag middle wrapping head flag value being that audio data stream in the subdata bag of 0 carries out interweaving, speech coding and modulation treatment; Be that audio data stream in the subdata bag of 1 carries out interweaving and modulation treatment by described blended data bag middle wrapping head flag value.
In such scheme, described terminal also comprises receiver, wherein,
Described ADSP, also for after described music file is treated to audio data stream, is sent to receiver by described audio data stream;
Described receiver, for the music that playing audio data stream is corresponding.
In such scheme, described terminal also comprises microphone, wherein,
The voice of collection for gathering voice, and are sent to described ADSP by described microphone;
Described ADSP, also for receiving the voice that microphone gathers, and after being audio data stream by described speech processes, sends to described APP processor by described audio data stream.
Play a method for music in communication process, described method comprises:
Selected music file is sent to Advanced Digital Signal Processor ADSP by application APP processor;
Described music file is treated to audio data stream by described ADSP, and described audio data stream is returned to described APP processor;
Described APP processor sends to modulator-demodulator after described audio data stream and the audio data stream that receives are packaged into blended data bag;
Described modulator-demodulator is by after the process of described blended data bag, blended data bag after process is sent at least one distant terminal, and the blended data bag after described process is used at least one distant terminal described and plays audio data stream in the blended data bag after described process and audio data stream.
In such scheme, described audio data stream and the audio data stream that receives are packaged into blended data bag by described APP processor, comprising:
Described audio data stream and the audio data stream that receives are packaged into subdata bag by described APP processor respectively, and then two sub-data packet group are dressed up blended data bag; Wherein, the packet header flag value of subdata bag that described blended data bag sound intermediate frequency data flow is packaged into is set to 1; The packet header flag value of the subdata bag that audio data stream is packaged into is set to 0.
In such scheme, described modulator-demodulator, by the process of described blended data bag, comprising:
Flag value in described blended data bag is that the audio data stream in the subdata bag of 0 carries out modulating by described modulator-demodulator, speech coding and interleaving treatment; Be that audio data stream in the subdata bag of 1 carries out modulating and interleaving treatment by flag value in described blended data bag.
In such scheme, after described music file is treated to audio data stream by described ADSP, described method also comprises:
Described audio data stream is sent to receiver and plays by described ADSP.
In such scheme, after described audio data stream and the audio data stream that receives are packaged into blended data bag by described APP processor, send to modulator-demodulator, before, described method also comprises:
Described ADSP receives the voice that microphone gathers, and after being audio data stream by described speech processes, and described audio data stream is sent to described APP processor.
Embodiments provide the method and terminal of playing music in a kind of communication process, some functions are increased by software in the APP processor of existing terminal, ADSP, modulator-demodulator, like this, the music file that APP processor sends will be treated to audio data stream by described ADSP, and described audio data stream is returned to described APP processor; Described APP processor by described voice data by sending to distant terminal after modem processes, the audio data stream of this music file is had in such local terminal and distant terminal, local terminal and distant terminal can play this audio data stream in receiver, achieve the function simultaneously playing music in communication process, both call sides can be made all to hear the music of broadcasting, enhance flexibility and the interest of voice call, improve Consumer's Experience; And only need realize by software the function simultaneously playing music in communication process, not need to change hardware, flexibly convenient.
Accompanying drawing explanation
Fig. 1 is the hardware configuration schematic diagram of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
The structured flowchart of the terminal of music is play in a kind of communication process that Fig. 3 provides for the embodiment of the present invention 1;
The schematic diagram of user's selected music in terminal that Fig. 4 provides for the embodiment of the present invention 1;
The method flow schematic diagram of music is play in a kind of communication process that Fig. 5 provides for the embodiment of the present invention 2;
The method flow schematic diagram of music is play in a kind of communication process that Fig. 6 provides for the embodiment of the present invention 3.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.
Referring now to accompanying drawing 1, the mobile terminal realizing each embodiment of the present invention is described.In follow-up description, use the suffix of such as " module ", " parts " or " unit " for representing element only in order to be conducive to explanation of the present invention, itself is specific meaning not.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD), portable media player (PMP), guider etc. and the fixed terminal of such as digital TV, desktop computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can comprise radio communication unit 110, audio/video (A/V) input unit 120, user input unit 130, sensing cell 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 etc.Fig. 1 shows the mobile terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated, can alternatively implement more or less assembly, will be discussed in more detail below the element of mobile terminal.
Radio communication unit 110 generally includes one or more assembly, and it allows the radio communication between mobile terminal 100 and wireless telecommunication system or network.Such as, radio communication unit can comprise at least one in broadcast reception module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/or broadcast related information.Broadcast channel can comprise satellite channel and/or terrestrial channel.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or the broadcast singal generated before receiving and/or broadcast related information and send it to the server of terminal.Broadcast singal can comprise TV broadcast singal, radio signals, data broadcasting signal etc.And broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information also can provide via mobile communication network, and in this case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can exist with the form of the electronic service guidebooks (ESG) of the electronic program guides of DMB (DMB) (EPG), digital video broadcast-handheld (DVB-H) etc.Broadcast reception module 111 can by using the broadcast of various types of broadcast system Received signal strength.Especially, broadcast reception module 111 can by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video broadcasting-hand-held (DVB-H), the digit broadcasting system receiving digital broadcast of the Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc. of forward link media (MediaFLO).Broadcast reception module 111 can be constructed to be applicable to providing the various broadcast system of broadcast singal and above-mentioned digit broadcasting system.The broadcast singal received via broadcast reception module 111 and/or broadcast related information can be stored in memory 160 (or storage medium of other type).
Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 112.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be inner or be externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can comprise WLAN (wireless local area network) (WLAN) (Wi-Fi), WiMAX (Wibro), worldwide interoperability for microwave access (Wimax), high-speed downlink packet access (HSDPA) etc.
Short range communication module 114 is the modules for supporting short range communication.Some examples of short range communication technology comprise bluetooth TM, radio-frequency (RF) identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee TM etc.
Positional information module 115 is the modules of positional information for checking or obtain mobile terminal.The typical case of positional information module is global positioning system (GPS).According to current technology, GPS module 115 calculates from the range information of three or more satellite and correct time information and for the Information application triangulation calculated, thus calculates three-dimensional current location information according to longitude, latitude and pin-point accuracy.Current, the method for calculating location and temporal information uses three satellites and by the error of the position that uses an other satellite correction calculation to go out and temporal information.In addition, GPS module 115 can carry out computational speed information by Continuous plus current location information in real time.
A/V input unit 120 is for audio reception or vision signal.A/V input unit 120 can comprise camera 121 and microphone 122, and the view data of camera 121 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in memory 160 (or other storage medium) or via radio communication unit 110 and send, and can provide two or more cameras 121 according to the structure of mobile terminal.Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by microphone 122.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 112 when telephone calling model.Microphone 122 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of audio signal.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing cell 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc., and generate order or the signal of the operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power subsystem 190 provides electric power or interface unit 170 to couple with external device (ED).Sensing cell 140 can comprise proximity transducer 141 and will be described this in conjunction with touch-screen below.
Interface unit 170 is used as at least one external device (ED) and is connected the interface that can pass through with mobile terminal 100.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.Identification module can be that storage uses the various information of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card, and therefore, recognition device can be connected with mobile terminal 100 via port or other jockey.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it electric power to be provided to the path of mobile terminal 100 from base or can be used as the path that allows to be transferred to mobile terminal by it from the various command signals of base input.The various command signal inputted from base or electric power can be used as and identify whether mobile terminal is arranged on the signal base exactly.Output unit 150 is constructed to provide output signal (such as, audio signal, vision signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can comprise display unit 151, dio Output Modules 152, alarm unit 153 etc.
Display unit 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show the user interface (UI) or graphic user interface (GUI) of being correlated with call or other communication (such as, text messaging, multimedia file are downloaded etc.).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch-screen time, display unit 151 can be used as input unit and output device.Display unit 151 can comprise at least one in liquid crystal display (LCD), thin-film transistor LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparence and watch from outside to allow user, and this can be called transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific execution mode wanted, mobile terminal 100 can comprise two or more display units (or other display unit), such as, mobile terminal can comprise outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detecting touch input pressure and touch input position and touch and inputs area.
When dio Output Modules 152 can be under the isotypes such as call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode at mobile terminal, voice data convert audio signals that is that radio communication unit 110 is received or that store in memory 160 and exporting as sound.And dio Output Modules 152 can provide the audio frequency relevant to the specific function that mobile terminal 100 performs to export (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can comprise loud speaker, buzzer etc.
Alarm unit 153 can provide and export that event informed to mobile terminal 100.Typical event can comprise calling reception, message sink, key signals input, touch input etc.Except audio or video exports, alarm unit 153 can provide in a different manner and export with the generation of notification event.Such as, alarm unit 153 can provide output with the form of vibration, when receive calling, message or some other entry communication (incomingcommunication) time, alarm unit 153 can provide sense of touch to export (that is, vibrate) to notify to user.By providing such sense of touch to export, even if when the mobile phone of user is in the pocket of user, user also can identify the generation of various event.Alarm unit 153 also can provide the output of the generation of notification event via display unit 151 or dio Output Modules 152.
Memory 160 software program that can store process and the control operation performed by controller 180 etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, memory 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of audio signal.
Memory 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type memory (such as, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And mobile terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.
Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 can comprise the multi-media module 181 for reproducing (or playback) multi-medium data, and multi-media module 181 can be configured in controller 180, or can be configured to be separated with controller 180.Controller 180 can pattern recognition process, is identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.
Power subsystem 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Various execution mode described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, execution mode described herein can by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, being designed at least one performed in the electronic unit of function described herein and implementing, in some cases, such execution mode can be implemented in controller 180.For implement software, the execution mode of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memory 160 and to be performed by controller 180.
So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 can be constructed to utilize and send the such as wired and wireless telecommunication system of data via frame or grouping and satellite-based communication system operates.
Describe wherein according to the communication system that mobile terminal of the present invention can operate referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, the air interface used by communication system comprises such as frequency division multiple access (FDMA), time division multiple access (TDMA), code division multiple access (CDMA) and Universal Mobile Telecommunications System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc.As non-limiting example, description below relates to CDMA communication system, but such instruction is equally applicable to the system of other type.
With reference to figure 2, cdma wireless communication system can comprise multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is constructed to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also constructed to form interface with the BSC275 that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface comprises such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that system as shown in Figure 2 can comprise multiple BSC275.
Each BS270 can serve one or more subregion (or region), by multidirectional antenna or point to specific direction each subregion of antenna cover radially away from BS270.Or each subregion can by two or more antenna covers for diversity reception.Each BS270 can be constructed to support multiple parallel compensate, and each parallel compensate has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of parallel compensate.BS270 also can be called as base station transceiver subsystem (BTS) or other equivalent terms.Under these circumstances, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular station.
As shown in Figure 2, broadcast singal is sent to the mobile terminal 100 at operate within systems by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal receiving and sent by BT295.In fig. 2, several global positioning system (GPS) satellite 300 is shown.Satellite 300 helps at least one in the multiple mobile terminal 100 in location.
In fig. 2, depict multiple satellite 300, but understand, the satellite of any number can be utilized to obtain useful locating information.GPS module 115 as shown in Figure 1 is constructed to coordinate to obtain the locating information wanted with satellite 300 usually.Substitute GPS tracking technique or outside GPS tracking technique, can use can other technology of position of tracking mobile terminal.In addition, at least one gps satellite 300 optionally or extraly can process satellite dmb transmission.
As a typical operation of wireless telecommunication system, BS270 receives the reverse link signal from various mobile terminal 100.Mobile terminal 100 participates in conversing usually, the communication of information receiving and transmitting and other type.Each reverse link signal that certain base station 270 receives is processed by particular B S270.The data obtained are forwarded to relevant BSC275.BSC provides call Resourse Distribute and comprises the mobile management function of coordination of the soft switching process between BS270.The data received also are routed to MSC280 by BSC275, and it is provided for the extra route service forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly control BS270 so that forward link signals is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
Embodiment 1
The embodiment of the present invention puies forward the terminal of having encircleed and having play music in a kind of communication process, and as shown in Figure 3, described terminal comprises: application APP processor 301, ADSP302, modulator-demodulator 303, wherein,
Application APP processor 301, for sending to ADSP302 by selected music file.
It is the terminal can playing music in communication process disclosed in the present embodiment, first local terminal can be set up voice call by wireless switching network and distant terminal and is connected, wherein, wireless switching network is as the platform allowing user terminal to set up remote-wireless communication, can support miscellaneous service, terminal can pass through wireless switching network transferring voice and data.Business classification is circuit switching (CS, CircuitSwitch) business and packet switching (PS, PacketSwitch) business.CS business mainly comprises speech business, also comprises some circuit type data services simultaneously, such as, faxes.PS business mainly comprises data service, also comprises streaming media service, voice-over-IP phone (VOIP, VoiceoverInternetProtocol) business or video calling (VT, VideoTelephony) business etc. simultaneously.After voice call connection establishment, speech exchange just can be carried out with at least one distant terminal in local terminal.In the application scenarios of this enforcement, distant terminal is at least one, and the object namely setting up voice call connection can simultaneously for multiple, and such as multiple terminal carries out videoconference.
Voice call connects can set up by dialing CS territory phone, also can set up by dialing PS territory phone.If dial CS territory phone, then wireless switching network includes but not limited to: third generation partner program (3GPP, The3rdGenerationPartnershipProject) at least one in network, third generation partner program 2 (3GPP2,3rdGenerationPartnershipProject2) network.If dial PS territory phone, then wireless switching network includes but not limited to: 3GPP network, 3GPP2 network, universal mobile telecommunications system (UMTS, UniversalMobileTelecommunicationsSystem) network, Long Term Evolution (LTE, LongTermEvolution) at least one in network, Wireless Fidelity (WIFI, wirelessfidelity) network.
Set up after voice call is connected with distant terminal in local terminal, the user of local terminal or distant terminal think need to share certain music with correspondent time, this music file can be selected all to play in local terminal and distant terminal.Described music file is the existing music file preserved in the terminal.
In conjunction with consulting Fig. 4, it is the schematic diagram selecting to play music in the terminal shown in Fig. 3.Call UI (userinterface, user interface) can be shown in communication process.This call UI has multiple option, comprises the option such as " telephone number ", " duration of call ", " quiet ", " hands-free ", wherein, this UI is also provided with " music " option.After user clicks this " music " option, just eject music file choice box, music file 1 is demonstrated to music file n in music file choice box, n music file altogether, n be greater than 1 natural number, user chooses a music file, clicks after " determination " option, just can select music file and return UI, if click " cancellation " option, directly returning UI.
Alternatively, terminal can also select music file automatically.First terminal will obtain sight parameter, and from multiple alternative music file, selects a music file according to sight parameter.Can Fig. 4 be consulted, after user clicks " sharing " option, can automatically determine a music file according to sight parameter, manually select without the need to user.For example, sight parameter is Weather information, the good alternative music file of user's chosen in advance, the music style of these alternative music files is different, have cheerful and light-hearted style, also has sentimental style.If Weather information shows that current weather is fine day, so user just selects the music file of cheerful and light-hearted style automatically after clicking " music " option; If Weather information shows that current weather is cloudy day or rainy day, so user just selects the music file of sentimental style automatically after clicking " music " option.
In the terminal that the present embodiment provides, music file is stored in APP processor 301, and after selected good music file, selected music file directly can be sent to ADSP302 by APP processor 301.
Described ADSP302, for described music file is treated to audio data stream, and returns to described APP processor by described audio data stream.
Compared with prior art, added in ADSP302 by software in the present embodiment terminal and described music file is treated to audio data stream, and described audio data stream is returned to the function of described APP processor.
As shown in Figure 3, described terminal also comprises receiver 304; Described ADSP302, also for after described music file is treated to audio data stream, is sent to receiver 304 by described audio data stream; Described receiver 304, for the music that playing audio data stream is corresponding.
Described music file is kept in the APP processor of terminal with set form, the form of described music file can be dynamic image expert compression standard audio frequency aspect 3 (MP3, MovingPictureExpertsGroupAudioLayer3), Advanced Audio Coding (AAC, AdvancedAudioCoding) etc.After described ADSP302 receives described music file, the music file of this set form can be treated to audio data stream.
Suppose that the user of local terminal selectes music and plays, then the ADSP302 of local terminal is used for after described music file is treated to audio data stream, described audio data stream is sent to receiver 304 and plays.Described audio data stream can be sent to pulse code modulation (PCM by ADSP302, pulsecodemodulation) module is play at the receiver 304 of local terminal after decoding, and the user of such local terminal just can listen to the music in this music file by receiver 304.Described audio data stream can be returned to described APP processor 301 by ADSP302 on the other hand, this voice data flows through after modulator-demodulator 303 processes and sends to distant terminal by APP processor 301, such distant terminal just can play this audio data stream at the receiver of distant terminal, and the user of distant terminal just can listen to the music in this music file by the receiver of distant terminal.
Described APP processor 301, also sends to modulator-demodulator after described audio data stream and the audio data stream that receives are packaged into blended data bag.
As shown in Figure 3, in described terminal, also comprising microphone 305, described microphone 305, for gathering voice, and the voice of collection being sent to described ADSP302; Described ADSP302, also for receiving the voice that microphone 305 gathers, and after being audio data stream by described speech processes, sends to described APP processor 301 by described audio data stream.
In communication process, the microphone 305 of local terminal can gather the sound of user and surrounding environment always, and by voice signal being sent to ADSP302 after analog signal changes into digital signal after PCM module coding, ADSP302 is also for receiving the voice that microphone gathers, and after being audio data stream by described speech processes, described audio data stream is sent to described APP processor 301.
Therefore APP processor 301, while receiving described audio data stream, also can receive the audio data stream that ADSP302 sends over.APP processor 301 sends to modulator-demodulator 303 after described audio data stream and the audio data stream received being packaged into blended data bag.
Compared with prior art, in the present embodiment terminal by software add in APP processor 301 described audio data stream and the audio data stream that receives are packaged into blended data bag after send to the function of modulator-demodulator 303.Optionally, two sub-data packet group specifically for respectively described audio data stream and the audio data stream that receives being packaged into subdata bag, and then are dressed up blended data bag by described APP processor 301; Wherein, the packet header flag value of subdata bag that described blended data bag sound intermediate frequency data flow is packaged into is set to 1; It is variable that the packet header flag value of the subdata bag that audio data stream is packaged into is set to 0, flag.
Described modulator-demodulator 303, for by after the process of described blended data bag, sends at least one distant terminal by radio frequency by the blended data bag after process.
Described modulator-demodulator 303, specifically for by described blended data bag middle wrapping head flag value being that audio data stream in the subdata bag of 0 carries out modulating, speech coding and interleaving treatment; Be that audio data stream in the subdata bag of 1 carries out modulating and interleaving treatment by described blended data bag middle wrapping head flag value.
After described modulator-demodulator 303 receives the blended data bag that APP processor 301 sends over, need whether the packet header flag judging blended data bag neutron data bag is 0, if flag is 0, then show that the data in this packet are that audio data stream 2G, 3G and 4G processing unit need given in modulator-demodulator 303 carries out corresponding speech coding process; If flag is not 0 but 1, then shows that the data in this packet are audio data stream, do not need to carry out corresponding speech coding process to it.The data type in subdata bag is distinguished like this by the value of packet header flag, if the data type in subdata bag is audio data stream, show that the information in this data flow is dialog context, in order to prevent eavesdropping, ensure that call security needs carry out corresponding speech coding process to it.If the data type in subdata bag is audio data stream, the information showing in this data flow is the background music in communication process, it not dialog context, do not need to carry out corresponding speech coding process to it, after distinguishing the data type in subdata bag like this, do not need to carry out corresponding speech coding process to audio data stream, the processing load of modulator-demodulator 303 can be alleviated.
Modulator-demodulator 303 is by after the process of described blended data bag, give at least one distant terminal by the blended data bag after radio frequency transmission processing, the blended data bag after described process is used at least one distant terminal described and plays audio data stream in the blended data bag after described process and audio data stream.
After described distant terminal receives the blended data bag that local terminal sends over, can application of modulation demodulator be that audio data stream in the subdata bag of 0 carries out demodulation, tone decoding and deinterleaving process by described blended data bag middle wrapping head flag value; Be that audio data stream in the subdata bag of 1 carries out demodulation and deinterleaving process by described blended data bag middle wrapping head flag value.Then blended data bag can be sent to APP processor by the modulator-demodulator of distant terminal, described blended data bag is gone assembling by described APP processor, remove the parts such as the Flag position in the packet header of subdata bag, only by the data division of subdata bag: audio data stream and audio data stream send to ADSP, and audio data stream and audio data stream can be sent to receiver and play by described ADSP.
The above content of the present embodiment describes, and after music file is selected in local terminal, plays the music of described music file in local terminal and distant terminal.Certainly, distant terminal also can select music file, plays the music of described music file in local terminal and distant terminal.Now, the modulator-demodulator 303 in local terminal, the blended data bag middle wrapping head flag value also for being sent by distant terminal is that the audio data stream in the subdata bag of 0 carries out demodulation, tone decoding and deinterleaving process; Be that audio data stream in the subdata bag of 1 carries out demodulation and deinterleaving process by described blended data bag middle wrapping head flag value.Then blended data bag is sent to APP processor 301, described APP processor 301, for described blended data bag being gone assembling, remove the parts such as the Flag position in the packet header of subdata bag, only by the data division of subdata bag: audio data stream and audio data stream send to ADSP302, and audio data stream and audio data stream can be sent to receiver and play by described ADSP302.
Certainly, when user does not need to play music in communication process, the speech processes of microphone collection can directly become voice data flow to modulator-demodulator 303 by the ADSP302 of terminal, this audio data stream carries out interweaving by modulator-demodulator 303, speech coding, send to opposite equip. after modulation, opposite equip. is made to play voice corresponding to this audio data stream, the user of such opposite equip. just can hear the voice of the user of local terminal, both converse, this process is voice call process of the prior art, does not repeat them here.
In actual applications, described APP processor 301, ADSP302, modulator-demodulator 303 can realize by being positioned at controller 180 on the mobile terminal shown in Fig. 1.
The present embodiment terminal, some functions are increased by software in the APP processor of existing terminal, ADSP, modulator-demodulator, like this, the music file that APP processor sends will be treated to audio data stream by described ADSP, and described audio data stream is returned to described APP processor; Described APP processor by described voice data by sending to distant terminal after modem processes, the audio data stream of this music file is had in such local terminal and distant terminal, local terminal and distant terminal can play this audio data stream in receiver, achieve the function simultaneously playing music in communication process, both call sides can be made all to hear the music of broadcasting, enhance flexibility and the interest of voice call, improve Consumer's Experience; And only need realize by software the function simultaneously playing music in communication process, not need to change hardware, flexibly convenient.
Embodiment 2
The embodiment of the present invention additionally provides a kind of method playing music in communication process, and as shown in Figure 5, the handling process of the present embodiment method comprises the following steps:
Selected music file is sent to Advanced Digital Signal Processor ADSP by step 501, application APP processor.
It is the method playing music in communication process disclosed in the present embodiment, first local terminal can be set up voice call by wireless switching network and distant terminal and is connected, set up after voice call is connected with distant terminal in local terminal, the user of local terminal or distant terminal think need to share certain music with correspondent time, this music file can be selected all to play in local terminal and distant terminal.Select music file for local terminal in the present embodiment method to carry out playing being described.Described music file is the existing music file preserved in the terminal.
In conjunction with consulting Fig. 4, for user selects by terminal the schematic diagram playing music.In communication process, terminal can show call UI (userinterface, user interface).This call UI has multiple option, comprises the option such as " number ", " duration ", " quiet ", " hands-free ", wherein, this UI is also provided with " music " option.After user clicks this " music " option, just eject music file choice box, music file 1 is demonstrated to music file n in music file choice box, n music file altogether, n be greater than 1 natural number, user chooses a music file, clicks after " determination " option, just can select music file and return UI, if click " cancellation " option, directly returning UI.
Alternatively, terminal can also select music file automatically.First terminal will obtain sight parameter, and from multiple alternative music file, selects a music file according to sight parameter.Can Fig. 4 be consulted, after user clicks " sharing " option, can automatically determine a music file according to sight parameter, manually select without the need to user.For example, sight parameter is Weather information, the good alternative music file of user's chosen in advance, the music style of these alternative music files is different, have cheerful and light-hearted style, also has sentimental style.If Weather information shows that current weather is fine day, so user just selects the music file of cheerful and light-hearted style automatically after clicking " music " option; If Weather information shows that current weather is cloudy day or rainy day, so user just selects the music file of sentimental style automatically after clicking " music " option.
In the present embodiment method, music file is stored in the APP processor of local terminal, and after selected good music file, selected music file directly can be sent to ADSP by APP processor.
Described music file is treated to audio data stream by step 502, described ADSP, and described audio data stream is returned to described APP processor.
Described music file is kept in the APP processor of terminal with set form, and the form of described music file can be MP3, AAC etc.After described ADSP receives described music file, the music file of this set form can be treated to audio data stream.
Suppose that the user of local terminal selectes music and plays, then the ADSP of local terminal is after being treated to audio data stream by described music file, on the one hand described audio data stream is sent to receiver to play, namely can by described audio data stream after PCM module carries out PCM decoding, send to the receiver of local terminal to play, the user of such local terminal just can listen to the music in this music file by receiver.Described audio data stream can be returned to described APP processor by ADSP on the other hand, APP processor sends to distant terminal after this voice data is flowed through modem processes, such distant terminal just can play this audio data stream at the receiver of distant terminal, and the user of distant terminal just can listen to the music in this music file by receiver.
Step 503, APP processor send to modulator-demodulator after audio data stream and the audio data stream that receives are packaged into blended data bag.
In communication process, the microphone of local terminal can gather the sound of user and surrounding environment always, and by PCM module coding, voice signal is sent to ADSP after analog signal changes into digital signal, ADSP is also for receiving the voice that microphone gathers, and after being audio data stream by described speech processes, described audio data stream is sent to described APP processor.
Therefore APP processor, while receiving described audio data stream, also can receive the audio data stream that ADSP sends over.APP processor sends to modulator-demodulator after described audio data stream and the audio data stream received being packaged into blended data bag.
Described audio data stream and the audio data stream that receives are packaged into subdata bag by described APP processor respectively, and then two sub-data packet group are dressed up blended data bag; Wherein, the packet header flag value of subdata bag that described blended data bag sound intermediate frequency data flow is packaged into is set to 1; The packet header flag value of the subdata bag that audio data stream is packaged into is set to 0.
Blended data bag after process, by after the process of described blended data bag, is sent at least one distant terminal by radio frequency by step 504, described modulator-demodulator.
Described blended data bag middle wrapping head flag value is that the audio data stream in the subdata bag of 0 carries out interweaving by described modulator-demodulator, speech coding and modulation treatment; Be that audio data stream in the subdata bag of 1 carries out interweaving and modulation treatment by described blended data bag middle wrapping head flag value.
After described modulator-demodulator receives the blended data bag that APP processor sends over, need whether the packet header flag value judging blended data bag neutron data bag is 0, if flag is 0, then show that the data in this packet are that audio data stream 2G, 3G and 4G processing module need given in modulator-demodulator carries out corresponding speech coding process; If flag is not 0 but 1, then shows that the data in this packet are audio data stream, do not need to carry out corresponding speech coding process to it.The data type in subdata bag is distinguished like this by the value of packet header flag, if the data type in subdata bag is audio data stream, show that the information in this data flow is dialog context, in order to prevent eavesdropping, ensure that call security needs carry out corresponding speech coding process to it.If the data type in subdata bag is audio data stream, the information showing in this data flow is the background music in communication process, it not dialog context, do not need to carry out corresponding speech coding process to it, after distinguishing the data type in subdata bag like this, do not need to carry out corresponding speech coding process to audio data stream, the processing load of modulator-demodulator can be alleviated.
Modulator-demodulator is by after the process of described blended data bag, give at least one distant terminal by the blended data bag after radio frequency transmission processing, the blended data bag after described process is used at least one distant terminal described and plays audio data stream in the blended data bag after described process and audio data stream.
After described distant terminal receives the blended data bag that local terminal sends over, described blended data bag middle wrapping head flag value is that the audio data stream in the subdata bag of 0 carries out demodulation, tone decoding and deinterleaving process by the modulator-demodulator applying distant terminal; Be that audio data stream in the subdata bag of 1 carries out demodulation and deinterleaving process by described blended data bag middle wrapping head flag value.Then blended data bag can be sent to the APP processor of distant terminal by the modulator-demodulator of distant terminal, described blended data bag is gone assembling by the APP processor of described distant terminal, remove the parts such as the Flag position in the packet header of subdata bag, only by the data division of subdata bag: audio data stream and audio data stream send to the ADSP of distant terminal, the receiver that audio data stream and audio data stream can be sent to distant terminal by the ADSP of described distant terminal is play, the user of such distant terminal just can listen to the music in the music file selected local terminal at the receiver of distant terminal.
Embodiment 3
The embodiment of the present invention additionally provides a kind of method playing music in communication process, and as shown in Figure 6, the handling process of the present embodiment method comprises the following steps:
Step 601, local terminal are set up voice call with distant terminal and are connected.
Local terminal can be set up voice call by wireless switching network and distant terminal and be connected, and voice call connection can be set up by dialing CS territory phone in local terminal, also can set up voice call connection by dialing PS territory phone.If dial CS territory phone, then wireless switching network includes but not limited to: at least one in 3GPP network, 3GPP2 network.If dial PS territory phone, then wireless switching network includes but not limited to: at least one in 3GPP network, 3GPP2 network, UMTS network, LTE network, WIFI network.
Selected music file is sent to the ADSP of local terminal by the application APP processor of step 602, local terminal.
Set up after voice call is connected with distant terminal in local terminal, the user of local terminal think need to share certain music with correspondent time, this music file can be selected all to play in local terminal and distant terminal.Described music file is the existing music file preserved in the terminal.
In conjunction with consulting Fig. 4, for user selects by terminal the schematic diagram playing music.In communication process, terminal can show call UI (userinterface, user interface).This call UI has multiple option, comprises the option such as " duration ", " quiet ", " hands-free ", wherein, this UI is also provided with " music " option.After user clicks this " music " option, just eject music file choice box, music file 1 is demonstrated to music file n in music file choice box, n music file altogether, n be greater than 1 natural number, user chooses a music file, clicks after " determination " option, just can select music file and return UI, if click " cancellation " option, directly returning UI.
Alternatively, terminal can also select music file automatically.First terminal will obtain sight parameter, and from multiple alternative music file, selects a music file according to sight parameter.Can Fig. 4 be consulted, after user clicks " sharing " option, can automatically determine a music file according to sight parameter, manually select without the need to user.For example, sight parameter is Weather information, the good alternative music file of user's chosen in advance, the music style of these alternative music files is different, have cheerful and light-hearted style, also has sentimental style.If Weather information shows that current weather is fine day, so user just selects the music file of cheerful and light-hearted style automatically after clicking " music " option; If Weather information shows that current weather is cloudy day or rainy day, so user just selects the music file of sentimental style automatically after clicking " music " option.
In the present embodiment method, music file is stored in the APP processor of local terminal, and after selected good music file, selected music file directly can be sent to ADSP by the APP processor of local terminal.
Described music file is treated to audio data stream by the ADSP of step 603, local terminal, is play by the receiver that described audio data stream is sent to local terminal, described audio data stream is returned to the APP processor of local terminal simultaneously.
Described music file is kept in the APP processor of local terminal with set form, and the form of described music file can be MP3, AAC etc.After the ADSP of local terminal receives described music file, the music file of this set form can be treated to audio data stream.
The ADSP of local terminal is after being treated to audio data stream by described music file, on the one hand described audio data stream is sent to receiver to play, namely described audio data stream can be sent the receiver of local terminal, play at the receiver of local terminal after PCM module carries out PCM decoding, the user of such local terminal just can listen to the music in this music file by receiver.Simultaneously, described audio data stream can be returned to described APP processor by the ADSP of local terminal, APP processor sends to distant terminal after this voice data is flowed through modem processes, such distant terminal just can play this audio data stream at the receiver of distant terminal, and the user of distant terminal just can listen to the music in this music file by receiver.
The modulator-demodulator of local terminal is sent to after the audio data stream that the ADSP of local terminal sends by the APP processor of step 604, local terminal and audio data stream are packaged into blended data bag.
In communication process, the microphone of local terminal can gather the sound of user and surrounding environment always, and by PCM module coding by voice signal from the ADSP sending to local terminal after analog signal changes into digital signal, the ADSP of local terminal receives the voice of microphone collection, and after being audio data stream by described speech processes, described audio data stream is sent to described APP processor.
The APP processor of local terminal while receiving described audio data stream, the audio data stream that the ADSP that also can receive local terminal sends over.The modulator-demodulator of local terminal is sent to after described audio data stream and audio data stream can be packaged into blended data bag by the APP processor of local terminal.
Described audio data stream and the audio data stream that receives are packaged into subdata bag by the APP processor of local terminal respectively, and then two sub-data packet group are dressed up blended data bag; Wherein, the packet header flag value of subdata bag that described blended data bag sound intermediate frequency data flow is packaged into is set to 1; The packet header flag value of the subdata bag that audio data stream is packaged into is set to 0.
Blended data bag after process, by after the process of described blended data bag, is sent at least one distant terminal by radio frequency by the modulator-demodulator of step 605, local terminal.
Described blended data bag middle wrapping head flag value is that the audio data stream in the subdata bag of 0 carries out interweaving by the modulator-demodulator of local terminal, speech coding and modulation treatment; Be that audio data stream in the subdata bag of 1 carries out interweaving and modulation treatment by described blended data bag middle wrapping head flag value.
After the modulator-demodulator of local terminal receives the blended data bag that APP processor sends over, need whether the packet header flag value judging blended data bag neutron data bag is 0, if flag is 0, then show that the data in this packet are that audio data stream 2G, 3G and 4G processing module need given in modulator-demodulator carries out corresponding speech coding process; If flag is not 0 but 1, then shows that the data in this packet are audio data stream, do not need to carry out corresponding speech coding process to it.The data type in subdata bag is distinguished like this by the value of packet header flag, if the data type in subdata bag is audio data stream, show that the information in this data flow is dialog context, in order to prevent eavesdropping, ensure that call security needs carry out corresponding speech coding process to it.If the data type in subdata bag is audio data stream, the information showing in this data flow is the background music in communication process, it not dialog context, do not need to carry out corresponding speech coding process to it, after distinguishing the data type in subdata bag like this, do not need to carry out corresponding speech coding process to audio data stream, the processing load of modulator-demodulator can be alleviated.
The modulator-demodulator of local terminal is by after the process of described blended data bag, give at least one distant terminal by the blended data bag after radio frequency transmission processing, the blended data bag after described process is used at least one distant terminal described and plays audio data stream in the blended data bag after described process and audio data stream.
The modulator-demodulator of step 606, distant terminal carries out solutions process to described blended data bag after receiving the blended data bag after the process that local terminal sends, and will separate the blended data bag after processing and send to the APP processor of distant terminal.
After described distant terminal receives the blended data bag that local terminal sends over, described blended data bag middle wrapping head flag value is that the audio data stream in the subdata bag of 0 carries out demodulation, tone decoding and deinterleaving process by the modulator-demodulator applying distant terminal; Be that audio data stream in the subdata bag of 1 carries out demodulation and deinterleaving process by described blended data bag middle wrapping head flag value.
The APP processor of step 607, distant terminal by described separate process after blended data bag carry out unpacking process after, the audio data stream and audio data stream that unpack rear acquisition are sent to the ADSP of distant terminal.
Described blended data bag is gone assembling by the APP processor of described distant terminal, removes the parts such as the Flag position in the packet header of subdata bag, only by the data division of subdata bag: audio data stream and audio data stream send to the ADSP of distant terminal.
Audio data stream and audio data stream are play at the receiver of distant terminal by the ADSP of step 608, distant terminal.
After audio data stream and audio data stream are first carried out PCM decoding by PCM module by the ADSP of distant terminal, the receiver re-sending to distant terminal is play.The user of such distant terminal just can listen to the music in the music file selected local terminal at the receiver of distant terminal.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of hardware embodiment, software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (10)

1. play a terminal for music in communication process, it is characterized in that, described terminal comprises:
Application APP processor, for sending to Advanced Digital Signal Processor ADSP by selected music file;
Described ADSP, for described music file is treated to audio data stream, and returns to described APP processor by described audio data stream;
Described APP processor, also sends to modulator-demodulator after described audio data stream and the audio data stream that receives are packaged into blended data bag;
Described modulator-demodulator, for by after the process of described blended data bag, blended data bag after process is sent at least one distant terminal, and the blended data bag after described process is used at least one distant terminal described and plays audio data stream in the blended data bag after described process and audio data stream.
2. terminal according to claim 1, is characterized in that,
Two sub-data packet group specifically for respectively described audio data stream and the audio data stream that receives being packaged into subdata bag, and then are dressed up blended data bag by described APP processor; Wherein, the packet header variable flag value of subdata bag that described blended data bag sound intermediate frequency data flow is packaged into is set to 1; The packet header flag value of the subdata bag that audio data stream is packaged into is set to 0.
3. terminal according to claim 2, is characterized in that,
Described modulator-demodulator, specifically for by described blended data bag middle wrapping head flag value being that audio data stream in the subdata bag of 0 carries out interweaving, speech coding and modulation treatment; Be that audio data stream in the subdata bag of 1 carries out interweaving and modulation treatment by described blended data bag middle wrapping head flag value.
4. terminal according to claim 1, is characterized in that, described terminal also comprises receiver, wherein,
Described ADSP, also for after described music file is treated to audio data stream, is sent to receiver by described audio data stream;
Described receiver, for the music that playing audio data stream is corresponding.
5. terminal according to claim 1, is characterized in that, described terminal also comprises microphone, wherein,
The voice of collection for gathering voice, and are sent to described ADSP by described microphone;
Described ADSP, also for receiving the voice that microphone gathers, and after being audio data stream by described speech processes, sends to described APP processor by described audio data stream.
6. play a method for music in communication process, it is characterized in that, described method comprises:
Selected music file is sent to Advanced Digital Signal Processor ADSP by application APP processor;
Described music file is treated to audio data stream by described ADSP, and described audio data stream is returned to described APP processor;
Described APP processor sends to modulator-demodulator after described audio data stream and the audio data stream that receives are packaged into blended data bag;
Described modulator-demodulator is by after the process of described blended data bag, blended data bag after process is sent at least one distant terminal, and the blended data bag after described process is used at least one distant terminal described and plays audio data stream in the blended data bag after described process and audio data stream.
7. method according to claim 6, is characterized in that, described audio data stream and the audio data stream that receives are packaged into blended data bag by described APP processor, comprising:
Described audio data stream and the audio data stream that receives are packaged into subdata bag by described APP processor respectively, and then two sub-data packet group are dressed up blended data bag; Wherein, the packet header variable flag value of subdata bag that described blended data bag sound intermediate frequency data flow is packaged into is set to 1; The packet header flag value of the subdata bag that audio data stream is packaged into is set to 0.
8. method according to claim 7, is characterized in that, described modulator-demodulator, by the process of described blended data bag, comprising:
Described blended data bag middle wrapping head flag value is that the audio data stream in the subdata bag of 0 carries out interweaving by described modulator-demodulator, speech coding and modulation treatment; Be that audio data stream in the subdata bag of 1 carries out interweaving and modulation treatment by described blended data bag middle wrapping head flag value.
9. method according to claim 6, is characterized in that, after described music file is treated to audio data stream by described ADSP, described method also comprises:
Described audio data stream is sent to receiver and plays by described ADSP.
10. method according to claim 6, is characterized in that, after described audio data stream and the audio data stream that receives are packaged into blended data bag by described APP processor, send to modulator-demodulator, before, described method also comprises:
Described ADSP receives the voice that microphone gathers, and after being audio data stream by described speech processes, described audio data stream is sent to described APP processor.
CN201510420616.9A 2015-07-16 2015-07-16 Methods and terminal for playing music during call Pending CN105120070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510420616.9A CN105120070A (en) 2015-07-16 2015-07-16 Methods and terminal for playing music during call

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510420616.9A CN105120070A (en) 2015-07-16 2015-07-16 Methods and terminal for playing music during call

Publications (1)

Publication Number Publication Date
CN105120070A true CN105120070A (en) 2015-12-02

Family

ID=54667951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510420616.9A Pending CN105120070A (en) 2015-07-16 2015-07-16 Methods and terminal for playing music during call

Country Status (1)

Country Link
CN (1) CN105120070A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105718237A (en) * 2016-01-20 2016-06-29 广东欧珀移动通信有限公司 Mobile terminal, method and device for audio switch thereof
CN105721698A (en) * 2016-02-19 2016-06-29 广东欧珀移动通信有限公司 Audio playing method and device, and mobile terminal
CN106534203A (en) * 2016-12-27 2017-03-22 努比亚技术有限公司 Mobile terminal and communication method
CN106817490A (en) * 2017-01-12 2017-06-09 努比亚技术有限公司 A kind of terminal and sound playing method
CN110025958A (en) * 2019-04-03 2019-07-19 网易(杭州)网络有限公司 Sending method, device, medium and the electronic equipment of voice
CN111432161A (en) * 2020-04-29 2020-07-17 随锐科技集团股份有限公司 Audio state visual playing and feedback method, device and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100628775B1 (en) * 2005-09-02 2006-10-02 엘지전자 주식회사 Method and apparatus for transmitting the sound of mp3 on busying in the telecommunication terminal
CN102780820A (en) * 2011-05-10 2012-11-14 深圳富泰宏精密工业有限公司 Mobile phone and system and method for playing music in process of call
CN103402171A (en) * 2013-08-08 2013-11-20 华为终端有限公司 Method and terminal for sharing background music during communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100628775B1 (en) * 2005-09-02 2006-10-02 엘지전자 주식회사 Method and apparatus for transmitting the sound of mp3 on busying in the telecommunication terminal
CN102780820A (en) * 2011-05-10 2012-11-14 深圳富泰宏精密工业有限公司 Mobile phone and system and method for playing music in process of call
CN103402171A (en) * 2013-08-08 2013-11-20 华为终端有限公司 Method and terminal for sharing background music during communication

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105718237A (en) * 2016-01-20 2016-06-29 广东欧珀移动通信有限公司 Mobile terminal, method and device for audio switch thereof
CN105718237B (en) * 2016-01-20 2019-03-01 Oppo广东移动通信有限公司 A kind of method and apparatus and mobile terminal of audio frequency of mobile terminal switching
CN105721698A (en) * 2016-02-19 2016-06-29 广东欧珀移动通信有限公司 Audio playing method and device, and mobile terminal
CN106534203A (en) * 2016-12-27 2017-03-22 努比亚技术有限公司 Mobile terminal and communication method
CN106817490A (en) * 2017-01-12 2017-06-09 努比亚技术有限公司 A kind of terminal and sound playing method
CN110025958A (en) * 2019-04-03 2019-07-19 网易(杭州)网络有限公司 Sending method, device, medium and the electronic equipment of voice
CN111432161A (en) * 2020-04-29 2020-07-17 随锐科技集团股份有限公司 Audio state visual playing and feedback method, device and terminal
CN111432161B (en) * 2020-04-29 2022-02-01 随锐科技集团股份有限公司 Audio state visual playing and feedback method, device and terminal

Similar Documents

Publication Publication Date Title
CN105338424A (en) Video processing method and system
CN105100892A (en) Video playing device and method
CN104954553A (en) Mobile terminal split-screen display method and device
CN105120070A (en) Methods and terminal for playing music during call
CN105101317A (en) Network switching device and method
CN105119825A (en) Data transmission device and data transmission method
CN105100482A (en) Mobile terminal and system for realizing sign language identification, and conversation realization method of the mobile terminal
CN105187521A (en) Service processing device and method
CN104735255A (en) Split screen display method and system
CN104967744A (en) Method and device for adjusting terminal parameters
CN105357593A (en) Method, device and system for uploading video
CN104796956A (en) Mobile terminal network switching method and mobile terminal
CN104954867A (en) Media playing method and device
CN105243126A (en) Cross-screen screen capture method and apparatus
CN104967717A (en) Noise reduction method and apparatus in terminal voice interaction mode
CN104731512A (en) Method, device and terminal for sharing pictures
CN104967573A (en) Data traffic monitoring method and terminal
CN105263049A (en) Video cropping device based on frame coordinate, method and mobile terminal
CN105101294A (en) Data transmission device and method
CN105094612A (en) Object selecting method and device
CN104850325A (en) Mobile terminal application processing method and device
CN104968033A (en) Terminal network processing method and apparatus
CN105100416A (en) Event reminding method and wearable device
CN105100673A (en) Voice over long term evolution (VoLTE) based desktop sharing method and device
CN105187664A (en) Control device and method for audio output equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151202