Audio transmission method, device, equipment, storage medium and program product

By using pre-trained delay optimization model to determine and implement delay optimization testing strategies, the audio transmission scheme is transformed, and the problem of low audio delay optimization efficiency and accuracy in the prior art is solved, and more efficient and accurate audio delay reduction is achieved.

CN119292556BActive Publication Date: 2025-02-28SHENZHEN Y-COM TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411803499.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-02-28
Estimated Expiration
2044-12-10

AI Technical Summary

Technical Problem

The prior art has low efficiency and accuracy when reducing audio delays. It relies on expert experience to check and optimize audio delays, which is time-consuming and labor-intensive and difficult to guarantee accuracy.

Method used

By obtaining the audio transmission scheme and its scheme information in the current audio transmission scenario, the delay optimization measurement strategy is determined using the pre-trained delay optimization model, and the current audio transmission scheme is transformed based on this strategy to obtain the latest audio transmission scheme for audio transmission.

Benefits of technology

Improves the efficiency and accuracy of reducing audio latency, and achieves faster and more accurate audio latency optimization compared to methods that rely on expert experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The present application discloses an audio transmission method, an audio transmission device, an audio transmission equipment, a storage medium and a computer program product, and relates to the technical field of audio transmission. In the present application, a delay optimization model trained in advance is used to infer the scheme information of the audio transmission scheme in the current audio transmission scenario, and a delay optimization strategy for optimizing the audio delay in the current audio transmission scenario is determined, and the current audio transmission scheme is modified based on the delay optimization strategy, and audio transmission is performed through the latest audio transmission scheme obtained by the modification, thereby reducing the audio delay in the current audio transmission scenario.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of audio transmission, and in particular to an audio transmission method, an audio transmission apparatus, an audio transmission device, a storage medium and a computer program product. Background Art

[0002] Audio delay refers to the audio delay caused by signal processing, transmission and decoding when the audio signal is transmitted using the relevant interface. At present, it is often necessary for professional audio personnel to conduct detailed investigation and comparative analysis based on experience to determine the cause of audio delay in the audio transmission solution in the actual audio transmission scenario. This method that relies on expert experience is often time-consuming, labor-intensive, inefficient, and difficult to guarantee accuracy.

