CN107465825B - Audio playing method and system of electronic equipment - Google Patents

Audio playing method and system of electronic equipment Download PDF

Info

Publication number
CN107465825B
CN107465825B CN201710717483.0A CN201710717483A CN107465825B CN 107465825 B CN107465825 B CN 107465825B CN 201710717483 A CN201710717483 A CN 201710717483A CN 107465825 B CN107465825 B CN 107465825B
Authority
CN
China
Prior art keywords
audio
playing
electronic device
external
equipment
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
CN201710717483.0A
Other languages
Chinese (zh)
Other versions
CN107465825A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710717483.0A priority Critical patent/CN107465825B/en
Publication of CN107465825A publication Critical patent/CN107465825A/en
Application granted granted Critical
Publication of CN107465825B publication Critical patent/CN107465825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

The present disclosure provides an audio playing method for an electronic device, including: receiving an instruction for playing audio; responding to the instruction, and determining the playing mode of the audio according to the parameters of the audio; and playing the audio according to the determined playing mode. The present disclosure also provides an audio playing system for an electronic device.

Description

Audio playing method and system of electronic equipment
Technical Field
The present disclosure relates to an audio playing method and system for an electronic device.
Background
With the rapid development of the internet, various electronic devices have been produced. Electronic devices are now an essential part of people's lives, but many problems are encountered when using electronic devices. For example, when a user plays audio using an electronic device, if the electronic device is not connected to an external playing device, the audio is played through the electronic device, and if the electronic device is connected to an external playing device such as a sound box, the audio is played through the sound box. In carrying out the inventive concept, the inventors have found that the related art has at least a problem in that a path of playing audio depends only on a connection state of an electronic device, regardless of characteristics of the audio itself to be played.
Disclosure of Invention
One aspect of the present disclosure provides an audio playing method and system for an electronic device, including: receiving an instruction for playing audio; responding to the instruction, and determining the playing mode of the audio according to the parameters of the audio; and playing the audio according to the determined playing mode.
Optionally, determining the playing mode according to the audio parameter includes: when the audio comprises stereo audio, determining whether the electronic equipment establishes a communication connection with an external playing device; and if the electronic equipment establishes communication connection with external playing equipment, playing the audio through the external playing equipment.
Optionally, the method further includes: if the electronic equipment does not establish communication connection with external playing equipment, determining whether the electronic equipment is paired with the external playing equipment; and if the electronic equipment is paired with an external playing device but the connection is not established, establishing a communication connection between the electronic equipment and the external playing device.
Optionally, determining the playing mode according to the parameter of the audio includes playing the audio by the electronic device when the audio includes a monaural audio.
Optionally, the method further includes: when the audio comprises monaural audio, determining whether the electronic device has established a communication connection with an external playback device; and if the electronic equipment establishes the communication connection with the external playing equipment, disconnecting the communication connection between the electronic equipment and the external playing equipment.
Optionally, the electronic device includes a display, and the method further includes: after the electronic device is paired with an external playing device, displaying at least one interactable object on the display when there is a call for the electronic device; and determining whether to use the external playing equipment to answer the call according to the operation of the user on the interactive object.
Another aspect of the present disclosure provides an audio playback system for an electronic device, including: the receiving module is used for receiving an audio playing instruction; the response module is used for responding to the instruction and determining the playing mode of the audio according to the parameters of the audio; and the playing module is used for playing the audio according to the determined playing mode.
Optionally, determining the playing mode according to the audio parameter includes: when the audio comprises stereo audio, determining whether the electronic equipment establishes a communication connection with an external playing device; and if the electronic equipment establishes communication connection with external playing equipment, playing the audio through the external playing equipment.
Optionally, the system further includes: the electronic equipment comprises a first determining module, a second determining module and a display module, wherein the first determining module is used for determining whether the electronic equipment is paired with external playing equipment or not if the electronic equipment is not in communication connection with the external playing equipment; and a connection establishing module, which is used for establishing communication connection between the electronic equipment and the external playing equipment if the electronic equipment is paired with the external playing equipment but the connection is not established.
Optionally, determining the playing mode according to the parameter of the audio includes playing the audio by the electronic device when the audio includes a monaural audio.
Optionally, the system further includes: a second determining module that determines whether the electronic device has established a communication connection with an external playback device when the audio includes monaural audio; and the disconnection module is used for disconnecting the communication connection between the electronic equipment and the external playing equipment if the communication connection between the electronic equipment and the external playing equipment is established.
Optionally, the electronic device includes a display, and the system further includes: a display module that displays at least one interactable object on the display when there is a call to the electronic device after the electronic device is paired with an external playback device; and a third determining module, which determines whether to use the external playing device to answer the call according to the operation of the user on the interactive object.
Another aspect of the present disclosure provides an electronic device including: a display; one or more processors; and one or more memories storing executable instructions that, when executed by the processor, cause the processor to perform the method as described above.
Another aspect of the disclosure provides a non-volatile storage medium storing computer-executable instructions for implementing the method as described above when executed.
Another aspect of the disclosure provides a computer program comprising computer executable instructions for implementing the method as described above when executed.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
fig. 1 schematically illustrates an application scenario of an audio playing method of an electronic device according to an embodiment of the present disclosure;
fig. 2 schematically shows a flow chart of an audio playing method of an electronic device according to an embodiment of the present disclosure;
fig. 3 schematically shows a flow chart of an audio playing method of an electronic device according to another embodiment of the present disclosure;
fig. 4 schematically shows a flow chart of an audio playing method of an electronic device according to another embodiment of the present disclosure;
fig. 5 schematically shows a flow chart of an audio playing method of an electronic device according to another embodiment of the present disclosure;
fig. 6 schematically shows a flow chart of an audio playing method of an electronic device according to another embodiment of the present disclosure;
FIG. 7 schematically illustrates a block diagram of an audio playback system of an electronic device, in accordance with an embodiment of the present disclosure;
FIG. 8 schematically illustrates a block diagram of an audio playback system of an electronic device, in accordance with another embodiment of the present disclosure;
FIG. 9 schematically illustrates a block diagram of an audio playback system of an electronic device, in accordance with another embodiment of the present disclosure;
FIG. 10 schematically illustrates a block diagram of an audio playback system of an electronic device, in accordance with another disclosed embodiment; and
FIG. 11 schematically shows a block diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The words "a", "an" and "the" and the like as used herein are also intended to include the meanings of "a plurality" and "the" unless the context clearly dictates otherwise. Furthermore, the terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). It will be further understood by those within the art that virtually any disjunctive word and/or phrase presenting two or more alternative terms, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the terms, either of the terms, or both terms. For example, the phrase "a or B" should be understood to include the possibility of "a" or "B", or "a and B".
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable medium having instructions stored thereon for use by or in connection with an instruction execution system. In the context of this disclosure, a computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the instructions. For example, the computer readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the computer readable medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
The embodiment of the disclosure provides an audio playing method and system of an electronic device, comprising: receiving an instruction for playing audio; responding to the instruction, and determining the playing mode of the audio according to the parameters of the audio; and playing the audio according to the determined playing mode.
Fig. 1 schematically illustrates an application scenario of an audio playing method of an electronic device according to an embodiment of the present disclosure.
As shown in fig. 1, an application scenario of the audio playing method of the electronic device includes an electronic device 101, an electronic device 102, an electronic device 103, a network 104, and an electronic device 105.
Electronic device 101, electronic device 102, or electronic device 103 may interact with electronic device 105 through network 104. It should be noted that the electronic device 101, the electronic device 102, or the electronic device 103 may also interact with the electronic device 105 through a physical connection
According to an embodiment of the present disclosure, the electronic devices 101, 102, and 103 may be, for example, a cell phone, a tablet, a computer, a laptop, etc., but are not limited thereto. The electronic device 105 may be, for example, a smart speaker, a bluetooth headset, etc., but is not limited thereto. The network 105 may be, for example, bluetooth, local area network, radio frequency, etc., but is not limited thereto.
For example, the electronic device 101, the electronic device 102, or the electronic device 103 is connected to the electronic device 105 through bluetooth, and when the electronic device 101, the electronic device 102, or the electronic device 103 receives an instruction to play audio, the electronic device responds to the instruction, determines a playing mode of the audio according to parameters of the audio, and then plays the audio according to the determined playing mode. For example, the parameter of the audio is stereo audio, and in this case, the electronic device 101, the electronic device 102, or the electronic device 103 plays the stereo audio in a manner that the electronic device 105 plays the stereo audio. For another example, the parameter of the audio is monaural audio, and in this case, the electronic device 101, the electronic device 102, or the electronic device 103 plays the monaural audio in a manner that the electronic device 101, the electronic device 102, or the electronic device 103 itself plays the monaural audio. By determining the audio playing mode in the above manner, a suitable playing mode can be configured for the audio, and the playing mode is helpful for enhancing the sound effect of the audio.
For example, when the audio is stereo audio, it is played using the electronic device 105, which electronic device 105 may be, for example, a stereo smart speaker. For another example, when the audio is monaural audio, the electronic device 101, the electronic device 102, or the electronic device 103 is used to play the audio, and the electronic device 101, the electronic device 102, or the electronic device 103 may be a mobile phone, a tablet, or a computer, for example. The playing mode of intelligently selecting and playing the audio frequency not only can enhance the sound effect of the audio frequency, but also reduces the operation times of manually selecting the playing mode of the audio frequency by a user, thereby improving the experience effect of the user.
Fig. 2 schematically shows a flowchart of an audio playing method of an electronic device according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S201 to S203.
In operation S201, an instruction to play audio is received.
In operation S202, in response to the instruction, a playback manner of the audio is determined according to a parameter of the audio.
In operation S203, audio is played according to the determined play mode.
According to the embodiment of the present disclosure, the playing mode of the audio is determined according to the parameters of the audio, and the audio is played according to the determined playing mode. For example, when the audio is stereo audio, an external playback device is selected to play it. As another example, when the audio is monaural audio, the electronic device itself is selected to play it. The playing mode of intelligently selecting and playing the audio frequency not only can enhance the sound effect of the audio frequency, but also reduces the operation times of manually selecting the playing mode of the audio frequency by a user, thereby improving the experience effect of the user.
According to the embodiment of the present disclosure, an instruction to play audio is received in operation S201, and the instruction may be, for example, a playing instruction to the local audio of the electronic device, a playing instruction to the audio in an application program of the electronic device, and the like, but is not limited thereto.
Fig. 3 schematically shows a flowchart of an audio playing method of an electronic device according to another embodiment of the present disclosure.
As shown in fig. 3, according to an embodiment of the present disclosure, determining a playback manner of audio according to a parameter thereof includes operations S301 and S302.
In operation S301, when the audio includes stereo audio, it is determined whether the electronic device has established a communication connection with an external playback device.
In operation S302, if the electronic device has established a communication connection with an external playback device, the audio is played back through the external playback device.
According to an embodiment of the present disclosure, when the audio includes stereo audio, it is determined whether the electronic device has established a communication connection with an external playback device. For example, when the user request received by the electronic device is to play stereo audio, the electronic device automatically detects whether there is a connection with an external playing device, and if a communication connection is established with the external playing device, the external playing device is applied to play the stereo audio. The intelligent configuration mode is used for configuring the proper playing equipment for the stereo audio, which is beneficial to enhancing the stereo effect of the stereo audio and also reduces the operation times of the user on the electronic equipment, thereby enhancing the experience of the user.
Fig. 4 schematically shows a flowchart of an audio playing method of an electronic device according to another embodiment of the present disclosure.
As shown in fig. 4, the method further includes operations S401 and S402.
In operation S401, if the electronic device does not establish a communication connection with an external playback device, it is determined whether the electronic device is paired with the external playback device.
In operation S402, if the electronic device is paired with an external playback device but a connection is not established, a communication connection between the electronic device and the external playback device is established.
According to the embodiment of the disclosure, if the electronic device does not establish a communication connection with the external playback device, whether the electronic device is paired with the external playback device is determined. For example, the electronic device and the external playback device may be paired through bluetooth, and after the pairing is performed in operation S402, it is detected that the electronic device and the external playback device are paired but no connection is established, in this case, the communication connection between the electronic device and the external playback device may be manually established by the user, or the communication connection between the electronic device and the external playback device may be automatically established according to the parameters of the audio, so that the number of times of manual operations by the user is reduced.
According to an embodiment of the present disclosure, determining the playing mode according to the parameter of the audio further includes playing the audio through the electronic device when the audio includes the monaural audio.
Fig. 5 schematically shows a flowchart of an audio playing method of an electronic device according to another embodiment of the present disclosure.
As shown in fig. 5, the method further includes operations S501 and S502.
In operation S501, when the audio includes monaural audio, it is determined whether the electronic device has established a communication connection with an external playback device.
In operation S502, if the electronic device has established a communication connection with the external playback device, the electronic device is disconnected from the communication connection with the external playback device.
According to an embodiment of the present disclosure, when the audio includes monaural audio, it is determined whether the electronic device has established a communication connection with an external playback device. For example, the communication connection between the electronic device and the external playback device may be established through bluetooth, and if the communication connection between the electronic device and the external playback device has been established through bluetooth, operation S502 is performed to disconnect the communication connection between the electronic device and the external playback device, for example, the communication connection between the electronic device and the external playback device may be disconnected manually by a user, or the communication connection between the electronic device and the external playback device may be automatically disconnected according to the audio parameter, so as to reduce the number of times of manual operations by the user.
Fig. 6 schematically shows a flowchart of an audio playing method of an electronic device according to another embodiment of the present disclosure. According to an embodiment of the present disclosure, the electronic device includes a display.
As shown in fig. 6, the above method includes operations S601 and S602.
In operation S601, after the electronic device is paired with the external playback device, when there is a call to the electronic device, at least one interactable object is displayed on the display.
In operation S602, it is determined whether to answer the call using an external playback device according to an operation of the user on the interactive object.
According to an embodiment of the present disclosure, the at least one interactable object displayed on the display may be, for example, a slider, a key, and the like, but is not limited thereto. Specifically, the electronic device may be a slider for receiving a call through the electronic device, or an external playback device may be used for receiving a call through the external playback device, or a bluetooth headset may be used for receiving a call through the external playback device. The slider can be understood as a bar that can be operated by a user to answer a call from the electronic device. For example, the user can slide the slider along the motion track of the slider to answer a call of the electronic device.
According to the embodiment of the disclosure, after the electronic equipment is paired with the external playing equipment, when a call is made to the electronic equipment, at least one interactive object is displayed on the display, and whether the call is answered by using the external playing equipment is determined according to the operation of a user on the interactive object.
For example, after the electronic device is paired with the external playing device through bluetooth, when the electronic device is called, at least one interactable object is displayed on a display of the electronic device, for example, a slide bar for answering a call through the electronic device and/or a slide bar for answering a call through the external playing device and/or a slide bar for answering a call through a bluetooth headset is displayed. Operation S602 is described below with three scenarios.
Scene one: when the electronic equipment is called, a sliding bar for answering the call through the electronic equipment and a sliding bar for answering the call through the external playing equipment are displayed on the display of the electronic equipment, the environment where a user is located is high in noise, and the user can slide the sliding bar for answering the call through the external playing equipment in order that the user can clearly hear the sound of the other party.
Scene two: when the electronic equipment is called, a sliding bar for receiving the call through the electronic equipment and a sliding bar for receiving the call through the Bluetooth earphone are displayed on the display of the electronic equipment, and the Bluetooth earphone of the user is not near the user, so that the user can slide the sliding bar for receiving the call through the electronic equipment for the convenience of receiving the call through the electronic equipment.
Fig. 7 schematically shows a block diagram of an audio playback system of an electronic device according to an embodiment of the present disclosure.
As shown in fig. 7, the audio playing system 700 of the electronic device includes a receiving module 710, a responding module 720 and a playing module 730
Specifically, the receiving module 710 is configured to receive an instruction to play audio.
And the response module 720 is configured to determine, in response to the instruction, a playing mode of the audio according to the parameter of the audio.
The playing module 730 is configured to play the audio according to the determined playing mode.
Fig. 8 schematically shows a block diagram of an audio playback system of an electronic device according to another embodiment of the present disclosure.
As shown in fig. 8, the audio playing system 800 of the electronic device further includes a first determining module 810 and an establishing connection module 820.
Specifically, the first determining module 810 determines whether the electronic device is paired with the external playback device if the electronic device does not establish a communication connection with the external playback device.
The establish connection module 820 establishes a communication connection between the electronic device and the external playback device if the electronic device is paired with the external playback device but the connection is not established.
Fig. 9 schematically shows a block diagram of an audio playback system of an electronic device according to another embodiment of the present disclosure.
As shown in fig. 9, the audio playing system 900 of the electronic device further includes a second determining module 910 and a disconnecting module 920.
Specifically, the second determining module 910 determines whether the electronic device has established a communication connection with an external playback device when the audio includes monaural audio.
The disconnection module 920 disconnects the communication connection between the electronic device and the external playback device if the electronic device has established the communication connection with the external playback device.
FIG. 10 schematically illustrates a block diagram of an audio playback system of an electronic device, in accordance with another disclosed embodiment.
As shown in fig. 10, the audio playing system 1000 of the electronic device further includes a display module 1010 and a third determining module 1020.
Specifically, the display module 1010 displays at least one interactable object on the display when there is a call to the electronic device after the electronic device is paired with the external playback device.
The third determining module 1020 determines whether to use an external playback device to answer the call according to the operation of the user on the interactive object.
According to the embodiment of the present disclosure, the specific implementation processes of the receiving module 710, the responding module 720, the playing module 730, the first determining module 810, the connection establishing module 820, the second determining module 910, the disconnection module 920, the display module 1010 and the third determining module 1020 are the same as or similar to the operation processes of the above-mentioned methods, and reference may be made to the description above with reference to fig. 2 to 6, and are not repeated here.
It is understood that the receiving module 710, the responding module 720, the playing module 730, the first determining module 810, the connection establishing module 820, the second determining module 910, the disconnection module 920, the display module 1010 and the third determining module 1020 may be combined into one module to be implemented, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present invention, at least one of the receiving module 710, the responding module 720, the playing module 730, the first determining module 810, the establishing connection module 820, the second determining module 910, the disconnecting module 920, the displaying module 1010, and the third determining module 1020 may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or any other reasonable manner in which a circuit may be integrated or packaged, as hardware or firmware, or as a suitable combination of software, hardware, and firmware implementations. Alternatively, at least one of the receiving module 710, the responding module 720, the playing module 730, the first determining module 810, the connection establishing module 820, the second determining module 910, the connection disconnecting module 920, the displaying module 1010 and the third determining module 1020 may be at least partially implemented as a computer program module which, when executed by a computer, may perform the functions of the respective modules.
FIG. 11 schematically shows a block diagram of an electronic device according to an embodiment of the disclosure.
As shown in fig. 11, electronic device 1100 includes a processor 1110 and a computer-readable storage medium 1120. The electronic device 1100 may perform the methods described above with reference to fig. 2-6 to implement the electronic device.
In particular, processor 1110 may include, for example, a general purpose microprocessor, an instruction set processor and/or related chip set and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), and/or the like. The processor 1110 may also include onboard memory for caching purposes. Processor 1110 may be a single processing unit or multiple processing units for performing different actions of the method flows described with reference to fig. 2-6 in accordance with embodiments of the present disclosure.
Computer-readable storage medium 1120 may be, for example, any medium that can contain, store, communicate, propagate, or transport the instructions. For example, a readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the readable storage medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
The computer-readable storage medium 1120 may include a computer program 1121, and the computer program 1121 may include code/computer-executable instructions that, when executed by the processor 1110, cause the processor 1110 to perform a method flow such as that described above in connection with fig. 2-6, and any variations thereof.
The computer programs 1121 can be configured to have, for example, computer program code including computer program modules. For example, in an example embodiment, code in computer program 1121 may include one or more program modules, including, for example, 1121A, 1121B, … …. It should be noted that the division and number of modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, which when executed by the processor 1110, enable the processor 1110 to execute the method flows described above in connection with fig. 2-6 and any variations thereof, for example.
According to an embodiment of the disclosure, processor 1110 may perform the method flows described above in connection with fig. 2-6, and any variations thereof.
According to an embodiment of the present invention, at least one of the receiving module 710, the responding module 720, the playing module 730, the first determining module 810, the connection establishing module 820, the second determining module 910, the disconnection module 920, the display module 1010 and the third determining module 1020 may be implemented as a computer program module described with reference to fig. 11, which when executed by the processor 1110 may implement the corresponding operations described above.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.

