Electronic equipment and audio output control method and device

By designing a multi-audio output module in an electronic device and using a processor to determine the connection between the target module and the audio processing module, the problem of high cost of audio output equipment is solved, and multiple modules share the audio output of a processing module is realized, reducing the cost and Improved compatibility.

CN119136114APending Publication Date: 2024-12-13LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411218329.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-31
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Existing audio output devices need to be equipped with corresponding audio processing modules to be able to be recognized by the device and effectively output sound, but their cost is high.

Method used

By designing the first audio output module and the second audio output module in the electronic device, and determining the target audio output module based on the selected information by a processor, establishing a communication connection with the first audio processing module, and realizing audio output.

Benefits of technology

One audio processing module supports two audio output modules to output audio, thereby reducing equipment costs and improving audio output compatibility and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119136114A_ABST
    Figure CN119136114A_ABST
Patent Text Reader

Abstract

The invention discloses an electronic device and an audio output control method and device.The electronic device comprises a first audio output module and a second audio output module which can establish communication connection with a first audio processing module; a first audio processing module; the processor is connected with the first audio processing module and is configured to obtain selected information and determine a target audio output module according to the selected information, and the target audio output module is one of the first audio output module and the second audio output module; and establishing communication connection between the target audio output module and the first audio processing module so as to output the audio processed by the first audio processing module through the target audio output module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment, and in particular to an electronic equipment, an audio output control method and a device. Background Art

[0002] Existing audio output devices need to be equipped with corresponding audio processing modules so that they can be recognized by the device and effectively output sound, but the cost is high. Summary of the invention

[0003] An embodiment of the present application provides an electronic device, including: a first audio output module and a second audio output module, capable of establishing a communication connection with a first audio processing module; the first audio processing module; the processor, connected to the first audio processing module, and configured to: obtain selected information, determine a target audio output module based on the selected information, the target audio output module being one of the first audio output module and the second audio output module; establish a communication connection between the target audio output module and the first audio processing module to output the audio processed by the first audio processing module through the target audio output module.

[0004] In some embodiments, the first audio output module is connected to the first audio processing module via a first path, and the second audio output module is connected to the first audio processing module via a second path, and the processor is specifically configured to: when the target audio output module is the first audio output module, open the first path and close the second path to establish a communication connection between the first audio output module and the first audio processing module; when the target audio output module is the second audio output module, open the second path and close the first path to establish a communication connection between the second audio output module and the first audio processing module.

[0005] In some embodiments, it also includes: a switching module, connected to the processor, and used to act according to the signal output by the processor so that a communication connection can be established between the target audio output module and the first audio processing module, or the communication connection established between the target audio output module and the first audio processing module is disconnected; or, the switching module is connected to the first audio processing module, and used to act according to the signal output by the first audio processing module so that a communication connection can be established between the target audio output module and the first audio processing module, or the communication connection established between the target audio output module and the first audio processing module is disconnected.

[0006] In some embodiments, the first audio processing module includes: a first communication pin, connected to the first audio output module, and the first audio processing module outputs a processed audio signal to the first audio output module through the first communication pin; a second communication pin, connected to the second audio output module, and the first audio processing module outputs a processed audio signal to the second audio output module through the second communication pin; and a third communication pin, connected to the processor, and the first audio processing module obtains a signal output by the processor through the third communication pin.

[0007] In some embodiments, the audio processed by the first audio processing module is a digital audio signal, and the switching module is a component for switching digital audio signals; or, the audio processed by the first audio processing module is an analog audio signal, and the switching module is a component for switching analog audio signals.

[0008] In some embodiments, it also includes: a first amplification module, connected between the first audio output module and the first audio processing module, used to amplify the audio signal obtained from the first audio processing module, and output the amplified audio signal to the first audio output module; a second amplification module, connected between the second audio output module and the first audio processing module, used to amplify the audio signal obtained from the first audio processing module, and output the amplified audio signal to the second audio output module.

[0009] In some embodiments, it further includes: an audio communication interface capable of connecting to an audio output device;

[0010] The second audio processing module is connected to the audio communication interface and is used to process the audio signal obtained from the processor and output the processed audio signal to the audio output device so that the audio output device outputs audio.

