CN101964817A - Method, system and mobile terminal for supporting multiple voice channels based on android platforms - Google Patents
Method, system and mobile terminal for supporting multiple voice channels based on android platforms Download PDFInfo
- Publication number
- CN101964817A CN101964817A CN2010102921489A CN201010292148A CN101964817A CN 101964817 A CN101964817 A CN 101964817A CN 2010102921489 A CN2010102921489 A CN 2010102921489A CN 201010292148 A CN201010292148 A CN 201010292148A CN 101964817 A CN101964817 A CN 101964817A
- Authority
- CN
- China
- Prior art keywords
- voice
- module
- audio
- speech pattern
- current
- 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
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a method, a system and a mobile terminal for supporting multi-voice channels based on android platforms, which are applied to the technical field of communications. The method is applied to mobile terminals with multiple communication modules, which comprises the following steps of: defining multiple voice channels by a voice management module on an application layer, wherein the voice channels respectively correspond to voice modes used by different communication modules; judging the current state of an audio system and calling an audio frame management module on a frame layer by the voice management module; setting the current voice mode according to the current state of the audio system and calling an audio driving module on a driven layer by the audio frame management module; and according to the current voice mode, switching corresponding voice channels by the audio driving module to realize voice communication. Thus, the invention is capable of supporting multiple voice channels on an android platform to realize normal operation of multiple voice channels of multimode or double-mode mobile terminals on the android platform.
Description
Technical field
The present invention relates to the mobile communication technology field, relate in particular to a kind of method, system and portable terminal of supporting the more voice passage based on the Android platform.
Background technology
The Android platform is the mobile terminal operating system of increasing income based on the Linux platform of Google (Google) company exploitation.It comprises the required whole softwares of portable terminal work such as operating system, user interface and application program.Google company is by forming profound partnership relation with each side such as operator, equipment manufacturers, developers, wishes to form an open ecosystem by setting up standardization, open mobile terminal software platform in mobile industry.
In Audio (audio frequency) system of existing Android platform, be by in Audio ccf layer definition communication speech pattern, support the switching of communication speech pattern and other pattern, preserve and manage the mode state of Audio ccf layer simultaneously.But existing Audio ccf layer is only supported one road phonological working, and when portable terminal need add a plurality of communication module, the Audio ccf layer can't be supported the setting of multi-path voice passage, to call the Drive Layer operate as normal.
In summary, existing Android platform is supporting obviously to have inconvenience and defective, so be necessary to be improved on the more voice passage technology.
Summary of the invention
At above-mentioned defective, the object of the present invention is to provide a kind of method, system and portable terminal of supporting the more voice passage based on the Android platform, it can support the more voice channel function on the Android platform, thereby realizes multi-path voice operate as normal on the Android platform of multimode/mode mobile terminal.
To achieve these goals, the invention provides a kind of method based on Android platform support more voice passage, be applied to comprise the portable terminal of a plurality of communication modules, described method comprises that step is as follows:
The a plurality of voice channels of voice management module definition of application layer, each described voice channel speech pattern that corresponding different described communication module adopted respectively;
Described voice management module is judged current audio system state, and the audio frequency framework administration module of invoke block rack-layer;
Described audio frequency framework administration module is provided with current speech pattern according to described current audio system state, and calls the audio driven module of Drive Layer;
Described audio driven module is switched corresponding voice channel to realize voice communication according to described current speech pattern.
Support the method for more voice passage according to the present invention, described voice management module judges that the step of current audio system state also comprises before:
The communications applications module of described application layer was called described voice management module before voice communication, according to current communication pattern described current audio system state is set.
Support the method for more voice passage according to the present invention, described ccf layer provides Java local interface to described application layer.
Support the method for more voice passage according to the present invention, described speech pattern comprises CDMA speech pattern, GSM speech pattern.
The present invention also provides a kind of system based on Android platform support more voice passage, is applied to comprise the portable terminal of a plurality of communication modules, and described system comprises:
Be positioned at the voice management module of application layer, be used to define a plurality of voice channels, the speech pattern that the corresponding respectively different communication module of each described voice channel is adopted; Also be used to judge current audio system state, and call audio frequency framework administration module;
Be positioned at the audio frequency framework administration module of ccf layer, be used for current speech pattern being set, and call the audio driven module according to described current audio system state;
Be positioned at the audio driven module of Drive Layer, be used for, switch corresponding voice channel to realize voice communication according to this described current speech pattern.
Support the system of more voice passage according to the present invention, described application layer also comprises the communications applications module, is used for calling before voice communication described voice management module, according to current communication pattern described current audio system state is set.
Support the system of more voice passage according to the present invention, described ccf layer provides Java local interface to described application layer.
Support the system of more voice passage according to the present invention, described speech pattern comprises CDMA speech pattern, GSM speech pattern.
The present invention also provides a kind of above-mentioned portable terminal of supporting the system of more voice passage based on the Android platform that comprises.
The present invention is by making amendment to application layer, ccf layer and the Drive Layer of Audio system in the Android platform and perfect, promptly at a plurality of voice channels of voice management module definition of application layer and judge the Audio system mode, Audio framework administration module by ccf layer is provided with current speech pattern according to the Audio system mode, and the Audio driver module that calls Drive Layer switches corresponding voice channel to realize voice communication.Whereby, the present invention can support the more voice channel function on the Android platform, thereby realizes multi-path voice operate as normal on the Android platform of multimode/mode mobile terminal.
Description of drawings
Fig. 1 is a system construction drawing of supporting the more voice passage based on the Android platform provided by the invention;
Fig. 2 is a method flow diagram of supporting the more voice passage based on the Android platform provided by the invention;
Fig. 3 is the present invention preferably supports the more voice passage based on the Android platform a method flow diagram.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Basic thought of the present invention is: by application layer, ccf layer and the Drive Layer of Audio (audio frequency) system in the Android platform being made amendment and perfect, support the more voice channel function on the Android platform to be implemented in.So-called more voice passage is meant that a portable terminal holds two or more communication modules simultaneously, and a plurality of communication modules are connected with sound card, and support the speech data input and output on each road.
Fig. 1 shows and the present invention is based on the system configuration that the Android platform is supported the more voice passage, described system 100 is applied to the portable terminal that multimode/dual-mode handset etc. comprises a plurality of communication modules, this system 100 mainly is divided into application (Java) layer, ccf layer and Drive Layer according to the Android platform architecture, and comprise that mainly module has: be positioned at application layer voice management module 10, be positioned at the Audio framework administration module 20 of ccf layer and be positioned at the Audio driver module 30 of Drive Layer, wherein:
Audio framework administration module 20 is used to manage the Audio system mode, according to current Audio system mode current speech pattern is set, and to calling the interface of Drive Layer down, to call the Audio driver module 30 of Drive Layer.
Preferably, the application layer of native system 100 also comprises communications applications module 40, is used for calling voice management module 10 before each voice communication, and communications applications module 40 is provided with current Audio system mode according to the communication pattern of current reality.
As shown in Figure 1, in the Audio of Android platform system, had more an Audio ccf layer, the Audio system is provided to the Java application layer with interface function, and the Audio ccf layer provides JNI interface (JavaNative Interface, Java local interface) 50 to give the Java application layer.Application program all operates in the Java application layer, and each module of Java application layer can call each module of Audio ccf layer by JNI interface 50, and for example voice management module 10 is called Audio framework administration module 20 by JNI interface 50.The Audio ccf layer is specifically designed to the various mode switch management of processed voice, and to top Java application layer complete closed, the Java application layer is without the Managing speech processing logic, as long as call by different needs; Same to following Drive Layer, as long as actual, also need not manage logical process to the calling separately of a plurality of modules.This Audio system not only structure is analysed clearly, the follow-up function expansion of being more convenient for.
Fig. 2 shows and the present invention is based on the method flow that the Android platform is supported the more voice passage, and it can realize that described method comprises that step has by system shown in Figure 1 100:
Step S201, a plurality of voice channels of voice management module 10 definition of application layer, the speech pattern that the corresponding respectively different communication module of each voice channel is adopted.The GSM speech pattern of the CDMA speech pattern of cdma communication module and gsm communication module in the mode mobile terminal for example.
Step S202, voice management module 10 is judged current Audio system mode, and the Audio framework administration module 20 of invoke block rack-layer.Wherein, ccf layer provides JNI interface 50 to application layer, and voice management module 10 is called Audio framework administration module 20 by Java local interface 50 and got final product.
Step S203, Audio framework administration module 20 management Audio system modes, and current speech pattern is set according to current Audio system mode, and the Audio driver module 30 that calls Drive Layer is to realize the switching of various speech patterns.
Step S204, Audio driver module 30 switch corresponding voice channel to realize voice communication according to current speech pattern.Audio driver module 30 becomes the voice channel of respective communication module to realize received audio signal according to the different phonetic mode switch, send voice signal.
By above-mentioned method based on Android platform support more voice passage, the present invention can effectively solve the problem of supporting the multi-path voice operate as normal under the Android platform.
Fig. 3 shows the preferred method flow of supporting the more voice passage of invention, and present embodiment is applied to comprise the mode mobile terminal of cdma communication module and gsm communication module, and it can realize that by system 100 as shown in Figure 1 this method comprises that specifically step is as follows:
Step S301, voice management module 10 definition two voice channels---the CDMA voice channel and the GSM voice channels of application layer, the CDMA speech pattern that the corresponding cdma communication module of CDMA voice channel adopts, the GSM speech pattern that the corresponding gsm communication module of GSM voice channel adopts.
Step S302, the communications applications module 40 of application layer was called the voice management module 10 of this layer before each voice communication, according to current communication pattern current Audio system mode is set.That is to say that communications applications module 40 decision Audio system modes are because have only communications applications module 40 to know that just current communication module of carrying out voice communication is cdma communication module or gsm communication module.
Step S303, voice management module 10 is judged current Audio system mode, and passes through the Audio framework administration module 20 of JNI interface 50 invoke block rack-layers.
Step S304, Audio framework administration module 20 receive and also handle the order that application layer is called, and according to current Audio system mode setting and preserve current speech pattern, and call the Audio driver module 30 of Drive Layer.Here, Audio framework administration module 20 is converted to the discernible classification of Drive Layer with correlation type, to call Audio driver module 30.
Step S305, the order that Audio driver module 30 receives and the processing block rack-layer is called according to current speech pattern, is switched corresponding voice channel, to connect different hardware module work.
Step S306, if current be the CDMA speech pattern, then call the cdma communication module with phonetic entry, output to sound card and handle.
Step S307, if current be the GSM speech pattern, then call the gsm communication module with phonetic entry, output to sound card and handle.
In sum, the present invention is by making amendment to application layer, ccf layer and the Drive Layer of Audio system in the Android platform and perfect, promptly at a plurality of voice channels of voice management module definition of application layer and judge the Audio system mode, Audio framework administration module by ccf layer is provided with current speech pattern according to the Audio system mode, and the Audio driver module that calls Drive Layer switches corresponding voice channel to realize voice communication.Whereby, the present invention can support the more voice channel function on the Android platform, thereby realizes multi-path voice operate as normal on the Android platform of multimode/mode mobile terminal.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.
Claims (9)
1. support the method for more voice passage based on the Android platform for one kind, be applied to comprise the portable terminal of a plurality of communication modules, it is characterized in that described method comprises that step is as follows:
The a plurality of voice channels of voice management module definition of application layer, each described voice channel speech pattern that corresponding different described communication module adopted respectively;
Described voice management module is judged current audio system state, and the audio frequency framework administration module of invoke block rack-layer;
Described audio frequency framework administration module is provided with current speech pattern according to described current audio system state, and calls the audio driven module of Drive Layer;
Described audio driven module is switched corresponding voice channel to realize voice communication according to described current speech pattern.
2. method according to claim 1 is characterized in that, described voice management module judges that the step of current audio system state also comprises before:
The communications applications module of described application layer was called described voice management module before voice communication, according to current communication pattern described current audio system state is set.
3. method according to claim 1 is characterized in that described ccf layer provides Java local interface to described application layer.
4. method according to claim 1 is characterized in that, described speech pattern comprises CDMA speech pattern, GSM speech pattern.
5. support the system of more voice passage based on the Android platform for one kind, be applied to comprise the portable terminal of a plurality of communication modules, it is characterized in that described system comprises:
Be positioned at the voice management module of application layer, be used to define a plurality of voice channels, the speech pattern that the corresponding respectively different communication module of each described voice channel is adopted; Also be used to judge current audio system state, and call audio frequency framework administration module;
Be positioned at the audio frequency framework administration module of ccf layer, be used for current speech pattern being set, and call the audio driven module according to described current audio system state;
Be positioned at the audio driven module of Drive Layer, be used for, switch corresponding voice channel to realize voice communication according to this described current speech pattern.
6. system according to claim 5 is characterized in that described application layer also comprises the communications applications module, is used for calling before voice communication described voice management module, according to current communication pattern described current audio system state is set.
7. system according to claim 5 is characterized in that described ccf layer provides Java local interface to described application layer.
8. system according to claim 5 is characterized in that, described speech pattern comprises CDMA speech pattern, GSM speech pattern.
9. one kind comprises as support the portable terminal of the system of more voice passage as described in any one of the claim 5~8 based on the Android platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102921489A CN101964817A (en) | 2010-09-25 | 2010-09-25 | Method, system and mobile terminal for supporting multiple voice channels based on android platforms |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102921489A CN101964817A (en) | 2010-09-25 | 2010-09-25 | Method, system and mobile terminal for supporting multiple voice channels based on android platforms |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101964817A true CN101964817A (en) | 2011-02-02 |
Family
ID=43517547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102921489A Pending CN101964817A (en) | 2010-09-25 | 2010-09-25 | Method, system and mobile terminal for supporting multiple voice channels based on android platforms |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101964817A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413216A (en) * | 2011-11-18 | 2012-04-11 | 深圳市中兴移动通信有限公司 | Method and system for realizing Android intelligent mobile terminal voice communication |
CN104811806A (en) * | 2015-03-23 | 2015-07-29 | 四川长虹电器股份有限公司 | Control method for audio mixed output |
CN105100871A (en) * | 2015-07-27 | 2015-11-25 | 四川长虹电器股份有限公司 | Mute control method of intelligent television under one-screen multi-window mode |
CN105611052A (en) * | 2015-12-21 | 2016-05-25 | 联想(北京)有限公司 | Information processing method and electronic apparatus |
CN108632772A (en) * | 2017-03-20 | 2018-10-09 | 展讯通信(上海)有限公司 | Implementation method, device and the communication terminal of multi-way call |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101068416A (en) * | 2007-06-08 | 2007-11-07 | 北京恒宝信息技术有限公司 | Method and device used for multi-mode smart card operating system |
CN101068406A (en) * | 2007-01-16 | 2007-11-07 | 中兴通讯股份有限公司 | A TD-SCDMA/GSM double-mode double-standby intelligent mobile terminal |
CN101232681A (en) * | 2008-02-01 | 2008-07-30 | 中兴通讯股份有限公司 | Method and device for implementing voice call continuity on mobile phone |
-
2010
- 2010-09-25 CN CN2010102921489A patent/CN101964817A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101068406A (en) * | 2007-01-16 | 2007-11-07 | 中兴通讯股份有限公司 | A TD-SCDMA/GSM double-mode double-standby intelligent mobile terminal |
CN101068416A (en) * | 2007-06-08 | 2007-11-07 | 北京恒宝信息技术有限公司 | Method and device used for multi-mode smart card operating system |
CN101232681A (en) * | 2008-02-01 | 2008-07-30 | 中兴通讯股份有限公司 | Method and device for implementing voice call continuity on mobile phone |
Non-Patent Citations (1)
Title |
---|
钟明林: "基于Android智能手机平台方案", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413216A (en) * | 2011-11-18 | 2012-04-11 | 深圳市中兴移动通信有限公司 | Method and system for realizing Android intelligent mobile terminal voice communication |
CN102413216B (en) * | 2011-11-18 | 2015-05-13 | 努比亚技术有限公司 | Method and system for realizing Android intelligent mobile terminal voice communication |
CN104811806A (en) * | 2015-03-23 | 2015-07-29 | 四川长虹电器股份有限公司 | Control method for audio mixed output |
CN104811806B (en) * | 2015-03-23 | 2017-10-03 | 四川长虹电器股份有限公司 | The method of audio mix output control |
CN105100871A (en) * | 2015-07-27 | 2015-11-25 | 四川长虹电器股份有限公司 | Mute control method of intelligent television under one-screen multi-window mode |
CN105611052A (en) * | 2015-12-21 | 2016-05-25 | 联想(北京)有限公司 | Information processing method and electronic apparatus |
CN105611052B (en) * | 2015-12-21 | 2019-03-29 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN108632772A (en) * | 2017-03-20 | 2018-10-09 | 展讯通信(上海)有限公司 | Implementation method, device and the communication terminal of multi-way call |
CN108632772B (en) * | 2017-03-20 | 2022-10-28 | 展讯通信(上海)有限公司 | Method and device for realizing multi-channel call and communication terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105681567B (en) | Mobile terminal and communication method based on dual channels | |
US20100240414A1 (en) | Method and apparatus to have more sim cards than cellular modems and assign the sim cards to the modems at run time | |
CN101964817A (en) | Method, system and mobile terminal for supporting multiple voice channels based on android platforms | |
CN105848310A (en) | Multi-standby terminal of Android system and method for realizing multi-standby of terminal | |
US20090036123A1 (en) | Band scanning and cell selection method and apparatus for mobile station | |
CN113316206B (en) | Cell reselection method, device, terminal equipment and storage medium | |
CN101742592B (en) | Switching method for communication conversation modes and the system and mobile terminal thereof. | |
CN105472774A (en) | User device, wireless communication method and terminal | |
CN105407229A (en) | Method and system for achieving switching of three-party call by using combination key | |
CN102056343A (en) | Double-standby wireless terminal and method for receiving and sending signals of double-standby wireless terminal | |
KR20110103625A (en) | Dual standby portable terminal and method for connecting audio path | |
CN102984829A (en) | Android mobile communication terminal and network switching method | |
CN1871778B (en) | Network element, method and apparatus for parameter recoding | |
CN102752759B (en) | Avoid the method and system that terminal radio frequency disturbs | |
CN101193443A (en) | Mobile communication device for group call between cellular mobile communication and network voice communication | |
CN102088798A (en) | Method and system for avoiding inter-mode interference of terminal | |
CN101137151B (en) | Dual-mode mobile terminal voice switching method | |
CN102014390A (en) | Method and device for carrying out communication on dual-net dual-standby terminal | |
US8718648B2 (en) | System, method and base station subsystem for realizing handover in local switch | |
CN101668321B (en) | Control method, device and system for connecting network by multimode mobile terminal | |
CN101287012B (en) | Method and apparatus for network service of wireless interface layer | |
CN101854574A (en) | Microphone circuit in dual-mode dual-standby mobile terminal and implementation method thereof | |
US20150063276A1 (en) | Service connection apparatus and method in portable terminal | |
CN106817257B (en) | Mobile terminal and upgrading method | |
CN104581856A (en) | Network redirection method and 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 | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110202 |