CN112911065A - Audio playing method and device for terminal, electronic equipment and storage medium - Google Patents

Audio playing method and device for terminal, electronic equipment and storage medium Download PDF

Info

Publication number
CN112911065A
CN112911065A CN202110060698.6A CN202110060698A CN112911065A CN 112911065 A CN112911065 A CN 112911065A CN 202110060698 A CN202110060698 A CN 202110060698A CN 112911065 A CN112911065 A CN 112911065A
Authority
CN
China
Prior art keywords
terminal
audio
orientation
vehicle
driving
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.)
Granted
Application number
CN202110060698.6A
Other languages
Chinese (zh)
Other versions
CN112911065B (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.)
China Mobile Communications Group Co Ltd
MIGU Music Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Music Co Ltd
MIGU Culture Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, MIGU Music Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110060698.6A priority Critical patent/CN112911065B/en
Publication of CN112911065A publication Critical patent/CN112911065A/en
Application granted granted Critical
Publication of CN112911065B publication Critical patent/CN112911065B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

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

Abstract

The embodiment of the invention provides a method and a device for playing audio by a terminal, electronic equipment and a storage medium. The terminal is provided with a plurality of loudspeakers, and the audio playing method comprises the following steps: acquiring the driving direction of the vehicle and the orientation of a terminal; determining a relative position between the driving position and the terminal based on the vehicle traveling direction and the orientation of the terminal; and determining a target loudspeaker corresponding to the driving position in the plurality of loudspeakers according to the relative position, and controlling the target loudspeaker to play the first audio. According to the embodiment of the invention, under the condition that the terminal plays multiple audio frequencies simultaneously in the driving process, the driver can hear the navigation audio frequency with larger sound, and meanwhile, the passenger can hear other audio frequencies with larger sound, so that the condition that the experience of the driver navigation audio frequency is interfered by the excessive sound of other audio frequencies is avoided, the experience of the passenger listening to music is avoided, the requirements of the driver and the passenger are further met, and the driving experience is improved.

Description

