Audio test method and test system based on cloud machine platform, medium and product

By recording and transmitting vehicle audio on a cloud platform, the problem of distance limitations in vehicle audio testing has been solved, achieving flexibility and efficiency in remote audio testing.

CN121262525APending Publication Date: 2026-01-02ZEBRED NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511368336.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-23
Publication Date
2026-01-02

AI Technical Summary

Technical Problem

Existing technologies for vehicle audio testing are limited by distance, making long-distance testing impossible and resulting in low testing efficiency.

Method used

Remote audio testing is achieved by mounting the vehicle's infotainment system to a cloud platform, using a sound card driver to record audio, and transmitting it over the network to a terminal device for playback.

Benefits of technology

Remote testing of vehicle audio functions has been enabled, improving testing flexibility and the tester experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121262525A_ABST
    Figure CN121262525A_ABST
Patent Text Reader

Abstract

The invention discloses an audio test method and system based on a cloud machine platform, a medium and a product, a to-be-tested vehicle machine is mounted on the cloud machine platform, and an operating system of the to-be-tested vehicle machine comprises a host machine operating system and a client operating system. If the target operating system of the to-be-tested vehicle machine detects an audio playing instruction for a target audio playing application, obtaining a first audio played by the target audio playing application, the target audio playing application running in the target operating system; the sound card driver carries out recording processing on the first audio frequency to obtain a second audio frequency, and the sound card driver runs in a host operating system; the host operating system transmits the second audio to the cloud machine platform through a network; and the cloud machine platform sends the second audio to a terminal device currently accessing the cloud machine platform, so that the terminal device plays the second audio. According to the scheme, a user can remotely test the audio function of the cloud machine.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of vehicles, in particular to an audio test method and system based on a cloud machine platform, a medium and a product. BACKGROUND

[0002] With the continuous development of science and technology, vehicle technology is also becoming more and more mature, and the functions that can be realized by the car machine are also increasing. In order to test the audio function of the car machine, the tester usually needs to test the car machine locally, that is, the tester directly interacts with the car machine to realize the test, which leads to the test of the car machine being limited by distance and unable to realize remote car machine test, and the test efficiency is low. SUMMARY

[0003] The present application provides an audio test method and system based on a cloud machine platform, a medium and a product.

[0004] In the first aspect, the present application provides an audio processing test method based on a cloud machine platform. The to-be-tested car machine is mounted on a cloud machine platform. The operating system of the to-be-tested car machine includes a host operating system and a client operating system. The method comprises the following steps:

[0005] In the process of testing the audio of the to-be-tested car machine, if the target operating system of the to-be-tested car machine detects an audio playing instruction for a target audio playing application, a first audio played by the target audio playing application is acquired, wherein the target audio playing application runs in the target operating system, and the target operating system is the host operating system and / or the client machine;

[0006] A sound card driver performs recording processing on the first audio to obtain a second audio, and the sound card driver runs in the host operating system;

[0007] The host operating system transmits the second audio to the cloud machine platform through a network;

[0008] The cloud machine platform sends the second audio to a terminal device currently accessing the cloud machine platform, so that the terminal device plays the second audio.

[0009] In some embodiments, a virtualized sound card front-end driver runs in the client operating system. When the target operating system is the client operating system, the acquiring of the first audio played by the target audio playing application through the target operating system comprises the following steps:

[0010] The virtualized sound card front-end driver acquires the first audio.

[0011] In some embodiments, the to-be-tested car machine is deployed with an intermediate software layer running between physical hardware and an operating system, the host operating system runs a virtualized sound card backend, after the first audio is acquired by the virtualized sound card frontend driver, the method further comprises: the virtualized sound card frontend driver transmits the first audio to the virtualized sound card backend via the intermediate software layer.

[0012] The sound card driver performs recording processing on the first audio, comprising: the virtualized sound card backend transmits the first audio to the sound card driver, so that the sound card driver performs recording processing on the first audio.

[0013] In some embodiments, when the target operating system is the host operating system, the method further comprises:

