Vehicle-mounted audio playing method and vehicle-mounted audio playing system

By obtaining the virtual start and end positions of the in-vehicle audio system, determining the speakers, and playing audio from the start speaker to the end speaker, the problem of not being able to dynamically adapt to changes in virtual position in existing technologies is solved, and user-customized sound effects are realized.

CN118890585APending Publication Date: 2024-11-01DONGFENG MOTOR CO LTD DONGFENG NISSAN PASSENGER VEHICLE CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410846869.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

Existing in-vehicle audio systems cannot dynamically adapt to different virtual position changes, require pre-defined parameters, cannot be customized by the user, and can only play sounds of fixed lengths.

Method used

By obtaining the virtual start and end positions of audio playback, the start and end speakers are determined, and audio playback starts from the start speaker and switches to the end speaker, realizing virtual position changes of the sound. This supports enhancement, attenuation, and balance effects, dynamically matching user needs.

Benefits of technology

It achieves the effect of virtual position change of sound, dynamically matching different virtual position change requirements. No pre-customization is required; users can customize parameters to meet personalized needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118890585A_ABST
    Figure CN118890585A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle-mounted audio playing method and a vehicle-mounted audio playing system. The method comprises the following steps: acquiring a virtual initial position and a virtual final position of audio playing, wherein the virtual initial position and the virtual final position are in-vehicle positions; determining a loudspeaker corresponding to the playing starting position as a starting loudspeaker, and determining a loudspeaker corresponding to the playing ending position as an ending loudspeaker; and starting to play the audio from the starting loudspeaker, and transferring the audio to the ending loudspeaker for playing. According to the method, the virtual position change effect of the sound can be realized, different virtual position change requirements can be dynamically matched, customization in advance is not needed, parameters can be customized by a user to realize the effect, and user requirements are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle-related technologies, and in particular to a vehicle-mounted audio playback method, a vehicle-mounted audio playback system, an electronic device, a storage medium and a computer program product. Background Art

[0002] Audio can be played in existing vehicles. However, the change effects of existing in-vehicle audio need to be customized. For example, if the audio is to achieve the spatial position change effect of the sound from left to right (or from right to left), it can only be achieved by customizing the parameters one by one. Each virtual position change effect of sound in the existing technology is achieved by individual customization to form a set of parameters for this effect.

[0003] Therefore, the existing technology requires different parameters to be customized for different sounds, and the sound effect processing module needs to store a large number of effect parameters. Different sound outputs call different customized parameters to achieve the virtual position change effect. The existing technology solution requires customized tuning in advance, and can only customize the playback for fixed-length sounds, and cannot be dynamically adapted or customized by users. Summary of the invention

[0004] Based on this, it is necessary to provide a vehicle audio playback method, a vehicle audio playback system, an electronic device, a storage medium and a computer program product to address the technical problem that the existing technology cannot dynamically adapt to different virtual position change effects.

[0005] The present invention provides a vehicle-mounted audio playback method, comprising:

[0006] Obtaining a virtual start position and a virtual end position of audio playback, wherein the virtual start position and the virtual end position are positions inside the vehicle;

[0007] Determine the speaker corresponding to the playback start position as the start speaker, and determine the speaker corresponding to the playback end position as the end speaker;

[0008] The audio starts playing from the starting speaker and is transferred to the ending speaker for playing.

[0009] Furthermore, the method further includes: obtaining a change effect, wherein the audio is played from the starting speaker and transferred to the ending speaker for playing, including:

[0010] According to the change effect, the audio starts to be played from the starting speaker, and the audio is transferred to the ending speaker for playing.

[0011] Furthermore, the change effect is an enhancement effect, and according to the change effect, playing the audio from the starting speaker and transferring the audio to the ending speaker for playing includes:

[0012] The audio is played from the starting speaker and transferred to the ending speaker for playing, and the playing volume of the ending speaker is greater than the playing volume of the starting speaker.