[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present application is to provide an audio transmission method, an audio transmission device, an audio transmission equipment, a storage medium and a computer program product, aiming to solve the technical problems of reducing the efficiency and low accuracy of audio delay.

[0005] To achieve the above object, the present application proposes an audio transmission method, the audio transmission method comprising:

[0006] Get the audio transmission scheme in the current audio transmission scenario and the scheme information of the current audio transmission scheme;

[0007] Based on the scheme information of the current audio transmission scheme, determining a delay optimization strategy through a delay optimization model, wherein the delay optimization model is obtained based on historical scheme information trained before and after delay optimization of historical audio transmission schemes;

[0008] The current audio transmission scheme is modified based on the delay optimization measurement strategy to obtain a latest audio transmission scheme, and audio transmission is performed through the latest audio transmission scheme.

[0009] In one embodiment, before the step of determining the delay optimization strategy through the delay optimization model based on the scheme information of the current audio transmission scheme, the step includes:

[0010] Obtaining a first historical scheme before delay optimization of a historical audio transmission scheme, first historical scheme information of the first historical scheme, a second historical scheme after delay optimization, and second historical scheme information of the second historical scheme; wherein the scheme information includes HDMI signal transmission distance and device hardware information and software setting information of an acquisition device and an output device; the device hardware information includes firmware information and performance information; the software setting information includes codec standard information and codec algorithm information;

[0011] A delay optimization model for determining a delay optimization measurement strategy is trained through the first historical solution information of the first historical solution and the second historical solution information of the second historical solution.

[0012] In one embodiment, the step of transmitting audio using the latest audio transmission scheme includes:

[0013] Get the collection period of the audio collected on the collection device, the standard period of the standard audio on the display device, and the audio transmission delay between the collection device and the output device of the latest audio transmission solution;

[0014] A target output time period on an output device is determined according to the acquisition time period, the standard time period and the audio transmission delay.

[0015] In one embodiment, the step of determining a target output time period on an output device according to the acquisition time period, the standard time period and the audio transmission delay comprises:

[0016] Superimposing the audio transmission delay on the acquisition period to obtain an initial output period;

[0017] Determining a time difference between the acquisition period and the standard period, and a time ratio coefficient between the time difference and the audio transmission delay;

[0018] If the time proportion coefficient is less than the preset adjustment coefficient, the initial output period is adjusted to obtain a target output period on the output device.

[0019] In one embodiment, the step of adjusting the initial output period includes:

[0020] Determine the audio style of the audio captured on the capture device;

[0021] If the audio style is close to an aggressive style, reducing the duration of the initial output period by a first proportional factor;

[0022] If the audio style is close to a calm style, the duration of the initial output period is reduced by a second proportional factor, wherein the first proportional factor is greater than the second proportional factor.

[0023] In one embodiment, the step of adjusting the initial output period includes:

[0024] The duration of the initial output period, and / or the start and end points of the initial output period are adjusted by a preset adjustment model, wherein the preset adjustment model is trained based on historical standard periods, historical output periods and historical scores of historical standard audio.

[0025] In addition, to achieve the above-mentioned purpose, the present application also proposes an audio transmission device, the audio transmission device comprising:

[0026] An acquisition module is used to acquire the audio transmission scheme in the current audio transmission scenario and scheme information of the current audio transmission scheme;

[0027] A determination module, configured to determine a delay optimization strategy through a delay optimization model based on the scheme information of the current audio transmission scheme, wherein the delay optimization model is obtained by training the historical scheme information before and after delay optimization of the historical audio transmission scheme;

[0028] A transformation module is used to transform the current audio transmission scheme based on the delay optimization measurement strategy to obtain the latest audio transmission scheme, and perform audio transmission through the latest audio transmission scheme.

[0029] In addition, to achieve the above-mentioned purpose, the present application also proposes an audio transmission device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the audio transmission method described above.

[0030] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the audio transmission method described above are implemented.

[0031] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the audio transmission method described above are implemented.

[0032] One or more technical solutions proposed in this application have at least the following technical effects:

[0033] In the present application, the scheme information of the audio transmission scheme in the current audio transmission scenario is inferred through a pre-trained delay optimization model, and a delay optimization measurement strategy for optimizing the audio delay in the current audio transmission scenario is determined, and the current audio transmission scheme is modified based on the delay optimization measurement strategy. The latest audio transmission scheme obtained by the modification is used for audio transmission, thereby reducing the audio delay in the current audio transmission scenario. Since the delay optimization model is trained based on the historical scheme information before and after the delay optimization of the historical audio transmission scheme, it has learned the relationship between the historical scheme information before and after the delay optimization during the training phase. Therefore, when it is inferring, it can obtain the corresponding delay optimization measurement strategy based on the scheme information of the current audio transmission scheme, that is, the modification strategy for the scheme information of the current audio transmission scheme. Compared with the current manual optimization method of audio delay that relies on expert experience, the efficiency and accuracy of reducing audio delay are improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0036] Figure 1 A flowchart of the first embodiment of the audio transmission method of the present application is provided;

[0037] Figure 2 A schematic diagram of a transmission node provided in Embodiment 1 of the audio transmission method of the present application;

[0038] Figure 3 A flowchart of the second embodiment of the audio transmission method of the present application is provided;

[0039] Figure 4 This is a schematic diagram of the module structure of the audio transmission device according to an embodiment of the present application;

[0040] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the audio transmission method in the embodiment of the present application.

[0041] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0042] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0043] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0044] The present application embodiment provides an audio transmission method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the audio transmission method of the present application.

[0045] In this embodiment, the audio transmission method includes steps S10 to S30:

[0046] Step S10, obtaining an audio transmission scheme in a current audio transmission scenario and scheme information of the current audio transmission scheme;

[0047] In one embodiment, the audio transmission scenario may be, for example, a singing scenario through a car microphone. The audio transmission scheme of such an audio transmission scenario is as follows: Figure 2 As shown, the sound is collected by the acquisition device and transmitted to the output device through relevant interfaces such as HDMI interfaces A1 and A2. Among them, the scheme information of the audio transmission scheme includes the HDMI signal transmission distance and the device hardware information and software setting information of the acquisition device and the output device; among them, the device hardware information includes firmware information and performance information, and the performance information can be the performance information of the device processor or encoder and decoder; the software setting information includes codec standard information and codec algorithm information.

[0048] Step S20, based on the scheme information of the current audio transmission scheme, determining the delay optimization strategy through the delay optimization model, wherein the delay optimization model is obtained based on the historical scheme information before and after delay optimization of the historical audio transmission scheme;

[0049] Step S30, modifying the current audio transmission scheme based on the delay optimization measurement strategy to obtain the latest audio transmission scheme, and performing audio transmission through the latest audio transmission scheme.