[0014] The sound card driver receives the first audio transmitted by the target audio playback application.

[0015] In a second aspect, the embodiments of the present application provide a cloud machine platform audio testing method, a to-be-tested car machine is mounted on a cloud machine platform, an operating system of the to-be-tested car machine comprises a host operating system and a client operating system, and the method comprises:

[0016] In the audio testing process of the to-be-tested car machine, if the cloud machine platform receives third audio sent by a terminal device, the third audio is transmitted to the host operating system, wherein the third audio is user voice data collected by the terminal device, and the terminal device is in communication connection with the cloud machine platform.

[0017] A sound card driver in the host operating system performs recording processing on the third audio to obtain fourth audio.

[0018] The sound card driver transmits the fourth audio to a target recording application running in a target operating system, so that the target recording application processes the fourth audio, and the target operating system responds to the processing result of the fourth audio, wherein the target operating system is the host operating system and / or the client operating system.

[0019] In some embodiments, the to-be-tested car machine is deployed with an intermediate software layer running between physical hardware and an operating system, the host operating system runs a virtualized sound card backend, the client operating system runs a virtualized sound card frontend driver, and when the target operating system is the client operating system, the sound card driver transmits the fourth audio to a target recording application running in a target operating system, comprising:

[0020] the sound card driver transmits the fourth audio to a target recording application of the target operating system.

[0021] the virtualized sound card backend transmits the fourth audio to the virtualized sound card frontend driver via the intermediate software layer;

[0022] the virtualized sound card frontend driver transmits the fourth audio to the target recording application.

[0023] In some embodiments, when the target operating system is the host operating system, the sound card driver transmits the fourth audio to a target recording application of the target operating system, including:

[0024] the sound card driver directly transmits the fourth audio to the target recording application.

[0025] In a third aspect, an embodiment of the present application provides an audio test system, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps in the test method based on the cloud machine platform provided in the first aspect and the second aspect when executing the program.

[0026] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the program is executed by a processor to implement the steps in the audio test method based on the cloud machine platform provided in the first aspect and the second aspect.

[0027] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program, and the computer program is executed by a processor to load and execute the steps in the audio test method based on the cloud machine platform provided in the first aspect and the second aspect.

[0028] The one or at least one technical solutions in the embodiments of the present application have at least the following technical effects:

[0029] In the audio test method based on the cloud machine platform provided by the embodiment of the present specification, the to-be-tested car machine is mounted on the cloud machine platform, and the operating system of the to-be-tested car machine includes a host machine operating system and a client machine operating system. In the process of testing the audio of the to-be-tested car machine, when the target operating system of the to-be-tested car machine detects an audio playing instruction for a target audio playing application, the first audio played by the target operating system through the target audio playing application is acquired, wherein the target audio playing application runs in the target operating system, and the target operating system is the host operating system and / or the client machine operating system. The sound card driver running in the host machine operating system performs recording processing on the first audio to obtain the second audio. The host machine system transmits the second audio to the cloud machine platform through the network, and the cloud machine platform sends the second audio to a terminal device currently accessing the cloud machine platform, so that the terminal device plays the second audio. In this scheme, when the to-be-tested car machine mounted on the cloud machine platform is tested for audio function, if the target operating system of the to-be-tested car machine needs to play audio, the first audio played can be recorded and processed by the sound card driver, and the second audio after the recording processing is transmitted to the cloud machine platform through the network, and then the second audio is transmitted to the terminal device by the cloud machine platform. In this way, the audio played by the target operating system can be remotely played on the terminal device, so that the user remotely tests the audio function of the to-be-tested car machine, improves the flexibility of cloud machine testing, and improves the testing experience of the tester. BRIEF DESCRIPTION OF DRAWINGS

[0030] Figure 1 A flowchart of an audio processing test based on a cloud machine platform is provided for the embodiment of the present specification.

[0031] Figure 2 A schematic diagram of a test function interface of a cloud machine platform is provided for the embodiment of the present specification.