[0011] An embodiment of the present application also proposes an audio output control method, including: obtaining selected information, determining a target audio output module based on the selected information, the target audio output module being one of a first audio output module and a second audio output module; establishing a communication connection between the target audio output module and a first audio processing module to output the audio processed by the first audio processing module through the target audio output module.

[0012] In some embodiments, determining the target audio output module according to the selected information includes: obtaining a first identifier and a second identifier output by the driver program, the first identifier corresponding to the first audio output module, the second identifier corresponding to the second audio output module, and the driver program is used to support the first audio output module and the second audio output module to work with the first audio processing module; determining a target identifier according to the selected information, the target identifier being one of the first identifier and the second identifier; and outputting the target identifier to the driver program.

[0013] An embodiment of the present application also proposes an audio output control device, including: a determination unit, used to obtain selected information, and determine a target audio output module based on the selected information, wherein the target audio output module is one of a first audio output module and a second audio output module; a connection unit, used to establish a communication connection between the target audio output module and a first audio processing module, so as to output the audio processed by the first audio processing module through the target audio output module. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0015] Figure 1 The structure of the electronic device of the present application is shown in FIG. Figure 1 ;

[0016] Figure 2 The structure of the electronic device of the present application is shown in FIG. Figure 2 ;

[0017] Figure 3 The structure of the electronic device of the present application is shown in FIG. Figure 3 ;

[0018] Figure 4 The structure of the electronic device of the present application is shown in FIG. Figure 4 ;

[0019] Figure 5 The structure of the electronic device of the present application is shown in FIG. Figure 5 ;

[0020] Figure 6 The structure of the electronic device of the present application is shown in FIG. Figure 6 ;

[0021] Figure 7A flowchart of an audio output control method according to an embodiment of the present application;

[0022] Figure 8 A flowchart of determining a target audio output module according to an embodiment of the present application;

[0023] Fig. 9 4 is a structural block diagram of an audio output control device according to an embodiment of the present application. DETAILED DESCRIPTION

[0024] Various aspects and features of the present application are described herein with reference to the accompanying drawings.

[0025] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.

[0026] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0027] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.

[0028] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art will be able to readily implement many other equivalent forms of the present application.

[0029] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.

[0030] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.

[0031] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.

[0032] In an electronic device according to an embodiment of the present application, a processor determines a target audio output module based on selected information, and establishes a communication connection between the target audio output module and a first audio processing module, so as to output audio processed by the first audio processing module through the target audio output module. Since the target audio output module is one of the first audio output module and the second audio output module, one first audio processing module is used to support audio output by two audio output modules, thereby reducing the cost of the device.

[0033] like Figure 1 As shown, the electronic device 100 includes:

[0034] The first audio output module 110 and the second audio output module 120 can establish a communication connection with the first audio processing module 130;

[0035] A first audio processing module 130;

[0036] The processor 140 is connected to the first audio processing module 130 and is configured to: obtain selected information, determine a target audio output module based on the selected information, the target audio output module being one of the first audio output module 110 and the second audio output module 120; establish a communication connection between the target audio output module and the first audio processing module 130 to output the audio processed by the first audio processing module 130 through the target audio output module.

[0037] In this embodiment, the electronic device 100 can be a user terminal such as a laptop computer, a mobile phone, a tablet, a smart wearable device, or other electronic devices other than user terminals. The first audio output module 110 and the second audio output module 120 can be a first speaker and a second speaker. The first speaker and the second speaker can be of the same type or of different types. For example, one of the first speaker and the second speaker is a directional sound speaker and the other is a non-directional sound speaker. The first audio processing module 130 can be a Codec chip (codec) or other functional modules including Codec, which can process the audio signal obtained from the processor 140. For example, the digital audio signal output by the processor 140 can be converted into an analog audio signal, and the digital audio signal output by the processor 140 can be encoded into a digital audio signal in a target format. Volume control or equalization control can also be performed.

[0038] The first audio output module 110 and the second audio output module 120 can establish a communication connection with the first audio processing module 130. The selected information can be triggered by the user's selection operation in the audio output device selection interface, or can be triggered in response to the start of a specified application, or can be received from other electronic devices. After the processor 140 obtains the selected information, it determines the target audio output module according to the selected information, and the target audio output module is the first audio output module 110 or the second audio output module 120. Then, a communication connection is established between the target audio output module and the first audio processing module 130, and the audio processed by the first audio processing module 130 can be output through the target audio output module.