[0013] Furthermore, the change effect is a weakening effect, and according to the change effect, playing the audio from the starting speaker and transferring the audio to the ending speaker for playing includes:

[0014] The audio is played from the starting speaker and transferred to the ending speaker for playing, and the playing volume of the ending speaker is smaller than the playing volume of the starting speaker.

[0015] Furthermore, the step of starting to play the audio from the starting speaker and transferring the audio to the ending speaker for playing includes:

[0016] Obtain one or more virtual middle positions and the order of the middle positions, and determine a speaker corresponding to each of the virtual middle positions as a middle speaker;

[0017] The audio is played from the starting speaker, and the audio is transferred to the middle speaker and the ending speaker in sequence according to the middle position.

[0018] Further, the virtual starting position and the virtual ending position are represented by in-vehicle coordinates, and the step of determining the speaker corresponding to the playback starting position as the starting speaker and the speaker corresponding to the playback ending position as the ending speaker includes:

[0019] Determine a first area based on the virtual starting position, and use a speaker whose coordinates in the vehicle are within the first area as a starting speaker corresponding to the virtual starting position;

[0020] A second area is determined based on the virtual end point position, and a speaker whose in-vehicle coordinates are located within the second area is used as a destination speaker corresponding to the virtual end point position.

[0021] The present invention provides a vehicle-mounted audio playback system, comprising a plurality of speakers located in the vehicle, and an audio playback controller communicatively connected to the speakers, wherein the audio playback controller comprises:

[0022] A sound input module, used to obtain a virtual starting position and a virtual ending position of audio playback, wherein the virtual starting position and the virtual ending position are positions inside the vehicle;

[0023] A speaker determination module, used to determine the speaker corresponding to the playback start position as the start speaker, and determine the speaker corresponding to the playback end position as the end speaker;

[0024] The playing module is used to start playing the audio from the starting speaker and transfer the audio to the ending speaker for playing.

[0025] The present invention provides an electronic device, comprising:

[0026] at least one processor; and,

[0027] a memory communicatively connected to at least one of the processors; wherein,

[0028] The memory stores instructions that can be executed by at least one of the processors. The instructions are executed by at least one of the processors so that the at least one of the processors can execute the in-vehicle audio playback method as described above.

[0029] The present invention provides a storage medium, wherein the storage medium stores computer instructions. When a computer executes the computer instructions, the storage medium is used to execute all steps of the vehicle audio playback method as described above.

[0030] The present invention provides a computer program product, comprising a computer program / instruction, which implements the above-mentioned in-vehicle audio playback method when executed by a processor.

[0031] The present invention obtains the virtual starting position and virtual ending position of the audio playback, determines the speaker corresponding to the playback starting position as the starting speaker, determines the speaker corresponding to the playback ending position as the ending speaker, starts playing the audio from the starting speaker, and transfers the audio to the ending speaker for playback. Therefore, the present invention can achieve the effect of the virtual position change of the sound, dynamically match different virtual position change requirements, without the need for advance customization, and can achieve the effect by user-defined parameters to meet user needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 This is a working flow chart of a vehicle audio playback method according to an embodiment of the present invention;

[0033] Figure 2 This is a working flow chart of a vehicle audio playback method according to another embodiment of the present invention;

[0034] Figure 3 A schematic diagram of an audio playback controller according to an embodiment of the present invention;

[0035] Figure 4A schematic diagram of multiple sound outputs according to an example of the present invention;

[0036] Figure 5 A schematic diagram of a virtual position of an example of the present invention;

[0037] Figure 6 A schematic diagram of a speaker configuration according to an example of the present invention;

[0038] Figure 7 A system principle diagram of a vehicle audio playback system according to an embodiment of the present invention;

[0039] Figure 8 The figure is a schematic diagram of the hardware structure of an electronic device of the present invention. DETAILED DESCRIPTION