[0032] Figure 3 An audio transmission path schematic diagram when audio is played based on a cloud machine platform is provided for the embodiment of the present specification.

[0033] Figure 4 A flowchart of another audio test method based on a cloud machine platform is provided for the embodiment of the present specification.

[0034] Figure 5 An audio transmission path schematic diagram of an audio recording process based on a cloud machine platform is provided for the embodiment of the present specification.

[0035] Figure 6 A schematic diagram of an audio test system is provided for the embodiment of the present specification. DETAILED DESCRIPTION

[0036] The overall technical solution of this application embodiment is as follows: The vehicle-mounted infotainment system under test is mounted on a cloud platform. The operating system of the vehicle-mounted infotainment system under test includes a host operating system and a client operating system. During the audio testing of the vehicle-mounted infotainment system under test, if the target operating system of the vehicle-mounted infotainment system under test detects an audio playback command for a target audio playback application, it obtains the first audio played by the target audio playback application. The target audio playback application runs in the target operating system, which is the host operating system and / or the client operating system. The sound card driver records the first audio to obtain a second audio. The sound card driver runs in the host operating system. The host operating system transmits the second audio to the cloud platform via a network. The cloud platform sends the second audio to the terminal device currently accessing the cloud platform, so that the terminal device plays the second audio.

[0037] The solution described in this specification, when testing the audio function of a vehicle-mounted infotainment system connected to a cloud platform, allows the target operating system of the vehicle-mounted infotainment system to play audio remotely if needed. This can be achieved by recording the first audio file via a sound card driver, transmitting the recorded second audio file to the cloud platform via the network, and then having the cloud platform transmit the second audio file to the terminal device. This enables the audio played by the target operating system to be played remotely on the terminal device, thus allowing users to remotely test the audio function of the vehicle-mounted infotainment system, improving the flexibility of cloud testing and enhancing the testing experience for testers.

[0038] To better understand the above technical solutions, the technical solutions of the embodiments of this specification will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments of this specification and the specific features in the embodiments are detailed descriptions of the technical solutions of the embodiments of this specification, rather than limitations on the technical solutions of this specification. Unless otherwise specified, the embodiments of this specification and the technical features in the embodiments can be combined with each other.

[0039] First, it should be clarified that the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0040] like Figure 1 The diagram shows a flowchart of an audio testing method based on a cloud platform provided in an embodiment of this specification. The vehicle-mounted unit under test is mounted on the cloud platform, and the operating system of the vehicle-mounted unit includes a host operating system and a client operating system. The method includes the following steps:

[0041] Step S101: During the audio test of the vehicle system under test, if the target operating system of the vehicle system under test detects an audio playback instruction for the target audio playback application, it acquires the first audio played by the target audio playback application. The target audio playback application runs in the target operating system, which is the host operating system and / or the client operating system.

[0042] Step S102: The sound card driver records the first audio to obtain the second audio, and the sound card driver runs in the host operating system;

[0043] Step S103: The host operating system transmits the second audio to the cloud platform via the network;

[0044] Step S104: The cloud platform sends the second audio to the terminal device currently accessing the cloud platform, so that the terminal device plays the second audio.

[0045] In this embodiment, the vehicle infotainment system under test can be any vehicle model. To facilitate remote testing, the system is mounted on a cloud platform. The mounting process involves installing a corresponding application on the vehicle infotainment system, such as an app for capturing vehicle screen images. This app captures each frame of the vehicle screen image and uploads it to the cloud platform in real time. The cloud platform provides an interactive interface with the vehicle infotainment system. Developers and testers can access the cloud platform through their own terminal devices and remotely test the system using the testing functions provided by the cloud platform.

[0046] like Figure 2 The diagram shown is a schematic representation of a test function interface for a cloud platform provided in an embodiment of this specification. This interface offers various remote testing functions, including viewing device information, performing quick operations, and file transfer. Each function can include multiple sub-test functions; for example, quick operations may include network switching, audio playback, and account login. Testers can remotely test the vehicle-mounted unit under test by clicking the corresponding test function.

