CN116013375A - Multi-sound-source playing method, device, medium and system - Google Patents

Multi-sound-source playing method, device, medium and system Download PDF

Info

Publication number
CN116013375A
CN116013375A CN202211674878.4A CN202211674878A CN116013375A CN 116013375 A CN116013375 A CN 116013375A CN 202211674878 A CN202211674878 A CN 202211674878A CN 116013375 A CN116013375 A CN 116013375A
Authority
CN
China
Prior art keywords
sound source
information
vehicle
processor
acquiring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211674878.4A
Other languages
Chinese (zh)
Inventor
梁志明
刘棨
冉光伟
何东健
叶之金
张莹
刘俊峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xinghe Zhilian Automobile Technology Co Ltd
Original Assignee
Xinghe Zhilian Automobile 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 Xinghe Zhilian Automobile Technology Co Ltd filed Critical Xinghe Zhilian Automobile Technology Co Ltd
Priority to CN202211674878.4A priority Critical patent/CN116013375A/en
Publication of CN116013375A publication Critical patent/CN116013375A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention discloses a multi-sound source playing method, a device, a medium and a system, wherein the method is executed by a sound source interface manager and comprises the following steps: acquiring first sound source information sent by a vehicle-mounted driving processor; acquiring second sound source information sent by a vehicle-mounted cabin processor; according to the first sound source information and the second sound source information, sending sound source application information to a sound source management processor, so that the sound source management processor generates corresponding sound source play decision information; and acquiring the sound source play decision information, and transmitting the sound source play decision information to the vehicle-mounted driving processor and the vehicle-mounted cabin processor, so that the vehicle-mounted driving processor plays the sound source controlled by the vehicle-mounted driving processor, and the vehicle-mounted cabin processor plays the sound source controlled by the vehicle-mounted cabin processor. The embodiment of the invention can uniformly control the playing of a plurality of sound sources in the vehicle.

Description