[0040] The specific embodiments of the present invention are further described below in conjunction with the accompanying drawings. The same components are represented by the same reference numerals. It should be noted that the words "front", "rear", "left", "right", "upper" and "lower" used in the following description refer to directions in the accompanying drawings, and the words "inner" and "outer" refer to directions toward or away from the geometric center of a specific component, respectively.

[0041] like Figure 1 The flowchart of a vehicle audio playback method according to an embodiment of the present invention includes:

[0042] Step S101, obtaining a virtual start position and a virtual end position of audio playback, wherein the virtual start position and the virtual end position are positions inside the vehicle;

[0043] Step S102, determining the speaker corresponding to the playback start position as the start speaker, and determining the speaker corresponding to the playback end position as the end speaker;

[0044] Step S103, starting to play the audio from the starting speaker, and transferring the audio to the ending speaker for playing.

[0045] Specifically, the present invention can be applied to electronic devices with processing capabilities, such as a controller of an in-vehicle infotainment system (IVI) of a vehicle, or a digital signal processing (DSP) chip.

[0046] Specifically, an audio playback controller may be used to execute steps S101 to S103.

[0047] First, execute step S101 to obtain the virtual starting position and virtual ending position of the audio playback, where the virtual starting position and the virtual ending position are positions inside the car. The virtual starting position and the virtual ending position can be obtained from the sound input unit through the interface. Among them, the sound input unit can receive audio information from the system audio unit and third-party applications. Among them, the system audio unit is a unit for playing audio inside the car system. At the same time, the interface of the present application can also be opened to third-party applications for use, and called by third-party applications when playing audio. In addition, the user's customized playback effect can also be received through the human-computer interface, and the user can specify the audio source, the virtual starting position of the audio playback, the virtual ending position and the change effect through the human-computer interface.

[0048] The virtual sound position of the audio changes from a virtual starting position to a virtual ending position. Preferably, the virtual starting position and the virtual ending position are different, thereby achieving a change in the sound position.

[0049] like Figure 3 The figure shows a schematic diagram of an audio playback controller, wherein the audio playback controller 720 includes a sound input module 721, a speaker determination module 722, and a playback module 723. The sound input module 721 provides an interface to obtain a virtual starting position A and a virtual ending position B, to indicate that the audio should be transferred from the vehicle's position A to the position B. The speaker determination module 722 executes step S102 to determine the speaker corresponding to the playback starting position as the starting speaker, and determines the speaker corresponding to the playback ending position as the ending speaker.

[0050] Specifically, the speaker determination module 722 may determine, according to the vehicle coordinate system, the speaker corresponding to the playback start position as the start speaker, and the speaker corresponding to the playback end position as the end speaker.

[0051] Finally, step S103 is executed to start playing the audio from the starting speaker and transfer the audio to the ending speaker for playing.

[0052] Specifically, the speaker determination module 722 controls the playback module 723, which first starts playing the audio from the starting speaker, then stops playing the audio, and transfers the audio to the ending speaker, which continues playing the audio, thereby achieving a virtual position change effect of the audio, that is, a flow transfer change effect.

[0053] like Figure 4As shown, the present invention can be implemented by running a dynamic adaptation algorithm by the audio playback controller 720, receiving a variety of sound outputs through a sound input unit, each sound output including a virtual starting position and a virtual ending position and / or a change effect (optional) of the audio playback, and then determining the starting speaker and the ending speaker through a speaker determination module, and obtaining corresponding different playback effects through playback by the playback unit.

[0054] The present invention obtains the virtual starting position and virtual ending position of the audio playback, determines the speaker corresponding to the playback starting position as the starting speaker, determines the speaker corresponding to the playback ending position as the ending speaker, starts playing the audio from the starting speaker, and transfers the audio to the ending speaker for playback. Therefore, the present invention can achieve the effect of the virtual position change of the sound, dynamically match different virtual position change requirements, without the need for advance customization, and can achieve the effect by user-defined parameters to meet user needs.

[0055] like Figure 2 The flowchart of a vehicle audio playback method in another embodiment of the present invention includes:

[0056] Step S201, obtaining a virtual starting position, a virtual ending position and a change effect of audio playback, wherein the virtual starting position and the virtual ending position are positions inside the vehicle.

[0057] Step S202, determining the speaker corresponding to the playback start position as the start speaker, and determining the speaker corresponding to the playback end position as the end speaker.

[0058] In one embodiment, the virtual starting position and the virtual ending position are represented by in-vehicle coordinates, and determining the speaker corresponding to the playback starting position as the starting speaker and determining the speaker corresponding to the playback ending position as the ending speaker includes:

[0059] Determine a first area based on the virtual starting position, and use a speaker whose coordinates in the vehicle are within the first area as a starting speaker corresponding to the virtual starting position;

[0060] A second area is determined based on the virtual end point position, and a speaker whose in-vehicle coordinates are located within the second area is used as a destination speaker corresponding to the virtual end point position.

[0061] Step S203: starting to play the audio from the starting speaker according to the change effect, and transferring the audio to the ending speaker for playing.

[0062] Specifically, firstly, step S201 is performed to obtain a virtual starting position, a virtual end position and a change effect of audio playback, wherein the virtual starting position and the virtual end position are positions in the vehicle. The virtual starting position, the virtual end position and the change effect can be obtained from a sound input unit through an interface.

[0063] like Figure 3 The figure shows a schematic diagram of an audio playback controller, in which the sound input module 721 provides an interface to obtain a virtual starting position A, a virtual end position B, and a change effect to indicate that the audio should be transferred from position A to position B of the vehicle.

[0064] The change effect includes, but is not limited to, an enhancement effect, a reduction effect, or a balance effect. The enhancement effect means that the volume of the audio gradually increases during the transfer process. The reduction effect means that the volume of the audio gradually decreases during the transfer process. The balance effect means that the volume of the audio remains unchanged during the transfer process.

[0065] Then, step S202 is executed to determine the speaker corresponding to the playback start position as the start speaker, and determine the speaker corresponding to the playback end position as the end speaker.

[0066] In one embodiment, the virtual starting position and the virtual ending position are represented by in-vehicle coordinates, and determining the speaker corresponding to the playback starting position as the starting speaker and determining the speaker corresponding to the playback ending position as the ending speaker includes:

[0067] Determine a first area based on the virtual starting position, and use a speaker whose coordinates in the vehicle are within the first area as a starting speaker corresponding to the virtual starting position;

[0068] A second area is determined based on the virtual end point position, and a speaker whose in-vehicle coordinates are located within the second area is used as a destination speaker corresponding to the virtual end point position.

[0069] Specifically, the vehicle coordinate system and the coordinates of each position in the coordinate system are defined in advance, and the in-vehicle coordinates are the coordinates in the vehicle coordinate system. There are multiple speakers in the vehicle, and the coordinates of each speaker are also expressed in the vehicle coordinate system. After obtaining the position, based on the coordinates of the position, the speakers in the vicinity of the position can be selected as the speakers corresponding to the position.

[0070] For example, the speaker determination module 722 extracts and defines the coordinate information of the entire vehicle to obtain an xy coordinate system. After obtaining the virtual starting position and the virtual end position, a circle with a preset radius is established as the first area with the virtual starting position as the center, and the speaker whose coordinates in the vehicle are located in the first area is used as the starting speaker corresponding to the virtual starting position. A circle with a preset radius is established as the second area with the virtual end position as the center, and the speaker whose coordinates in the vehicle are located in the second area is used as the end speaker corresponding to the virtual end position. There may be one or more starting speakers corresponding to the virtual starting position, and one or more end speakers corresponding to the virtual end position coordinates.

[0071] In this embodiment, the speaker at the selected position is determined by establishing coordinates, and the user only needs to determine the virtual starting position and the virtual ending position of the audio without considering the specific speaker, thereby reducing the complexity of the design.