Claims (5)

1. An audio playing method for an electronic device, comprising:
receiving an instruction for playing audio;
responding to the instruction, and determining the playing mode of the audio according to the parameters of the audio; and
playing the audio according to the determined playing mode,
wherein, determining the playing mode according to the audio parameters comprises:
when the audio comprises stereo audio, determining whether the electronic equipment establishes communication connection with external playing equipment, and if the electronic equipment establishes communication connection with the external playing equipment, playing the audio through the external playing equipment; and
when the audio comprises monaural audio, determining whether the electronic device has established a communication connection with an external playback device; and if the electronic equipment establishes communication connection with external playing equipment, disconnecting the communication connection between the electronic equipment and the external playing equipment, and playing the audio through the electronic equipment.
2. The method of claim 1, after determining whether the electronic device has established a communication connection with an external playback device when the audio comprises stereo audio, further comprising:
if the electronic equipment does not establish communication connection with external playing equipment, determining whether the electronic equipment is paired with the external playing equipment; and
and if the electronic equipment is paired with the external playing equipment but the connection is not established, establishing the communication connection between the electronic equipment and the external playing equipment.
3. The method of claim 1, wherein the electronic device includes a display, the method further comprising:
after the electronic device is paired with an external playing device, displaying at least one interactable object on the display when there is a call for the electronic device; and
and determining whether to use the external playing equipment to answer the call or not according to the operation of the user on the interactive object.
4. An audio playback system for an electronic device, comprising:
the receiving module is used for receiving an audio playing instruction;
the response module is used for responding to the instruction and determining the playing mode of the audio according to the parameters of the audio; and
a playing module for playing the audio according to the determined playing mode,
wherein, determining the playing mode according to the audio parameters comprises:
when the audio comprises stereo audio, determining whether the electronic equipment establishes communication connection with external playing equipment, and if the electronic equipment establishes communication connection with the external playing equipment, playing the audio through the external playing equipment; and
when the audio comprises monaural audio, determining whether the electronic device has established a communication connection with an external playback device; and if the electronic equipment establishes communication connection with external playing equipment, disconnecting the communication connection between the electronic equipment and the external playing equipment, and playing the audio through the electronic equipment.
5. The system of claim 4, after determining whether the electronic device has established a communication connection with an external playback device when the audio comprises stereo audio, further comprising:
the electronic equipment comprises a first determining module, a second determining module and a display module, wherein the first determining module is used for determining whether the electronic equipment is paired with external playing equipment or not if the electronic equipment is not in communication connection with the external playing equipment; and
and a connection establishing module, which is used for establishing communication connection between the electronic equipment and the external playing equipment if the electronic equipment is paired with the external playing equipment but the connection is not established.
CN201710717483.0A 2017-08-18 2017-08-18 Audio playing method and system of electronic equipment Active CN107465825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710717483.0A CN107465825B (en) 2017-08-18 2017-08-18 Audio playing method and system of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710717483.0A CN107465825B (en) 2017-08-18 2017-08-18 Audio playing method and system of electronic equipment