[0047] The embodiments in this specification can be applied to a system consisting of a vehicle-mounted unit under test, a cloud platform, and a user terminal device. The vehicle-mounted unit under test is mounted on the cloud platform, and the user can access the cloud platform through the user terminal device to perform testing on the vehicle-mounted unit under test.

[0048] The to-be-tested car machine is a core component of a vehicle intelligent cockpit system, and testing the to-be-tested car machine can ensure the safety and stability of the intelligent cockpit system. In the embodiments of the present specification, the to-be-tested car machine is mounted on a cloud machine platform, and vehicle cockpit development and debugging can be shared by multiple people.

[0049] In the embodiments of the present specification, the to-be-tested car machine can include a host operating system (Host OS) and a guest operating system (Guest OS), and the types of the host operating system and the guest operating system can be selected according to actual needs. In some embodiments, the host operating system and the guest operating system are both Linux systems.

[0050] In order to realize remote debugging and development of the to-be-tested car machine, a cloud machine application can be run in the host operating system on the to-be-tested car machine. The cloud machine application can perform data transmission with a remote cloud machine platform through a network, and then data is finally presented to a user through communication between the cloud machine platform and a user terminal. The terminal device can be a computer, a mobile phone, a tablet, or the like that can remotely access the cloud machine platform.

[0051] When the to-be-tested car machine is debugged or developed for audio functions, two scenarios of playing and recording can be included. For the playing scenario, when the host operating system and / or the guest operating system plays audio, the played audio can be transmitted to the cloud machine platform, and then transmitted to the terminal device currently accessing the cloud machine platform, so that the terminal device can play the audio played by the host operating system and / or the guest operating system.

[0052] In step S101, the target operating system can be the host operating system and / or the guest operating system. The audio playing instruction for the target operating system can be implemented in various ways. In some embodiments, the user accesses the cloud machine platform through the terminal device, remotely controls the target operating system based on the audio test function provided by the cloud machine platform, for example, the interface of the cloud machine platform can provide a sound external test option, the user selects the sound external test option through the terminal device, and the selected music can be played by the playing application in the target operating system. Then, the playing instruction for the selected music can be used as the audio playing instruction. Alternatively, when a function of the target operating system is developed and debugged, the target operating system can be triggered to play audio, for example, when the navigation function of the target operating system is started, the voice broadcast can be triggered in the running process of the navigation function, and the instruction of the voice broadcast can be used as the audio playing instruction.

[0053] When the target operating system detects an audio playback command, it can obtain the first audio file played by the target audio playback application. The target audio playback application can be any audio playback application running on the target operating system, and the first audio file can be the audio data corresponding to the audio playback command. For example, when the audio playback command is to play music A, then the first audio file is the audio data of music A; when the audio playback command is to play navigation, the first audio file is the specific audio data of the navigation playback.

[0054] In step S102, a sound card driver runs on the host operating system. After acquiring the first audio played by the host operating system and / or the guest operating system, it is transmitted to the sound card driver, which then records the first audio. In some embodiments, the sound card driver can perform loopback processing on the first audio. It should be noted that the loopback processing of the sound card driver can record sound sources in the system, such as audio output from a player. In the embodiments of this specification, the second audio obtained after recording by the sound card driver can be the same as or different from the first audio, for example, the audio quality or sampling rate may be different, which is not limited here.

[0055] In step S103, in order to enable users to hear the audio played by the target operating system through remote terminal devices, the sound card driver can transmit the recorded second audio to the cloud platform via the network. The terminal device can play the audio by accessing the cloud platform. In some embodiments, the sound card driver can transmit the recorded second audio to the cloud application in the host operating system, and the cloud application can then transmit the second audio to the cloud platform via the network.

[0056] To better understand the audio playback process provided in the embodiments of this specification, the following description uses the host operating system and the guest operating system as examples.

[0057] 1. The target operating system is a guest operating system.