Audio playing method and device for terminal, electronic equipment and storage medium
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to a method and an apparatus for playing an audio in a terminal, an electronic device, and a storage medium.
Background
A plurality of applications can be started to run simultaneously in the smart phone. For example, while driving, a driver or a passenger may continue to use the mobile phone to watch applications such as short videos and music while the voice navigation is turned on in the smart phone. In this case, in order to make the navigation sound heard by the driver, every time the navigation needs to send a voice command, the volume of other applications (such as short video, music, etc.) is reduced or directly muted; and recovering after the navigation voice of the sentence is finished. The following technical problems exist: while muting or muting the volume of other applications may make voice navigation sound more clearly when playing voice navigation, voice navigation is often a distraction to other passengers who prefer to hear music, short video sounds, and thus affect the passenger experience.
Disclosure of Invention
The invention provides a method and a device for playing audio by a terminal, electronic equipment and a storage medium.
In a first aspect, the present invention provides an audio playing method for a terminal, where the terminal is provided with a plurality of speakers, and the audio playing method includes:
acquiring a vehicle driving direction and the orientation of the terminal;
determining a relative position between a driving position and the terminal based on the vehicle driving direction and the orientation of the terminal;
and determining a target loudspeaker corresponding to the driving position in the plurality of loudspeakers according to the relative position, and controlling the target loudspeaker to play a first audio.
Further, the acquiring the vehicle driving direction and the orientation of the terminal includes:
positioning the vehicle, and obtaining the vehicle running direction according to the position change of the vehicle;
and obtaining the orientation of the terminal based on the posture of the terminal, wherein the orientation of the terminal is the orientation right above the terminal.
Further, the determining a relative position between a driving position and the terminal based on the vehicle traveling direction and the orientation of the terminal includes:
acquiring an included angle between the vehicle running direction and the orientation of the terminal;
and determining the relative position between the driving position and the terminal according to the included angle.
Further, the determining a target speaker corresponding to the driving position from the plurality of speakers according to the relative position includes:
acquiring the distribution positions of the plurality of loudspeakers on the terminal;
according to the relative position and the distribution positions of the plurality of loudspeakers on the terminal, determining the loudspeaker close to the driving position in the plurality of loudspeakers, and taking the loudspeaker close to the driving position in the plurality of loudspeakers as a target loudspeaker corresponding to the driving position.
Further, the first audio is a navigation audio of a navigation application operated by the terminal, and the second audio is an entertainment audio of other applications operated simultaneously with the navigation application in the terminal.
Further, the controlling the target speaker to play the first audio includes:
controlling the target speaker to play the navigation audio at a first volume and the entertainment audio at a second volume, wherein the first volume is greater than the second volume; or, controlling the target speaker to play only the navigation audio; alternatively, the first and second electrodes may be,
controlling the target loudspeaker to play the navigation audio at a first volume and play the entertainment audio at a second volume, or controlling the target loudspeaker to play only the navigation audio while controlling loudspeakers on the terminal except the target loudspeaker to play the entertainment audio at a third volume and play the navigation audio at a fourth volume, wherein the third volume is greater than the fourth volume; alternatively, speakers other than the target speaker are controlled to play only the entertainment audio.
Further, the determining, according to the relative position, a target speaker corresponding to the driving position in the speakers includes:
if the orientation of the terminal is consistent with the driving direction of the vehicle or the orientation of the terminal is left relative to the driving direction of the vehicle, the first loudspeaker is the target loudspeaker;
and if the orientation of the terminal is towards the right relative to the vehicle running or the orientation of the terminal is opposite to the vehicle running direction, the second loudspeaker is the target loudspeaker.
In a second aspect, the present invention further provides an audio playing device for a terminal, where the terminal is provided with a plurality of speakers, and the audio playing device includes:
the acquisition module is used for acquiring the driving direction of the vehicle and the orientation of the terminal;
the position determining module is used for determining the relative position between the driving position and the terminal according to the driving direction of the vehicle and the orientation of the terminal;
and the control module is used for determining a target loudspeaker corresponding to the driving position in the plurality of loudspeakers according to the relative position and controlling the target loudspeaker to play a first audio.
In a third aspect, the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the audio playing method of the terminal as described in any one of the above when executing the program.
In a fourth aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for playing audio of a terminal as described in any one of the above.
According to the audio playing method and device of the terminal, the electronic equipment and the storage medium, under the condition that the terminal plays multiple audio frequencies simultaneously in the driving process, as the navigation audio and the music application are played by running the navigation application at the same time, the driver can hear the navigation audio with louder sound, and meanwhile, the passenger can hear other audio with louder sound, so that the situation that the experience of the navigation audio of the driver is interfered by the too loud sound of other audio is avoided, meanwhile, the experience of the music listening of the passenger is prevented from being interfered by the too loud sound of the navigation audio, further, the requirements of the driver and the passenger are met simultaneously in the driving process of the vehicle, and further, the driving experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an audio playing method of a terminal according to the present invention;
fig. 2 is a schematic diagram of a relative position relationship between a smartphone and a driving position when the smartphone is held vertically in an audio playing method of a terminal according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a relative position relationship between the smartphone and the driving position when the smartphone is held horizontally (right above the smartphone on the left side) in the audio playing method of the terminal provided by the present invention;
fig. 4 is a schematic diagram of a relative position relationship between the smartphone and the driving position when the smartphone is held horizontally (right above the smartphone) in the audio playing method of the terminal provided by the present invention;
FIG. 5 is a schematic structural diagram of an audio playing apparatus of a terminal according to the present invention;
fig. 6 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following describes an audio playing method and apparatus, an electronic device, and a storage medium of a terminal according to embodiments of the present invention with reference to the accompanying drawings.
Before describing an audio playing method of a terminal according to an embodiment of the present invention, the terminal is first described, where in the embodiment of the present invention, the terminal is, for example, a mobile terminal, such as a smart phone, and the smart phone is provided with at least two speakers.
Fig. 1 is a flowchart of a method of playing audio of a terminal according to an embodiment of the present invention. As shown in fig. 1, the method for playing audio by a terminal according to an embodiment of the present invention includes the following steps:
s101: and acquiring the driving direction of the vehicle and the orientation of the terminal.
Taking a smart phone as an example, assuming that a user drives or takes a car with the smart phone, when the smart phone starts navigation, the vehicle can be positioned, and the driving direction of the vehicle can be obtained according to the position change of the vehicle. For example: from a plurality of vehicle positions detected within a predetermined time period (e.g. 5 seconds), a vehicle position change can be determined, namely: the approximate trajectory direction of the vehicle movement, and thus, the vehicle traveling direction is determined.
The smartphone can determine the gesture of the smartphone based on some built-in sensors, gyroscopes, etc., which generally refer to the gesture in space, for example: gestures in three-dimensional space. Therefore, the orientation of the smart phone can be determined according to the posture of the smart phone, for example: if the smartphone is held in the three-dimensional space with the user tilted upward, the orientation of the smartphone in the three-dimensional space is tilted upward, and the smartphone is converted into the two-dimensional space, for example, in the northwest direction. In this example, the orientation of the terminal is the orientation directly above the terminal, for example: the top of the smart phone is right above the smart phone. It should be noted that the orientation in the embodiment of the present invention is an orientation in a two-dimensional space.
S102: based on the vehicle travel direction and the orientation of the terminal, a relative position between the driving position and the terminal is determined.
In one embodiment of the present invention, determining the relative position between the driving position and the terminal based on the vehicle traveling direction and the orientation of the terminal includes: acquiring an included angle between the vehicle running direction and the orientation of the terminal; and determining the relative position between the driving position and the terminal according to the included angle.
In this example, assuming that the driving direction of the vehicle is direction 1 and the orientation of the terminal is direction 2, the angle between direction 2 and direction 1 can be calculated, wherein the angle is, for example, the angle from direction 2 to direction 1 in the counterclockwise direction. After obtaining the angle between the direction 2 and the direction 1, the relative position between the driving position and the terminal can be determined according to the angle, specifically, no matter how the mobile phone is rotated, it is generally considered that, in the driving direction of the vehicle, the approximate left front of the position where the smart phone is located is the driving position, and the relative position is related to the posture of the smart phone, that is, when the postures collected intelligently are different, the relative position between the right upper side and the driving position is influenced.
S103: and determining a target loudspeaker corresponding to the driving position in the plurality of loudspeakers according to the relative position, and controlling the target loudspeaker to play the first audio.
In this example, while the target speaker is controlled to play the first audio, speakers other than the target speaker on the terminal may also be controlled to play the second audio.
As a specific example, the distribution positions of the plurality of speakers on the terminal may be acquired; according to the relative position and the distribution positions of the plurality of loudspeakers on the terminal, determining the loudspeaker close to the driving position in the plurality of loudspeakers, and taking the loudspeaker close to the driving position in the plurality of loudspeakers as a target loudspeaker corresponding to the driving position.
The first audio is assumed to be navigation audio of a navigation application running in the terminal, and the second audio is entertainment audio of other applications running simultaneously with the navigation application in the terminal. Then, in this example, the controlling the target speaker to play the first audio includes: controlling the target speaker to play the navigation audio at a first volume and the entertainment audio at a second volume, wherein the first volume is greater than the second volume; or controlling the target loudspeaker to only play the navigation audio. That is, if there are multiple audio such as the navigation audio and the entertainment audio, the target speaker may pause playing the entertainment audio and only play the navigation audio, or may play the navigation audio loudly and the entertainment audio loudly.
In this example, the target speaker may be controlled to play the navigation audio at a first volume and play the entertainment audio at a second volume, or the target speaker may be controlled to play only the navigation audio, and the speakers on the terminal except the target speaker may be controlled to play the entertainment audio at a third volume and play the navigation audio at a fourth volume, where the third volume is greater than the fourth volume; alternatively, speakers other than the target speaker are controlled to play only the entertainment audio.
Taking a smart phone including two speakers as an example, for example, the two speakers are respectively a first speaker disposed right above the terminal and a second speaker disposed right below the terminal, wherein the determining, according to the relative position, a target speaker corresponding to the driving position in the plurality of speakers includes: if the orientation of the terminal is consistent with the driving direction of the vehicle or the orientation of the terminal is left relative to the driving direction of the vehicle, the first loudspeaker is the target loudspeaker; and if the orientation of the terminal is towards the right relative to the vehicle running or the orientation of the terminal is opposite to the vehicle running direction, the second loudspeaker is the target loudspeaker.
In the above example, referring to fig. 2 to 4, where fig. 2 is a schematic diagram illustrating a relative position relationship between the smartphone and the driving position when the smartphone is held vertically, if the orientation of the smartphone forms an included angle of about 0 ° with the vehicle driving direction, the Speaker a, i.e., the first Speaker, is a Speaker corresponding to the driving position, and the Speaker B, i.e., the second Speaker, is a Speaker corresponding to the non-driving position. Fig. 3 is a schematic diagram of a relative position relationship between the smartphone and the driving position when the smartphone is held horizontally (right above the smartphone and on the left side), where the orientation of the smartphone forms an included angle of about 270 ° with the vehicle driving direction, the Speaker a, i.e., the first Speaker, is a Speaker corresponding to the driving position, and the Speaker B, i.e., the second Speaker, is a Speaker corresponding to the non-driving position. Fig. 4 is a schematic diagram of a relative position relationship between the smartphone and the driving position when the smartphone is held horizontally (right above the smartphone). The orientation of the smart phone forms an included angle of about 90 degrees with the driving direction of the vehicle, the Speaker A, namely the first Speaker, is a Speaker corresponding to a non-driving position, and the Speaker B, namely the second Speaker, is a Speaker corresponding to a driving position.
After the loudspeaker corresponding to the driving position is determined, the navigation sound can be played through the loudspeaker corresponding to the driving position to the maximum extent; other sounds (such as videos, jitters and music) are played through the loudspeaker corresponding to the non-driving position to the maximum extent. In this case, when the navigation sound is played through the speaker corresponding to the driving position, the playing of the other audio can be prohibited, and similarly, when the other sound is played through the speaker corresponding to the non-driving position, the playing of the navigation sound can be prohibited. Of course, the magnitudes of these two sounds may also be dynamically adjusted, for example: the first speaker plays 100% of the navigational volume while playing 20% of the other volumes, and the second speaker plays 20% of the navigational volume while playing 100% of the other volumes.
According to the audio playing method of the terminal, under the condition that the terminal plays multiple audio frequencies simultaneously in the driving process, as the navigation application and the music application are run simultaneously to play the navigation audio frequency, the driver can hear the navigation audio frequency with larger sound, and meanwhile, the passenger can hear other audio frequencies with larger sound, so that the condition that the experience of the navigation audio frequency of the driver is interfered by the sound of other audio frequencies is avoided, meanwhile, the experience of the music listening of the passenger is prevented from being interfered by the sound of the navigation audio frequency, and further, the requirements of the driver and the passenger are met simultaneously in the driving process of the vehicle, and further, the driving experience is improved.
The following describes the audio playing device of the terminal provided by the present invention, and the audio playing device of the terminal described below and the audio playing method of the terminal described above can be referred to correspondingly.
As shown in fig. 5, an audio playing apparatus of a terminal according to an embodiment of the present invention includes: an acquisition module 510, a location determination module 520, and a control module 530, wherein:
an obtaining module 510, configured to obtain a vehicle driving direction and an orientation of the terminal;
a position determining module 520, configured to determine a relative position between a driving position and the terminal according to the vehicle driving direction and the orientation of the terminal;
the control module 530 is configured to determine, according to the relative position, a target speaker corresponding to the driving position in the speakers, and control the target speaker to play a first audio.
Referring to fig. 2 to 4, in which fig. 2 is a schematic diagram illustrating a relative position relationship between the smartphone and the driving position when the smartphone is held vertically, if the orientation of the smartphone forms an included angle of about 0 ° with the vehicle driving direction, the Speaker a, i.e., the first Speaker, is a Speaker corresponding to the driving position, and the Speaker B, i.e., the second Speaker, is a Speaker corresponding to the non-driving position. Fig. 2 is a schematic diagram of a relative position relationship between the smartphone and the driving position when the smartphone is held horizontally (right above the smartphone and on the left side), where the orientation of the smartphone forms an included angle of about 270 ° with the vehicle driving direction, the Speaker a, i.e., the first Speaker, is a Speaker corresponding to the driving position, and the Speaker B, i.e., the second Speaker, is a Speaker corresponding to the non-driving position. Fig. 3 is a schematic diagram of a relative position relationship between the smartphone and the driving position when the smartphone is held horizontally (right above the smartphone). The orientation of the smart phone forms an included angle of about 90 degrees with the driving direction of the vehicle, the Speaker A, namely the first Speaker, is a Speaker corresponding to a non-driving position, and the Speaker B, namely the second Speaker, is a Speaker corresponding to a driving position.
After the loudspeaker corresponding to the driving position is determined, the navigation sound can be played through the loudspeaker corresponding to the driving position to the maximum extent; other sounds (such as videos, jitters and music) are played through the loudspeaker corresponding to the non-driving position to the maximum extent. In this case, when the navigation sound is played through the speaker corresponding to the driving position, the playing of the other audio can be prohibited, and similarly, when the other sound is played through the speaker corresponding to the non-driving position, the playing of the navigation sound can be prohibited. Of course, the magnitudes of these two sounds may also be dynamically adjusted, for example: the first speaker plays 100% of the navigational volume while playing 20% of the other volumes, and the second speaker plays 20% of the navigational volume while playing 100% of the other volumes.
According to the audio playing device of the terminal, under the condition that the terminal plays multiple audio frequencies simultaneously in the driving process, as the navigation application and the music application are run simultaneously to play the navigation audio frequency, the driver can hear the navigation audio frequency with larger sound, and meanwhile, the passenger can hear other audio frequencies with larger sound, so that the condition that the experience of the navigation audio frequency of the driver is interfered by the sound of other audio frequencies is avoided, meanwhile, the experience of the music listening of the passenger is prevented from being interfered by the sound of the navigation audio frequency, and further, the requirements of the driver and the passenger are met simultaneously in the driving process of the vehicle, and further, the driving experience is improved.
It should be noted that a specific implementation manner of the audio playing apparatus of the terminal in the embodiment of the present invention is similar to a specific implementation manner of the audio playing method of the terminal in the embodiment of the present invention, and please refer to the description of the method part specifically, and details are not repeated for reducing redundancy.
Fig. 6 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 6: a processor (processor)310, a communication interface (communication interface)320, a memory (memory)330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other via the communication bus 340. The processor 310 may invoke logic instructions in the memory 330 to perform a method of playing audio for a terminal, the method comprising: acquiring a vehicle driving direction and the orientation of the terminal; determining a relative position between a driving position and the terminal based on the vehicle driving direction and the orientation of the terminal; and determining a target loudspeaker corresponding to the driving position in the plurality of loudspeakers according to the relative position, and controlling the target loudspeaker to play a first audio.
In addition, the logic instructions in the memory 330 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, the computer is capable of performing a method of playing audio for a terminal, the method comprising: acquiring a vehicle driving direction and the orientation of the terminal; determining a relative position between a driving position and the terminal based on the vehicle driving direction and the orientation of the terminal; and determining a target loudspeaker corresponding to the driving position in the plurality of loudspeakers according to the relative position, and controlling the target loudspeaker to play a first audio.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor, is implemented to perform a method of playing audio of a terminal, the method including: acquiring a vehicle driving direction and the orientation of the terminal; determining a relative position between a driving position and the terminal based on the vehicle driving direction and the orientation of the terminal; and determining a target loudspeaker corresponding to the driving position in the plurality of loudspeakers according to the relative position, and controlling the target loudspeaker to play a first audio.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for playing audio by a terminal is characterized in that a plurality of loudspeakers are arranged on the terminal, and the method for playing audio comprises the following steps:
acquiring a vehicle driving direction and the orientation of the terminal;
determining a relative position between a driving position and the terminal based on the vehicle driving direction and the orientation of the terminal;
and determining a target loudspeaker corresponding to the driving position in the plurality of loudspeakers according to the relative position, and controlling the target loudspeaker to play a first audio.
2. The audio playing method of the terminal according to claim 1, wherein the obtaining of the driving direction of the vehicle and the orientation of the terminal comprises:
positioning the vehicle, and obtaining the vehicle running direction according to the position change of the vehicle;
and obtaining the orientation of the terminal based on the posture of the terminal, wherein the orientation of the terminal is the orientation right above the terminal.
3. The audio playing method of the terminal according to claim 1, wherein the determining the relative position between the driving position and the terminal based on the driving direction of the vehicle and the orientation of the terminal comprises:
acquiring an included angle between the vehicle running direction and the orientation of the terminal;
and determining the relative position between the driving position and the terminal according to the included angle.
4. The audio playing method of the terminal according to claim 1, wherein the determining a target speaker corresponding to the driving position from the plurality of speakers according to the relative position includes:
acquiring the distribution positions of the plurality of loudspeakers on the terminal;
according to the relative position and the distribution positions of the plurality of loudspeakers on the terminal, determining the loudspeaker close to the driving position in the plurality of loudspeakers, and taking the loudspeaker close to the driving position in the plurality of loudspeakers as a target loudspeaker corresponding to the driving position.
5. The audio playing method of the terminal according to claim 1, wherein the first audio is a navigation audio of a navigation application running in the terminal, and the second audio is an entertainment audio of other applications running simultaneously with the navigation application in the terminal.
6. The audio playing method of the terminal according to claim 5, wherein the controlling the target speaker to play the first audio comprises:
controlling the target speaker to play the navigation audio at a first volume and the entertainment audio at a second volume, wherein the first volume is greater than the second volume; or, controlling the target speaker to play only the navigation audio; alternatively, the first and second electrodes may be,
controlling the target loudspeaker to play the navigation audio at a first volume and play the entertainment audio at a second volume, or controlling the target loudspeaker to play only the navigation audio while controlling loudspeakers on the terminal except the target loudspeaker to play the entertainment audio at a third volume and play the navigation audio at a fourth volume, wherein the third volume is greater than the fourth volume; alternatively, speakers other than the target speaker are controlled to play only the entertainment audio.
7. The audio playing method of the terminal according to claim 1, wherein the plurality of speakers at least includes a first speaker disposed directly above the terminal and a second speaker disposed directly below the terminal, and wherein the determining a target speaker of the plurality of speakers corresponding to the driving position according to the relative position includes:
if the orientation of the terminal is consistent with the driving direction of the vehicle or the orientation of the terminal is left relative to the driving direction of the vehicle, the first loudspeaker is the target loudspeaker;
and if the orientation of the terminal is towards the right relative to the vehicle running or the orientation of the terminal is opposite to the vehicle running direction, the second loudspeaker is the target loudspeaker.
8. The utility model provides a broadcast audio frequency device of terminal which characterized in that, be equipped with a plurality of speakers on the terminal, broadcast audio frequency device includes:
the acquisition module is used for acquiring the driving direction of the vehicle and the orientation of the terminal;
the position determining module is used for determining the relative position between the driving position and the terminal according to the driving direction of the vehicle and the orientation of the terminal;
and the control module is used for determining a target loudspeaker corresponding to the driving position in the plurality of loudspeakers according to the relative position and controlling the target loudspeaker to play a first audio.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method for playing audio of a terminal according to any of claims 1 to 7 are implemented when the program is executed by the processor.
10. A non-transitory computer readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the steps of the method for playing audio of a terminal according to any one of claims 1 to 7.
CN202110060698.6A 2021-01-18 2021-01-18 Audio playing method and device for terminal, electronic equipment and storage medium Active CN112911065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110060698.6A CN112911065B (en) 2021-01-18 2021-01-18 Audio playing method and device for terminal, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110060698.6A CN112911065B (en) 2021-01-18 2021-01-18 Audio playing method and device for terminal, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112911065A true CN112911065A (en) 2021-06-04
CN112911065B CN112911065B (en) 2022-04-26