[0039] For example, if the target audio output module is the first audio output module 110, and the first audio output module 110 is a directional sound speaker, the processor 140 establishes a communication connection between the first audio output module 110 and the first audio processing module 130, and subsequently outputs the audio processed by the first audio processing module 130 through the first audio output module 110 in a directional sound manner; if the target audio output module is the second audio output module 120, and the second audio output module 120 is a non-directional sound speaker, the processor 140 establishes a communication connection between the second audio output module 120 and the first audio processing module 130, and subsequently outputs the audio processed by the first audio processing module 130 through the second audio output module 120 in a non-directional sound manner.

[0040] In the electronic device 100 of the embodiment of the present application, the first audio output module 110 and the second audio output module 120 can establish a communication connection with the first audio processing module 130. The processor 140 determines the target audio output module based on the selected information, and establishes a communication connection between the target audio output module and the first audio processing module 130 to output the audio processed by the first audio processing module 130 through the target audio output module. Since the target audio output module is one of the first audio output module 110 and the second audio output module 120, one first audio processing module 130 is used to support the audio output of two audio output modules, thereby reducing the cost of the device.

[0041] In some embodiments of the present application, Figure 2 As shown, the first audio output module 110 is connected to the first audio processing module 130 via the first path 131, the second audio output module 120 is connected to the first audio processing module 130 via the second path 132, and the processor 140 is specifically configured as follows:

[0042] When the target audio output module is the first audio output module 110, the first path 131 is opened and the second path 132 is closed to establish a communication connection between the first audio output module 110 and the first audio processing module 130;

[0043] When the target audio output module is the second audio output module 120 , the second path 132 is opened and the first path 131 is closed to establish a communication connection between the second audio output module 120 and the first audio processing module 130 .

[0044] In this embodiment, the first audio output module 110 and the second audio output module 120 are connected to the first audio processing unit through the first path 131 and the second path 132 respectively. The communication connection between the first audio output module 110 and the first audio processing module 130 is established by opening the first path 131 and closing the second path 132, and the first audio output module 110 is the target audio output module. Correspondingly, the communication connection between the second audio output module 120 and the first audio processing module 130 is established by opening the second path 132 and closing the first path 131, and the second audio output module 120 is the target audio output module.

[0045] By setting the first path 131 and the second path 132 and switching the corresponding path to establish a communication connection between the corresponding audio output module and the first audio processing module 130, a reliable communication connection between the target audio output module and the first audio processing module 130 can be achieved.

[0046] In some embodiments of the present application, a first switch is provided in the first passage 131 , and a second switch is provided in the second passage 132 . The first passage 131 is opened or closed by the first switch, and the second passage 132 is opened or closed by the second switch.

[0047] In some embodiments of the present application, the electronic device 100 further includes:

[0048] like Figure 3 As shown, the switching module 150 is connected to the processor 140 and is used to act according to the signal output by the processor 140 to enable a communication connection to be established between the target audio output module and the first audio processing module 130, or to disconnect the communication connection established between the target audio output module and the first audio processing module 130; or,

[0049] like Figure 4As shown, the switching module 150 is connected to the first audio processing module 130, and is used to act according to the signal output by the first audio processing module 130 so that a communication connection can be established between the target audio output module and the first audio processing module 130, or the communication connection established between the target audio output module and the first audio processing module 130 is disconnected.

[0050] In this embodiment, when the switching module 150 is connected to the processor 140, it can act according to the signal output by the processor 140 to establish a communication connection between the target audio output module and the first audio processing module 130, or disconnect the established communication connection.

[0051] For example, if the first audio output module 110 has established a communication connection with the first audio processing module 130 as the target audio output module, and the processor 140 determines that the target audio output module is the second audio output module 120 based on the selected information, the processor 140 outputs a signal to the switching module 150, so that the switching module 150 establishes a communication connection between the second audio output module 120 and the first audio processing module 130, and at the same time disconnects the communication connection established between the first audio output module 110 and the first audio processing module 130.

[0052] Alternatively, the switching module 150 is connected to the first audio processing module 130. In this case, the switching module 150 can act according to the signal output by the first audio processing module 130 to establish a communication connection between the target audio output module and the first audio processing module 130, or disconnect the established communication connection.