Multi-sound-source playing method, device, medium and system
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a medium, and a system for playing multiple sound sources.
Background
In the prior art, when different sound sources in a vehicle respectively play audio content, interaction between the different sound sources is complex, for example, when driving, driving voice broadcasting of a driving processor, alarming and entertainment voice controlled by a cabin processor need to respectively control playing time and content when playing, and information interaction between the different sound sources is realized by CAN (Controller Area Network, controller area network bus) and socket (socket) communication protocols.
Therefore, in the prior art, when different audio sources in a vehicle respectively play audio content, the different audio sources are required to respectively control the playing of the corresponding audio content, the different audio sources cannot be uniformly controlled to respectively play the respective audio content according to the priority of the audio content in time sequence, and the information interaction between the different audio sources cannot be realized through a uniform communication protocol.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention provide a method, an apparatus, a medium, and a system for playing multiple sound sources, where a sound source interface manager is used to receive sound source information sent by different devices, and generate corresponding sound source play decision information after processing the different sound source information in a unified manner, so that each device plays a sound source controlled by each device according to the sound source play decision information.
In order to achieve the above object, an embodiment of the present invention provides a multi-sound source playing method, which is executed by a sound source interface manager, the method including:
acquiring first sound source information sent by a vehicle-mounted driving processor;
acquiring second sound source information sent by a vehicle-mounted cabin processor;
according to the first sound source information and the second sound source information, sending sound source application information to a sound source management processor, so that the sound source management processor generates corresponding sound source play decision information;
and acquiring the sound source play decision information, and transmitting the sound source play decision information to the vehicle-mounted driving processor and the vehicle-mounted cabin processor, so that the vehicle-mounted driving processor plays the sound source controlled by the vehicle-mounted driving processor, and the vehicle-mounted cabin processor plays the sound source controlled by the vehicle-mounted cabin processor.
Further, the method further comprises: acquiring third sound source information sent by a vehicle-mounted application processor; transmitting the third sound source information to the sound source management processor, so that the sound source management processor generates corresponding supplementary information and modifies sound source play decision information according to the supplementary information; and acquiring modified sound source play decision information, and transmitting the modified sound source play decision information to the vehicle-mounted application processor, so that the vehicle-mounted application processor plays the sound source controlled by the vehicle-mounted application processor.
Further, the first sound source information includes advanced driving assistance system sound source information and automatic parking sound source information.
Further, the second sound source information comprises sound source information of the central control system and instrument sound source information.
The embodiment of the invention also provides a multi-sound source playing device, which is arranged in the sound source interface manager and comprises:
the first sound source information acquisition module is used for acquiring first sound source information sent by the vehicle-mounted driving processor;
the second sound source information acquisition module is used for acquiring second sound source information sent by the vehicle-mounted cabin processor;
the sound source play decision information generation module is used for sending sound source application information to the sound source management processor according to the first sound source information and the second sound source information so that the sound source management processor generates corresponding sound source play decision information;
the execution module is used for acquiring the sound source play decision information, and sending the sound source play decision information to the vehicle-mounted driving processor and the vehicle-mounted cabin processor, so that the vehicle-mounted driving processor plays the sound source controlled by the vehicle-mounted driving processor, and the vehicle-mounted cabin processor plays the sound source controlled by the vehicle-mounted cabin processor.
Further, the device further comprises: the third sound source information acquisition module is used for acquiring third sound source information sent by the vehicle-mounted application processor; the modification module is used for sending the third sound source information to the sound source management processor, so that the sound source management processor generates corresponding supplementary information and modifies the sound source play decision information according to the supplementary information; the sound source play decision information acquisition module is used for acquiring the modified sound source play decision information and sending the modified sound source play decision information to the vehicle-mounted application processor so that the vehicle-mounted application processor plays the sound source controlled by the vehicle-mounted application processor.
Further, the first sound source information includes advanced driving assistance system sound source information and automatic parking sound source information.
Further, the second sound source information comprises sound source information of the central control system and instrument sound source information.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the multi-sound source playing method described in any one of the above.
The embodiment of the invention also provides a multi-sound source playing system which comprises a sound source interface manager, a vehicle-mounted driving processor, a vehicle-mounted cabin processor and a sound source management processor; the multi-sound source playing system is used for realizing the steps of the multi-sound source playing method.
In summary, the invention has the following beneficial effects:
by adopting the embodiment of the invention, the first sound source information sent by the vehicle-mounted driving processor is obtained; acquiring second sound source information sent by a vehicle-mounted cabin processor; according to the first sound source information and the second sound source information, sending sound source application information to a sound source management processor, so that the sound source management processor generates corresponding sound source play decision information; and acquiring the sound source play decision information, and transmitting the sound source play decision information to the vehicle-mounted driving processor and the vehicle-mounted cabin processor, so that the vehicle-mounted driving processor plays the sound source controlled by the vehicle-mounted driving processor, and the vehicle-mounted cabin processor plays the sound source controlled by the vehicle-mounted cabin processor. When different sound sources in the vehicle are played, the method and the device realize unified play control on multiple sound sources in the vehicle according to the priority among the sound sources by summarizing and uniformly processing different sound source information, and all interaction information is uniformly processed by the sound source interface manager and has a universal communication protocol, so that each sound source has stronger communication expansibility.
Drawings
Fig. 1 is a schematic flow chart of an embodiment of a multi-audio playing method according to the present invention;
fig. 2 is a schematic structural diagram of an embodiment of a multi-audio playing device according to the present invention;
fig. 3 is a schematic structural diagram of another embodiment of a multi-audio playing device according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flowchart of an embodiment of a multi-audio playing method provided by the present invention includes steps S1 to S4, which are specifically as follows:
s1, acquiring first sound source information sent by a vehicle-mounted driving processor;
preferably, the first sound source information includes advanced driving assistance system sound source information and automatic parking sound source information.
For example, the vehicle-mounted driving processor sends the first audio information outwards through an SOA (Service-Oriented Architecture) unified interface, and the bottom communication protocol is a name/IP (Scalable Service-Oriented Middleware over IP) and is an extensible Service middleware based on IP.
S2, acquiring second sound source information sent by a vehicle-mounted cabin processor;
preferably, the second sound source information includes central control system sound source information and meter sound source information.
For example, the vehicle cabin processor sends the first audio information to the outside through a unified API (application programming interface) of an SOA (Service-Oriented Architecture, service oriented architecture), and the underlying communication protocol is a name/IP (Scalable Service-Oriented Middleware over IP, extensible Service middleware based on IP).
Specifically, all the sound source information is uniformly received by the sound source interface manager, so that definition of different sound source information interaction interfaces is reduced, uniformity of the sound source information interaction interfaces is realized, and development joint debugging cost is saved.
S3, sending sound source application information to a sound source management processor according to the first sound source information and the second sound source information, so that the sound source management processor generates corresponding sound source play decision information;
specifically, according to the collected sound source information sent by different sound source devices, sending sound source application information to a sound source management processor, and enabling the sound source management processor to correspondingly generate sound source play decision information, wherein the sound source play decision information is generated according to the play priority among different sound source devices and different audio play contents.
S4, acquiring the sound source play decision information, and sending the sound source play decision information to the vehicle-mounted driving processor and the vehicle-mounted cabin processor, so that the vehicle-mounted driving processor plays the sound source controlled by the vehicle-mounted driving processor, and the vehicle-mounted cabin processor plays the sound source controlled by the vehicle-mounted cabin processor.
Specifically, the sound source play decision information includes the play sequence and play duration of the sound sources controlled by the vehicle-mounted driving processor and the vehicle-mounted cabin processor, so that the sound source management processor plays the multi-sound source equipment in the controlled vehicle uniformly.
Preferably, the method further comprises: acquiring third sound source information sent by a vehicle-mounted application processor; transmitting the third sound source information to the sound source management processor, so that the sound source management processor generates corresponding supplementary information and modifies sound source play decision information according to the supplementary information; and acquiring modified sound source play decision information, and transmitting the modified sound source play decision information to the vehicle-mounted application processor, so that the vehicle-mounted application processor plays the sound source controlled by the vehicle-mounted application processor.
The corresponding software part of the sound source interface manager is located in a HAL layer (Hardware Abstraction Layer ) of the android system, the software part of the vehicle-mounted application processor is located in an application layer of the same android system, and information interaction between the software part and the application layer is carried out through a Binder mechanism (inter-process communication framework) of the android system; the corresponding software part of the sound source interface manager is positioned on the HAL layer of the android system, so that the sound source interface manager is started quickly, and information interaction is realized by means of a Binder mechanism of the android system, so that the sound source interface manager can be better, more directly and efficiently docked with application software developed by a third party.
Correspondingly, the embodiment of the invention also provides a multi-sound source playing device which is used for realizing all the flows of the multi-sound source playing method provided by the embodiment.
Referring to fig. 2, a schematic structural diagram of an embodiment of a multi-audio playing device according to the present invention is shown.
The embodiment of the invention provides a multi-sound source playing device, which is arranged in a sound source interface manager and comprises:
a first sound source information acquisition module 101, configured to acquire first sound source information sent by a vehicle-mounted driving processor;
preferably, the first sound source information includes advanced driving assistance system sound source information and automatic parking sound source information.
For example, the vehicle-mounted driving processor sends the first audio information outwards through an SOA (Service-Oriented Architecture) unified interface, and the bottom communication protocol is a name/IP (Scalable Service-Oriented Middleware over IP) and is an extensible Service middleware based on IP.
The second sound source information acquisition module 102 is configured to acquire second sound source information sent by the vehicle cabin processor;
preferably, the second sound source information includes central control system sound source information and meter sound source information.
For example, the vehicle cabin processor sends the first audio information to the outside through a unified API (application programming interface) of an SOA (Service-Oriented Architecture, service oriented architecture), and the underlying communication protocol is a name/IP (Scalable Service-Oriented Middleware over IP, extensible Service middleware based on IP).
Specifically, all the sound source information is uniformly received by the sound source interface manager, so that definition of different sound source information interaction interfaces is reduced, uniformity of the sound source information interaction interfaces is realized, and development joint debugging cost is saved.
A sound source play decision information generating module 103, configured to send sound source application information to a sound source management processor according to the first sound source information and the second sound source information, so that the sound source management processor generates corresponding sound source play decision information;
specifically, according to the collected sound source information sent by different sound source devices, sending sound source application information to a sound source management processor, and enabling the sound source management processor to correspondingly generate sound source play decision information, wherein the sound source play decision information is generated according to the play priority among different sound source devices and different audio play contents.
The execution module 104 is configured to obtain the sound source play decision information, and send the sound source play decision information to the vehicle-mounted driving processor and the vehicle-mounted cabin processor, so that the vehicle-mounted driving processor plays the sound source controlled by the vehicle-mounted driving processor, and the vehicle-mounted cabin processor plays the sound source controlled by the vehicle-mounted cabin processor.
Specifically, the sound source play decision information includes the play sequence and play duration of the sound sources controlled by the vehicle-mounted driving processor and the vehicle-mounted cabin processor, so that the sound source management processor plays the multi-sound source equipment in the controlled vehicle uniformly.
Referring to fig. 3, a schematic structural diagram of another embodiment of a multi-audio playing device according to the present invention is shown.
Preferably, the apparatus further comprises: a third sound source information obtaining module 105, configured to obtain third sound source information sent by the vehicle-mounted application processor; a modification module 106, configured to send the third sound source information to the sound source management processor, so that the sound source management processor generates corresponding supplementary information and modifies the sound source play decision information according to the supplementary information; the sound source play decision information obtaining module 107 is configured to obtain modified sound source play decision information, and send the modified sound source play decision information to the vehicle-mounted application processor, so that the vehicle-mounted application processor plays the sound source controlled by the vehicle-mounted application processor.
The corresponding software part of the sound source interface manager is located in a HAL layer (Hardware Abstraction Layer ) of the android system, the software part of the vehicle-mounted application processor is located in an application layer of the same android system, and information interaction between the software part and the application layer is carried out through a Binder mechanism (inter-process communication framework) of the android system; the corresponding software part of the sound source interface manager is positioned on the HAL layer of the android system, so that the sound source interface manager is started quickly, and information interaction is realized by means of a Binder mechanism of the android system, so that the sound source interface manager can be better, more directly and efficiently docked with application software developed by a third party.
In addition, the embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, where the program is executed by a processor to implement the steps of the multi-sound source playing method according to any one of the above embodiments.
In addition, the embodiment of the invention also provides a multi-sound source playing system which comprises a sound source interface manager, a vehicle-mounted driving processor, a vehicle-mounted cabin processor and a sound source management processor; the multi-sound source playing system is used for realizing the steps of the multi-sound source playing method in any embodiment.
From the above description of the embodiments, it will be clear to those skilled in the art that the present invention may be implemented by means of software plus necessary hardware platforms, but may of course also be implemented entirely in hardware. With such understanding, all or part of the technical solution of the present invention contributing to the background art may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the method described in the embodiments or some parts of the embodiments of the present invention.
In summary, the invention has the following beneficial effects:
by adopting the embodiment of the invention, the first sound source information sent by the vehicle-mounted driving processor is obtained; acquiring second sound source information sent by a vehicle-mounted cabin processor; according to the first sound source information and the second sound source information, sending sound source application information to a sound source management processor, so that the sound source management processor generates corresponding sound source play decision information; and acquiring the sound source play decision information, and transmitting the sound source play decision information to the vehicle-mounted driving processor and the vehicle-mounted cabin processor, so that the vehicle-mounted driving processor plays the sound source controlled by the vehicle-mounted driving processor, and the vehicle-mounted cabin processor plays the sound source controlled by the vehicle-mounted cabin processor. When different sound sources in the vehicle are played, the method and the device realize unified play control on multiple sound sources in the vehicle according to the priority among the sound sources by summarizing and uniformly processing different sound source information, and all interaction information is uniformly processed by the sound source interface manager and has a universal communication protocol, so that each sound source has stronger communication expansibility.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (10)