Family

ID=76114513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110060698.6A Active CN112911065B (en) 2021-01-18 2021-01-18 Audio playing method and device for terminal, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112911065B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113453063A (en) * 2021-06-18 2021-09-28 海信电子科技(武汉)有限公司 Resource playing method and display equipment
CN113721881A (en) * 2021-08-19 2021-11-30 浙江鸿泉电子科技有限公司 Sound output control method and device
CN114885257A (en) * 2022-07-12 2022-08-09 北京远特科技股份有限公司 Audio processing method and device, electronic equipment and storage medium
CN115297401A (en) * 2022-07-29 2022-11-04 北京宾理信息科技有限公司 Method, device, apparatus, storage medium and program product for a vehicle cabin
CN116055957A (en) * 2023-02-20 2023-05-02 东莞常禾电子有限公司 3S private seat cabin sound system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534527A (en) * 2016-10-27 2017-03-22 努比亚技术有限公司 Navigation voice processing device and method
CN106550142A (en) * 2016-10-27 2017-03-29 努比亚技术有限公司 A kind of audio control method and device
CN108040311A (en) * 2017-10-24 2018-05-15 努比亚技术有限公司 A kind of audio frequency playing method, terminal and computer-readable recording medium
CN111327990A (en) * 2018-12-13 2020-06-23 宝马股份公司 Method, device and system for controlling multi-channel audio playing, vehicle and storage medium
CN111422150A (en) * 2020-03-31 2020-07-17 南京领行科技股份有限公司 Vehicle voice broadcasting method and vehicle-mounted terminal
EP3732898A1 (en) * 2017-12-29 2020-11-04 Harman International Industries, Incorporated Asymmetric acoustical implementation for improving a listening experience for a driver in a vehicle

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534527A (en) * 2016-10-27 2017-03-22 努比亚技术有限公司 Navigation voice processing device and method
CN106550142A (en) * 2016-10-27 2017-03-29 努比亚技术有限公司 A kind of audio control method and device
CN108040311A (en) * 2017-10-24 2018-05-15 努比亚技术有限公司 A kind of audio frequency playing method, terminal and computer-readable recording medium
EP3732898A1 (en) * 2017-12-29 2020-11-04 Harman International Industries, Incorporated Asymmetric acoustical implementation for improving a listening experience for a driver in a vehicle
CN111327990A (en) * 2018-12-13 2020-06-23 宝马股份公司 Method, device and system for controlling multi-channel audio playing, vehicle and storage medium
CN111422150A (en) * 2020-03-31 2020-07-17 南京领行科技股份有限公司 Vehicle voice broadcasting method and vehicle-mounted terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113453063A (en) * 2021-06-18 2021-09-28 海信电子科技(武汉)有限公司 Resource playing method and display equipment
CN113721881A (en) * 2021-08-19 2021-11-30 浙江鸿泉电子科技有限公司 Sound output control method and device
CN114885257A (en) * 2022-07-12 2022-08-09 北京远特科技股份有限公司 Audio processing method and device, electronic equipment and storage medium
CN114885257B (en) * 2022-07-12 2022-11-04 北京远特科技股份有限公司 Audio processing method and device, electronic equipment and storage medium
CN115297401A (en) * 2022-07-29 2022-11-04 北京宾理信息科技有限公司 Method, device, apparatus, storage medium and program product for a vehicle cabin
CN116055957A (en) * 2023-02-20 2023-05-02 东莞常禾电子有限公司 3S private seat cabin sound system
CN116055957B (en) * 2023-02-20 2023-09-12 东莞常禾电子有限公司 3S private seat cabin sound system