[0058] In the embodiments described in this specification, in order to enable audio from the guest operating system to be played through a remote terminal device, the vehicle-mounted system under test can virtualize the sound card. Sound card virtualization can be achieved in various ways, such as through Virtio. The virtualized sound card can include a virtualized sound card front-end driver and a virtualized sound card back-end driver, wherein the virtualized sound card front-end driver runs in the guest operating system, and the virtualized sound card back-end driver runs in the host operating system.

[0059] like Figure 3 The diagram shown is a schematic of the audio transmission path during audio playback based on a cloud platform, as provided in the embodiments of this specification. Figure 3SoC (System of Chip) in the figure is a system-level chip. When the target operating system is a guest operating system, the audio transmission path is as shown by the white arrow in the figure. Figure 3 When the guest operating system is debugged or developed for the audio function, if it is detected that the guest operating system needs to play audio, the first audio can be obtained through the virtual sound card front-end driver. As shown in the figure, Figure 3 if the guest operating system plays the first audio through a play application (the Guest play application in the figure), the first audio can be transmitted to the virtual sound card front-end driver. Figure 3

[0060] In the embodiments of the present specification, the cloud machine platform includes an intermediate software layer, i.e., a hypervisor, running between physical hardware and an operating system, which can allow multiple operating systems and applications to share a set of basic physical hardware.

[0061] As shown in the figure, Figure 3 After the virtual sound card front-end driver obtains the first audio, the virtual sound card front-end driver transmits the first audio to the virtual sound card back-end via the intermediate software layer, and the virtual sound card back-end transmits the first audio to the sound card driver, so that the sound card driver performs recording processing on the first audio.

[0062] Further, the sound card driver sends the second audio after recording processing to the cloud machine application and transmits it to the cloud machine platform via the network, and the cloud machine platform transmits it to the remote terminal device currently accessing the cloud machine platform, so that the user of the remote terminal device can hear the corresponding sound through the loudspeaker of the terminal device.

[0063] II. The target operating system is a host operating system

[0064] In the embodiments of the present specification, in order to enable the audio of the host operating system to be played through the terminal device currently accessing the cloud machine platform, if it is detected that the host operating system needs to play audio, the first audio transmitted by the target audio play application can be received through the sound card driver.

[0065] As shown in the figure, Figure 3 When the target operating system is a host operating system, the audio transmission path is as shown by the black arrow in the figure. When the host operating system runs a play application (the Host play application in the figure), Figure 3 the first audio transmitted by the play application can be received through the sound card driver. Figure 4 ​When the first audio is played by the Host playback application in the audio playback application, the first audio is transmitted to the sound card driver, the first audio is looped back in the sound card driver, the second audio after the loopback processing is transmitted to the cloud machine application running in the host operating system, and then transmitted to the cloud machine platform through the network, and the cloud machine platform transmits the second audio to the remote terminal device currently accessing the cloud machine platform, so that the user using the remote terminal device can hear the response sound through the loudspeaker of the terminal device.

[0066] In summary, the audio played by the to-be-tested car machine can be played on the terminal device at a remote end through the cloud machine platform, which provides a basis for remote testing of the cloud machine audio function by the user, thereby improving the flexibility of cloud machine testing.

[0067] Based on the same inventive concept, the embodiments of the present specification also provide an audio testing method based on a cloud machine platform, as shown in Figure 5 As shown in the flowchart of another audio testing method based on a cloud machine platform provided by the embodiments of the present specification, the to-be-tested car machine is mounted on the cloud machine platform, and the operating system of the to-be-tested car machine includes a host operating system and a client operating system, and the method includes the following steps.

[0068] Step S401: In the process of testing the audio of the to-be-tested car machine, if the cloud machine platform receives third audio sent by a terminal device, the third audio is transmitted to the host operating system, wherein the third audio is user voice data collected by the terminal device, and the terminal device is in communication connection with the cloud machine platform.