[0053] For example, if the first audio output module 110 has established a communication connection with the first audio processing module 130 as the target audio output module, and the processor 140 determines that the target audio output module is the second audio output module 120 based on the selected information, the first audio processing module 130 outputs a signal to the switching module 150, so that the switching module 150 establishes a communication connection between the second audio output module 120 and the first audio processing module 130, and at the same time disconnects the communication connection established between the first audio output module 110 and the first audio processing module 130.

[0054] By setting the switching module 150 and actuating the switching module 150 according to the signal output by the processor 140 or the first audio processing module 130 , more reliable control of the corresponding audio output module to establish a communication connection with the first audio processing module 130 is achieved.

[0055] In some embodiments of the present application, when the switching module 150 is connected to the first audio processing module, the first audio processing module 130 may output a corresponding signal to the switching module 150 according to the signal output by the processor 140, thereby enabling the switching module 150 to control the target audio output module to establish a communication connection with the first audio processing module 130, or to control the communication connection established between the target audio output module and the first audio processing module 130 to be disconnected.

[0056] In some embodiments of the present application, when the switching module 150 is connected to the first audio processing module, the signal output by the first audio processing module 130 to the switching module 150 includes a first level signal and a second level signal. If the switching module 150 receives the first level signal, the communication connection between the first audio output module 110 and the first audio processing module 130 is established, and the communication connection between the second audio output module 120 and the first audio processing module 130 is disconnected; if the switching module 150 receives the second level signal, the communication connection between the second audio output module 120 and the first audio processing module 130 is established, and the communication connection between the first audio output module 110 and the first audio processing module 130 is disconnected. One of the first level signal and the second level signal is a low level, and the other is a high level.

[0057] In some embodiments of the present application, the first audio processing module 130 includes:

[0058] A first communication pin, connected to the first audio output module 110, and the first audio processing module 130 outputs the processed audio signal to the first audio output module 110 through the first communication pin;

[0059] A second communication pin, connected to the second audio output module 120, through which the first audio processing module 130 outputs the processed audio signal to the second audio output module 120;

[0060] The third communication pin is connected to the processor 140 , and the first audio processing module 130 obtains the signal output by the processor 140 through the third communication pin.

[0061] In this embodiment, the first audio processing module 130 is connected to the first audio output module 110, the second audio output module 120 and the processor 140 through the first communication pin, the second communication pin and the third communication pin respectively, so that the first audio processing module 130 can reliably obtain the signal output by the processor 140 from the processor 140, and output the processed audio signal to the corresponding audio output module, thereby ensuring that the first audio processing module 130 can support two audio output modules.

[0062] In some embodiments of the present application, the audio signal processed by the first audio processing module 130 is a digital audio signal, and the switching module 150 is a component for switching digital audio signals; or, the audio signal processed by the first audio processing module 130 is an analog audio signal, and the switching module 150 is a component for switching analog audio signals.

[0063] In this embodiment, if the first audio output module 110 and the second audio output module 120 are digital speakers that input digital audio signals, the audio signal processed by the first audio processing module 130 is a digital audio signal, and the switching module 150 is a component for switching digital audio signals. At this time, the switching module 150 can control the state transition of the output signal according to the input discrete signal through digital circuits such as logic gates or memories, thereby ensuring reliable switching of digital audio signals, and then reliably establishing a communication connection between the target audio output module and the first audio processing module 130.

[0064] If the first audio output module 110 and the second audio output module 120 are digital speakers that input analog audio signals, the audio signals processed by the first audio processing module 130 are analog audio signals, and the switching module 150 is a component for switching analog audio signals. At this time, the switching component can control the on-off and connection of the analog signals by changing its internal resistance or conduction state, thereby ensuring reliable switching of the analog audio signals, and further reliably establishing a communication connection between the target audio output module and the first audio processing module 130.

[0065] In some embodiments of the present application, Figure 5 As shown, the electronic device 100 also includes:

[0066] The first amplification module 111 is connected between the first audio output module 110 and the first audio processing module 130, and is used to amplify the audio signal obtained from the first audio processing module 130, and output the amplified audio signal to the first audio output module 110;