[0072] After the start speaker and the end speaker are determined, step S203 is executed to start playing the audio from the start speaker according to the change effect, and transfer the audio to the end speaker for playing.

[0073] Specifically, the change effects include enhancement effect, weakening effect, balancing effect and the like.

[0074] The specific parameters of each effect can be pre-defined or defined by the user when specifying the change effect. The parameters of the enhancement effect include: enhancement ratio, change rate, etc. The parameters of the reduction effect include: reduction ratio, change rate, etc.

[0075] like Figure 5 The virtual position diagram of an example of the present invention is shown, and the vehicle coordinate system (x, y) of the vehicle 500 is predefined. The sound input unit provides a virtual starting position A and a virtual end position B, the in-vehicle coordinates of the virtual starting position A are (x1, y1), and the in-vehicle coordinates of the virtual end position B are (x2, y2).

[0076] like Figure 6 The figure shows a schematic diagram of speaker arrangement of an example of the present invention, including 12 speakers 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 located on a vehicle 600. The 12 speakers correspond to 12 channels of sound. If all speakers sound, all channels have sound. A first area 601 is established with a virtual starting position A as the center, and a second area 602 is established with a virtual end position B as the center. Speakers 2 and 4 located in the first area 601 are used as starting speakers, and speakers 7 and 9 located in the second area 602 are used as end speakers.

[0077] If you only want point A to make sound, only speakers 2 and 4 will have sound. If you want point B to make sound, only speakers 7 and 9 will have sound.

[0078] When executing step S203, the speakers 2, 4, 7, and 9 are controlled to have sound, and the sound is transferred from the speakers 2 and 4 to the speakers 7 and 9. Thus, the sound is moved from point A to point B.

[0079] At the same time, according to the change effect, the volume change effect of the sound during the transfer process from the starting speaker to the ending speaker is controlled.

[0080] This embodiment realizes the virtual position change effect of the sound, dynamically matches different virtual position change requirements, does not need to be customized in advance, and can be achieved by user-defined parameters to meet user needs. At the same time, based on the provided change effect, the sound effect is changed to further meet user needs.

[0081] In one embodiment, the change effect is an enhancement effect, and according to the change effect, playing the audio from the starting speaker and transferring the audio to the ending speaker for playing includes:

[0082] The audio is played from the starting speaker and transferred to the ending speaker for playing, and the playing volume of the ending speaker is greater than the playing volume of the starting speaker.

[0083] Specifically, while the audio is transferred from the starting speaker to the ending speaker, the playback volume of the ending speaker is greater than the playback volume of the starting speaker.

[0084] like Figure 6 In the example shown, the control sound is transferred from the speakers 2 and 4 to the speakers 7 and 9, while the volume of the speakers 7 and 9 is stronger than that of the speakers 2 and 4.

[0085] This embodiment realizes enhancing the playback volume during the process of changing the virtual position of the audio.

[0086] In one embodiment, the change effect is a weakening effect, and according to the change effect, playing the audio from the starting speaker and transferring the audio to the ending speaker for playing includes:

[0087] The audio is played from the starting speaker and transferred to the ending speaker for playing, and the playing volume of the ending speaker is smaller than the playing volume of the starting speaker.

[0088] Specifically, while the audio is transferred from the starting speaker to the ending speaker, the playback volume of the ending speaker is smaller than the playback volume of the starting speaker.

[0089] like Figure 6 In the example shown, while the control sound is transferred from the speakers 2 and 4 to the speakers 7 and 9, the volume of the speakers 7 and 9 is weaker than that of the speakers 2 and 4.

[0090] In this embodiment, the playback volume is reduced during the process of changing the virtual position of the audio.

[0091] In one embodiment, the step of starting to play the audio from the starting speaker and transferring the audio to the ending speaker for playing includes:

[0092] Obtain one or more virtual middle positions and the order of the middle positions, and determine a speaker corresponding to each of the virtual middle positions as a middle speaker;