[0069] Step S402: The sound card driver in the host operating system performs recording processing on the third audio to obtain fourth audio.

[0070] Step S403: The sound card driver transmits the fourth audio to a target recording application running in a target operating system, so that the target recording application processes the fourth audio, and the target operating system responds to the processing result of the fourth audio through the target operating system, wherein the target operating system is the host operating system and / or the client operating system.

[0071] It should be noted that the method can still be applied to the system composed of the to-be-tested car machine, the cloud machine platform, and the user terminal device, and when the cloud machine platform is debugged or developed for audio function, a recording scene can be included, and steps S401 to S403 are steps performed in the recording scene.

[0072] In the recording scenario, a user can record audio through a terminal device at a remote end, and the audio is transmitted to a to-be-tested car machine through a cloud machine platform, so that a target operating system in the to-be-tested car machine responds to the recorded audio. In some embodiments, the user can issue a voice instruction through the terminal device at the remote end, the voice instruction is sent to the cloud machine platform through the terminal device, and then sent to the to-be-tested car machine by the cloud machine platform, so that the corresponding operating system in the to-be-tested car machine executes the voice instruction of the user.

[0073] In step S401, the third audio can be user voice data collected by the terminal device at the remote end. For example, the third audio can be a user voice control audio recorded by the mic of the terminal device. The terminal device can communicate with the cloud machine platform through a network. In some embodiments, the terminal device can transmit the recorded third audio to the cloud machine platform, and the cloud machine platform sends the third audio to a cloud machine application running in the host operating system.

[0074] In step S402, when the cloud machine application of the host operating system receives the third audio, the third audio is recorded and processed through a sound card driver. In some embodiments, the sound card driver can perform loopback processing on the third audio to obtain a fourth audio. The fourth audio can be audio data identical to the third audio, or can be different data from the third audio. For example, the audio quality of the fourth audio is different from that of the third audio, which is not limited here.

[0075] In step S403, in order to enable the target operating system of the to-be-tested car machine to respond to the user voice data, the fourth audio can be transmitted to a target recording application of the target operating system. The target recording application processes the fourth audio, for example, performs voice recognition processing, to obtain a processing result, and the target operating system performs corresponding operations according to the processing result.

[0076] In order to better understand the recording process provided by the embodiments of the present specification, the following takes the target operating system as the host operating system and the client operating system as an example to illustrate.

[0077] I. The target operating system is the client operating system

[0078] In the embodiments of the present specification, in order to enable the client operating system and the cloud machine platform to realize audio transmission, the sound card in the to-be-tested car machine can be virtualized. The virtualization of the sound card can be realized in various ways, for example, the virtualization of the sound card can be realized through Virtio. The virtualized sound card can include a virtualized sound card front-end driver and a virtualized sound card back-end, wherein the virtualized sound card front-end driver runs in the client operating system, and the virtualized sound card back-end runs in the host operating system. The to-be-tested car machine is deployed with an intermediate software layer, i.e., a hypervisor, running between physical hardware and an operating system. The intermediate software layer can allow multiple operating systems and applications to share a set of basic physical hardware.

[0079] In order to enable the client operating system to respond to user voice data, after the sound card driver performs recording processing on the third audio to obtain the fourth audio, the sound card driver can transmit the fourth audio to the virtualized sound card back-end; the virtualized sound card back-end transmits the fourth audio to the virtualized sound card front-end driver through the intermediate software layer; and the virtualized sound card front-end driver transmits the fourth audio to the target recording application.

[0080] As shown in Figure 5 , the present specification provides an audio transmission path diagram for performing a recording process based on a cloud machine platform. When the target operating system is a client operating system, the audio transmission path is as shown by the white arrow in Figure 5 . The terminal device records the third audio and transmits the third audio to the cloud machine platform through a network. The cloud machine platform sends the third audio to a cloud machine application running in the host operating system. The cloud machine application sends the third audio to a sound card driver of the host operating system. The sound card driver performs loopback processing on the third audio to obtain the fourth audio, and sends the fourth audio to the virtualized sound card back-end. The virtualized sound card back-end sends the fourth audio to the virtualized sound card front-end driver in the client operating system through the hypervisor. The virtualized sound card front-end driver sends the fourth audio to a recording application in the client operating system (the Guest recording application in Figure 5 ).