[0050] In one embodiment, the scheme information of the current audio transmission scheme is input into the pre-trained delay optimization model, and the delay optimization model is used to infer new scheme information corresponding to the scheme information of the current audio transmission scheme, and further compare the scheme information of the current audio transmission scheme and the new scheme information to obtain a delay optimization measurement strategy, so that the current audio transmission scheme is transformed by the delay optimization measurement strategy, and the latest audio transmission scheme is obtained and audio transmission is performed. For example, in the scheme information of the current audio transmission scheme, the delay optimization model infers that the most likely cause of the delay is that the HDMI signal transmission distance is too long, followed by the output device firmware version is too low, and then the encoding algorithm of the acquisition device is too backward. In this case, the output delay optimization strategy is: the HDMI signal transmission distance can be shortened, the high-quality HDMI cable can be updated, the output device and / or the output device firmware version can be updated, and the input device and / or the input device encoding algorithm can be updated.

[0051] In a feasible implementation manner, before step S20, the process includes:

[0052] Obtaining a first historical scheme before delay optimization of the historical audio transmission scheme, first historical scheme information of the first historical scheme, a second historical scheme after delay optimization, and second historical scheme information of the second historical scheme; wherein the scheme information includes HDMI signal transmission distance and device hardware information and software setting information of the acquisition device and the output device; the device hardware information includes firmware information and performance information; the software setting information includes codec standard information and codec algorithm information;

[0053] A delay optimization model for determining a delay optimization measurement strategy is trained through the first historical solution information of the first historical solution and the second historical solution information of the second historical solution.

[0054] Corresponding to the reasoning and application process of the above-mentioned delay optimization model, in this embodiment, a training and learning process of the delay optimization model is proposed. After obtaining the first historical scheme before delay optimization of the historical audio transmission scheme, the first historical scheme information of the first historical scheme, the second historical scheme after delay optimization, and the second historical scheme information of the second historical scheme, the delay optimization model for determining the delay optimization measurement strategy can be trained through the first historical scheme information of the first historical scheme and the second historical scheme information of the second historical scheme.

[0055] Since the delay optimization model is trained based on the historical scheme information before and after the delay optimization of the historical audio transmission scheme, it has learned the relationship between the historical scheme information before and after the delay optimization during the training phase. Therefore, when it performs reasoning, it can obtain the corresponding delay optimization strategy based on the scheme information of the current audio transmission scheme, that is, the transformation strategy for the scheme information of the current audio transmission scheme. Compared with the current manual optimization method of audio delay that relies on expert experience, it improves the efficiency and accuracy of reducing audio delay.

[0056] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 3 After step S30, the audio transmission method further includes steps T10 to T20:

[0057] Step T10: obtaining the collection period of the audio collected on the collection device, the standard period of the standard audio on the display device, and the audio transmission delay between the collection device and the output device in the latest audio transmission solution;

[0058] Step T20: Determine the target output time period on the output device according to the acquisition time period, the standard time period and the audio transmission delay.

[0059] It should be noted that in audio transmission scenarios such as singing through a car microphone, in addition to audio acquisition and output devices, there are also display devices that display standard audio such as song-related information such as lyrics.

[0060] In one embodiment, the acquisition device may determine the acquisition time period of the audio collected by it, for example, the audio input time period of a certain word collected is [0.9-2.2] (unit not shown), and the standard time period of the standard audio corresponding to a certain word in the aforementioned acquisition time period may be determined based on the audio file of the standard audio on the display device, for example, [1-2], and the output time period of the audio output by the output device may be determined, for example, the audio output time period corresponding to the aforementioned word may be [1.1-2.4].

[0061] Then, the target output time period on the output device is determined based on the acquisition time period, the standard time period and the audio transmission delay. For example, the shorter the standard time period is, the smaller the adjustment of the target output time period compared to the initial output time period. For example, if the standard time period is 1 second, that is, [1-2], then the target output time period can be adjusted from [1.1-2.4] to [1.1-2.2]; if the standard time period is 3 seconds, that is, [30-33], then the target output time period can be adjusted from [30.1-33.8] to [30.1-33.2].

[0062] Therefore, the initial output period on the output device is adaptively adjusted according to the size of the audio transmission delay, so as to obtain the best audio transmission effect under the audio transmission delay. In other words, a better sound output effect that is closer to the standard audio can be obtained, thereby increasing the frequency and stickiness of use of the acquisition device and output device.

[0063] In a feasible implementation manner, the step T20 includes:

[0064] The audio transmission delay is superimposed on the acquisition period to obtain the initial output period;

[0065] Determine the time difference between the acquisition period and the standard period, and the time ratio coefficient between the time difference and the audio transmission delay;

[0066] If the time proportion coefficient is less than the preset adjustment coefficient, the initial output period is adjusted to obtain a target output period on the output device.

[0067] In this embodiment, a new method for adjusting the initial output period on the output device based on the acquisition period, the standard period and the audio transmission delay is proposed, also with the goal of obtaining a better sound output effect that is closer to the standard audio.

[0068] In one embodiment, the audio input period of a certain word collected during the acquisition period is [0.9-2.2], the standard period of a certain word corresponding to the aforementioned acquisition period in the standard audio is [1-2], and the audio output period corresponding to the aforementioned word is [1.1-2.4]. At this time, the time difference between the acquisition period and the standard period is (1-0.9) + (2.2-2) = 0.3, and the time ratio coefficient between the time difference and the audio transmission delay (0.2) is 0.3 / 0.2 = 1.5. If the time ratio coefficient is greater than the preset adjustment coefficient, it means that the current audio input period is significantly different from the standard period. At this time, if the output period is adjusted, it may cause distortion of the output audio, that is, the time length difference between the output audio and the collected audio is relatively large, resulting in a decrease in the audio sense. Therefore, only when the time ratio coefficient is less than the preset adjustment coefficient, that is, when the adjustment of the output period has little effect on the final sense of hearing, the initial output period is adjusted to obtain the target output period on the output device.

[0069] In a feasible implementation manner, the step of adjusting the initial output period includes:

[0070] Determine the audio style of the audio captured on the capture device;

[0071] If the audio style is close to the radical style, the duration of the initial output period is reduced by a first proportional factor;

[0072] If the audio style is close to a calm style, the duration of the initial output period is reduced by a second proportional factor, wherein the first proportional factor is greater than the second proportional factor.

[0073] When adjusting the initial output period, the audio style of the audio collected on the acquisition device can be determined by the audio content, such as radical styles such as rock or heavy metal, or calm styles such as folk and country music. Among them, the audio style corresponding to the audio content can be determined by the style recognition model. Further, if the audio style of the audio collected on the acquisition device, or the audio style directly determined by the current standard audio, is close to the radical style, the duration of the initial output period is reduced by a first proportional factor; if the audio style of the audio collected on the acquisition device, or the audio style directly determined by the current standard audio, is close to the calm style, the duration of the initial output period is reduced by a second proportional factor.

[0074] In one embodiment, the first proportional factor 0.9 is greater than the second proportional factor 0.8. The starting time point of the initial output period can be fixed and the end time point of the initial output period can be changed. The more aggressive, the larger the first proportional factor, and the calmer, the smaller the second proportional factor. Different proportional factors are used to match the corresponding audio style.

[0075] In one embodiment, the audio input period of a certain word collected during the acquisition period is [0.9-2.2], the standard period of a certain word corresponding to the aforementioned acquisition period in the standard audio is [1-2], and the audio output period corresponding to the aforementioned certain word is [1.1-2.4]. If the audio style of the audio is close to the radical style, the length of the initial output period is reduced by the first proportional factor to [1.1-2.4*0.9]. The more radical, the closer the first proportional factor is to the upper limit 1; if the audio style of the audio is close to the calm style, the length of the initial output period is reduced by the second proportional factor to [1.1-2.4*0.8]. The calmer, the closer the second proportional factor is to the lower limit 0.7.

[0076] In a feasible implementation manner, the step of adjusting the initial output period includes:

[0077] The duration of the initial output period and / or the start and end points of the initial output period are adjusted through a preset adjustment model, wherein the preset adjustment model is trained based on historical standard periods, historical output periods and historical scores of historical standard audio.

[0078] When adjusting the initial output period, a preset adjustment model can also be trained based on the historical standard period, historical output period, and historical score of the historical standard audio, and the adjustment model can be used to learn the user score after adjusting the output period with reference to the standard period of the standard audio, that is, how to adjust the output period with reference to the standard period of the standard audio to obtain a higher user score recognized by the user. In this way, in actual applications, the duration of the initial output period and / or the start and end points of the initial output period are adjusted by the preset adjustment model to obtain the target output period on the output device.

[0079] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the audio transmission method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0080] This application also provides an audio transmission device, please refer to Figure 4 , the audio transmission device comprises:

[0081] An acquisition module 10 is used to acquire an audio transmission scheme in a current audio transmission scenario and scheme information of the current audio transmission scheme;

