CN106775552B - Sound source processing method, device and system - Google Patents

Sound source processing method, device and system Download PDF

Info

Publication number
CN106775552B
CN106775552B CN201611001503.6A CN201611001503A CN106775552B CN 106775552 B CN106775552 B CN 106775552B CN 201611001503 A CN201611001503 A CN 201611001503A CN 106775552 B CN106775552 B CN 106775552B
Authority
CN
China
Prior art keywords
sound source
sound
playing
audio data
message
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.)
Active
Application number
CN201611001503.6A
Other languages
Chinese (zh)
Other versions
CN106775552A (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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201611001503.6A priority Critical patent/CN106775552B/en
Publication of CN106775552A publication Critical patent/CN106775552A/en
Application granted granted Critical
Publication of CN106775552B publication Critical patent/CN106775552B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses a method, a device and a system for processing a sound source, wherein in the method, a client sends a playing request to a sound source management module through an identification ID (identity), the sound source management module sends a playing notice to the client, then the client sends a playing instruction and audio data to a sound playing module after receiving the playing notice which allows the audio data to be played, and the sound playing module sends a registered sound source message to the audio management module, wherein the registered sound source message comprises the identification ID and the audio data corresponding to the identification ID; then, the sound source management module judges whether the sound source corresponding to the identification ID is allowed to play or not, and feeds back information to the sound playing module, and then the sound playing module sends the audio data to different sound cards according to the feedback information, so that whether the sound source sounds or not is controlled. The method can really prevent the sound source which is forbidden to produce sound from producing sound, thereby avoiding unexpected 'sound mixing' phenomenon.

Description

Sound source processing method, device and system
Technical Field
The invention relates to the technical field of sound source management of an intelligent operating system, in particular to a sound source processing method, device and system.
Background
Generally, an intelligent operating system needs to play a plurality of sound source sounds. Taking a vehicle-mounted infotainment system (hereinafter referred to as a vehicle machine) as an example, there are various sound source sounds such as radar sound, electric voice, prompt sound, navigation sound, multimedia sound, etc., and these sound source sounds are emitted by a plurality of different client APPs (applications).
A typical Linux system based device Audio (Audio) system is shown in fig. 1. The sound source sound playing process is as follows: the APP 11 is responsible for converting (e.g., decoding, format conversion, etc.) the audio data stream from the audio file or other device, and then providing the converted audio data stream to the audio playing module 12 (in some systems, the APP is only responsible for providing the file name and the device name, and a multimedia module 13 is responsible for reading the data in the file and the device, and converting the output data to the audio playing module 12);
the sound playing module 12 receives the audio data stream transmitted from the APP 11 or the multimedia module 13, and after resampling and mixing, the audio data stream is output by the sound card 14, and finally played by the speaker 15. Some examples of the sound playing module are pulseaudio of Linux system and AudioFlinger of Android system.
In some devices including the sound playing system shown in fig. 1, an unexpected mixing phenomenon may occur, for example, in a mobile phone or a car, when a user starts an APP (hereinafter referred to as APP2), the "previously used" APP (hereinafter referred to as APP1) is not exited, but runs in the background, and if the APP1 still sounds, an unexpected mixing phenomenon may occur.
Disclosure of Invention
In view of the above, the present invention provides a sound source processing method, device and system to solve the above technical problems.
In order to solve the technical problems, the invention adopts the following technical scheme:
the first technical scheme is as follows: a sound source processing method is applied to a client and comprises the following steps:
sending a playing request to a sound source management module through the identification ID, wherein the playing request is used for requesting to play audio data;
receiving a play notification issued by the sound source management module, wherein the play notification is used for indicating that the client side allows playing or prohibits playing of audio data;
and after receiving a play notification which is sent by the sound source management module and allows the audio data to be played, sending a play instruction and the audio data to a sound play module so that the sound play module controls the audio data to be played according to the identification ID, wherein the play instruction comprises the identification ID.
The second technical scheme is as follows:
a sound source processing method is applied to a sound source management module and comprises the following steps:
receiving a playing request sent by a client through an identification ID, wherein the playing request is used for requesting to play audio data;
sending a playing notification to the client, wherein the playing notification is used for indicating that the client allows playing or forbids playing of the audio data;
receiving a registered sound source message sent by a sound playing module, wherein the registered sound source message comprises an identification ID and audio data corresponding to the identification ID;
judging whether the sound source corresponding to the identification ID is allowed to be played or not according to a second preset rule;
and sending a feedback message to the sound playing module so that the sound playing module controls the playing of the audio data according to the feedback message.
The third technical scheme is as follows:
a sound source processing method is applied to a sound playing module and comprises the following steps:
receiving a playing instruction and audio data sent by a client, wherein the playing instruction comprises an identification ID;
sending a registered sound source message to a sound source management module, wherein the registered sound source message comprises an identification ID and audio data corresponding to the identification ID, so that the sound source management module judges whether a sound source corresponding to the identification ID is allowed to be played according to a second preset rule;
and receiving a feedback message sent by the sound source management module, and controlling audio data to be played according to the feedback message.
The fourth technical scheme is as follows:
a sound source processing method is applied to a sound playing module and comprises the following steps:
receiving a playing instruction and audio data sent by a client, wherein the playing instruction comprises an identification ID;
sending a registered sound source message to a routing module, wherein the registered sound source message comprises an identification ID and audio data corresponding to the identification ID;
and receiving a feedback message sent by the routing module, and controlling audio data playing according to the feedback message.
The fifth technical scheme is as follows:
a sound source processing method is applied to a routing module and comprises the following steps:
receiving a registered sound source message sent by a sound playing module, wherein the registered sound source message comprises an identification ID and audio data corresponding to the identification ID;
sending registered sound source information to a sound source management module so that the sound source management module judges whether a sound source corresponding to the identification ID is allowed to be played or not according to a second preset rule;
receiving a feedback message sent by the sound source management module, wherein the feedback message is used for indicating whether the audio data is allowed to be played;
and sending a feedback message to the sound playing module so that the sound playing module controls the playing of the audio data according to the feedback message.
The sixth technical proposal:
a sound source processing method is applied to a sound source management module and comprises the following steps:
receiving a playing request sent by a client through an identification ID, wherein the playing request is used for requesting to play audio data;
sending a playing notification to the client, wherein the playing notification is used for indicating that the client allows playing or forbids playing of the audio data;
receiving a registered sound source message sent by a routing module, wherein the registered sound source message comprises an identification ID and audio data corresponding to the identification ID;
judging whether the sound source corresponding to the identification ID is allowed to be played or not according to a second preset rule;
and sending a feedback message to a routing module, wherein the feedback message is used for indicating whether the sound source is allowed to play.
The seventh technical proposal:
a client is applied to a terminal device and comprises:
the first sending unit sends a playing request to the sound source management module through the identification ID, wherein the playing request is used for requesting to play audio data;
a first receiving unit, configured to receive a play notification issued by the sound source management module, where the play notification is used to indicate that the client allows playing or prohibits playing of audio data;
and the second sending unit is used for sending a playing instruction and audio data to the sound playing module after receiving a playing notification which is sent by the sound source management module and allows the audio data to be played, so that the sound playing module controls the audio data to be played according to the identification ID, and the playing instruction comprises the identification ID.
The eighth technical scheme is as follows:
an audio source management module comprising:
the second receiving unit is used for receiving a playing request sent by the client through the identification ID, and the playing request is used for requesting to play the audio data;
a third sending unit, configured to send a play notification to the client, where the play notification is used to indicate that the client allows or prohibits playing of audio data;
the third receiving unit is used for receiving a registered sound source message sent by the sound playing module, wherein the registered sound source message comprises an identification ID and audio data corresponding to the identification ID;
the first judgment unit is used for judging whether the sound source corresponding to the identification ID is allowed to be played or not according to a second preset rule;
and the fourth sending unit is used for sending a feedback message to the sound playing module so that the sound playing module controls the playing of the audio data according to the feedback message.
The ninth technical proposal:
a sound playing module comprising:
the fourth receiving unit is used for receiving a playing instruction and audio data sent by the client, wherein the playing instruction comprises an identification ID;
a fifth sending unit, configured to send a registered sound source message to the sound source management module, where the registered sound source message includes an identifier ID and audio data corresponding to the identifier ID, so that the sound source management module determines, according to a second preset rule, whether a sound source corresponding to the identifier ID is allowed to be played;
and the fifth receiving unit is used for receiving the feedback message sent by the sound source management module and controlling the audio data to be played according to the feedback message.
The tenth technical proposal:
a sound playing module comprising:
the sixth receiving unit is used for receiving the playing instruction and the audio data sent by the client;
a sixth sending unit, configured to send a registered sound source message to a routing module, where the registered sound source message includes an identifier ID and audio data corresponding to the identifier ID;
and the seventh receiving unit is used for receiving the feedback message sent by the routing module and controlling the audio data to be played according to the feedback message.
The eleventh technical proposal:
a routing module, comprising:
the eighth receiving unit is configured to receive a registered sound source message sent by the sound playing module, where the registered sound source message includes an identifier ID and audio data corresponding to the identifier ID;
the seventh sending unit is used for sending the registered sound source information to the sound source management module so that the sound source management module judges whether the sound source corresponding to the identification ID is allowed to be played according to a second preset rule;
a ninth receiving unit, configured to receive a feedback message sent by the sound source management module, where the feedback message is used to indicate whether the audio data is allowed to be played;
and the eighth sending unit is configured to send a feedback message to the sound playing module, so that the sound playing module controls the playing of the audio data according to the feedback message.
The twelfth technical proposal:
an audio source management module comprising:
a tenth receiving unit, configured to receive a play request sent by a client through an identifier ID, where the play request is used to request to play audio data;
a ninth sending unit, configured to send a play notification to the client, where the play notification is used to indicate that the client allows or prohibits playing of audio data;
the eleventh receiving unit is used for receiving a registration sound source message sent by the routing module, wherein the registration sound source message comprises an identification ID and audio data corresponding to the identification ID;
the second judgment unit is used for judging whether the sound source corresponding to the identification ID is allowed to be played or not according to a second preset rule;
a tenth sending unit, configured to send a feedback message to the routing module, where the feedback message is used to indicate whether the sound source allows playing.
The thirteenth technical scheme is as follows:
an audio source processing system comprising: the client according to the seventh technical solution, the sound source management module according to the eighth technical solution, and the sound playing module according to the ninth technical solution are provided.
The fourteenth technical scheme is as follows:
an audio source processing system comprising: the client according to the seventh technical solution, the sound playing module according to the tenth technical solution, the routing module according to the eleventh technical solution, and the sound source management module according to the twelfth technical solution.
Compared with the prior art, the invention has the following beneficial effects:
the method comprises the steps that firstly, a client sends a playing request to a sound source management module through an identification ID, the sound source management module sends a playing notice to the client, then, after receiving the playing notice that the audio data are allowed to be played, the client sends a playing instruction carrying the identification ID and the audio data to a sound playing module, and then, the sound playing module sends a registered sound source message to the audio management module, wherein the registered sound source message comprises the identification ID and the audio data corresponding to the identification ID; then, the sound source management module judges whether the sound source corresponding to the identification ID is allowed to play according to a second preset rule, if so, the sound source management module feeds back a message of connecting the sound source to the sound playing module, if not, the sound playing module feeds back a message of not connecting the sound source, and then the sound playing module sends the audio data to different sound cards according to the feedback message, so that whether the sound of the sound source is generated or not is controlled.
According to the technical scheme, after the audio data are transmitted to the sound playing module, the sound playing module does not transmit the audio data to the sound card immediately, but sends the registered sound source information to the sound source management module to inquire whether the sound source corresponding to the received audio data is allowed to be played or not, then the sound source management module judges whether the sound source corresponding to the identification ID is allowed to be played or not according to the second preset rule, and feeds back information about whether the sound source is connected or not to the sound playing module according to the judgment result.
In this way, in the sound source processing method provided by the present invention, whether the sound source is sounded or not is controlled by the sound source management module, and even if the sound source whose sound is prohibited transmits audio data to the sound playing module, that is, even if the sound playing module runs a red light, the sound source management module still determines whether the sound source corresponding to the identification ID is permitted to play, so as to control the sound production of the sound source.
Drawings
In order that the prior art and the embodiments of the present invention may be clearly understood, a brief description of the drawings, which will be used in describing the prior art and the embodiments of the present invention, will be given below. It is obvious that these drawings are only some embodiments of the invention, and that other drawings may be obtained by a person skilled in the art without inventive effort.
FIG. 1 is a schematic diagram of a typical Linux-based sound source processing system of the related art;
fig. 2 is a schematic diagram of a sound source processing system according to an embodiment of the invention;
fig. 3 is a schematic signaling flow diagram of a sound source processing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a sound source processing system according to a second embodiment of the present invention;
fig. 5 is a schematic signaling flow diagram of a sound source processing method according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a sound source processing system according to a third embodiment of the present invention;
fig. 7 is a schematic signaling flow diagram of a sound source processing method according to a third embodiment of the present invention;
fig. 8 is a schematic structural diagram of a sound source processing system according to a fourth embodiment of the present invention;
fig. 9 is a schematic signaling flow diagram of a sound source processing method according to a fourth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a client according to a fifth embodiment of the present invention;
fig. 11 is a schematic structural diagram of a sound source management module according to a fifth embodiment of the present invention;
fig. 12 is a schematic structural diagram of a sound playing module according to a fifth embodiment of the present invention;
fig. 13 is a schematic structural diagram of a sound playing module according to a sixth embodiment of the present invention;
fig. 14 is a schematic structural diagram of a routing module according to a sixth embodiment of the present invention;
fig. 15 is a schematic structural diagram of a sound source management module according to a sixth embodiment of the present invention;
fig. 16 is a schematic structural diagram of a first sound source processing system according to a seventh embodiment of the present invention;
fig. 17 is a schematic structural diagram of a second sound source processing system according to a seventh embodiment of the invention.
Detailed Description
In order to make the technical problems, technical solutions and technical effects of the present invention more clear and complete, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
It should be noted that, in the embodiment of the present invention, the "first" and the "second" are only used to distinguish a plurality of the same technical features, and are not to be construed as limiting the technical features.
Example one
Fig. 2 is a schematic structural diagram of an audio processing system according to an embodiment of the invention. As shown in fig. 2, the sound source processing system includes a client 21, a sound source management module 22, a sound playing module 23, a first sound card 24(1), and a second sound card 24 (2).
In the embodiment of the present invention, the client 21 is a client APP capable of playing audio data, and may be installed on a terminal for information interaction. For example, heaven-day silence, hundredth navigation, etc. installed on a smartphone.
In the embodiment of the present invention, the first sound card 24(1) is a physical sound card capable of producing sound, and the second sound card 24(2) is a virtual sound card incapable of producing sound.
Based on the sound source processing system shown in fig. 2, an embodiment of the invention provides a sound source processing method. Fig. 3 is a signaling flow diagram illustrating a sound source processing method according to an embodiment of the present invention. As shown in fig. 3, the method comprises the steps of:
s301, the client 21 sends an application request for applying the ID to the sound source management module 22:
the identification ID is used to identify the correspondence between the sound source and the client 21, for example: the ID may be a string carrying client information, audio data information, and the like. The sound source is a file carrying audio data, and can also be understood as audio data or an application carrying audio data, and the like.
As an example, the client 21 may send an application request for applying the identification ID to the sound source management module 22 by a sound type.
S302, the sound source management module 22 feeds back the identifier ID to the client 21 according to the first preset rule:
for example, the first preset rule may be that the sound source management module generates different identification IDs according to the type of the client, for example, the client is a heaven-day still listening, and the sound source management module 22 generates an identification ID corresponding to the heaven-day still listening according to the type of the client, where the identification ID may be a character string carrying client information and audio data information played by the client.
S303, the client 21 sends a play request to the sound source management module 22 through the ID:
the play request is used for requesting to play the audio data.
S304, after receiving the play request from the client 21, the sound source management module 22 issues a play notification to the client 21:
the playing notification is used for indicating that the audio source allows playing or forbids playing of the audio data.
It should be noted that, when no sound source is playing the audio data currently, in a normal situation, the sound source management module 22 will issue a play notification allowing to play the audio data to the client 21 after receiving the play request of the client 21.
S305, after receiving the play notification allowing the audio data to be played and sent by the sound source management module, the client 21 sends a play instruction and the audio data to the sound playing module 23:
it should be noted that the play instruction includes an identification ID.
S306, after receiving the playing instruction and the audio data sent by the client 21, the sound playing module 23 sends a registered sound source message to the sound source management module 22:
the registered sound source message comprises an identification ID and audio data corresponding to the identification ID.
It should be noted that the purpose of the sound playing module 23 sending the registered sound source message to the sound source management module 22 is that the sound playing module 23 inquires the sound source management module 22 whether the audio data received by it is allowed to be played.
S307, after receiving the registered sound source message, the sound source management module 22 determines whether the sound source corresponding to the identifier ID is allowed to be played according to a second preset rule, if yes, steps S308 to S309 are executed, and if no, steps S310 to S312 are executed:
as an example, the second preset rule may be, for example: and taking the sound type as a parameter, such as the emergency degree of the sound type and the application precedence relationship. Thus, the request for playing may include sound type information.
As an example, the second preset rule may be an application-first rule, and if the first client applies for the second client earlier, the sound source management module allows the sound source to play and prohibits the second sound source from playing.
As another example, the second preset rule may be that the first client has a higher priority than the second client, and thus the sound source management module allows sound source playing and prohibits the second sound source playing.
As yet another example, the second preset rule may be that the first client and the second client are capable of speaking simultaneously, and then the sound source management module allows the sound source and the second sound source to play.
S308, the sound source management module 22 sends the information for connecting the sound source to the sound playing module 23:
in the embodiment of the invention, the initial state of the audio output channel of the sound source is defaulted to the off state. Therefore, when it applies for playing, its audio output channel is in a disconnected state, and therefore, after determining that it is allowed to play audio data, the sound source management module 22 sends connection information to the sound playing module 23 to control the audio output channel connected to the sound source.
S309, after receiving the connection sound source information, the sound playing module 23 sends the audio data to the first sound card 24(1), so that the sound source sounds.
S310, the sound source management module 22 sends a play notification for instructing the client to prohibit playing the audio data to the client.
S311, the sound source management module 22 sends the information that the sound source is not connected to the sound playing module 23:
s312, the sound playing module 23 sends the audio data to the second sound card 24(2) so that the sound source does not generate sound.
The foregoing is a detailed implementation of the sound source processing system and method provided in the first embodiment of the present invention. In this embodiment, after the audio data is transmitted to the sound playing module, the sound playing module does not transmit the audio data to the sound card immediately, but transmits the registered sound source information to the sound source management module, and then the sound source management module may determine whether the sound source corresponding to the identifier ID is allowed to be played according to the second preset rule, and feed back information about whether the sound source is connected to the sound playing module according to the determination result.
In this way, in the sound source processing method provided by the present invention, whether the sound source is sounded or not is controlled by the sound source management module, and even if the sound source whose sound is prohibited transmits audio data to the sound playing module, that is, even if the sound playing module runs a red light, the sound source management module still determines whether the sound source corresponding to the identification ID is permitted to play, so as to control the sound production of the sound source.
The foregoing is a detailed implementation of the sound source processing system and method provided in the first embodiment of the present invention. In the sound source processing system, only one client capable of playing audio data is included. As another embodiment of the present invention, the sound source processing system may include a plurality of clients capable of playing audio data. Aiming at a sound source processing system comprising a plurality of clients capable of playing audio data, the sound source processing system comprises two situations: the first method comprises the following steps: when one client capable of playing audio data applies for playing the audio data, other clients capable of playing the audio data are not playing the audio data, and the second type is: when one client capable of playing the audio data applies for playing the audio data, at least one of the other clients capable of playing the audio data is playing the audio data. The sound source processing method for the first case is the same as the sound source processing method provided in the first embodiment, and the following focuses on the sound source processing method for the second case.
When the sound source processing system includes a plurality of clients capable of playing audio data, one client capable of playing audio data applies for playing audio data, and at least one of the other clients capable of playing audio data is playing audio data, please refer to embodiment two for a specific implementation of the sound source processing method corresponding thereto.
Example two
Fig. 4 is a block diagram of an audio processing system according to a second embodiment of the invention. As shown in fig. 4, the sound source processing system includes a first client 41(1), a second client 41(2), a sound source management module 42, a sound playing module 43, a first sound card 44(1), and a second sound card 44 (2).
For convenience of description, the sound emitted by the first client is referred to as a first sound source, and the sound emitted by the second client is referred to as a second sound source.
The first client 41(1) is set to apply for playing the audio data, and the second client 41(2) is playing the audio data. In this case, a signaling flow diagram of the audio source processing method is shown in fig. 5, which includes the following steps:
s501, the first client 41(1) sends an application request for applying for the first identifier ID to the sound source management module 42:
s502, the sound source management module 42 feeds back the first identifier ID to the first client 41(1) according to the first preset rule:
s503, the first client 41(1) sends the playing request to the sound source management module 42 through the first identifier ID:
s504, after receiving the play request from the first client 41(1), the sound source management module 42 issues a play notification to the first client 41 (1):
since the current second client 41(2) is playing the audio data, after the sound source management module 42 receives the playing request of the first client 41(1), the sound source management module 42 will determine whether to allow the first sound source to play according to the second preset rule, and if the first sound source is allowed to play, the sound source management module 22 issues a playing notification that the audio data is allowed to be played to the first client 41 (1). If the first client 41(1) is not allowed to play the audio data, the sound source management module 22 issues a notification to the first client 41(1) to prohibit playing the audio data.
In the embodiment of the present invention, it is exemplified that the first client 41(1) is allowed to play the audio data and the second client 41(2) is prohibited to play the audio data according to the second preset rule.
S505, after receiving the notification allowing the audio data to be played and sent by the sound source management module 42, the first client 41(1) sends a play instruction and the first audio data to the sound playing module 43:
s506, after receiving the playing instruction and the first audio data sent by the first client 41(1), the sound playing module 43 sends a registered sound source message to the sound source management module 42:
s507, after receiving the registered sound source message, the sound source management module 42 determines whether the first sound source corresponding to the first identifier ID is allowed to be played according to a second preset rule, if yes, steps S508 to S510 are executed, and if no, steps S511 to S513 are executed:
s508, the sound source management module 42 sends feedback information to the sound playing module 43, where the feedback information includes information of connecting the first sound source and disconnecting the second sound source:
s509, after receiving the feedback information, the sound playing module 43 sends the first audio data of the first client 41(1) to the first sound card 44(1) to make the first sound source corresponding to the first client generate sound, and sends the second audio data of the second client 41(2) to the second sound card 44(2) to make the second client 44(2) not generate sound.
S510, the sound source management module 42 sends a play notification to the second client 41(2) for instructing the second client 41(2) to prohibit playing the audio data:
it should be noted that, in the embodiment of the present invention, step S510 may be executed before step S508, or may be executed after step S508.
S511, the sound source management module 42 sends a play notification for instructing the first client to prohibit playing the audio data to the first client.
S511, the sound source management module 42 sends the information that the first sound source is not connected to the sound playing module 43:
s513, the sound playing module 43 sends the first audio data of the first client 41(1) to the second sound card 44(2), so that the first sound source of the first client does not generate sound.
In addition, when the sound source processing system comprises a plurality of clients capable of playing audio data and a plurality of first sound cards, corresponding relations between the clients capable of playing the audio data and the first sound cards can be set in the sound source management module, and according to the corresponding relations, the sound playing module transmits the audio data of the clients capable of playing the audio data to the first sound cards. In addition, the user can change the corresponding relation between the client side arranged in the sound source management module and the first sound card according to the requirement, and based on the change, the user can dynamically change the first sound card corresponding to the client side capable of playing the audio data, namely, the output channel of the client side capable of playing the audio data.
In the embodiment of the present invention, the connection and disconnection of the sound output path (i.e., the connection path between the client and the first sound card) is not limited to a software manner, and may also be implemented by switching a hardware channel. For example, the audio data streams of the client are respectively output by using two IISs (corresponding to two physical sound cards). At this time, the client can be connected to a peripheral circuit with audio channel selection and mixing functions, and the circuit is controlled to achieve connection and disconnection of the client output path.
It should be noted that the second embodiment is described by taking two clients as an example. In fact, as an extension of the embodiment of the present invention, the sound source processing system may include three or more clients. When three or more clients are included, the corresponding sound source processing method is similar to the processing method including two clients, and is not described in detail here.
The above is a specific implementation of the sound source processing method provided in the first embodiment and the second embodiment of the present invention. In this embodiment, the audio playing module and the sound source management module directly perform information interaction. As another embodiment of the present invention, the same effect can also be achieved by indirectly performing information interaction between the sound playing module and the sound source management module, which is specifically referred to in the third embodiment.
EXAMPLE III
Fig. 6 is a block diagram of an audio processing system according to a second embodiment of the invention. As shown in fig. 6, the audio source processing system includes:
client 61, sound source management module 62, sound playing module 63, routing module 64, first sound card 65(1) and second sound card 65 (2).
Based on the sound source processing system shown in fig. 6, an embodiment of the present invention further provides a sound source processing method. Fig. 7 is a schematic signaling flow diagram of a sound source processing method according to an embodiment of the present invention. As shown in fig. 7, the method comprises the steps of:
steps S701 to S705 are the same as steps S301 to S305 in the first embodiment, and for the sake of brevity, they will not be described in detail here.
S706, after receiving the playing instruction and the audio data sent by the client 61, the sound playing module 63 sends a registered sound source message to the routing module 64:
the registered sound source message comprises an identification ID and audio data corresponding to the identification ID;
s707, the routing module 64 sends the registered sound source information to the sound source management module 62:
s708, the sound source management module 62 determines whether the sound source corresponding to the identification ID in the registered sound source information is allowed to be played according to the second preset rule, if so, steps S709 to S711 are executed, and if not, steps S711 to S715 are executed.
S709, the information of the connected sound source is sent to the routing module 64.
S710, the routing module 64 sends the information of the connected sound source to the sound playing module 43.
S711, the sound playing module 63 sends the audio data to the first sound card, so as to make the sound source generate sound.
S711, the sound source management module 22 sends a play notification for instructing the client to prohibit playing the audio data to the client.
S713, the information of no connection to the sound source is sent to the routing module 64.
S714, the routing module sends the information without connecting the sound source to the sound playing module.
S715, the sound playing module 63 sends the audio data to the second sound card, so that the sound source does not generate sound.
The foregoing is a specific implementation of the sound source processing method provided in the third embodiment of the present invention. In this embodiment, after the audio data is transmitted to the sound playing module, the sound playing module does not transmit the audio data to the sound card immediately, but transmits the registered sound source information to the routing module, and then the routing module transmits the registered sound source information to the sound source management module to inquire whether the sound source corresponding to the received audio data is allowed to be played, and then the sound source management module can judge whether the sound source corresponding to the identifier ID is allowed to be played according to the second preset rule and feed back information about whether the sound source is connected to the routing module according to the judgment result.
In this way, in the sound source processing method provided by the present invention, whether the sound source is sounded or not is controlled by the sound source management module, and even if the sound source whose sound is prohibited transmits audio data to the sound playing module, that is, even if the sound playing module runs a red light, the sound source management module still determines whether the sound source corresponding to the identification ID is permitted to play, so as to control the sound production of the sound source.
In the sound source processing system of the third embodiment, only one client capable of playing the audio data is included. As another embodiment of the present invention, the sound source processing system may include a plurality of clients capable of playing audio data. Aiming at a sound source processing system comprising a plurality of clients capable of playing audio data, the sound source processing system comprises two situations: the first method comprises the following steps: when an application applies for playing audio data, other clients capable of playing the audio data are not playing the audio data, and the second: when one application applies for playing the audio data, at least one application in other clients capable of playing the audio data is playing the audio data. The sound source processing method for the first case is the same as the sound source processing method provided in the third embodiment, and the following focuses on the sound source processing method for the second case.
When the sound source processing system includes a plurality of clients capable of playing audio data, one client capable of playing audio data applies for playing audio data, and at least one application in other clients capable of playing audio data is playing audio data, please refer to embodiment four for a specific implementation of the sound source processing method corresponding thereto.
Example four
Fig. 8 is a schematic diagram of a sound source processing system according to a fourth embodiment of the present invention. As shown in fig. 8, the sound source processing system includes: the first client 81(1), the second client 81(2), the sound source management module 82, the sound playing module 83, the routing module 84, the first sound card 85(1), and the second sound card 85 (2).
For convenience of description, the sound emitted by the first client is referred to as a first sound source, and the sound emitted by the second client is referred to as a second sound source.
Based on the sound source processing system shown in fig. 8, as shown in fig. 9, the sound source processing method provided by the embodiment of the invention includes the following steps:
steps S901 to S905 are the same as steps S501 to S505 in the second embodiment, and for brevity, detailed description is omitted here, and specific reference is made to the related description of the first embodiment.
S906, after receiving the playing instruction and the first audio data sent by the first client 81(1), the sound playing module 83 sends the registered sound source information to the routing module 84:
s907, the routing module 84 sends the registered sound source information to the sound source management module 82:
s908, the sound source management module 82 determines whether the first sound source corresponding to the first identifier ID allows playing audio/video data according to a second preset rule, if so, executes steps S909 to S911, and if not, executes steps S913 to S916.
S909, the sound source management module 82 sends a feedback message to the routing module 84, where the feedback message includes information for connecting the first client 81(1) and disconnecting the second client 81 (2):
s910, the routing module 84 sends the feedback message to the sound playing module 83:
s911, after receiving the feedback information, the sound playing module 83 sends the first audio data of the first client 41(1) to the first sound card 44(1) to sound the first sound source, and sends the audio data of the second client 41(2) to the second sound card 44(2) to make the second sound source not sound.
S911, the sound source management module 82 sends a play notification to the second client 81(2) for instructing the second client 81(2) to prohibit playing the audio data:
s913, the sound source management module 82 sends a play notification to the first client, where the play notification is used to instruct the first client to prohibit playing the audio data.
S914, the sound source management module 82 sends the information that the first sound source is not connected to the routing module 84:
s915, the routing module 84 sends the information that the first sound source is not connected to the sound playing module 83.
S916, the sound playing module 83 sends the first audio data of the first client 81(1) to the second sound card 84(2) so that the first sound source does not generate sound.
The foregoing is a detailed implementation of the sound source processing system and method provided in the fourth embodiment of the present invention. This embodiment has the same advantageous effects as those of the embodiment.
In addition, similar to the second embodiment, when the sound source processing system includes a plurality of clients capable of playing audio data and a plurality of first sound cards, corresponding relationships between the clients capable of playing audio data and the first sound cards may be set in the sound source management module, and according to the corresponding relationships, the sound playing module transmits the audio data of the clients capable of playing audio data to the first sound cards. In addition, the user can change the corresponding relation between the client side arranged in the sound source management module and the first sound card according to the requirement, and based on the change, the user can dynamically change the first sound card corresponding to the client side capable of playing the audio data, namely, the output channel of the client side capable of playing the audio data.
Based on the sound source processing methods provided in the first and second embodiments, the present invention further provides a specific implementation of the sound source processing apparatus. See example five for details.
EXAMPLE five
Fig. 10 is a schematic structural diagram of a client according to a fifth embodiment of the present invention. The client comprises the following units:
the first sending unit 101 sends a playing request to the sound source management module through the identification ID, where the playing request is used to request to play audio data;
the identification ID is used to identify the correspondence between the sound source and the client 21, for example: the ID may be a string carrying client information, audio data information, and the like. The sound source is a file carrying audio data, and can also be understood as audio data or an application carrying audio data, and the like.
A first receiving unit 102, configured to receive a play notification sent by the sound source management module, where the play notification is used to indicate that the client allows playing or prohibits playing of audio data;
a second sending unit 103, configured to send a play instruction and audio data to a sound playing module after receiving a play notification that allows playing of the audio data and is sent by the sound source management module, so that the sound playing module controls playing of the audio data according to the identifier ID, where the play instruction includes the identifier ID.
Fig. 11 is a schematic structural diagram of a sound source management module according to a fifth embodiment of the present invention. The sound source management module comprises the following units:
a second receiving unit 111, configured to receive a play request sent by a client capable of playing audio data through the identifier ID, where the play request is used to request to play the audio data;
the identification ID is used to identify a correspondence between the sound source and the client, for example: the ID may be a string carrying client information, audio data information, and the like. The sound source is a file carrying audio data, and can also be understood as audio data or an application carrying audio data, and the like.
A third sending unit 112, configured to send a play notification to the client, where the play notification is used to indicate that the client allows or prohibits playing of audio data;
a third receiving unit 113, configured to receive a registered sound source message sent by the sound playing module, where the registered sound source message includes an identifier ID and audio data corresponding to the identifier ID;
a first judging unit 114, configured to judge whether the sound source corresponding to the identifier ID allows playing according to a second preset rule;
a fourth sending unit 115, configured to send a feedback message to the sound playing module, so that the sound playing module controls playing of audio data according to the feedback message.
Fig. 12 is a schematic structural diagram of a sound playing module according to a fifth embodiment of the present invention. The sound playing module comprises the following units:
a fourth receiving unit 121, configured to receive a play instruction and audio data sent by a client capable of playing audio data, where the play instruction includes an identifier ID;
the identification ID is used to identify the correspondence between the sound source and the client 21, for example: the ID may be a string carrying client information, audio data information, and the like. The sound source is a file carrying audio data, and can also be understood as audio data or an application carrying audio data, and the like.
A fifth sending unit 122, configured to send a registered sound source message to the sound source management module, where the registered sound source message includes an identifier ID and audio data corresponding to the identifier ID, so that the sound source management module determines, according to a second preset rule, whether a sound source corresponding to the identifier ID is allowed to be played;
a fifth receiving unit 123, configured to receive the feedback message sent by the sound source management module, and control audio data playing according to the feedback message.
Based on the sound source processing methods provided in the third and fourth embodiments, the present invention further provides a specific implementation of the sound source processing apparatus. See example six for details.
EXAMPLE six
Fig. 13 is a schematic structural diagram of a sound playing module according to a sixth embodiment of the present invention. The sound playing module comprises the following units:
a sixth receiving unit 131, configured to receive a play instruction and audio data sent by a client capable of playing audio data, where the play instruction includes an identifier ID;
the identification ID is used to identify the correspondence between the sound source and the client 21, for example: the ID may be a string carrying client information, audio data information, and the like. The sound source is a file carrying audio data, and can also be understood as audio data or an application carrying audio data, and the like.
A sixth sending unit 132, configured to send a registered audio source message to the routing module, where the registered audio source message includes an identifier ID and audio data corresponding to the identifier ID;
a seventh receiving unit 133, configured to receive the feedback message sent by the routing module, and control audio data playing according to the feedback message.
Fig. 14 is a schematic structural diagram of a routing module according to a sixth embodiment of the present invention. The routing module comprises the following units:
an eighth receiving unit 141, configured to receive a registered sound source message sent by the sound playing module, where the registered sound source message includes an identification ID and audio data corresponding to the identification ID;
a seventh sending unit 142, configured to send registered sound source information to the sound source management module, so that the sound source management module determines whether the sound source corresponding to the identifier ID is allowed to be played according to a second preset rule;
a ninth receiving unit 143, configured to receive a feedback message sent by the sound source management module, where the feedback message is used to indicate whether the audio data is allowed to be played;
an eighth sending unit 144, configured to send a feedback message to the sound playing module, so that the sound playing module controls playing of audio data according to the feedback message.
Fig. 15 is a schematic structural diagram of a sound source management module according to a sixth embodiment of the present invention. The sound source management module comprises the following units:
a tenth receiving unit 151, configured to receive a play request sent by a client capable of playing audio data through the identification ID, where the play request is used to request to play audio data;
the identification ID is used to identify the correspondence between the sound source and the client 21, for example: the ID may be a string carrying client information, audio data information, and the like. The sound source is a file carrying audio data, and can also be understood as audio data or an application carrying audio data, and the like.
A ninth sending unit 152, configured to send a play notification to the client, where the play notification is used to indicate that the client allows or prohibits playing of audio data;
an eleventh receiving unit 153, configured to receive a registration sound source message sent by the routing module, where the registration sound source message includes an identifier ID and audio data corresponding to the identifier ID;
a second determining unit 154, configured to determine whether the sound source corresponding to the identifier ID is allowed to be played according to a second preset rule;
a tenth sending unit 155, configured to send a feedback message to the routing module, where the feedback message is used to indicate whether the sound source is allowed to be played.
Based on the sound source processing devices provided in the fifth embodiment and the sixth embodiment, the present invention further provides a specific implementation of the sound source processing system, which is specifically referred to as embodiment seven.
EXAMPLE seven
Fig. 16 is a schematic structural diagram of a first audio processing system according to a seventh embodiment of the present invention. As shown in fig. 16, the sound source processing system includes:
a client 161, a sound source management module 162, and a sound playing module 163; the client can play audio data;
the client 161 is the client described in the fifth embodiment;
the sound source management module 162 is the sound source management module described in the fifth embodiment;
the sound playing module is the sound playing module described in the fifth embodiment.
Fig. 17 is a schematic structural diagram of a second sound source processing system according to a seventh embodiment of the invention. As shown in fig. 17, the sound source processing system includes:
a client 171, a sound source management module 172, a sound playing module 173 and a routing module 174; the client 171 is capable of playing audio data;
the client 171 is the client described in the fifth embodiment;
the sound source management module 172 is the sound source management module described in the sixth embodiment;
the sound playing module 173 is the sound playing module described in the sixth embodiment;
the routing module 174 is the routing module described in the sixth embodiment.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (17)

1. A sound source processing method is applied to a client, and is characterized by comprising the following steps:
sending a playing request to a sound source management module through the identification ID, wherein the playing request is used for requesting to play audio data;
receiving a play notification issued by the sound source management module, wherein the play notification is used for indicating that the client side allows playing or prohibits playing of audio data;
receiving the broadcast notice that allows the broadcast audio data that sound source management module sent, send broadcast instruction and audio data to sound play module, so that sound play module to sound source management module sends and registers the sound source message in order to inquire whether the sound source that audio data corresponds allows the broadcast, receiving when the message of the connection sound source that sound source management module sent, send audio data to first sound card, so that the sound source sound production, receiving when not connecting the message of sound source that sound source management module sent, send audio data to second sound card, so that the sound source does not sound, register including the sign ID in the sound source message with the audio data that the sign ID corresponds, broadcast instruction includes the sign ID.
2. The method of claim 1, further comprising:
sending an application request for applying for an identification ID to the sound source management module;
and receiving the ID fed back by the sound source management module according to a first preset rule.
3. A sound source processing method is applied to a sound source management module and is characterized by comprising the following steps:
receiving a playing request sent by a client through an identification ID, wherein the playing request is used for requesting to play audio data;
sending a playing notification to the client, wherein the playing notification is used for indicating that the client allows playing or forbids playing of the audio data;
receiving a registered sound source message sent by a sound playing module, wherein the registered sound source message comprises an identification ID and audio data corresponding to the identification ID;
judging whether the sound source corresponding to the identification ID is allowed to be played or not according to a second preset rule;
when the sound source allows playing, sending a message for connecting the sound source to the sound playing module so that the sound playing module sends audio data to the first sound card according to the message for connecting the sound source so as to enable the sound source to sound;
when the sound source is prohibited to play, a message of not connecting the sound source is sent to the sound playing module, so that the sound playing module sends audio data to the second sound card, and the sound source does not sound.
4. The method of claim 3, further comprising:
receiving an application request for applying for an identification ID sent by the client;
and feeding back the ID to the client according to a first preset rule.
5. The method according to claim 3, wherein before or after the step of sending a message not connecting to the sound source to the sound playing module when the sound source corresponding to the identification ID prohibits playing, the method further comprises:
and sending a playing notification for indicating that the client forbids playing of the audio data to the client.
6. A sound source processing method is applied to a sound playing module and is characterized by comprising the following steps:
receiving a playing instruction and audio data sent by a client, wherein the playing instruction comprises an identification ID;
sending a registered sound source message to a sound source management module, wherein the registered sound source message comprises an identification ID and audio data corresponding to the identification ID, so that the sound source management module judges whether a sound source corresponding to the identification ID is allowed to be played according to a second preset rule;
receiving a feedback message sent by the sound source management module, and sending audio data to a first sound card to enable a sound source to sound when the feedback message is a connection message allowing the sound source to play;
and when the feedback message is a non-connection message for prohibiting the sound source from playing, sending audio data to the second sound card so as to enable the sound source not to sound.
7. A sound source processing method is applied to a sound playing module and comprises the following steps:
receiving a playing instruction and audio data sent by a client, wherein the playing instruction comprises an identification ID;
sending a registered sound source message to a routing module, wherein the registered sound source message comprises an identification ID and audio data corresponding to the identification ID;
receiving a feedback message sent by the routing module, and sending audio data to a first sound card to enable a sound source to sound when the feedback message is a connection message allowing the sound source to play;
and when the feedback message is a non-connection message for prohibiting the sound source from playing, sending audio data to the second sound card so as to enable the sound source not to sound.
8. A sound source processing method is applied to a routing module, and comprises the following steps:
receiving a registered sound source message sent by a sound playing module, wherein the registered sound source message comprises an identification ID and audio data corresponding to the identification ID;
sending registered sound source information to a sound source management module so that the sound source management module judges whether a sound source corresponding to the identification ID is allowed to be played or not according to a second preset rule;
receiving a feedback message sent by the sound source management module, wherein the feedback message is used for indicating whether the audio data is allowed to be played;
sending a feedback message to the sound playing module so that the sound playing module sends audio data to a first sound card when the feedback message is a connection message allowing a sound source to play and the sound source sounds; and when the feedback message is a non-connection message for prohibiting the sound source from playing, sending audio data to the second sound card to enable the sound source not to sound.
9. A sound source processing method is applied to a sound source management module and is characterized by comprising the following steps:
receiving a playing request sent by a client through an identification ID, wherein the playing request is used for requesting to play audio data;
sending a playing notification to the client, wherein the playing notification is used for indicating that the client allows playing or forbids playing of the audio data;
receiving a registered sound source message sent by a routing module, wherein the registered sound source message comprises an identification ID and audio data corresponding to the identification ID;
judging whether the sound source corresponding to the identification ID is allowed to be played or not according to a second preset rule;
when the sound source allows playing, sending a message for connecting the sound source to the routing module so that the routing module sends the message for connecting the sound source to the sound playing module, wherein the message for connecting the sound source is used for enabling the sound playing module to send audio data to the first sound card so that the sound source sounds;
when the sound source is forbidden to play, the message of not connecting the sound source is sent to the sound playing module and the routing module, so that the routing module sends the message of not connecting the sound source to the sound playing module, the message of not connecting the sound source is used for enabling the sound playing module to send audio data to a second sound card, and the sound source does not sound.
10. A client is applied to a terminal device, and is characterized by comprising:
the first sending unit sends a playing request to the sound source management module through the identification ID, wherein the playing request is used for requesting to play audio data;
a first receiving unit, configured to receive a play notification issued by the sound source management module, where the play notification is used to indicate that the client allows playing or prohibits playing of audio data;
the second sending unit is used for sending a playing instruction and audio data to the sound playing module after receiving a playing notification of audio data allowed to be played, which is sent by the sound source management module, so that the sound playing module sends a registered sound source message to the sound source management module to inquire whether a sound source corresponding to the audio data allows playing, and sends the audio data to the first sound card when receiving a message of connecting the sound source, which is sent by the sound source management module, so that the sound source sounds, and sends the audio data to the second sound card when receiving a message of not connecting the sound source, which is sent by the sound source management module, so that the sound source does not sound, wherein the sound source registered message comprises an identification ID and the audio data corresponding to the identification ID, and the playing instruction comprises the identification ID.
11. An audio source management module, comprising:
the second receiving unit is used for receiving a playing request sent by the client through the identification ID, and the playing request is used for requesting to play the audio data;
a third sending unit, configured to send a play notification to the client, where the play notification is used to indicate that the client allows or prohibits playing of audio data;
the third receiving unit is used for receiving a registered sound source message sent by the sound playing module, wherein the registered sound source message comprises an identification ID and audio data corresponding to the identification ID;
the first judgment unit is used for judging whether the sound source corresponding to the identification ID is allowed to be played or not according to a second preset rule;
the fourth sending unit is used for sending a message of connecting the sound source to the sound playing module when the sound source allows playing, so that the sound playing module sends audio data to the first sound card according to the message of connecting the sound source, and the sound source sounds; when the sound source is prohibited to play, a message of not connecting the sound source is sent to the sound playing module, so that the sound playing module sends audio data to the second sound card, and the sound source does not sound.
12. A sound playing module, comprising:
the fourth receiving unit is used for receiving a playing instruction and audio data sent by the client, wherein the playing instruction comprises an identification ID;
a fifth sending unit, configured to send a registered sound source message to the sound source management module, where the registered sound source message includes an identifier ID and audio data corresponding to the identifier ID, so that the sound source management module determines, according to a second preset rule, whether a sound source corresponding to the identifier ID is allowed to be played;
a fifth receiving unit, configured to receive a feedback message sent by the sound source management module, and send audio data to the first sound card when the feedback message is a connection message allowing a sound source to be played, so that the sound source sounds; and when the feedback message is a non-connection message for prohibiting the sound source from playing, sending audio data to the second sound card so as to enable the sound source not to sound.
13. A sound playing module, comprising:
the sixth receiving unit is used for receiving the playing instruction and the audio data sent by the client;
a sixth sending unit, configured to send a registered sound source message to a routing module, where the registered sound source message includes an identifier ID and audio data corresponding to the identifier ID;
a seventh receiving unit, configured to receive a feedback message sent by the routing module, and send audio data to the first sound card when the feedback message is a connection message that allows a sound source to play, so that the sound source sounds; and when the feedback message is a non-connection message for prohibiting the sound source from playing, sending audio data to the second sound card so as to enable the sound source not to sound.
14. A routing module, comprising:
the eighth receiving unit is configured to receive a registered sound source message sent by the sound playing module, where the registered sound source message includes an identifier ID and audio data corresponding to the identifier ID;
the seventh sending unit is used for sending the registered sound source information to the sound source management module so that the sound source management module judges whether the sound source corresponding to the identification ID is allowed to be played according to a second preset rule;
a ninth receiving unit, configured to receive a feedback message sent by the sound source management module, where the feedback message is used to indicate whether the audio data is allowed to be played;
an eighth sending unit, configured to send a feedback message to the sound playing module, so that the sound playing module sends audio data to the first sound card when the feedback message is a connection message that allows a sound source to play, and the sound source sounds; and when the feedback message is a non-connection message for prohibiting the sound source from playing, sending audio data to the second sound card to enable the sound source not to sound.
15. An audio source management module, comprising:
a tenth receiving unit, configured to receive a play request sent by a client through an identifier ID, where the play request is used to request to play audio data;
a ninth sending unit, configured to send a play notification to the client, where the play notification is used to indicate that the client allows or prohibits playing of audio data;
the eleventh receiving unit is used for receiving a registration sound source message sent by the routing module, wherein the registration sound source message comprises an identification ID and audio data corresponding to the identification ID;
the second judgment unit is used for judging whether the sound source corresponding to the identification ID is allowed to be played or not according to a second preset rule;
a tenth sending unit, configured to send a message for connecting a sound source to the routing module when the sound source allows playing, so that the routing module sends the message for connecting the sound source to the sound playing module, where the message for connecting the sound source is used to enable the sound playing module to send audio data to the first sound card, so that the sound source sounds; when the sound source is forbidden to play, the message of not connecting the sound source is sent to the sound playing module and the routing module, so that the routing module sends the message of not connecting the sound source to the sound playing module, the message of not connecting the sound source is used for enabling the sound playing module to send audio data to a second sound card, and the sound source does not sound.
16. An audio source processing system, comprising: the client according to claim 10, the sound source management module according to claim 11, and the sound playing module according to claim 12.
17. An audio source processing system, comprising: the client of claim 10, the sound playing module of claim 13, the routing module of claim 14, and the sound source management module of claim 15.
CN201611001503.6A 2016-11-14 2016-11-14 Sound source processing method, device and system Active CN106775552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611001503.6A CN106775552B (en) 2016-11-14 2016-11-14 Sound source processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611001503.6A CN106775552B (en) 2016-11-14 2016-11-14 Sound source processing method, device and system

Publications (2)

Publication Number Publication Date
CN106775552A CN106775552A (en) 2017-05-31
CN106775552B true CN106775552B (en) 2020-02-11

Family

ID=58968067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611001503.6A Active CN106775552B (en) 2016-11-14 2016-11-14 Sound source processing method, device and system

Country Status (1)

Country Link
CN (1) CN106775552B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910829B (en) * 2019-12-04 2022-05-17 海信集团有限公司 Audio sharing method, device and system
CN113905319B (en) * 2020-06-22 2024-02-20 广州辉群智能科技有限公司 Broadcasting system, control method and control terminal of broadcasting system
CN111954028B (en) * 2020-10-19 2021-03-02 深圳乐播科技有限公司 Screen projection method, device and equipment of audio data and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007133938A (en) * 2005-11-08 2007-05-31 Matsushita Electric Ind Co Ltd Information recording medium with flag showing propriety of audio mixing output, and device and method for reproducing the same
CN105554294A (en) * 2015-12-25 2016-05-04 百度在线网络技术(北京)有限公司 Method and apparatus for controlling terminal device
CN105681974A (en) * 2016-04-01 2016-06-15 北京小鸟听听科技有限公司 Multiple-sound-source switching method and device and audio equipment
CN105810220A (en) * 2016-03-22 2016-07-27 广东欧珀移动通信有限公司 Control method, apparatus and system for music playback system
CN105912298A (en) * 2016-04-29 2016-08-31 乐视控股(北京)有限公司 Sound playing control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007133938A (en) * 2005-11-08 2007-05-31 Matsushita Electric Ind Co Ltd Information recording medium with flag showing propriety of audio mixing output, and device and method for reproducing the same
CN105554294A (en) * 2015-12-25 2016-05-04 百度在线网络技术(北京)有限公司 Method and apparatus for controlling terminal device
CN105810220A (en) * 2016-03-22 2016-07-27 广东欧珀移动通信有限公司 Control method, apparatus and system for music playback system
CN105681974A (en) * 2016-04-01 2016-06-15 北京小鸟听听科技有限公司 Multiple-sound-source switching method and device and audio equipment
CN105912298A (en) * 2016-04-29 2016-08-31 乐视控股(北京)有限公司 Sound playing control method and device

Also Published As

Publication number Publication date
CN106775552A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN111343603B (en) Data transmission system, method, electronic equipment and helmet
RU2554848C2 (en) System and method of contactless control of "electronic calendar" application in vehicle
US9306983B2 (en) Method and apparatus for communication between a vehicle based computing system and a remote application
CN106775552B (en) Sound source processing method, device and system
US20140270183A1 (en) Mono-spatial audio processing to provide spatial messaging
US9501259B2 (en) Audio output device to dynamically generate audio ports for connecting to source devices
TWI777371B (en) Audio information transmission system, method and device and corresponding two-wheeled vehicle and helmet
CN102981613A (en) Terminal and terminal control method
CN112542183B (en) Audio data processing method, device, equipment and storage medium
KR20150039421A (en) Electronic device and method for providing notification information selectively
CN110890094A (en) Voice control method of Internet of things equipment and voice server
US20190182331A1 (en) Head Unit of Vehicle and Method for Controlling the Same
CN113225716A (en) Vehicle-mounted karaoke realization method, system, equipment and storage medium
US20140336875A1 (en) System And Method For Providing Customized Audio Content To A Vehicle Radio System Using A Smartphone
EP3319340B1 (en) Speaker apparatus, electronic apparatus connected therewith, and controlling method thereof
CN109995475B (en) Control method and device of intelligent terminal, storage medium and electronic equipment
CN114980457B (en) Car lamp control method and device, electronic equipment and computer readable storage medium
CN104457778A (en) Automatic information transmitting system and automatic information transmitting method based on navigation
CN115884186A (en) Wireless intercom system
JP7083956B2 (en) Control method of terminal equipment
CN105024920A (en) Method and equipment for transmitting group chat information
CN110781014A (en) Recording data multi-process distribution method and system based on Android device
CN111726283B (en) WeChat receiving method and device for vehicle-mounted intelligent sound box
US11863967B2 (en) Wireless headset system
KR102646375B1 (en) System for sharing screen using inaudible sound and apparatus thereof

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
GR01 Patent grant
GR01 Patent grant