[0081] II. The target operating system is a host operating system

[0082] In the embodiments of the present specification, in order to enable the host operating system to respond to user voice data, after the sound card driver performs recording processing on the third audio to obtain the fourth audio, the sound card driver can directly transmit the fourth audio to the target recording application.

[0083] As shown in Figure 5 , when the target operating system is a host operating system, the audio transmission path is as shown by the white arrow in Figure 5The third audio recorded by the terminal device is transmitted to the cloud machine platform through the network, the cloud machine platform sends the third audio to the cloud machine application running in the host operating system, the cloud machine application sends the third audio to the sound card driver of the host operating system, the sound card driver performs loopback processing on the third audio to obtain the fourth audio, and sends the fourth audio to the recording application (Host Recording Application in the host operating system). Figure 6

[0084] In summary, the method provided by the embodiments of the present specification enables the terminal device at the remote end to send voice instructions to the car machine to be tested through the cloud machine platform, realizes remote testing of the cloud machine audio function by the user, and improves the flexibility of cloud machine testing.

[0085] Based on the same inventive concept, the embodiments of the present application also provide an audio testing system, as Figure 6 The computer program is stored in the memory 604 and can be run on the processor 602, and the processor 602 implements any one of the embodiments of the audio testing method based on the cloud machine platform when executing the program.

[0086] In the above ​ In the aboveThe bus architecture (represented by the bus 600) can include any number of interconnected buses and bridges, which link various circuits including one or more processors represented by the processor 602 and the memory represented by the memory 604. The bus 600 can also link various other circuits such as peripheral devices, voltage stabilizers, and power management circuits, which are well known in the art, and therefore, will not be further described herein. The bus interface 605 provides an interface between the bus 600 and the receiver 601 and the transmitter 603. The receiver 601 and the transmitter 603 can be the same element, i.e., a transceiver, which provides a unit for communicating with various other devices on a transmission medium. The processor 602 is responsible for managing the bus 600 and general processing, while the memory 604 can be used to store data used by the processor 602 in performing operations.

[0087] Based on the same inventive concept, the embodiments of the present specification provide a computer readable storage medium having a computer program stored thereon, the program being executed by a processor to implement the steps of the above audio testing method based on the cloud machine platform.

[0088] Based on the same inventive concept, the embodiments of the present specification provide a computer program product, the computer program product comprising a computer program, the computer program being executed by a processor to load and execute the steps of the audio testing method based on the cloud machine platform.

[0089] The functions described herein can be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions can be stored on or transferred over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the disclosure and appended claims. For example, due to the nature of software, functions described above can be implemented using software executed by a processor, hardware, firmware, hardwiring, or combinations of any of these. Features implementing functions can also be physically located at various positions, including being distributed such that portions of functions are implemented at different physical locations. Also, as used herein, including in the claims, "or" as used in a list of items prefaced by "comprising" to indicate a disjunctive list means each single item in the list has been recited before "or" one or more additional disjunctive items also have been recited. However, "or" in such a phrase does not mean that the list is inclusive of at least one of the items. Further, as used herein, "comprising" is to be interpreted as including the more restrictive terms "consisting of" and "consisting essentially of."

[0090] In several embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. Among them, the above-mentioned device embodiments are only schematic, for example, the division of the units can be a logical function division, and other division manners can be used in actual implementation, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed units can be indirect coupling or communication connection through some interfaces, units or modules, which can be electrical or other forms.

[0091] The units described as separate components can or can not be physically separated, and the components of the control device can or can not be physical units, i.e. can be located in one place or can be distributed on a plurality of units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0092] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a plurality of instructions to make a computer device (which can be a personal computer, a server or a network device, etc.) execute all or part of the steps of the method described in various embodiments of the present application. The aforementioned storage medium includes: a U disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.

