CN112130802A - Vehicle-mounted audio playing method and device, vehicle and storage medium - Google Patents
Vehicle-mounted audio playing method and device, vehicle and storage medium Download PDFInfo
- Publication number
- CN112130802A CN112130802A CN202011017504.6A CN202011017504A CN112130802A CN 112130802 A CN112130802 A CN 112130802A CN 202011017504 A CN202011017504 A CN 202011017504A CN 112130802 A CN112130802 A CN 112130802A
- Authority
- CN
- China
- Prior art keywords
- audio
- application
- focus
- vehicle
- playing
- 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
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000012545 processing Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 5
- 230000007246 mechanism Effects 0.000 abstract description 8
- 230000006870 function Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/48—Indexing scheme relating to G06F9/48
- G06F2209/484—Precedence
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5021—Priority
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
Abstract
The embodiment of the invention discloses a method and a device for playing vehicle-mounted audio, a vehicle and a storage medium. Wherein, the method comprises the following steps: if an audio focus application request of a target audio application in any vehicle-mounted operating system is received through an audio proxy service in the main vehicle-mounted operating system, determining a related audio application to which an audio focus belongs currently; and determining an audio focus preemption result of the target audio application and the associated audio application according to the playing priority of the target audio application and the associated audio application. According to the technical scheme provided by the embodiment of the invention, the commonly observed audio focus mechanism is realized on the multiple vehicle-mounted operating systems, so that the audio application in each vehicle-mounted operating system can play the corresponding audio according to a certain rule, the noise of audio playing among the multiple vehicle-mounted operating systems is avoided, and the coordination of audio playing among the multiple vehicle-mounted operating systems is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of vehicle control, in particular to a method and a device for playing vehicle-mounted audio, a vehicle and a storage medium.
Background
With the improvement of living standards of people, vehicles convenient for traveling become necessities in daily life gradually, at this time, in order to improve entertainment in the driving process of the vehicles, a plurality of audio applications, such as a music player, a road condition broadcasting application, a conversation application and the like, are configured on one vehicle-mounted operating system, and in order to prevent the problem of noisy playing caused when a plurality of audio applications play audio simultaneously, a set of audio focus (audio focus) mechanism is designed on the vehicle-mounted operating system to manage the coordinated playing of the audio on each audio application.
However, with the rapid development of the intelligent cabin technology, a set of independent vehicle-mounted operating systems can be respectively operated at the positions of central control, copilot, back row entertainment and the like in the vehicle cabin to respectively control the entertainment of different cabin positions, but only one set of sound system is configured on the vehicle, so that the audio applied to a specific audio on a plurality of vehicle-mounted operating systems can be simultaneously played, and the problem of noisy audio playing among the plurality of vehicle-mounted operating systems is caused, so that how to make the plurality of vehicle-mounted operating systems jointly obey the same AudioFocus mechanism becomes a great problem of vehicle-mounted audio playing.
Disclosure of Invention
The embodiment of the invention provides a method and a device for playing a vehicle-mounted audio, a vehicle and a storage medium, which can avoid the noise of audio playing among multiple vehicle-mounted operating systems and improve the coordination of audio playing among the multiple vehicle-mounted operating systems.
In a first aspect, an embodiment of the present invention provides a method for playing a car audio, where the method includes:
if an audio focus application request of a target audio application in any vehicle-mounted operating system is received through an audio proxy service in the main vehicle-mounted operating system, determining a related audio application to which an audio focus belongs currently;
and determining an audio focus preemption result of the target audio application and the associated audio application according to the playing priority of the target audio application and the associated audio application.
In a second aspect, an embodiment of the present invention provides a device for playing car audio, where the device includes:
the system comprises a related application determining module, a processing module and a processing module, wherein the related application determining module is used for determining a related audio application to which an audio focus currently belongs if an audio focus application request of a target audio application in any vehicle-mounted operating system is received through an audio proxy service in the main vehicle-mounted operating system;
and the audio focus preemption module is used for determining the audio focus preemption result of the target audio application and the associated audio application according to the playing priority of the target audio application and the associated audio application.
In a third aspect, an embodiment of the present invention provides a vehicle including:
one or more processors disposed on a primary onboard operating system within a multi-onboard operating system;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for playing car audio according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for playing car audio according to any embodiment of the present invention.
The embodiment of the invention provides a method, a device, a vehicle and a storage medium for playing vehicle-mounted audio, wherein corresponding audio proxy services are operated on a main vehicle-mounted operating system in a multi-vehicle-mounted operating system, when an audio focus application request of a target audio application in any vehicle-mounted operating system is received through the audio proxy services in the main vehicle-mounted operating system, a related audio application to which an audio focus belongs is determined at first, then according to the playing priority of the target audio application and the related audio application, the audio focus preemption results of the target audio application and the related audio application are re-determined, so that a commonly-obeyed audio focus mechanism is realized on the multi-vehicle-mounted operating system, the audio applications in each vehicle-mounted operating system can play corresponding audio according to a certain rule, and the noise of audio playing between the multi-vehicle-mounted operating systems is avoided, and the coordination of audio playing among the multiple vehicle-mounted operating systems is improved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a flowchart of a method for playing a car audio according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for playing a car audio according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a vehicle-mounted audio playing device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a vehicle according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for playing a car audio according to an embodiment of the present invention. The embodiment can be applied to any situation of playing the corresponding audio through the audio application in the multi-vehicle operating system. The method for playing the car audio provided by the embodiment of the present invention may be executed by the device for playing the car audio provided by the embodiment of the present invention, and the device may be implemented in a software and/or hardware manner, and is integrated into a vehicle for executing the method, and the vehicle is configured with a plurality of car operating systems.
Specifically, referring to fig. 1, the method specifically includes the following steps:
s110, if an audio focus application request of a target audio application in any vehicle-mounted operating system is received through an audio agent service in the main vehicle-mounted operating system, determining the associated audio application to which the audio focus belongs currently.
Specifically, in order to ensure independent control of entertainment facilities in different cabin positions in a vehicle, a set of independent vehicle-mounted operating system is respectively operated in different cabin positions such as central control, copilot and back row entertainment in the vehicle cabin, so that a plurality of sets of vehicle-mounted operating systems are configured in the vehicle cabin, and each vehicle-mounted operating system is configured with corresponding audio application, so that entertainment diversity in the vehicle running process is increased; however, since only one set of sound system is usually configured on the vehicle, when the audio of a certain audio application on multiple vehicle-mounted operating systems is played simultaneously, the problem of noisy audio playing between the multiple vehicle-mounted operating systems is caused, so a set of audio focus mechanism that can comply with the same commonly needs to be set between the multiple vehicle-mounted operating systems of the vehicle, that is, in any audio application in the multiple vehicle-mounted operating systems, only the audio application that successfully preempts the audio focus is allowed to play the corresponding audio.
It should be noted that, the vehicle-mounted operating system in this embodiment may be any operating system among a Windows operating system, a macOS operating system, a Linux operating system, an iOS operating system, and an Android operating system, which is not limited to this; meanwhile, the audio applications configured on the vehicle-mounted operating system may include any applications having a voice playing function, such as a call application, an audio player, a traffic report application, and the like.
In this embodiment, first, any one of the onboard operating systems is selected from the plurality of onboard operating systems configured on the vehicle to serve as a proxy service host for analyzing the preemption of the audio focus by the audio application on each onboard operating system, that is, the main onboard operating system in this embodiment, at this time, a corresponding audio proxy service is configured in the main onboard operating system, and the audio proxy service supports execution of the audio focus preemption operation of the audio application on any one of the onboard operating systems.
In addition, in order to ensure the accuracy of communication interaction between the main onboard operating system and other onboard operating systems, a corresponding Audio Manager (Audio Manager) is configured on each onboard operating system, and a corresponding Audio focus interface (Audio focus API) is developed in an Audio agent service of the main onboard operating system, so that each onboard operating system calls the Audio focus interface developed in the Audio agent service on the main onboard operating system through the Audio Manager, thereby realizing the communication interaction between the main onboard operating system and other onboard operating systems.
Optionally, in order to ensure the timeliness of the application of the audio focus by each audio application in the multiple onboard operating systems, in this embodiment, the audio agent service configured in the main onboard operating system is required to be in a real-time working state, at this time, if a certain audio application in any onboard operating system currently needs to play a corresponding audio, the audio application may serve as a target audio application in this embodiment, an audio manager on the onboard operating system is used to call an audio focus interface developed on the audio agent service in the main onboard operating system, so as to report a corresponding audio focus application request to the audio agent service in the main onboard operating system, and further, the audio agent service in the main onboard operating system may receive the audio focus application request reported by the target audio application, and after receiving the audio focus application request through the audio agent service in the main onboard operating system, in order to ensure the preemption accuracy of the audio focus, firstly, a related audio application to which the audio focus belongs currently is found, and the related audio application can be an audio application which is currently playing audio on any vehicle-mounted operating system, so that whether the target audio application can preempt the audio focus from the related audio application or not is accurately judged in the following.
In this embodiment, in order to ensure real-time operation of the audio agent service in the main onboard operating system, a set of corresponding audio agent service instances is generated by simulation according to the function of the audio agent service, and the corresponding audio agent service instances are run through the main onboard operating system, so that an audio focus processing message of any audio application in each onboard operating system is received in real time, where the audio focus processing message may be various audio focus related information such as an audio application request for an audio focus, a release notification, and a change state.
And S120, determining an audio focus preemption result of the target audio application and the associated audio application according to the playing priority of the target audio application and the associated audio application.
Optionally, after receiving an audio focus application request of a target audio application and determining a related audio application to which an audio focus belongs at present, it is required to determine whether the target audio application can rob away the audio focus from the related audio application, at this time, since audio categories played by different audio applications are also different, and for audio played simultaneously in different audio categories, a user usually preferentially selects audio with high real-time performance for playing, for example, when receiving a call request while playing music, the user may select to pause playing music to answer the call, or when receiving a road condition broadcast voice while playing music in a vehicle driving process, the user may reduce the playing volume of the music to broadcast the road condition information as much as possible by voice; therefore, by analyzing the audio playing categories of different audio applications, corresponding playing priorities can be set for the audio applications on each vehicle-mounted operating system, for example, the playing priority of the call application is greater than that of the audio player and the road condition broadcast application, and the playing priority of the road condition broadcast application is greater than that of the audio player.
At this time, after determining the associated audio application to which the audio focus belongs currently, the playing priorities of the target audio application and the associated audio application are respectively found out, and then whether the target audio application can preempt the audio focus from the associated audio application is judged by comparing the playing priorities between the target audio application and the associated audio application, and the audio application with the higher playing priority can play the audio focus of the audio application with the lower preempting priority, so that the audio focus preempting results of the target audio application and the associated audio application are respectively determined, that is, the audio focus is preempted by the audio application with the highest playing priority at last.
It should be noted that, because the audio applications in the multiple onboard operating systems may report the corresponding audio focus application requests to the audio agent service in the main onboard operating system at the same time, the target audio application in this embodiment may be one or multiple, when multiple target audio applications are provided, the playing priority of each target audio application and the associated audio application is still compared, and then the audio application with the highest playing priority in each target audio application and the associated audio application preempts the audio focus, so that the audio application with the highest playing priority plays the corresponding audio, and the audio application without preempting the audio focus does not play the audio, thereby avoiding the noisy audio play between the multiple onboard operating systems.
The technical scheme provided by the embodiment runs the corresponding audio proxy service on the main vehicular operating system in the multi-vehicular operating system, when an audio focus application request of a target audio application in any vehicle-mounted operating system is received through an audio agent service in the main vehicle-mounted operating system, an associated audio application to which an audio focus belongs is determined at first, then re-determining the audio focus preemption result of the target audio application and the associated audio application according to the playing priority of the target audio application and the associated audio application, therefore, a commonly observed audio focus mechanism is realized on the multiple vehicle-mounted operating systems, so that the audio application in each vehicle-mounted operating system can play the corresponding audio according to a certain rule, the noisy performance of audio playing among the multiple vehicle-mounted operating systems is avoided, and the coordination of audio playing among the multiple vehicle-mounted operating systems is improved.
Example two
Fig. 2 is a flowchart of a method for playing a car audio according to a second embodiment of the present invention. The embodiment of the invention is optimized on the basis of the embodiment. Optionally, in this embodiment, a detailed explanation is mainly given to a specific playing process of the played audio by an audio application that has preempted an audio focus and an audio application that does not preempt an audio focus, in the target audio application and the associated audio application.
Specifically, referring to fig. 2, the method of this embodiment may specifically include:
s210, if an audio focus application request of a target audio application in any vehicle-mounted operating system is received through an audio agent service in the main vehicle-mounted operating system, determining the associated audio application to which the audio focus belongs currently.
And S220, determining the audio focus preemption result of the target audio application and the associated audio application according to the playing priority of the target audio application and the associated audio application.
And S230, feeding back corresponding audio focus preemption results to the target audio application and the associated audio application respectively, so that the target audio application and the associated audio application execute corresponding audio playing operation according to the corresponding audio focus preemption results respectively.
Optionally, after determining the audio focus preemption results of the target audio application and the associated audio application, in order to ensure that the audio in the audio application is accurately played, in this embodiment, corresponding audio focus preemption results are also fed back to the target audio application and the associated audio application, and when the target audio application preempts an audio focus from the associated audio application, that is, the associated audio application does not preempt the audio focus, the target audio application is caused to play the corresponding audio, and when the associated audio application loses the audio focus, the audio playing is exited or paused or the volume of the audio playing is reduced, so that the user focuses on the audio played by the target audio application; and when the target audio application does not preempt the audio focus from the associated audio application, that is, the associated audio application still preempts the audio focus, the target audio application will not play the audio, and the associated audio application continues to play the corresponding audio.
Further, in order to ensure the audio playing performance of the associated audio application, in this embodiment, if the associated audio application is not empty and the associated audio application does not preempt the audio focus, an audio playing coordination parameter of the associated audio application under the condition that the audio focus is not preempted is set according to the audio playing type of the target audio application which has preempted the audio focus; and feeding back the audio playing coordination parameters under the condition that the audio focus is not preempted to the associated audio application so that the associated audio application executes corresponding audio playing operation according to the audio playing coordination parameters under the condition that the audio focus is not preempted.
Specifically, if the associated audio application is not empty and the associated audio application does not occupy the audio focus, it indicates that the associated audio application is not focused by the user at present, and when the target audio application which occupies the audio focus plays the corresponding audio, because the audio playing types are different, the playing requirements for the associated audio application which does not occupy the audio focus are also different, for example, if the call application occupies the audio focus from the music player, the music player is required to pause playing the audio in order to ensure the call quality, and if the road condition broadcast application occupies the audio focus from the music player, the music player is only required to reduce the volume of audio playing, so that the road condition does not affect the definition of the broadcast voice; therefore, in this embodiment, after determining that the associated audio application is not empty and the associated audio application does not preempt the audio focus, the audio play coordination parameter of the associated audio application under the condition that the audio focus is not preempted is set by analyzing the audio play type of the target audio application that has preempted the audio focus this time, and the audio play coordination parameter can indicate that the associated audio application needs to quit audio play or pause audio play when the audio focus is not preempted, or only needs to reduce the volume of audio play; then, when the corresponding audio focus preemption result is fed back to the associated audio application, the audio play coordination parameter of the associated audio application under the audio focus not preempted is also fed back synchronously, so that the associated audio application directly executes the corresponding audio play operation according to the audio play coordination parameter under the audio focus not preempted, and the audio play is not required to be quitted each time the audio focus is not preempted, thereby ensuring the play performance of the associated audio application.
S240, if the associated audio application is not empty and an audio focus release notice of the target audio application which preempts the audio focus is received through the audio agent service in the main onboard operating system, the current audio focus is continuously distributed to the associated audio application.
Optionally, if the associated audio application is not null and the associated audio application does not preempt the audio focus, which means that the target audio application preempts the audio focus, the target audio application may play the corresponding audio, and at this time, after the audio playing is completed, for example, a call is completed or a road condition broadcast is completed, the audio manager on the onboard operating system may invoke the audio focus interface on the drink agent service in the onboard operating system to report a corresponding audio focus release notification to the audio agent service in the onboard operating system, and at this time, if the audio focus release notification of the target audio application that has preempted the audio focus is received through the audio agent service in the onboard operating system, in order to ensure the continuity of the audio playing, when the associated audio application does not quit the last audio playing, the current audio focus is directly allocated to the associated audio application continuously, so that the last audio playback is resumed by the associated audio application.
And S250, feeding back successful preemption information of the audio focus to the associated audio application so that the associated audio application continues to execute corresponding audio playing operation according to the audio playing default parameters.
Optionally, after the current audio focus is continuously allocated to the associated audio application, the successful preemption information of the audio focus is fed back to the associated audio application, so that the associated audio application can continue to execute the corresponding audio playing operation according to the audio playing default parameter, and the audio playing default parameter can indicate the audio playing standard of the associated audio application when the audio focus is preempted, for example, the playing volume of the audio player is reduced during the road condition broadcast, and the audio player continues to play music with the original volume after the road condition broadcast is finished.
The technical scheme provided by the embodiment runs the corresponding audio proxy service on the main vehicular operating system in the multi-vehicular operating system, when an audio focus application request of a target audio application in any vehicle-mounted operating system is received through an audio agent service in the main vehicle-mounted operating system, an associated audio application to which an audio focus belongs is determined at first, then re-determining the audio focus preemption result of the target audio application and the associated audio application according to the playing priority of the target audio application and the associated audio application, therefore, a commonly observed audio focus mechanism is realized on the multiple vehicle-mounted operating systems, so that the audio application in each vehicle-mounted operating system can play the corresponding audio according to a certain rule, the noisy performance of audio playing among the multiple vehicle-mounted operating systems is avoided, and the coordination of audio playing among the multiple vehicle-mounted operating systems is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a car audio playing device according to a third embodiment of the present invention, and as shown in fig. 3, the device may include:
an associated application determining module 310, configured to determine an associated audio application to which an audio focus currently belongs if an audio focus application request of a target audio application in any one of the onboard operating systems is received through an audio proxy service in the main onboard operating system;
an audio focus preemption module 320, configured to determine an audio focus preemption result for the target audio application and the associated audio application according to the playing priority of the target audio application and the associated audio application.
The technical scheme provided by the embodiment runs the corresponding audio proxy service on the main vehicular operating system in the multi-vehicular operating system, when an audio focus application request of a target audio application in any vehicle-mounted operating system is received through an audio agent service in the main vehicle-mounted operating system, an associated audio application to which an audio focus belongs is determined at first, then re-determining the audio focus preemption result of the target audio application and the associated audio application according to the playing priority of the target audio application and the associated audio application, therefore, a commonly observed audio focus mechanism is realized on the multiple vehicle-mounted operating systems, so that the audio application in each vehicle-mounted operating system can play the corresponding audio according to a certain rule, the noisy performance of audio playing among the multiple vehicle-mounted operating systems is avoided, and the coordination of audio playing among the multiple vehicle-mounted operating systems is improved.
Further, the above car audio playing device may further include:
and a preemption result feedback module, configured to feed back corresponding audio focus preemption results to the target audio application and the associated audio application, respectively, so that the target audio application and the associated audio application execute corresponding audio playing operations according to the corresponding audio focus preemption results, respectively.
Further, the above car audio playing device may further include:
and the coordination parameter setting module is used for setting an audio playing coordination parameter of the associated audio application under the condition that the audio focus is not preempted according to the audio playing type of the target audio application which preempts the audio focus if the associated audio application is not empty and the associated audio application does not preempt the audio focus.
Further, the above car audio playing device may further include:
and the coordination parameter feedback module is used for feeding back the audio playing coordination parameters under the condition that the audio focus is not preempted to the associated audio application so that the associated audio application executes corresponding audio playing operation according to the audio playing coordination parameters under the condition that the audio focus is not preempted.
Further, the above car audio playing device may further include:
and the audio focus distribution module is used for continuously distributing the current audio focus to the associated audio application if the associated audio application is not empty and an audio focus release notice of a target audio application which preempts the audio focus is received through an audio agent service in the main onboard operating system.
Further, the above car audio playing device may further include:
and the preemption information feedback module is used for feeding back successful preemption information of the audio focus to the associated audio application so as to enable the associated audio application to continue to execute corresponding audio playing operation according to the audio playing default parameters.
Further, the above car audio playing device may further include:
and the service instance running module is used for running the corresponding audio proxy service instance through the main vehicle-mounted operating system and receiving the audio focus processing message of any audio application in each vehicle-mounted operating system in real time.
The playing device of the vehicle-mounted audio provided by the embodiment can be applied to the playing method of the vehicle-mounted audio provided by any embodiment, and has corresponding functions and beneficial effects.
Example four
Fig. 4 is a schematic structural diagram of a vehicle according to a fourth embodiment of the present invention. As shown in fig. 4, the vehicle includes a processor 40, a storage device 41, and a communication device 42 provided on a main onboard operation system within a multi-onboard operation system; the number of processors 40 in the vehicle may be one or more, and one processor 40 is illustrated in fig. 4; the processor 40, the storage device 41 and the communication device 42 of the vehicle may be connected by a bus or other means, and the bus connection is exemplified in fig. 4.
The storage device 41, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as the modules corresponding to the playback method of car audio in the embodiment of the present invention (for example, the associated application determination module 310 and the audio focus preemption module 320 in the playback device for car audio). The processor 40 executes various functional applications and data processing of the vehicle by running software programs, instructions, and modules stored in the storage device 41, that is, implements the above-described method for playing the car audio.
The storage device 41 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage device 41 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage device 41 may further include memory located remotely from multifunction controller 40, which may be connected to the vehicle over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication device 42 may be used to implement a network connection or a mobile data connection between multiple onboard operating systems within the vehicle.
The vehicle provided by the embodiment can be used for executing the vehicle-mounted audio playing method provided by any embodiment, and has corresponding functions and beneficial effects.
EXAMPLE five
Fifth, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, can implement the method for playing the car audio in any of the above embodiments. The method specifically comprises the following steps:
if an audio focus application request of a target audio application in any vehicle-mounted operating system is received through an audio proxy service in the main vehicle-mounted operating system, determining a related audio application to which an audio focus belongs currently;
and determining an audio focus preemption result of the target audio application and the associated audio application according to the playing priority of the target audio application and the associated audio application.
Of course, the storage medium containing the computer-executable instructions provided by the embodiment of the present invention is not limited to the method operations described above, and may also perform related operations in the multifunctional control method for a vehicle seat provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the above vehicle-mounted audio playing apparatus, the units and modules included in the embodiment are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A method for playing vehicle-mounted audio is characterized by comprising the following steps:
if an audio focus application request of a target audio application in any vehicle-mounted operating system is received through an audio proxy service in the main vehicle-mounted operating system, determining a related audio application to which an audio focus belongs currently;
and determining an audio focus preemption result of the target audio application and the associated audio application according to the playing priority of the target audio application and the associated audio application.
2. The method of claim 1, further comprising, after determining an audio focus preemption result for the target audio application and the associated audio application:
and feeding back corresponding audio focus preemption results to the target audio application and the associated audio application respectively so as to enable the target audio application and the associated audio application to execute corresponding audio playing operation according to the corresponding audio focus preemption results respectively.
3. The method of claim 1, further comprising, after determining an audio focus preemption result for the target audio application and the associated audio application:
and if the associated audio application is not empty and the associated audio application does not preempt the audio focus, setting an audio playing coordination parameter of the associated audio application under the condition that the audio focus is not preempted according to the audio playing type of the target audio application which preempts the audio focus.
4. The method of claim 3, further comprising, after setting audio playback parameters for the associated audio application that do not preempt audio focus:
and feeding back the audio playing coordination parameters under the condition that the audio focus is not preempted to the associated audio application so that the associated audio application executes corresponding audio playing operation according to the audio playing coordination parameters under the condition that the audio focus is not preempted.
5. The method of claim 1, further comprising, after determining an audio focus preemption result for the target audio application and the associated audio application:
if the associated audio application is non-null and an audio focus release notification is received by an audio agent service within the host airborne operating system for a target audio application that has preempted audio focus, then the current audio focus continues to be assigned to the associated audio application.
6. The method of claim 5, further comprising, after continuing to assign a current audio focus point to the associated audio application:
and feeding back successful preemption information of the audio focus to the associated audio application so as to enable the associated audio application to continue to execute corresponding audio playing operation according to the audio playing default parameters.
7. The method of any one of claims 1-6, further comprising:
and running the corresponding audio proxy service instance through the main vehicle-mounted operating system, and receiving the audio focus processing message of any audio application in each vehicle-mounted operating system in real time.
8. A playback apparatus for car audio, comprising:
the system comprises a related application determining module, a processing module and a processing module, wherein the related application determining module is used for determining a related audio application to which an audio focus currently belongs if an audio focus application request of a target audio application in any vehicle-mounted operating system is received through an audio proxy service in the main vehicle-mounted operating system;
and the audio focus preemption module is used for determining the audio focus preemption result of the target audio application and the associated audio application according to the playing priority of the target audio application and the associated audio application.
9. A vehicle, characterized in that the vehicle comprises:
one or more processors disposed on a primary onboard operating system within a multi-onboard operating system;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of playing in-vehicle audio of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method for playing car audio according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011017504.6A CN112130802A (en) | 2020-09-24 | 2020-09-24 | Vehicle-mounted audio playing method and device, vehicle and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011017504.6A CN112130802A (en) | 2020-09-24 | 2020-09-24 | Vehicle-mounted audio playing method and device, vehicle and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112130802A true CN112130802A (en) | 2020-12-25 |
Family
ID=73839490
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011017504.6A Pending CN112130802A (en) | 2020-09-24 | 2020-09-24 | Vehicle-mounted audio playing method and device, vehicle and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112130802A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113655984A (en) * | 2021-07-29 | 2021-11-16 | 北京小米移动软件有限公司 | Audio playback control method, audio playback control device, and computer storage medium |
CN113810494A (en) * | 2021-09-16 | 2021-12-17 | 腾讯科技(深圳)有限公司 | Audio playing control method, device, terminal and storage medium |
CN113986182A (en) * | 2021-09-09 | 2022-01-28 | 浙江越扬电子有限公司 | Vehicle-mounted audio control system based on vehicle-mounted network |
CN114879931A (en) * | 2022-07-11 | 2022-08-09 | 南京芯驰半导体科技有限公司 | Onboard audio path management method and system supporting multiple operating systems |
CN115220579A (en) * | 2022-07-12 | 2022-10-21 | 广州汽车集团股份有限公司 | Vehicle-mounted terminal control method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107967130A (en) * | 2016-10-20 | 2018-04-27 | 深圳联友科技有限公司 | A kind of switching method and device of vehicle device voice-grade channel |
CN109996099A (en) * | 2019-04-16 | 2019-07-09 | 百度在线网络技术(北京)有限公司 | Audio focus control method, system and the onboard system of onboard system |
CN110196708A (en) * | 2019-04-25 | 2019-09-03 | 深圳市布谷鸟科技有限公司 | A kind of audio frequency controller method applied to Android in-vehicle multi-media system |
CN110321096A (en) * | 2018-03-28 | 2019-10-11 | 沈阳美行科技有限公司 | A kind of MCVF multichannel voice frequency intelligent control method and relevant apparatus and equipment |
CN110333961A (en) * | 2019-09-04 | 2019-10-15 | 宁波均胜普瑞智能车联有限公司 | Multisystem audio frequency controller equipment, method and computer readable storage medium |
-
2020
- 2020-09-24 CN CN202011017504.6A patent/CN112130802A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107967130A (en) * | 2016-10-20 | 2018-04-27 | 深圳联友科技有限公司 | A kind of switching method and device of vehicle device voice-grade channel |
CN110321096A (en) * | 2018-03-28 | 2019-10-11 | 沈阳美行科技有限公司 | A kind of MCVF multichannel voice frequency intelligent control method and relevant apparatus and equipment |
CN109996099A (en) * | 2019-04-16 | 2019-07-09 | 百度在线网络技术(北京)有限公司 | Audio focus control method, system and the onboard system of onboard system |
CN110196708A (en) * | 2019-04-25 | 2019-09-03 | 深圳市布谷鸟科技有限公司 | A kind of audio frequency controller method applied to Android in-vehicle multi-media system |
CN110333961A (en) * | 2019-09-04 | 2019-10-15 | 宁波均胜普瑞智能车联有限公司 | Multisystem audio frequency controller equipment, method and computer readable storage medium |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113655984A (en) * | 2021-07-29 | 2021-11-16 | 北京小米移动软件有限公司 | Audio playback control method, audio playback control device, and computer storage medium |
CN113986182A (en) * | 2021-09-09 | 2022-01-28 | 浙江越扬电子有限公司 | Vehicle-mounted audio control system based on vehicle-mounted network |
CN113810494A (en) * | 2021-09-16 | 2021-12-17 | 腾讯科技(深圳)有限公司 | Audio playing control method, device, terminal and storage medium |
CN113810494B (en) * | 2021-09-16 | 2023-02-28 | 腾讯科技(深圳)有限公司 | Audio playing control method, device, terminal and storage medium |
CN114879931A (en) * | 2022-07-11 | 2022-08-09 | 南京芯驰半导体科技有限公司 | Onboard audio path management method and system supporting multiple operating systems |
CN114879931B (en) * | 2022-07-11 | 2022-11-22 | 南京芯驰半导体科技有限公司 | Onboard audio path management method and system supporting multiple operating systems |
CN115220579A (en) * | 2022-07-12 | 2022-10-21 | 广州汽车集团股份有限公司 | Vehicle-mounted terminal control method and device |
CN115220579B (en) * | 2022-07-12 | 2024-02-13 | 广州汽车集团股份有限公司 | Vehicle-mounted terminal control method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112130802A (en) | Vehicle-mounted audio playing method and device, vehicle and storage medium | |
CN112235063A (en) | Vehicle-mounted audio playing control method, device, equipment and storage medium | |
CN108062215A (en) | Vehicle source of sound control method and system, vehicle and its car-mounted terminal | |
WO2011079758A1 (en) | Management method and manager for audio application conflict | |
CN103187077B (en) | Vehicle-mounted equipment, and audio control method and device applied to vehicle-mounted equipment | |
CN109996099A (en) | Audio focus control method, system and the onboard system of onboard system | |
CN110673964A (en) | Audio playing control method and device of vehicle-mounted system | |
CN112437383B (en) | Multi-sound-source adjusting method and device, vehicle and storage medium | |
WO2021148042A1 (en) | Auxiliary link communication method and device, and storage medium | |
CN113794968A (en) | Arbitration method and device for vehicle-mounted audio focus | |
CN110196708A (en) | A kind of audio frequency controller method applied to Android in-vehicle multi-media system | |
CN113055783A (en) | Vehicle audio output method and device, electronic equipment and storage medium | |
US6859701B2 (en) | Method of controlling access to devices in a vehicle communication network | |
CN113407762A (en) | Method, equipment and system for managing multi-audio-zone audio playing | |
WO2023227129A1 (en) | Voice interaction method, head unit terminal, vehicle and storage medium | |
CN112416290A (en) | Audio management method based on audio focus | |
CN116229934A (en) | Vehicle-mounted voice broadcasting method and related equipment | |
CN116153305A (en) | Voice interaction method, voice interaction device, server and readable storage medium | |
CN113778371A (en) | System, method and device for realizing multi-module sound management control for vehicle-mounted computer system, processor and computer storage medium thereof | |
CN112995693A (en) | Intelligent processing method of streaming media file, control panel and computer readable storage medium | |
CN115278484A (en) | Audio stream control method, device, equipment and medium | |
CN114475423A (en) | Audio playing control method and device and computer storage medium | |
CN118588078B (en) | Audio control method, device, vehicle and storage medium | |
CN110502207A (en) | Mute method, system, equipment and the storage medium of background sound | |
CN117591060A (en) | Audio playing method, vehicle-mounted device, vehicle and computer program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for 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: 20201225 |