[0093] The audio is played from the starting speaker, and the audio is transferred to the middle speaker and the ending speaker in sequence according to the middle position.

[0094] Specifically, a virtual middle position may also be specified, for example, the sound input unit 721 specifies the virtual middle position to the speaker determination module 722 .

[0095] The virtual middle position can also be determined by the coordinates in the vehicle. There can be one or more virtual middle positions. For each virtual middle position, the middle area is determined based on the virtual middle position, and the speaker whose coordinates in the vehicle are located in the middle area is used as the middle speaker corresponding to the virtual middle position.

[0096] The audio is then played starting from the starting speaker, and the audio is transferred to the middle speaker and the ending speaker in sequence according to the middle position, so as to achieve the effect that the audio virtual position changes from the virtual starting position to the virtual end position via one or more virtual middle positions.

[0097] Preferably, the virtual starting position, the virtual middle position and the virtual end position are different, thereby achieving a change in the sound position.

[0098] In some embodiments, the change effect is an enhancement effect, and the audio is played from the starting speaker, and the audio is transferred to the middle speaker and the ending speaker in sequence according to the middle position for playback, including:

[0099] The audio is played starting from the starting speaker, and the audio is transferred to the middle speaker and the ending speaker in sequence according to the middle position, and the volume is gradually increased.

[0100] In some embodiments, the change effect is a weakening effect, and the audio is played from the starting speaker, and the audio is transferred to the middle speaker and the ending speaker in sequence according to the middle position for playing, including:

[0101] The audio is played starting from the starting speaker, and the audio is transferred to the middle speaker and the ending speaker in sequence according to the middle position, and the volume is gradually reduced.

[0102] This embodiment uses a virtual middle position to enable more accurate specification of sound effect changes, thereby meeting more precise position change requirements.

[0103] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0104] like Figure 7 FIG. 1 is a system schematic diagram of a vehicle audio playback system according to an embodiment of the present invention, comprising a plurality of speakers 710 located in the vehicle, and an audio playback controller 720 communicatively connected to the speakers 710, wherein the audio playback controller comprises:

[0105] The sound input module 721 is used to obtain a virtual starting position and a virtual ending position of the audio playback, where the virtual starting position and the virtual ending position are positions inside the vehicle;

[0106] A speaker determination module 722, configured to determine the speaker corresponding to the playback start position as the start speaker, and determine the speaker corresponding to the playback end position as the end speaker;

[0107] The playing module 723 is used to start playing the audio from the starting speaker and transfer the audio to the ending speaker for playing.

[0108] Specifically, the speaker 710 is located in the car, and the audio playback controller 720 is a controller in the car.

[0109] The audio playback controller 720 includes a sound input module 721, a speaker determination module 722, and a playback module 723. The sound input module 721 can obtain a virtual starting position and a virtual ending position from the sound input unit through a preset interface. The speaker determination module 722 determines the speaker corresponding to the playback starting position as the starting speaker and the speaker corresponding to the playback ending position as the ending speaker according to the vehicle coordinate system. Finally, the playback module controls the playback unit in the vehicle to start playing audio from the starting speaker and transfer the audio to the ending speaker for playback.

[0110] The present invention obtains the virtual starting position and virtual ending position of the audio playback, determines the speaker corresponding to the playback starting position as the starting speaker, determines the speaker corresponding to the playback ending position as the ending speaker, starts playing the audio from the starting speaker, and transfers the audio to the ending speaker for playback. Therefore, the present invention can achieve the effect of the virtual position change of the sound, dynamically match different virtual position change requirements, without the need for advance customization, and can achieve the effect by user-defined parameters to meet user needs.

[0111] In one embodiment, the sound input module 721 is further used to: obtain a change effect, wherein the audio is played from the starting speaker and transferred to the ending speaker for playing, including:

[0112] According to the change effect, the audio starts to be played from the starting speaker, and the audio is transferred to the ending speaker for playing.

[0113] In one embodiment, the change effect is an enhancement effect, and according to the change effect, playing the audio from the starting speaker and transferring the audio to the ending speaker for playing includes:

[0114] The audio is played from the starting speaker and transferred to the ending speaker for playing, and the playing volume of the ending speaker is greater than the playing volume of the starting speaker.

[0115] In one embodiment, the change effect is a weakening effect, and according to the change effect, playing the audio from the starting speaker and transferring the audio to the ending speaker for playing includes:

[0116] The audio is played from the starting speaker and transferred to the ending speaker for playing, and the playing volume of the ending speaker is smaller than the playing volume of the starting speaker.

[0117] In one embodiment, the step of starting to play the audio from the starting speaker and transferring the audio to the ending speaker for playing includes:

[0118] Obtain one or more virtual middle positions and the order of the middle positions, and determine a speaker corresponding to each of the virtual middle positions as a middle speaker;

[0119] The audio is played from the starting speaker, and the audio is transferred to the middle speaker and the ending speaker in sequence according to the middle position.

[0120] In one embodiment, the virtual starting position and the virtual ending position are represented by in-vehicle coordinates, and determining the speaker corresponding to the playback starting position as the starting speaker and determining the speaker corresponding to the playback ending position as the ending speaker includes:

[0121] Determine a first area based on the virtual starting position, and use a speaker whose coordinates in the vehicle are within the first area as a starting speaker corresponding to the virtual starting position;

[0122] A second area is determined based on the virtual end point position, and a speaker whose in-vehicle coordinates are located within the second area is used as a destination speaker corresponding to the virtual end point position.

[0123] like Figure 8 The figure shows a hardware structure diagram of an electronic device of the present invention, including:

[0124] at least one processor 801; and,

[0125] A memory 802 is communicatively connected to at least one of the processors 801; wherein,

[0126] The memory 802 stores instructions that can be executed by at least one of the processors. The instructions are executed by at least one of the processors so that the at least one of the processors can execute the in-vehicle audio playback method as described above.

[0127] Figure 8 A processor 801 is taken as an example.

[0128] The electronic device is preferably an audio playback controller 720 in a vehicle-mounted audio playback system.

[0129] The electronic device may further include: an input device 803 and a display device 804 .

[0130] The processor 801, the memory 802, the input device 803 and the display device 804 may be connected via a bus or other means, and the figure takes the connection via a bus as an example.

[0131] The memory 802 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the vehicle audio playback method in the embodiment of the present application, for example, Figure 1 , Figure 2 The processor 801 executes various functional applications and data processing by running the non-volatile software programs, instructions and modules stored in the memory 802, that is, the in-vehicle audio playback method in the above embodiment is implemented.

[0132] The memory 802 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and applications required for at least one function; the data storage area may store data created according to the use of the in-vehicle audio playback method, etc. In addition, the memory 802 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 802 may optionally include a memory remotely arranged relative to the processor 801, and these remote memories may be connected to the device for executing the in-vehicle audio playback method via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0133] The input device 803 can receive user clicks and generate signal inputs related to user settings and function control of the in-vehicle audio playback method. The display device 804 can include display devices such as a display screen.

[0134] The one or more modules are stored in the memory 802 , and when executed by the one or more processors 801 , the in-vehicle audio playback method in any of the above method embodiments is executed.

[0135] The present invention obtains the virtual starting position and virtual ending position of the audio playback, determines the speaker corresponding to the playback starting position as the starting speaker, determines the speaker corresponding to the playback ending position as the ending speaker, starts playing the audio from the starting speaker, and transfers the audio to the ending speaker for playback. Therefore, the present invention can achieve the effect of the virtual position change of the sound, dynamically match different virtual position change requirements, without the need for advance customization, and can achieve the effect by user-defined parameters to meet user needs.

[0136] An embodiment of the present invention provides a storage medium, wherein the storage medium stores computer instructions. When a computer executes the computer instructions, the storage medium is used to execute all steps of the in-vehicle audio playback method as described above.