1. A multi-sound source playing method, wherein the method is executed by a sound source interface manager, the method comprising:
acquiring first sound source information sent by a vehicle-mounted driving processor;
acquiring second sound source information sent by a vehicle-mounted cabin processor;
according to the first sound source information and the second sound source information, sending sound source application information to a sound source management processor, so that the sound source management processor generates corresponding sound source play decision information;
and acquiring the sound source play decision information, and transmitting the sound source play decision information to the vehicle-mounted driving processor and the vehicle-mounted cabin processor, so that the vehicle-mounted driving processor plays the sound source controlled by the vehicle-mounted driving processor, and the vehicle-mounted cabin processor plays the sound source controlled by the vehicle-mounted cabin processor.
2. The multi-sound source playing method of claim 1, further comprising:
acquiring third sound source information sent by a vehicle-mounted application processor;
transmitting the third sound source information to the sound source management processor, so that the sound source management processor generates corresponding supplementary information and modifies sound source play decision information according to the supplementary information;
and acquiring modified sound source play decision information, and transmitting the modified sound source play decision information to the vehicle-mounted application processor, so that the vehicle-mounted application processor plays the sound source controlled by the vehicle-mounted application processor.
3. The multi-sound source playing method according to claim 1, wherein the first sound source information includes advanced driving support system sound source information and automatic parking sound source information.
4. The multi-sound source playing method of claim 1, wherein the second sound source information includes central control system sound source information and meter sound source information.
5. A multi-sound source playing device, wherein the device is disposed in a sound source interface manager, the device comprising:
the first sound source information acquisition module is used for acquiring first sound source information sent by the vehicle-mounted driving processor;
the second sound source information acquisition module is used for acquiring second sound source information sent by the vehicle-mounted cabin processor;
the sound source play decision information generation module is used for sending sound source application information to the sound source management processor according to the first sound source information and the second sound source information so that the sound source management processor generates corresponding sound source play decision information;
the execution module is used for acquiring the sound source play decision information, and sending the sound source play decision information to the vehicle-mounted driving processor and the vehicle-mounted cabin processor, so that the vehicle-mounted driving processor plays the sound source controlled by the vehicle-mounted driving processor, and the vehicle-mounted cabin processor plays the sound source controlled by the vehicle-mounted cabin processor.
6. The multi-sound source playback apparatus of claim 5, further comprising:
the third sound source information acquisition module is used for acquiring third sound source information sent by the vehicle-mounted application processor;
the modification module is used for sending the third sound source information to the sound source management processor, so that the sound source management processor generates corresponding supplementary information and modifies the sound source play decision information according to the supplementary information;
the sound source play decision information acquisition module is used for acquiring the modified sound source play decision information and sending the modified sound source play decision information to the vehicle-mounted application processor so that the vehicle-mounted application processor plays the sound source controlled by the vehicle-mounted application processor.
7. The multi-sound source playback apparatus of claim 5, wherein the first sound source information includes advanced driving assistance system sound source information and automatic parking sound source information.
8. The multi-sound source playback apparatus of claim 5, wherein the second sound source information includes center control system sound source information and meter sound source information.
9. A computer-readable storage medium having stored thereon a computer program, which when executed by a processor implements the multi-sound source playing method according to any one of claims 1 to 4.
10. The multi-sound source playing system is characterized by comprising a sound source interface manager, a vehicle-mounted driving processor, a vehicle-mounted cabin processor and a sound source management processor; the multi-sound source playing system is used for realizing the multi-sound source playing method according to any one of claims 1 to 4.
CN202211674878.4A 2022-12-26 2022-12-26 Multi-sound-source playing method, device, medium and system Pending CN116013375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211674878.4A CN116013375A (en) 2022-12-26 2022-12-26 Multi-sound-source playing method, device, medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211674878.4A CN116013375A (en) 2022-12-26 2022-12-26 Multi-sound-source playing method, device, medium and system