[0067] The second amplifying module 121 is connected between the second audio output module 120 and the first audio processing module 130 , and is used to amplify the audio signal obtained from the first audio processing module 130 , and output the amplified audio signal to the second audio output module 120 .

[0068] In this embodiment, the first amplification module 111 and the second amplification module 121 can be the first amplifier and the second amplifier respectively. The first amplification module 111 is arranged between the first audio output module 110 and the first audio processing module 130. If the first audio output module 110 is the target audio output module, the first audio processing module 130 outputs the processed audio signal to the first amplification module 111, and the first amplification module 111 performs amplification processing to increase the power of the audio signal. Thereafter, the first amplification module 111 outputs the amplified audio signal to the first audio output module 110 to drive the first audio output module 110 to emit audio.

[0069] A second amplifying module 121 is arranged between the second audio output module 120 and the first audio processing module 130. If the second audio output module 120 is the target audio output module, the first audio processing module 130 outputs the processed audio signal to the second amplifying module 121, which performs amplification processing to increase the power of the audio signal. Then, the second amplifying module 121 outputs the amplified audio signal to the second audio output module 120 to drive the second audio output module 120 to emit audio.

[0070] By providing the first amplifying module 111 and the second amplifying module 121 , the power of the audio signal input to the target audio output module can be increased, thereby ensuring that the target audio output module is reliably driven to output audio.

[0071] In some embodiments of the present application, Figure 6 As shown, the electronic device 100 also includes:

[0072] An audio communication interface 160 capable of connecting to an audio output device;

[0073] The second audio processing module 170 is connected to the audio communication interface 160 and is used to process the audio signal obtained from the processor 140 and output the processed audio signal to the audio output device so that the audio output device outputs audio.

[0074] In this embodiment, the audio communication interface 160 may include at least one of a 3.5mm interface, a USB-C interface, a Lightning interface, a Bluetooth interface, etc., and the audio output device may be a headset or an external speaker. The second audio processing module 170 may be a Codec chip different from the first audio processing module 130 or other functional modules including a Codec.

[0075] The processor 140 may determine to use the audio output device for audio output in response to the audio output device being connected to the audio communication interface 160 or the user selecting the audio output device. The subsequent second audio processing module 170 may process the audio signal obtained from the processor 140 and output the processed audio signal to the audio output device so that the audio output device outputs audio.

[0076] By providing the audio communication interface 160 and the second audio processing module 170, two audio processing modules are used to support two audio output modules and one audio output device, thereby enhancing the compatibility of the audio output of the electronic device 100 and improving the user experience.

[0077] The embodiment of the present application also proposes an audio output control method, which determines the target audio output module according to the selected information, and establishes a communication connection between the target audio output module and the first audio processing module, so as to output the audio processed by the first audio processing module through the target audio output module. Since the target audio output module is one of the first audio output module and the second audio output module, one first audio processing module is used to support the audio output of two audio output modules, thereby reducing the equipment cost.

[0078] like Figure 7 As shown, the following steps are included:

[0079] Step S101, obtaining selection information, and determining a target audio output module according to the selection information, wherein the target audio output module is one of a first audio output module and a second audio output module.

[0080] In this embodiment, the first audio output module and the second audio output module may be a first speaker and a second speaker, and the first speaker and the second speaker may be of the same type or of different types, for example, one of the first speaker and the second speaker may be a directional sound speaker and the other may be a non-directional sound speaker. The first audio processing module may be a Codec chip or other functional modules including a Codec.

[0081] The first audio output module and the second audio output module can establish a communication connection with the first audio processing module, and the selected information can be triggered by a user's selection operation on the audio output device selection interface, can be triggered in response to the start of a specified application, or can be received from other electronic devices. After obtaining the selected information, a target audio output module is determined according to the selected information, and the target audio output module is the first audio output module or the second audio output module.

[0082] Step S102: establishing a communication connection between the target audio output module and the first audio processing module, so as to output the audio processed by the first audio processing module through the target audio output module.

[0083] A communication connection is established between the target audio output module and the first audio processing module, and the audio processed by the first audio processing module can be outputted through the target audio output module subsequently.