[0093] The above merely illustrates the embodiments of the present application but should not be taken as limitations. Various changes and modifications can be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of claims of the present application.

Claims

1. A cloud machine platform-based audio testing method, characterized in that, The to-be-tested car machine is mounted on a cloud machine platform, an operating system of the to-be-tested car machine includes a host machine operating system and a client machine operating system, and the method includes the following steps: In an audio test process of the to-be-tested car machine, if a target operating system of the to-be-tested car machine detects an audio playing instruction for a target audio playing application, a first audio played by the target audio playing application is acquired, wherein the target audio playing application runs in the target operating system, and the target operating system is the host machine operating system and / or the client machine operating system; A sound card driver performs recording processing on the first audio to obtain a second audio, and the sound card driver runs in the host operating system; The host operating system transmits the second audio to the cloud machine platform through a network; The cloud machine platform sends the second audio to a terminal device currently accessing the cloud machine platform, so that the terminal device plays the second audio.

2. The method of claim 1, wherein, A virtualized sound card front-end driver runs in the client machine operating system, and when the target operating system is the client machine operating system, the acquiring of the first audio played by the target operating system through the target audio playing application includes the following steps: The virtualized sound card front-end driver acquires the first audio.

3. The method of claim 2, wherein, The to-be-tested car machine is mounted on a cloud machine platform, an operating system of the to-be-tested car machine includes a host machine operating system and a client machine operating system, and the method includes the following steps: In an audio test process of the to-be-tested car machine, if a target operating system of the to-be-tested car machine detects an audio playing instruction for a target audio playing application, a first audio played by the target audio playing application is acquired, wherein the target audio playing application runs in the target operating system, and the target operating system is the host machine operating system and / or the client machine operating system; 4. The method of claim 1, wherein, The sound card driver receives the first audio transmitted by the target audio playing application. The to-be-tested car machine is mounted on a cloud machine platform, an operating system of the to-be-tested car machine includes a host machine operating system and a client machine operating system, and the method includes the following steps:

5. A cloud machine platform-based audio testing method, characterized in that, In an audio test process of the to-be-tested car machine, if the cloud machine platform receives third audio sent by a terminal device, the third audio is transmitted to the host machine system, wherein the third audio is user voice data collected by the terminal device, and the terminal device is in communication connection with the cloud machine platform; A sound card driver in the host machine operating system performs recording processing on the third audio to obtain fourth audio; The sound card driver transmits the fourth audio to a target recording application running in a target operating system, so that the target recording application processes the fourth audio, and the target operating system responds to a processing result of the fourth audio, wherein the target operating system is the host machine operating system and / or the client machine operating system. ​ 6. The method of claim 5, wherein, The to-be-tested car machine is deployed with an intermediate software layer running between physical hardware and an operating system, a virtualized sound card backend is run in the host computer operating system, and a virtualized sound card frontend driver is run in the guest computer operating system, when the target operating system is the guest computer operating system, the sound card driver transmits the fourth audio to a target recording application running in the target operating system, comprising: The sound card driver transmits the fourth audio to the virtualized sound card backend; The virtualized sound card backend transmits the fourth audio to the virtualized sound card frontend driver via the intermediate software layer; The virtualized sound card frontend driver transmits the fourth audio to the target recording application.

7. The method of claim 5, wherein, When the target operating system is the host computer operating system, the sound card driver transmits the fourth audio to a target recording application of the target operating system, comprising: The sound card driver directly transmits the fourth audio to the target recording application.

8. An audio test system, characterized in that, A computer program product comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the method of any of claims 1-7 when executing the program.

9. A computer-readable storage medium, characterized in that, A computer program product comprising a computer program stored thereon, the program being executable by a processor to implement the steps of the method of any of claims 1-7.

10. A computer program product, characterised in that, The computer program product comprises a computer program, the computer program being executed by a processor to load and execute the method of any of claims 1-7.