Publications (1)

Publication Number Publication Date
CN116013375A true CN116013375A (en) 2023-04-25

Family

ID=86036662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211674878.4A Pending CN116013375A (en) 2022-12-26 2022-12-26 Multi-sound-source playing method, device, medium and system

Country Status (1)

Country Link
CN (1) CN116013375A (en)

Similar Documents

Publication Publication Date Title
CN110673964A (en) Audio playing control method and device of vehicle-mounted system
JP6582100B2 (en) Method and apparatus for providing voice service
CN109582310B (en) Data processing method and device, electronic equipment and computer readable storage medium
DE102016121564A1 (en) SYSTEM AND METHOD FOR PLAYING WITH A NETWORK PLAYBACK
US20120317243A1 (en) Audio processing method and device for remote desktop protocol
CN112542183B (en) Audio data processing method, device, equipment and storage medium
US20210224014A1 (en) Display method, display system and vehicle
CN107395742A (en) Network communication method and intelligent sound box based on intelligent sound box
CN114070880A (en) Vehicle user-defined mode implementation method and device, electronic equipment and storage medium
CN110890094A (en) Voice control method of Internet of things equipment and voice server
CN111770122A (en) Service communication agent SCP registration method, service calling method and network equipment
CN112235063A (en) Vehicle-mounted audio playing control method, device, equipment and storage medium
CN110764724B (en) Display equipment control method, device, equipment and storage medium
CN112055251A (en) Media data playing method, device, equipment and storage medium
CN108848410A (en) Bluetooth audio frequency transmission method, device and computer readable storage medium
US11711650B2 (en) Troubleshooting of audio system
US20180352040A1 (en) Method for data transmission in a transportation vehicle communication network, transportation vehicle communication network, subscribers and transportation vehicle
CN112185394A (en) Playing method, device and playing system of equipment group
CN113763957A (en) Interaction method and device applied to vehicle
CN116013375A (en) Multi-sound-source playing method, device, medium and system
CN109981778B (en) Method, device, equipment and storage medium for realizing service of content distribution network
CN111787462A (en) Audio stream processing method, system, device, and medium
CN116450082A (en) Cabin domain controller, software architecture thereof, intelligent cabin system and vehicle
CN116825129B (en) Method, equipment and medium for accurately distributing audio stream
CN111225313A (en) Vehicle-mounted sound resource interaction system

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