Also Published As

Publication number Publication date
CN112911065B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN112911065B (en) Audio playing method and device for terminal, electronic equipment and storage medium
US10484813B2 (en) Systems and methods for delivery of personalized audio
US20120114130A1 (en) Cognitive load reduction
JP6055657B2 (en) GAME SYSTEM, GAME PROCESSING CONTROL METHOD, GAME DEVICE, AND GAME PROGRAM
JP2011521511A (en) Audio augmented with augmented reality
EP3392619B1 (en) Audible prompts in a vehicle navigation system
CN106302974B (en) information processing method and electronic equipment
CN109104674B (en) Listener-oriented sound field reconstruction method, audio device, storage medium, and apparatus
CN109982209A (en) A kind of car audio system
US9998610B2 (en) Control apparatus, control method, and computer-readable medium
CN112612444A (en) Sound source position positioning method, sound source position positioning device, electronic equipment and storage medium
CN111866674B (en) Speaker assembly control method, device and storage medium
CN115273431B (en) Device retrieving method and device, storage medium and electronic device
US10264383B1 (en) Multi-listener stereo image array
US11654835B2 (en) Rear seat display device
CN114007166B (en) Method and device for customizing sound, electronic equipment and storage medium
CN110661916A (en) Audio playing method, device, terminal and computer readable storage medium
US20170278523A1 (en) Method and device for processing a voice signal
US11671752B2 (en) Audio zoom
US20230075488A1 (en) Audio adjustment based on user electrical signals
CN115061088A (en) Method, device, equipment and storage medium for prompting position of sounding body in game
KR20170096468A (en) Method and apparatus for automatic sound field control and output device controlled by the apparatus for automatic sound field control
CN117395570A (en) Sound playing method and device and computer readable storage medium
CN115206337A (en) Control method and device of vibration motor, storage medium and electronic equipment
CN116009809A (en) Processing method, device, equipment and storage medium for automobile playing audio

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