[0084] For example, if the target audio output module is a first audio output module and the first audio output module is a directional sound speaker, the processor establishes a communication connection between the first audio output module and the first audio processing module, and subsequently outputs the audio processed by the first audio processing module through the first audio output module in a directional sound manner; if the target audio output module is a second audio output module and the second audio output module is a non-directional sound speaker, the processor establishes a communication connection between the second audio output module and the first audio processing module, and subsequently outputs the audio processed by the first audio processing module through the second audio output module in a non-directional sound manner.

[0085] The audio output control method of the embodiment of the present application obtains selected information, determines a target audio output module according to the selected information, and the target audio output module is one of a first audio output module and a second audio output module; establishes a communication connection between the target audio output module and a first audio processing module to output the audio processed by the first audio processing module through the target audio output module. Since the target audio output module is one of the first audio output module and the second audio output module, it is achieved that one first audio processing module supports two audio output modules to output audio, thereby reducing equipment costs.

[0086] In some embodiments of the present application, the target audio output module is determined according to the selected information, such as Figure 8 As shown, the following steps are included:

[0087] Step S1011, obtaining a first identifier and a second identifier output by the driver, wherein the first identifier corresponds to the first audio output module, and the second identifier corresponds to the second audio output module, and the driver is used to support the first audio output module and the second audio output module to work with the first audio processing module.

[0088] In this embodiment, a driver is pre-set, and the driver supports the first audio output module and the second audio output module to work with the first audio processing module. After the first audio output module and the second audio output module are powered on, the driver can determine the corresponding first identification and second identification, and the first identification can be, for example, a standard name, ID number, user-defined name, etc. that is uniquely corresponding to the first audio output module. The second identification can be, for example, a standard name, ID number, user-defined name, etc. that is uniquely corresponding to the second audio output module. The first identification and the second identification output by the driver are obtained, and the selected identification is subsequently determined according to the selected information.

[0089] In some embodiments, after obtaining the first identifier and the second identifier output by the driver, the method further includes: adding the first identifier and the second identifier to the audio output device selection interface, so as to facilitate the user to perform a selection operation on the audio output device selection interface. After the user performs the selection operation, the selection information can be obtained.

[0090] Step S1012, determining a target identifier according to the selected information, wherein the target identifier is one of the first identifier and the second identifier;

[0091] In this embodiment, if the selected information corresponds to the selection of the first identifier, the first identifier is the target identifier. If the selected information corresponds to the selection of the second identifier, the second identifier is the target identifier.

[0092] For example, if the first identifier is "speaker 1 (directional sound)" and the second identifier is "speaker 2 (non-directional sound)", the first identifier and the second identifier are displayed on the audio output device selection interface, and if the user selects "speaker 1 (directional sound)" on the audio output device selection interface, the first identifier is determined to be the target identifier. If the user selects "speaker 2 (non-directional sound)" on the audio output device selection interface, the second identifier is determined to be the target identifier.

[0093] Step S1013: output the target identifier to the driver.

[0094] After the target identifier is determined, the target identifier is output to the driver, thereby completing the determination of the target audio output module. The driver can subsequently drive the target audio output device corresponding to the target identifier to output the audio processed by the first audio processing module.

[0095] By obtaining the first identifier and the second identifier output by the driver, determining the target identifier from the first identifier and the second identifier according to the selected information, and outputting the target identifier to the driver, since the driver can support the first audio output module and the second audio output module to work with the first audio processing module, a more reliable determination of the target audio output module can be achieved.

[0096] The present application also provides an audio output control device, such as Fig. 9 As shown, it includes: a determination unit, used to obtain selected information, and determine a target audio output module according to the selected information, wherein the target audio output module is one of a first audio output module and a second audio output module; a connection unit, used to establish a communication connection between the target audio output module and the first audio processing module, so as to output the audio processed by the first audio processing module through the target audio output module.

[0097] The audio output control device of the embodiment of the present application obtains selection information through a determination unit, determines a target audio output module based on the selected information, and establishes a communication connection between the target audio output module and the first audio processing module through a connection unit. Since the target audio output module is one of the first audio output module and the second audio output module, one first audio processing module is used to support two audio output modules to output audio, thereby reducing equipment costs.

[0098] In a specific application scenario, the determination unit is specifically used to: obtain a first identifier and a second identifier output by the driver program, the first identifier corresponds to the first audio output module, the second identifier corresponds to the second audio output module, and the driver program is used to support the first audio output module and the second audio output module to work with the first audio processing module; determine a target identifier based on the selected information, the target identifier being one of the first identifier and the second identifier; and output the target identifier to the driver program.