Publications (2)

Publication Number Publication Date
CN107465825A CN107465825A (en) 2017-12-12
CN107465825B true CN107465825B (en) 2020-10-27

Family

ID=60549093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710717483.0A Active CN107465825B (en) 2017-08-18 2017-08-18 Audio playing method and system of electronic equipment

Country Status (1)

Country Link
CN (1) CN107465825B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02279099A (en) * 1989-04-20 1990-11-15 Fujitsu Ltd Switching system for headphone speaker
KR20060081531A (en) * 2005-01-10 2006-07-13 삼성전자주식회사 Audio output apparatus for autometically sensing mono and mono auto sensing method thereof
CN1819470A (en) * 2005-02-11 2006-08-16 Lg电子株式会社 Apparatus for outputting monaural and stereophonic sound for mobile communication terminal
CN201352852Y (en) * 2009-01-07 2009-11-25 深圳市同洲电子股份有限公司 Device for automatically detecting and outputting single track or stereo
CN104254040A (en) * 2013-06-28 2014-12-31 深圳富泰宏精密工业有限公司 Audio switching system of mobile communication terminal

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960016676B1 (en) * 1994-10-27 1996-12-19 삼성전자 주식회사 Auto-recognizing circuit of mono-stereo connector
CN1941160B (en) * 2005-09-30 2010-11-10 鸿富锦精密工业(深圳)有限公司 Device and method for automatically selecting audio-frequency play mode
CN101373993A (en) * 2007-08-24 2009-02-25 固昌通讯股份有限公司 Stereo Bluetooth earphone
CN101547245A (en) * 2008-03-25 2009-09-30 中兴通讯股份有限公司 Method for playing multitrack audio file through a mobile phone
KR20120020532A (en) * 2010-08-30 2012-03-08 삼성전자주식회사 Method and apparatus for processing audio signal
KR102329420B1 (en) * 2014-05-23 2021-11-22 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN104410946A (en) * 2014-11-18 2015-03-11 惠州Tcl移动通信有限公司 Method and system for realizing multichannel output audio through wireless multi-equipment combination
CN106293599A (en) * 2016-07-29 2017-01-04 联想(北京)有限公司 A kind of output control method, electronic equipment and output system
CN106658291A (en) * 2016-12-21 2017-05-10 捷开通讯(深圳)有限公司 Audio device and method for switching stereo and single track external play

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02279099A (en) * 1989-04-20 1990-11-15 Fujitsu Ltd Switching system for headphone speaker
KR20060081531A (en) * 2005-01-10 2006-07-13 삼성전자주식회사 Audio output apparatus for autometically sensing mono and mono auto sensing method thereof
CN1819470A (en) * 2005-02-11 2006-08-16 Lg电子株式会社 Apparatus for outputting monaural and stereophonic sound for mobile communication terminal
CN201352852Y (en) * 2009-01-07 2009-11-25 深圳市同洲电子股份有限公司 Device for automatically detecting and outputting single track or stereo
CN104254040A (en) * 2013-06-28 2014-12-31 深圳富泰宏精密工业有限公司 Audio switching system of mobile communication terminal