[0082] A determination module 20 is used to determine a delay optimization strategy through a delay optimization model based on the scheme information of the current audio transmission scheme, wherein the delay optimization model is obtained by training the historical scheme information before and after delay optimization of the historical audio transmission scheme;

[0083] The transformation module 30 is used to transform the current audio transmission scheme based on the delay optimization measurement strategy, obtain the latest audio transmission scheme, and perform audio transmission through the latest audio transmission scheme.

[0084] In one embodiment, the audio transmission device further includes a training module, which is used to:

[0085] Before the step of determining the delay optimization strategy through the delay optimization model based on the scheme information of the current audio transmission scheme:

[0086] Obtaining a first historical scheme before delay optimization of the historical audio transmission scheme, first historical scheme information of the first historical scheme, a second historical scheme after delay optimization, and second historical scheme information of the second historical scheme; wherein the scheme information includes HDMI signal transmission distance and device hardware information and software setting information of the acquisition device and the output device; the device hardware information includes firmware information and performance information; the software setting information includes codec standard information and codec algorithm information;

[0087] A delay optimization model for determining a delay optimization measurement strategy is trained through the first historical solution information of the first historical solution and the second historical solution information of the second historical solution.

[0088] In one embodiment, the audio transmission device further includes an optimization module, which is used to:

[0089] After the steps of audio transmission through the latest audio transmission scheme:

[0090] Get the collection period of the audio collected on the collection device, the standard period of the standard audio on the display device, and the audio transmission delay between the collection device and the output device of the latest audio transmission solution;

[0091] Determine the target output time period on the output device based on the acquisition time period, standard time period and audio transmission delay.

[0092] In one embodiment, the optimization module is further used to:

[0093] The audio transmission delay is superimposed on the acquisition period to obtain the initial output period;

[0094] Determine the time difference between the acquisition period and the standard period, and the time ratio coefficient between the time difference and the audio transmission delay;

[0095] If the time proportion coefficient is less than the preset adjustment coefficient, the initial output period is adjusted to obtain a target output period on the output device.

[0096] In one embodiment, the optimization module is further used to:

[0097] Determine the audio style of the audio captured on the capture device;

[0098] If the audio style is close to the radical style, the duration of the initial output period is reduced by a first proportional factor;

[0099] If the audio style is close to a calm style, the duration of the initial output period is reduced by a second proportional factor, wherein the first proportional factor is greater than the second proportional factor.

[0100] In one embodiment, the optimization module is further used to:

[0101] The duration of the initial output period and / or the start and end points of the initial output period are adjusted through a preset adjustment model, wherein the preset adjustment model is trained based on historical standard periods, historical output periods and historical scores of historical standard audio.

[0102] The audio transmission device provided by the present application adopts the audio transmission method in the above embodiment, which can solve the technical problem of reducing the efficiency and accuracy of audio delay. Compared with the prior art, the beneficial effects of the audio transmission device provided by the present application are the same as the beneficial effects of the audio transmission method provided by the above embodiment, and other technical features in the audio transmission device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0103] The present application provides an audio transmission device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the audio transmission method in the above-mentioned embodiment 1.

[0104] Reference below Figure 5 , which shows a schematic diagram of the structure of an audio transmission device suitable for implementing the embodiment of the present application. The audio transmission device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The audio transmission device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0105] like Figure 5As shown, the audio transmission device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the audio transmission device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the audio transmission device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an audio transmission device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0106] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0107] The audio transmission device provided by the present application adopts the audio transmission method in the above embodiment, which can solve the technical problems of reducing the efficiency and accuracy of audio delay. Compared with the prior art, the beneficial effects of the audio transmission device provided by the present application are the same as the beneficial effects of the audio transmission method provided by the above embodiment, and other technical features in the audio transmission device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0108] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0109] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0110] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the audio transmission method in the above-mentioned embodiment.

[0111] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0112] The computer-readable storage medium may be included in the audio transmission device; or may exist independently without being assembled into the audio transmission device.

[0113] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the audio transmission device, the audio transmission device: obtains the audio transmission scheme in the current audio transmission scenario and the scheme information of the current audio transmission scheme; based on the scheme information of the current audio transmission scheme, determines the delay optimization measurement strategy through the delay optimization model, wherein the delay optimization model is obtained based on the historical scheme information training of the historical audio transmission schemes before and after the delay optimization; based on the delay optimization measurement strategy, the current audio transmission scheme is modified to obtain the latest audio transmission scheme, and audio transmission is performed through the latest audio transmission scheme.