[0099] The electronic device in the embodiment of the present application may be a terminal, or may be other devices other than a terminal. For example, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc., and may also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present disclosure.

[0100] The processor in the electronic device can be a general-purpose processor, including CPU, NP (Network Processor), etc.; it can also be a DSP (Digital Signal Processing), ASIC (Application Specific Integrated Circuit), FPGA (Field Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0101] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0102] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.

Claims

1. An electronic device, comprising: The first audio output module and the second audio output module are capable of establishing a communication connection with the first audio processing module; the first audio processing module; The processor is connected to the first audio processing module and is configured to: obtain selected information, determine a target audio output module based on the selected information, and the target audio output module is one of the first audio output module and the second audio output module; establish a communication connection between the target audio output module and the first audio processing module to output the audio processed by the first audio processing module through the target audio output module.

2. The electronic device according to claim 1, wherein the first audio output module is connected to the first audio processing module via a first path, the second audio output module is connected to the first audio processing module via a second path, and the processor is specifically configured as follows: When the target audio output module is the first audio output module, opening the first path and closing the second path to establish a communication connection between the first audio output module and the first audio processing module; In the case where the target audio output module is the second audio output module, the second path is opened and the first path is closed to establish a communication connection between the second audio output module and the first audio processing module.

3. The electronic device according to claim 1, further comprising: a switching module connected to the processor and configured to act according to a signal output by the processor so as to establish a communication connection between the target audio output module and the first audio processing module, or to disconnect the communication connection established between the target audio output module and the first audio processing module; or The switching module is connected to the first audio processing module, and is used to act according to the signal output by the first audio processing module so that a communication connection can be established between the target audio output module and the first audio processing module, or the communication connection established between the target audio output module and the first audio processing module is disconnected.

4. The electronic device according to claim 1, wherein the first audio processing module comprises: A first communication pin, connected to the first audio output module, and the first audio processing module outputs the processed audio signal to the first audio output module through the first communication pin; A second communication pin, connected to the second audio output module, and the first audio processing module outputs the processed audio signal to the second audio output module through the second communication pin; The third communication pin is connected to the processor, and the first audio processing module obtains the signal output by the processor through the third communication pin.

5. The electronic device as described in claim 3, wherein the audio signal processed by the first audio processing module is a digital audio signal, and the switching module is a component for switching digital audio signals; or, the audio signal processed by the first audio processing module is an analog audio signal, and the switching module is a component for switching analog audio signals.

6. The electronic device according to claim 1, further comprising: A first amplification module, connected between the first audio output module and the first audio processing module, used to amplify the audio signal obtained from the first audio processing module, and output the amplified audio signal to the first audio output module; The second amplifying module is connected between the second audio output module and the first audio processing module, and is used for amplifying the audio signal obtained from the first audio processing module and outputting the amplified audio signal to the second audio output module.

7. The electronic device according to claim 1, further comprising: Audio communication interface, capable of connecting to audio output devices; The second audio processing module is connected to the audio communication interface and is used to process the audio signal obtained from the processor and output the processed audio signal to the audio output device so that the audio output device outputs audio.

8. An audio output control method, comprising: Obtaining selected information, and determining a target audio output module according to the selected information, wherein the target audio output module is one of the first audio output module and the second audio output module; A communication connection is established between the target audio output module and the first audio processing module so as to output the audio processed by the first audio processing module through the target audio output module.

9. The audio output control method according to claim 8, determining the target audio output module according to the selected information, comprising: Obtaining a first identifier and a second identifier output by the driver, wherein the first identifier corresponds to the first audio output module, and the second identifier corresponds to the second audio output module, and the driver is used to support the first audio output module and the second audio output module to work with the first audio processing module; Determine a target identifier according to the selected information, where the target identifier is one of the first identifier and the second identifier; The target identifier is output to the driver program.

10. An audio output control device, comprising: a determining unit, configured to obtain selected information, and determine a target audio output module according to the selected information, wherein the target audio output module is one of the first audio output module and the second audio output module; A connection unit is used to establish a communication connection between the target audio output module and the first audio processing module, so as to output the audio processed by the first audio processing module through the target audio output module.