[0137] In the context of the present disclosure, a storage medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or apparatus. The storage medium may be a machine-readable signal medium or a machine-readable storage medium. Alternatively, the storage medium may be a non-temporary computer-readable storage medium, for example, a non-temporary computer-readable storage medium may be a ROM, a random access memory (Random Access Memory, RAM), a compact disc read-only memory (Compact Disc ROM, CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0138] An embodiment of the present invention provides a computer program product, including a computer program / instruction, which implements the in-vehicle audio playback method as described above when executed by a processor.

[0139] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A method for playing in-vehicle audio, characterized in that: include: Obtaining a virtual start position and a virtual end position of audio playback, wherein the virtual start position and the virtual end position are positions inside the vehicle; Determine the speaker corresponding to the playback start position as the start speaker, and determine the speaker corresponding to the playback end position as the end speaker; The audio starts playing from the starting speaker and is transferred to the ending speaker for playing.

2. The in-vehicle audio playback method according to claim 1, characterized in that: Also includes: Acquiring a change effect, wherein the audio is played from the starting speaker and transferred to the ending speaker for playing, comprises: According to the change effect, the audio starts to be played from the starting speaker, and the audio is transferred to the ending speaker for playing.

3. The in-vehicle audio playback method according to claim 2, characterized in that: The change effect is an enhancement effect, and according to the change effect, starting to play the audio from the starting speaker and transferring the audio to the ending speaker for playing includes: The audio is played from the starting speaker and transferred to the ending speaker for playing, and the playing volume of the ending speaker is greater than the playing volume of the starting speaker.

4. The in-vehicle audio playback method according to claim 2, characterized in that: The change effect is a weakening effect, and according to the change effect, starting to play the audio from the starting speaker and transferring the audio to the ending speaker for playing includes: The audio is played from the starting speaker and transferred to the ending speaker for playing, and the playing volume of the ending speaker is smaller than the playing volume of the starting speaker.

5. The in-vehicle audio playback method according to claim 1, characterized in that: The step of starting to play the audio from the starting speaker and transferring the audio to the ending speaker for playing includes: Obtain one or more virtual middle positions and the order of the middle positions, and determine a speaker corresponding to each of the virtual middle positions as a middle speaker; The audio is played from the starting speaker, and the audio is transferred to the middle speaker and the ending speaker in sequence according to the middle position.

6. The in-vehicle audio playback method according to claim 1, characterized in that: The virtual starting position and the virtual ending position are represented by in-vehicle coordinates, and the step of determining a speaker corresponding to the playback starting position as a starting speaker and determining a speaker corresponding to the playback ending position as an ending speaker includes: Determine a first area based on the virtual starting position, and use a speaker whose coordinates in the vehicle are within the first area as a starting speaker corresponding to the virtual starting position; A second area is determined based on the virtual end point position, and a speaker whose in-vehicle coordinates are located within the second area is used as a destination speaker corresponding to the virtual end point position.

7. A vehicle audio playback system, characterized in that: The invention comprises a plurality of speakers located in a vehicle, and an audio playback controller communicatively connected to the speakers, wherein the audio playback controller comprises: A sound input module, used to obtain a virtual starting position and a virtual ending position of audio playback, wherein the virtual starting position and the virtual ending position are positions inside the vehicle; A speaker determination module, used to determine the speaker corresponding to the playback start position as the start speaker, and determine the speaker corresponding to the playback end position as the end speaker; The playing module is used to start playing the audio from the starting speaker and transfer the audio to the ending speaker for playing.

8. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to at least one of the processors; wherein, The memory stores instructions that can be executed by at least one of the processors, and the instructions are executed by at least one of the processors so that at least one of the processors can execute the in-vehicle audio playback method according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium stores computer instructions, and when a computer executes the computer instructions, it is used to execute all steps of the in-vehicle audio playback method according to any one of claims 1 to 6.

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the in-vehicle audio playback method as claimed in any one of claims 1 to 6 is implemented.