Also Published As

Publication number Publication date
CN107465825A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
US10262650B2 (en) Earphone active noise control
EP2926572B1 (en) Collaborative sound system
US9179233B2 (en) Apparatus and method for interfacing earphone
US9113246B2 (en) Automated left-right headphone earpiece identifier
CN108399917B (en) Speech processing method, apparatus and computer readable storage medium
US9112986B2 (en) Supplemental audio signal processing for a bluetooth audio link
US20140092004A1 (en) Audio information and/or control via an intermediary device
CN107046664B (en) Automatically configurable speaker system
KR20160013649A (en) Video display method and user terminal for creating subtitles based on ambient noise
CN111866831A (en) Connection control method, device, terminal equipment and system
CN106793157B (en) Method for processing communication between terminals and related equipment
US20230370774A1 (en) Bluetooth speaker control method and system, storage medium, and mobile terminal
CN110855824A (en) Audio playing method, system, terminal and computer readable storage medium
KR102213429B1 (en) Apparatus And Method For Providing Sound
US10291759B2 (en) Data return type voice input/output device for smart phone
CN107465825B (en) Audio playing method and system of electronic equipment
US20170013118A1 (en) Electronic device and notification method thereof
CN114666744B (en) Method, device, equipment, storage medium and product for connecting near field communication equipment
CN106331356B (en) Volume control method and terminal
CN106210762A (en) Method, source device, purpose equipment, TV and the terminal that audio frequency is play
CN114816287A (en) Screen transmission control method and device, storage medium and electronic equipment
KR102268552B1 (en) Wireless earphone device including display
US20160366259A1 (en) Adaptive Audio in Modular Portable Electronic Device
US20160021457A1 (en) Automatic audio-path determination for a peripheral speaker
CN105101039A (en) Stereo restoring method and device

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