CN102800340A - Method and device for managing sound source of vehicle-mounted Android platform - Google Patents

Method and device for managing sound source of vehicle-mounted Android platform Download PDF

Info

Publication number
CN102800340A
CN102800340A CN2012102018104A CN201210201810A CN102800340A CN 102800340 A CN102800340 A CN 102800340A CN 2012102018104 A CN2012102018104 A CN 2012102018104A CN 201210201810 A CN201210201810 A CN 201210201810A CN 102800340 A CN102800340 A CN 102800340A
Authority
CN
China
Prior art keywords
sound
source
application
front opening
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012102018104A
Other languages
Chinese (zh)
Other versions
CN102800340B (en
Inventor
杨强
柏明勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wei Ma Automotive Technology Group Co., Ltd.
Original Assignee
SHENZHEN LETOU KAER 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 SHENZHEN LETOU KAER TECHNOLOGY Co Ltd filed Critical SHENZHEN LETOU KAER TECHNOLOGY Co Ltd
Priority to CN201210201810.4A priority Critical patent/CN102800340B/en
Publication of CN102800340A publication Critical patent/CN102800340A/en
Application granted granted Critical
Publication of CN102800340B publication Critical patent/CN102800340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method for managing a sound source of a vehicle-mounted Android platform. The method comprises the following steps of: receiving broadcast of various applications; judging whether the current opened application is a general application or not; performing sound mixing treatment if the current opened application is the general application; giving a command to play a sound source of the current opened application and closing sound sources of other applications; and playing according to the playing command. The invention also discloses a device for managing the sound source of the vehicle-mounted Android platform, and the method is used by the device. The method and the device can be used for managing the sound source of the vehicle-mounted Android platform.

Description

A kind of source of sound management method and device of vehicle-mounted Android platform
Technical field
The present invention relates to vehicle-mounted Android platform, especially relate to a kind of source of sound management method and device of vehicle-mounted Android platform.
Background technology
On existing Android equipment, the App (Application, application program) of various broadcast source of sound functions is arranged, when opening a plurality of App and play source of sound simultaneously, various sound are play together, will what all not hear, from having formed noise.Its schematic diagram is as shown in Figure 4, and the App application end directly is connected with the source of sound output terminal, and the application A pp1 in the App application end, App2 and App3 open directly source of sound output of back, and are left intact.Its method flow is as shown in Figure 5.Successively open the App of a plurality of broadcast sources of sound, Android equipment is play all App that open simultaneously.Cause simultaneously and play owing to the App of a plurality of broadcast sources of sound of successively opening not being done any processing, brought very big trouble, can not let the user listen him to want the sound of listening, cause the user experience of failure to the user.
Therefore, be badly in need of how exploitation is a kind of solves a plurality of App and play source of sound simultaneously, and do not produce the technology of noise, audio mixing.
Summary of the invention
When the present invention plays source of sound simultaneously in order to solve a plurality of application of prior art Android equipment; Various sound are play together; What is not all heard to cause the user, can't hear the technical matters of the sound that he wants to listen, and a kind of source of sound management method and device of vehicle-mounted Android platform is provided.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is the source of sound management method of a kind of vehicle-mounted Android platform of design, comprising:
Receive the broadcasting of each application;
Judge whether the application when front opening is general application, if general the application then carry out audio mixing and handle, send broadcast when the source of sound of the application of front opening, close the play instruction of the source of sound of other application;
Play according to said play instruction.
Said audio mixing is handled and is comprised:
Judge whether it is that the current application and the current source of sound path of having opened in the car machine is not the source of sound when the application of front opening;
If then, current source of sound is decided to be the source of sound when the application of front opening with the path zero clearing of current source of sound;
JNI method in the invokes thread says the word toward the kernel layer;
The Kernel layer receive orders the back to chip send broadcast when the source of sound of the application of front opening, close the play instruction of other sources of sound.
The source of sound management method of said vehicle-mounted Android platform also comprises:
If not general the application, then send independent broadcast when the source of sound of the special applications of front opening, close the play instruction of the source of sound of other application.
The present invention also provides a kind of source of sound management devices of vehicle-mounted Android platform, comprising:
The App application end, it sends the broadcasting of each application;
The source of sound administration module, it receives the broadcasting of each application, judges whether the application when front opening is general application, if general the application then carry out audio mixing and handle, and send broadcast when the source of sound of the application of front opening, close the play instruction of the source of sound of other application;
The source of sound output terminal, it is play according to said play instruction.
Said audio mixing is handled and is comprised:
Judge whether it is that the current application and the current source of sound path of having opened in the car machine is not the source of sound when the application of front opening;
If then, current source of sound is decided to be the source of sound when the application of front opening with the path zero clearing of current source of sound;
JNI method in the invokes thread says the word toward the kernel layer;
The Kernel layer receive orders the back to chip send broadcast when the source of sound of the application of front opening, close the play instruction of other sources of sound.
Said source of sound administration module also comprises to be judged if not general the application, then send independent broadcast when the source of sound of the special applications of front opening, close the play instruction of the source of sound of other application.
The present invention is through judging whether the application when front opening is general application; If general the application; Then carry out audio mixing and handle, and play source of sound, close the source of sound of other application when the application of front opening; Cause sound to obscure and problem that the user can not hear clearly thereby can avoid a plurality of application of opening to play source of sound simultaneously, make user experience better.
Description of drawings
Below in conjunction with embodiment and accompanying drawing the present invention is elaborated, wherein:
Fig. 1 is the schematic diagram of the source of sound management devices of the vehicle-mounted Android platform of the present invention;
Fig. 2 is the process flow diagram of the source of sound management method of the vehicle-mounted Android platform of the present invention;
Fig. 3 is the process flow diagram that audio mixing of the present invention is handled;
Fig. 4 is the schematic diagram of the source of sound management devices of existing vehicle-mounted Android platform;
Fig. 5 is the process flow diagram of the source of sound management method of existing vehicle-mounted Android platform.
Embodiment
See also Fig. 1.The source of sound management devices of the vehicle-mounted Android platform of the present invention comprises: the App application end, source of sound administration module and the source of sound output terminal that connect successively.
The App application end is sent the broadcasting of each application.
The source of sound administration module is mainly used in the broadcasting that receives each application; Judge whether the application when front opening is general application; If general the application then carried out audio mixing and handled, and send broadcast when the source of sound of the application of front opening, close the play instruction of the source of sound of other application.
Please in the lump referring to Fig. 3.Said audio mixing is handled and is comprised:
1, judges whether it is that the current application and the current source of sound path of having opened in the car machine is not the source of sound when the application of front opening;
If 2, then, current source of sound is decided to be the source of sound when the application of front opening with the path zero clearing of current source of sound; If not, then directly skip;
3, the JNI method in the invokes thread says the word toward the kernel layer;
4, the Kernel layer receive orders the back to chip send broadcast when the source of sound of the application of front opening, close the play instruction of other sources of sound.
The source of sound administration module also comprises to be judged if not general the application, then send independent broadcast when the source of sound of the special applications of front opening, close the play instruction of the source of sound of other application.
The source of sound output terminal is mainly used in according to said play instruction and plays.
See also Fig. 2.The source of sound management method of a kind of vehicle-mounted Android platform of the present invention comprises:
Step 1, receive the broadcasting of each application;
As successively receiving a plurality of application App1, App2 and App3.
Step 2, judge whether the application when front opening is general application, if general the application then carry out audio mixing and handle, and send broadcast when the source of sound of the application of front opening, close the play instruction of the source of sound of other application;
Please in the lump referring to Fig. 3.Said audio mixing is handled and is comprised:
1, judges whether it is that the current application and the current source of sound path of having opened in the car machine is not the source of sound when the application of front opening;
If 2, then, current source of sound is decided to be the source of sound when the application of front opening with the path zero clearing of current source of sound;
If not, then directly skip.
3, the JNI method in the invokes thread says the word toward the kernel layer;
4, the Kernel layer receive orders the back to chip send broadcast when the source of sound of the application of front opening, close the play instruction of other sources of sound.
In the present invention, definition generally is applied as system applies, and the definition special applications is a functional application, and like bluetooth module, the output of decoding and reversing module etc. is functional application, thereby can carry out special processing to single independently module in the car machine.
If not general the application, then send independent broadcast when the source of sound of the special applications of front opening, close the play instruction of the source of sound of other application.
Obviously; The present invention only is divided into general application and special applications with application; Then this moment, need not judge whether the application when front opening is special applications, so long as not general application; Then directly think special applications, play separately source of sound, close the source of sound of other application when the special applications of front opening.
Certainly, also can increase to judge whether it is the step of special applications, have only and judge it is just to carry out corresponding action after the special applications.
Step 3, play according to said play instruction.
As successively opening App1, App2 and the App3 that plays source of sound,, then only play the source of sound of App3, and stop the broadcast of the source of sound of App1 and App2 because App3 opens at last.And when successively opening the App3 that plays source of sound, App2 and App1, App1 opens at last, then only plays the source of sound of App1, and stops the broadcast of the source of sound of App2 and App3.
No matter be general the application or special applications, core concept of the present invention is exactly to play the source of sound of closing other application when the source of sound of the application of front opening, and the technology that just when handling, adopts is different.
The present invention is through judging whether the application when front opening is general application; If general the application; Then carry out audio mixing and handle, and play source of sound, close the source of sound of other application when the application of front opening; Cause sound to obscure and problem that the user can not hear clearly thereby can avoid a plurality of application of opening to play source of sound simultaneously, make user experience better.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. the source of sound management method of a vehicle-mounted Android platform is characterized in that comprising:
Receive the broadcasting of each application;
Judge whether the application when front opening is general application, if general the application then carry out audio mixing and handle, send broadcast when the source of sound of the application of front opening, close the play instruction of the source of sound of other application;
Play according to said play instruction.
2. the source of sound management method of vehicle-mounted Android platform according to claim 1 is characterized in that: said audio mixing is handled and is comprised:
Judge whether it is that the current application and the current source of sound path of having opened in the car machine is not the source of sound when the application of front opening;
If then, current source of sound is decided to be the source of sound when the application of front opening with the path zero clearing of current source of sound;
JNI method in the invokes thread says the word toward the kernel layer;
The Kernel layer receive orders the back to chip send broadcast when the source of sound of the application of front opening, close the play instruction of other sources of sound.
3. the source of sound management method of vehicle-mounted Android platform according to claim 1 is characterized in that: the source of sound management method of said vehicle-mounted Android platform also comprises:
If not general the application, then send independent broadcast when the source of sound of the special applications of front opening, close the play instruction of the source of sound of other application.
4. the source of sound management devices of a vehicle-mounted Android platform is characterized in that comprising:
The App application end, it sends the broadcasting of each application;
The source of sound administration module, it receives the broadcasting of each application, judges whether the application when front opening is general application, if general the application then carry out audio mixing and handle, and send broadcast when the source of sound of the application of front opening, close the play instruction of the source of sound of other application;
The source of sound output terminal, it is play according to said play instruction.
5. the source of sound management devices of vehicle-mounted Android platform according to claim 4 is characterized in that: said audio mixing is handled and is comprised:
Judge whether it is that the current application and the current source of sound path of having opened in the car machine is not the source of sound when the application of front opening;
If then, current source of sound is decided to be the source of sound when the application of front opening with the path zero clearing of current source of sound;
JNI method in the invokes thread says the word toward the kernel layer;
The Kernel layer receive orders the back to chip send broadcast when the source of sound of the application of front opening, close the play instruction of other sources of sound.
6. the source of sound management devices of vehicle-mounted Android platform according to claim 4; It is characterized in that: said source of sound administration module also comprises to be judged if not general the application, then send independent broadcast when the source of sound of the special applications of front opening, close the play instruction of the source of sound of other application.
CN201210201810.4A 2012-06-19 2012-06-19 Method and device for managing sound source of vehicle-mounted Android platform Active CN102800340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210201810.4A CN102800340B (en) 2012-06-19 2012-06-19 Method and device for managing sound source of vehicle-mounted Android platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210201810.4A CN102800340B (en) 2012-06-19 2012-06-19 Method and device for managing sound source of vehicle-mounted Android platform

Publications (2)

Publication Number Publication Date
CN102800340A true CN102800340A (en) 2012-11-28
CN102800340B CN102800340B (en) 2015-02-18

Family

ID=47199429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210201810.4A Active CN102800340B (en) 2012-06-19 2012-06-19 Method and device for managing sound source of vehicle-mounted Android platform

Country Status (1)

Country Link
CN (1) CN102800340B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103474078A (en) * 2013-09-17 2013-12-25 惠州华阳通用电子有限公司 Method for achieving sound mixing
CN106952658A (en) * 2017-02-28 2017-07-14 生迪智慧科技有限公司 The audio frequency playing method and intelligent LED lamp of intelligent LED lamp
CN113450835A (en) * 2021-06-04 2021-09-28 佛吉亚歌乐电子(丰城)有限公司 Method, equipment and storage medium for optimizing vehicle-mounted central control noise-free background noise

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192203A (en) * 2006-11-30 2008-06-04 中兴通讯股份有限公司 Mobile phones audio frequency playing method
CN101404741A (en) * 2008-11-06 2009-04-08 北京创毅视讯科技有限公司 Audio playing apparatus and method, and digital television chip
CN101469995A (en) * 2007-12-27 2009-07-01 英业达股份有限公司 Navigation and multimedia switching method and electronic device using the same
CN101600015A (en) * 2008-06-06 2009-12-09 深圳富泰宏精密工业有限公司 Audio playing management system and method
CN101697644A (en) * 2009-10-29 2010-04-21 青岛海信移动通信技术股份有限公司 Mixed sound output method and mixed sound output related device of mobile terminal
CN101738198A (en) * 2008-11-05 2010-06-16 金宝电子(北京)有限公司 System and method of navigation system for controlling sound playing
CN102170601A (en) * 2010-04-30 2011-08-31 上海博泰悦臻电子设备制造有限公司 Sound source switching device and sound source switching method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192203A (en) * 2006-11-30 2008-06-04 中兴通讯股份有限公司 Mobile phones audio frequency playing method
CN101469995A (en) * 2007-12-27 2009-07-01 英业达股份有限公司 Navigation and multimedia switching method and electronic device using the same
CN101600015A (en) * 2008-06-06 2009-12-09 深圳富泰宏精密工业有限公司 Audio playing management system and method
CN101738198A (en) * 2008-11-05 2010-06-16 金宝电子(北京)有限公司 System and method of navigation system for controlling sound playing
CN101404741A (en) * 2008-11-06 2009-04-08 北京创毅视讯科技有限公司 Audio playing apparatus and method, and digital television chip
CN101697644A (en) * 2009-10-29 2010-04-21 青岛海信移动通信技术股份有限公司 Mixed sound output method and mixed sound output related device of mobile terminal
CN102170601A (en) * 2010-04-30 2011-08-31 上海博泰悦臻电子设备制造有限公司 Sound source switching device and sound source switching method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103474078A (en) * 2013-09-17 2013-12-25 惠州华阳通用电子有限公司 Method for achieving sound mixing
CN103474078B (en) * 2013-09-17 2016-03-09 惠州华阳通用电子有限公司 A kind of audio mixing implementation method
CN106952658A (en) * 2017-02-28 2017-07-14 生迪智慧科技有限公司 The audio frequency playing method and intelligent LED lamp of intelligent LED lamp
CN113450835A (en) * 2021-06-04 2021-09-28 佛吉亚歌乐电子(丰城)有限公司 Method, equipment and storage medium for optimizing vehicle-mounted central control noise-free background noise

Also Published As

Publication number Publication date
CN102800340B (en) 2015-02-18

Similar Documents

Publication Publication Date Title
CN109273001B (en) Voice broadcasting method and device, computing device and storage medium
CN109743654A (en) A kind of bluetooth headset major-minor ear switching method, device, equipment and medium
CN104267924A (en) Mobile terminal and audio processing method thereof
CN108052312B (en) Method for realizing multi-channel recording based on android system and audio system
CN109348051A (en) Method, apparatus, equipment and the medium of auto-pickup mobile phone communication
CN105929967B (en) The analogue system of multichannel real-time audio signal processing
CN105378646A (en) Multiple concurrent audio modes
CN104268025A (en) Interprocess communication method and system, and server
WO2013123732A1 (en) Multimedia resource management method and device for mobile terminal
CN102800340A (en) Method and device for managing sound source of vehicle-mounted Android platform
CN105895128A (en) Playing method and associated device
CN102354278B (en) The processing method and equipment of a kind of voice data
CN113992965A (en) Low-delay transmission method and system
CN104168446B (en) Audio-video signal digital-to-analogue switching system based on scheduling message and hard decoder
CN104144414A (en) Information intercepting method and device
WO2018067564A1 (en) Multichannel audio interception and redirection for multimedia devices
CN108563468A (en) A kind of method, apparatus and Baffle Box of Bluetooth of Baffle Box of Bluetooth data processing
CN105512067B (en) A kind of mobile terminal and its port multiplexing circuit and method
WO2022042327A1 (en) Channel configuration method and device for audio drive motor
CN104066033A (en) Bluetooth sound box system and using method thereof
US11488571B2 (en) Anti-eavesdrop security device
CN106354556B (en) Audio transmission method and electronic device
CN103402149A (en) Method for virtualizing set top box into Bluetooth sound box, set top box and host
CN105139886B (en) A kind of method for playing music and system using switching device
CN107864448B (en) Equipment for realizing two-channel communication based on Bluetooth 2.0 or 3.0 and communication method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160712

Address after: Nanshan District on the road of Shenzhen city Guangdong province 518000 No. 4 garden 3 building 801 in half

Patentee after: Zhong Senlin

Address before: 518000 T3 factory building T3B5-a, hi tech Industrial Village, Nanshan District hi tech Zone, Guangdong, Shenzhen

Patentee before: Shenzhen Letou Kaer Technology Co., Ltd.

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20161027

Address after: Wenzhou City, Zhejiang Province in 325000 port industry cluster zone, the administrative center of No. 1 building 156 room

Patentee after: Vimar automotive Wenzhou Co. Ltd.

Address before: Nanshan District on the road of Shenzhen city Guangdong province 518000 No. 4 garden 3 building 801 in half

Patentee before: Zhong Senlin

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20161201

Address after: Qingpu District of Shanghai City Lai Hong Kong Road 201700 room No. 77 510-523

Patentee after: V-mark Automobile Technology Co Ltd

Address before: Wenzhou City, Zhejiang Province in 325000 port industry cluster zone, the administrative center of No. 1 building 156 room

Patentee before: Vimar automotive Wenzhou Co. Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 201700 room 510-523, Laisheng Road, Qingpu District, Shanghai

Patentee after: Wei Ma Automotive Technology Group Co., Ltd.

Address before: 201700 room 510-523, Laisheng Road, Qingpu District, Shanghai

Patentee before: V-mark Automobile Technology Co Ltd