[0114] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0115] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0116] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0117] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned audio transmission method, and can solve the technical problems of reducing the efficiency and accuracy of audio delay. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the audio transmission method provided by the above-mentioned embodiment, and will not be repeated here.

[0118] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned audio transmission method when executed by a processor.

[0119] The computer program product provided by the present application can solve the technical problem of low efficiency and accuracy in reducing audio delay. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the audio transmission method provided by the above embodiment, which will not be repeated here.

[0120] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. An audio transmission method, characterized in that: The audio transmission method comprises: Get the audio transmission scheme in the current audio transmission scenario and the scheme information of the current audio transmission scheme; Based on the scheme information of the current audio transmission scheme, determining a delay optimization strategy through a delay optimization model, wherein the delay optimization model is obtained based on historical scheme information trained before and after delay optimization of historical audio transmission schemes; Based on the delay optimization measurement strategy, the current audio transmission scheme is modified to obtain the latest audio transmission scheme, and audio transmission is performed through the latest audio transmission scheme; The step of transmitting audio through the latest audio transmission scheme then includes: Get the collection period of the audio collected on the collection device, the standard period of the standard audio on the display device, and the audio transmission delay between the collection device and the output device of the latest audio transmission solution; Superimposing the audio transmission delay on the acquisition period to obtain an initial output period; Determining a time difference between the acquisition period and the standard period, and a time ratio coefficient between the time difference and the audio transmission delay; If the time proportion coefficient is less than the preset adjustment coefficient, the initial output period is adjusted to obtain a target output period on the output device.

2. The audio transmission method according to claim 1, characterized in that: The step of determining the delay optimization strategy through the delay optimization model based on the scheme information of the current audio transmission scheme includes: Obtaining a first historical scheme before delay optimization of a historical audio transmission scheme, first historical scheme information of the first historical scheme, a second historical scheme after delay optimization, and second historical scheme information of the second historical scheme; wherein the scheme information includes HDMI signal transmission distance and device hardware information and software setting information of an acquisition device and an output device; the device hardware information includes firmware information and performance information; the software setting information includes codec standard information and codec algorithm information; A delay optimization model for determining a delay optimization measurement strategy is trained through the first historical solution information of the first historical solution and the second historical solution information of the second historical solution.

3. The audio transmission method according to claim 1, characterized in that: The step of adjusting the initial output period comprises: Determine the audio style of the audio captured on the capture device; If the audio style is close to an aggressive style, reducing the duration of the initial output period by a first proportional factor; If the audio style is close to a calm style, the duration of the initial output period is reduced by a second proportional factor, wherein the first proportional factor is greater than the second proportional factor.

4. The audio transmission method according to claim 1, characterized in that: The step of adjusting the initial output period comprises: The duration of the initial output period, and / or the start and end points of the initial output period are adjusted by a preset adjustment model, wherein the preset adjustment model is trained based on historical standard periods, historical output periods and historical scores of historical standard audio.

5. An audio transmission device, characterized in that: The audio transmission device comprises: An acquisition module is used to acquire the audio transmission scheme in the current audio transmission scenario and scheme information of the current audio transmission scheme; A determination module, configured to determine a delay optimization strategy through a delay optimization model based on the scheme information of the current audio transmission scheme, wherein the delay optimization model is obtained by training the historical scheme information before and after delay optimization of the historical audio transmission scheme; A transformation module, used to transform the current audio transmission scheme based on the delay optimization measurement strategy, obtain the latest audio transmission scheme, and perform audio transmission through the latest audio transmission scheme; The audio transmission device further includes an optimization module, which is used to: After the steps of audio transmission through the latest audio transmission scheme: Get the collection period of the audio collected on the collection device, the standard period of the standard audio on the display device, and the audio transmission delay between the collection device and the output device of the latest audio transmission solution; Superimposing the audio transmission delay on the acquisition period to obtain an initial output period; Determining a time difference between the acquisition period and the standard period, and a time ratio coefficient between the time difference and the audio transmission delay; If the time proportion coefficient is less than the preset adjustment coefficient, the initial output period is adjusted to obtain a target output period on the output device.

6. An audio transmission device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the audio transmission method according to any one of claims 1 to 4.

7. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the audio transmission method according to any one of claims 1 to 4 are implemented.

8. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the audio transmission method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Audio transmission method and device, storage medium and electronic equipment

    CN117135765A

  • Audio signal processing method and system, computer equipment and storage medium

    CN117409794A