Vehicle-mounted voice service test method and device, electronic equipment and storage medium
By obtaining and utilizing the interface information and operating parameters of the cockpit system, determining and sending voice commands, receiving and analyzing the response results, the accuracy and efficiency of the vehicle voice service test are solved, and the fit with the real environment is achieved, and the accuracy and efficiency of the test are improved.
Patent Information
- Application Number
- CN202410977745.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2025-09-02
AI Technical Summary
The prior art cannot fully test all its functions in the automated testing of in-vehicle voice services, and cannot perform in real driving environments, resulting in low test accuracy and low efficiency.
By obtaining the interface information of the cockpit system and vehicle operating parameters, the target voice command is determined, and the command is sent to the cockpit system, the response results are received, the test results are determined based on the response results, and the real environment is simulated for testing.
It improves the accuracy and efficiency of vehicle voice service testing, makes the test environment more in line with the real environment, and enhances the reliability and credibility of the test.
Smart Images

Figure CN120580995A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of automated testing technology, and in particular to a testing method, device, electronic device, and storage medium for an in-vehicle voice service. Background Art
[0002] Automated Test Generation (ATG) technology automatically generates the operations required for testing. Existing automated testing of in-vehicle voice services typically focuses on functions such as wakeup, voice recognition, and semantic understanding. However, this approach fails to fully test all functions of an in-vehicle voice service, nor can it test its performance in a real-world driving environment. This results in low test accuracy and efficiency. Summary of the Invention
[0003] The present disclosure aims to solve one of the technical problems in the related art at least to a certain extent.
[0004] The first embodiment of the present disclosure provides a method for testing an in-vehicle voice service, including:
[0005] Obtaining current first interface information of a cockpit system and first operating parameters of a first vehicle to which the cockpit system belongs;
[0006] Determining a current target voice command based on the first interface information and the first operating parameter;
[0007] sending the target voice command to the cockpit system;
[0008] receiving a first response result returned by the cockpit system, wherein the first response result includes at least one of the following: second interface information and second operating parameters;
[0009] According to the first response result, a test result of the target voice command under the first operating parameters is determined.
[0010] A second embodiment of the present disclosure provides a method for testing an in-vehicle voice service, including:
[0011] Receive the target voice command sent by the server;
[0012] determining a current first operating parameter of a first vehicle to which the cockpit system belongs;
[0013] Determining a first response result corresponding to the target voice command based on the first operating parameter, wherein the first response result includes at least one of the following: second interface information, second operating parameter;
[0014] Send the first response result to the server.
[0015] A third embodiment of the present disclosure provides a testing device for an in-vehicle voice service, including:
[0016] an acquisition module, configured to acquire current first interface information of a cockpit system and first operating parameters of a first vehicle to which the cockpit system belongs;
[0017] A first determining module, configured to determine a current target voice command based on the first interface information and the first operating parameter;
[0018] A first sending module, configured to send the target voice command to the cockpit system;
[0019] A first receiving module is configured to receive a first response result returned by the cockpit system, wherein the first response result includes at least one of the following: second interface information, and a second operating parameter;
[0020] The second determining module is used to determine a test result of the target voice command under the first operating parameters according to the first response result.
[0021] A fourth embodiment of the present disclosure provides a testing device for an in-vehicle voice service, including:
[0022] The second receiving module is used to receive the target voice command sent by the server;
[0023] a third determining module, configured to determine a current first operating parameter of a first vehicle to which the cockpit system belongs;
[0024] a fourth determining module, configured to determine a first response result corresponding to the target voice command based on the first operating parameter, wherein the first response result includes at least one of the following: second interface information, and a second operating parameter;
[0025] The second sending module is configured to send the first response result to the server.
[0026] The fifth embodiment of the present disclosure proposes an electronic device, including: a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the program, it implements the testing method for the in-vehicle voice service proposed in the first and second embodiments of the present disclosure.
[0027] The sixth embodiment of the present disclosure proposes a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the testing method for the in-vehicle voice service proposed in the first and second embodiments of the present disclosure is implemented.
[0028] The test method, device, electronic device, and storage medium for in-vehicle voice services provided by the present disclosure have the following beneficial effects:
[0029] In the disclosed embodiment, the server first obtains the current first interface information of the cockpit system and the first operating parameters of the first vehicle to which the cockpit system belongs. Then, based on the first interface information and the first operating parameters, the server determines the current target voice command and sends the target voice command to the cockpit system. The server then receives a first response from the cockpit system and finally, based on the first response, determines the test result of the target voice command under the first operating parameters. Thus, by determining the voice command based on the current interface information of the cockpit system and the operating parameters of the vehicle to which it belongs, sending the voice command to the cockpit system, and then determining the test result of the voice command under the corresponding operating parameters based on the response from the cockpit system, the server ensures that the test environment of the in-vehicle voice service is consistent with the real environment, thereby improving the accuracy and efficiency of in-vehicle voice service testing.
[0030] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The above and / or additional aspects and advantages of the present disclosure will become apparent and readily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0032] Figure 1 A flowchart of a method for testing an in-vehicle voice service provided by an embodiment of the present disclosure;
[0033] Figure 2 A flowchart of a method for testing an in-vehicle voice service provided by another embodiment of the present disclosure;
[0034] Figure 3 A flowchart of a method for testing an in-vehicle voice service provided by another embodiment of the present disclosure;
[0035] Figure 4 A schematic diagram of the structure of the in-vehicle voice service test provided by the present disclosure;
[0036] Figure 5 A flowchart of a method for testing an in-vehicle voice service provided by another embodiment of the present disclosure;
[0037] Figure 6 A flowchart of a method for testing an in-vehicle voice service provided by another embodiment of the present disclosure;
[0038] Figure 7A flowchart of a method for testing an in-vehicle voice service provided by another embodiment of the present disclosure;
[0039] Figure 8 A flowchart of a method for testing an in-vehicle voice service provided by another embodiment of the present disclosure;
[0040] Figure 9 A schematic diagram of the structure of a test device for an in-vehicle voice service provided by another embodiment of the present disclosure;
[0041] Figure 10 A schematic diagram of the structure of a test device for an in-vehicle voice service provided by another embodiment of the present disclosure;
[0042] Figure 11 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0043] The following describes in detail embodiments of the present disclosure, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
[0044] The following describes a method, device, electronic device, and storage medium for testing an in-vehicle voice service according to an embodiment of the present disclosure with reference to the accompanying drawings.
[0045] Figure 1 A flowchart of a method for testing an in-vehicle voice service provided in an embodiment of the present disclosure.
[0046] like Figure 1 As shown, the testing method of the in-vehicle voice service may include the following steps:
[0047] Step 101 : Acquire current first interface information of a cockpit system and first operating parameters of a first vehicle to which the cockpit system belongs.
[0048] The first interface information may be interface information containing any content. For example, when the first interface is a navigation interface, the first interface information may include navigation function information, etc., which is not limited in this disclosure.
[0049] The first vehicle may be a simulated vehicle currently performing an in-vehicle voice service test.
[0050] The first operating parameter may be an operating parameter of the first vehicle during the in-vehicle voice service test, and may be any parameter. For example, the first operating parameter may be vehicle speed, environment, temperature, window status, battery level, etc., which is not limited in this disclosure.
[0051] In some possible implementations, during the testing of the in-vehicle voice service, the server can obtain the first interface information and first operating parameters sent by the cockpit system to test the in-vehicle voice service, thereby improving the accuracy of the testing of the in-vehicle voice service.
[0052] In some possible implementation forms, when the test of the in-vehicle voice service begins, the server may determine the startup interface information of the cockpit system as the first interface information, and determine the first operating parameter in the preset operating parameter sequence as the first operating parameter. This disclosure does not limit this.
[0053] The preset operating parameter sequence may be a sequence of operating parameters of the vehicle in a real environment in chronological order, and may include any parameters. For example, the operating parameter sequence may include any parameters such as vehicle speed, environment, temperature, window status, etc., which are not limited in this disclosure.
[0054] Step 102: Determine the current target voice command based on the first interface information and the first operating parameter.
[0055] The target voice command may be a voice command of any content. For example, the target voice command may be "open the car window," etc., which is not limited in the present disclosure.
[0056] It should be noted that, if the first interface information and the first operating parameters are different, the determined target voice command may be different, and this disclosure does not limit this.
[0057] In the present disclosure, after obtaining the current first interface information of the cockpit system and the first operating parameters of the first vehicle to which the cockpit system belongs, the server can determine the current target voice command based on the first interface information and the first operating parameters, thereby providing conditions for ensuring that the test environment of the in-vehicle voice service is consistent with the real environment, and improving the accuracy of the test of the in-vehicle voice service.
[0058] Step 103: Send the target voice command to the cockpit system.
[0059] In the present disclosure, after determining the target voice command, the server tests the in-vehicle voice service by sending the target voice command to the cockpit system.
[0060] It should be noted that the server can send the target voice command to the cockpit system via the CAN bus, and this disclosure does not limit this.
[0061] Among them, CAN is the abbreviation of Controller Area Network (CAN).
[0062] Step 104: Receive a first response result returned by the cockpit system, wherein the first response result includes at least one of the following: second interface information, second operating parameter.
[0063] The first response result may be the response result after the cockpit system executes the target voice command under the first operating parameters.
[0064] Among them, the second interface information and the second operating parameters can be the interface information and operating parameters corresponding to the cockpit system after executing the target voice command.
[0065] In the present disclosure, after sending the target voice command to the cockpit system, the server can provide a data basis for determining the test result of the target voice command under the first operating parameters by receiving the first response result returned by the cockpit system.
[0066] Step 105: Determine a test result of the target voice command under the first operating parameter according to the first response result.
[0067] In the present disclosure, after receiving the first response result returned by the cockpit system, the server can determine the test result of the target voice command under the first operating parameters based on the first response result, thereby improving the reliability of the test of the in-vehicle voice service.
[0068] In the present disclosure, after the server determines the test result of the target voice command under the first operating parameter, if the test result is failed, the server can store the corresponding target voice command, the first response result, the first interface information and the first operating parameter so that R&D personnel or testers can analyze and locate the problem. This disclosure does not limit this.
[0069] It should be noted that when the server finds that the cockpit system is in a stuck or frozen state, it can control the cockpit system to restart by using physical devices such as relays. This disclosure does not limit this.
[0070] In the disclosed embodiment, the server first obtains the current first interface information of the cockpit system and the first operating parameters of the first vehicle to which the cockpit system belongs. Then, based on the first interface information and the first operating parameters, the server determines the current target voice command and sends the target voice command to the cockpit system. The server then receives a first response from the cockpit system and finally, based on the first response, determines the test result of the target voice command under the first operating parameters. Thus, by determining the voice command based on the current interface information of the cockpit system and the operating parameters of the vehicle to which it belongs, sending the voice command to the cockpit system, and then determining the test result of the voice command under the corresponding operating parameters based on the response from the cockpit system, the server ensures that the test environment of the in-vehicle voice service closely resembles the real environment, thereby improving the accuracy and efficiency of in-vehicle voice service testing.
[0071] Figure 2 A flowchart of a method for testing an in-vehicle voice service provided by another embodiment of the present disclosure is provided.
[0072] like Figure 2 As shown, the testing method of the in-vehicle voice service may include the following steps:
[0073] Step 201 : Acquire current first interface information of a cockpit system and first operating parameters of a first vehicle to which the cockpit system belongs.
[0074] The specific implementation of step 201 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.
[0075] Step 202 : When the first operating parameter satisfies the voice command operating condition, a second voice command set associated with each interface in the cockpit system is determined based on the function of the page control included in each interface.
[0076] Among them, the voice command running condition can be a condition for determining whether the first vehicle can run the voice command. It can be pre-set or determined according to the actual driving environment. This disclosure does not limit this.
[0077] It should be noted that after obtaining the first interface information and the first operating parameters, the server can send the first interface information and the first operating parameters to the preset control module it contains to determine whether the first operating parameters meet the voice instruction operating conditions, wherein the preset control module can be any structural module, and then, when the first operating parameters meet the voice instruction operating conditions, the server can determine the second voice instruction set associated with each interface through the voice instruction allocation module it contains, wherein the voice instruction allocation module can be a pre-set module of any structure, and the present disclosure does not limit this.
[0078] It should be noted that different interfaces in the cockpit system may contain page controls with different functions, and the second voice instruction set associated with each interface may be different. The number of second voice instructions contained in the second voice instruction set associated with each interface can be any number. For example, based on the functions of the page controls contained in the navigation interface in the cockpit system, the second voice instruction set determined may include second voice instructions such as navigation positioning, while based on the functions of the page controls contained in the music interface in the cockpit system, the second voice instruction set determined may include second voice instructions such as play / pause / switch music, etc. This disclosure does not limit this.
[0079] It should be noted that, when determining each second voice instruction in the second voice instruction set associated with each interface based on the functions of the page controls contained in each interface in the cockpit system, it can be obtained by collecting voice recordings under wind noise and tire noise in a real driving environment, thereby providing conditions for simulating real driving scenarios for in-vehicle voice service tests. This is not limited to this in the present disclosure.
[0080] In the present disclosure, when the first operating parameter meets the voice command operating conditions, it can be determined that the first vehicle to which the cockpit system belongs can run the voice command. At this time, the server can determine the second voice command associated with each interface based on the function of the page control contained in each interface in the cockpit system, thereby providing a data basis for determining the voice command for the in-vehicle voice service test.
[0081] Step 203 : Obtain the operating frequency of each second voice command in the second vehicles on multiple routes within a preset time period, and a third operating parameter of each second vehicle on the route when executing the second voice command.
[0082] It should be noted that the duration of the preset time period can be any pre-set duration, or can also be determined according to actual needs, and this disclosure does not limit this.
[0083] The second vehicle may be a real vehicle traveling on a road in a real driving environment.
[0084] It should be noted that the operating frequency of each voice command in vehicles on multiple roads may be different, or may be the same, and this disclosure does not limit this.
[0085] The third operating parameter may be the actual operating parameter of each vehicle on the road when executing the second voice command. The third operating parameter may be any operating parameter. For example, the third operating parameter may be the vehicle speed, temperature, window status, etc. of the vehicle on the road when executing the second voice command. This disclosure is not limited to this.
[0086] It should be noted that the third operating parameters of each vehicle on the road when executing the corresponding second voice command may be different or may be the same, and this disclosure does not limit this.
[0087] In the present disclosure, after determining the second voice command set associated with each interface in the cockpit system, in order to improve the accuracy of the in-vehicle voice service test, the server can obtain the operating frequency of each second voice command in multiple vehicles on the road within a preset time period, as well as the third operating parameters of each vehicle on the road when running the second voice command. Based on the operating frequency of each second voice command and the associated third operating parameters, the operating scenario of the corresponding second voice command in the real environment can be determined, thereby providing conditions for improving the comprehensiveness of the in-vehicle voice service test.
[0088] Step 204 : Determine a preset mapping table according to the execution frequency of each second voice command and the associated third operation parameter.
[0089] In the present disclosure, after determining the operating frequency of each second voice command and the associated third operating parameters, a preset mapping table can be first determined based on the operating frequency of each second voice command and the associated third operating parameters, so as to obtain the operating environment and usage corresponding to each second voice command, providing a data basis for determining the accuracy of voice commands during in-vehicle voice service testing.
[0090] Step 205 : Determine, based on a preset mapping table, a first voice command set associated with the first interface information and the first operating parameter, and a probability of selection of each first voice command.
[0091] The probability of the first voice command being selected may be the probability of executing the first voice command.
[0092] It should be noted that, if the first interface information and the first operating parameters are different, the probability of the associated first voice command being selected may be different, and this disclosure does not limit this.
[0093] In the present disclosure, after determining the mapping table, the server can determine the corresponding first voice instruction set and the probability of each first voice instruction being selected from the mapping table based on the information of the page control in the first interface information and the first operating parameter.
[0094] For example, the first vehicle in the cockpit system has both the continuous voice conversation and the see-and-speak features enabled. A pre-set mapping table contains the execution frequency and associated third operating parameters for each second voice command corresponding to the list selection interface, navigation interface, and music interface, respectively. When in the continuous conversation state, within the associated first voice command set, the probability of selecting a first voice command corresponding to a context-dependent conversation (e.g., "Open the window," "Open wider," etc.) is P1. The probability of selecting a first voice command unrelated to the previous conversation but in the same context (e.g., "Open the window," "Turn on the air conditioning") is P2. The probability of selecting a first voice command corresponding to a random conversation is 1-P1-P2. When the see-and-speak feature is enabled for the first interface information, the probability of selecting a first voice command corresponding to the see-and-speak feature of the first interface is P3, while the probability of selecting a first voice command corresponding to other non-see-and-speak features is 1-P3. When the first interface information is list selection interface information, the probability of selecting the first voice instruction corresponding to voice selection is P4, the probability of selecting the first voice instruction corresponding to simulation selection is P5, the probability of selecting the first voice instruction corresponding to exiting the first interface is P6, and the probability of selecting the first voice instruction corresponding to other operations can be 1-P4-P5-P6. When the first interface information is navigation or music interface information, the probability of selecting the first voice instruction for navigation or music is P7, and the probability of selecting the first voice instruction for other operations is 1-P7. P1 to P7 can be determined by any method, and this disclosure does not limit this.
[0095] Step 206 : Select a target voice instruction from the first voice instruction set based on the selection probability of each first voice instruction.
[0096] In the present disclosure, after determining the selection probabilities of each first voice command associated with the first interface information and the first operating parameter, the server may select a target voice command from the first voice command set based on the selection probabilities. For example, a first voice command with a higher probability of selection in the first voice command set may be determined as the target voice command, thereby ensuring that the in-vehicle voice service testing based on the target voice command is consistent with the distribution of voice service operations in a real-world environment. This disclosure does not impose any limitations on this.
[0097] Step 207: Send the target voice command to the cockpit system.
[0098] Step 208: Receive a first response result returned by the cockpit system, wherein the first response result includes at least one of the following: second interface information, second operating parameter.
[0099] Step 209: Determine a test result of the target voice command under the first operating parameter according to the first response result.
[0100] The specific implementation of steps 207 to 209 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.
[0101] In an embodiment of the present disclosure, the server first obtains the current first interface information of the cockpit system and the first operating parameters of the first vehicle to which the cockpit system belongs. When the first operating parameters meet the voice command operating conditions, the server determines the second voice command set associated with each interface based on the functions of the page controls contained in each interface in the cockpit system. Then, the server obtains the operating frequency of each second voice command in multiple second vehicles on multiple routes within a preset time period, and the third operating parameters of each second vehicle on each route when the second voice command is executed. The server determines a preset mapping table based on the operating frequency of each second voice command and the associated third operating parameters. Then, based on the preset mapping table, the server determines the first voice command set associated with the first interface information and the first operating parameters, and the selection probability of each first voice command. Based on the selection probability of each first voice command, the server selects a target voice command from the first voice command set, sends the target voice command to the cockpit system, receives a first response result returned by the cockpit system, and finally determines the test result of the target voice command under the first operating parameters based on the first response result. Therefore, when the current operating parameters of the cockpit system meet the voice command operating conditions, the server determines the operating frequency and operating parameters of each voice command associated with each interface in the cockpit system in the road vehicle, and determines a mapping table based on the operating frequency and operating parameters of each voice command. Based on the mapping table, the voice command set associated with the current interface information and operating parameters of the cockpit system is determined, and based on the selection probability of each voice command in the voice command set, the target voice command is determined and sent to the cockpit system. Finally, based on the response result returned by the cockpit system, the test result is determined, so that the in-vehicle voice service test is more in line with the real driving environment, and the accuracy of the in-vehicle voice service test is improved.
[0102] Figure 3 A flowchart of a method for testing an in-vehicle voice service provided by another embodiment of the present disclosure is provided.
[0103] like Figure 3 As shown, the testing method of the in-vehicle voice service may include the following steps:
[0104] Step 301: collecting various operating parameters of a second vehicle traveling on the road within a preset time period.
[0105] It should be noted that the operating parameters within the preset time period may be the real-time operating parameters of the second vehicle within the preset time period, and the present disclosure does not limit this.
[0106] It should be noted that the operating parameters of each second vehicle within the preset time period may be different or may be the same, and this disclosure does not limit this.
[0107] Step 302: Process the operating parameters within a preset time period to obtain a preset operating parameter sequence.
[0108] In the present disclosure, after collecting the operating parameters of the second vehicle within a preset time period, the server can process the operating parameters within the preset time period to obtain a preset operating parameter sequence in order to improve the quality of the collected operating parameters and improve the efficiency and accuracy of the test of the in-vehicle voice service.
[0109] It should be noted that the method by which the server processes the operating parameters within the preset time period may be any pre-set method. For example, the server may first remove invalid data from the operating parameters and then perform format conversion on the operating parameters via the CAN bus device, etc. This disclosure is not limited to this.
[0110] Step 303: Send the preset operating parameter sequence to the cockpit system.
[0111] In the present disclosure, after determining the preset operating parameter sequence, the server can send the operating parameter sequence to the cockpit system by any method. For example, the server can send the operating parameter sequence to the cockpit system via a CAN bus device, which is not limited in the present disclosure.
[0112] In the present disclosure, when the server sends a preset operating parameter sequence to the cockpit system, it can send it to the cockpit system in real time based on the time order of collection of each operating parameter in the operating parameter sequence, thereby ensuring the continuity of the operating parameters when testing the in-vehicle voice service.
[0113] Step 304 : Determine the startup interface information of the cockpit system as the first interface information, and determine the first operating parameter in the preset operating parameter sequence as the first operating parameter.
[0114] Step 305: Determine the current target voice command based on the first interface information and the first operating parameter.
[0115] Step 306: Send the target voice command to the cockpit system.
[0116] Step 307: Receive a first response result returned by the cockpit system, wherein the first response result includes at least one of the following: second interface information, second operating parameter.
[0117] Step 308: Determine a test result of the target voice command under the first operating parameter according to the first response result.
[0118] The specific implementation of steps 304 to 308 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.
[0119] The following combination Figure 4 , the process of testing the in-vehicle voice service in this disclosure is illustrated by way of example. Figure 4 This is a schematic diagram of the structure of the in-vehicle voice service test provided by the present disclosure. Figure 4 In the communication network, CAN is the abbreviation of Controller Area Network (CAN).
[0120] like Figure 4 As shown, the server first obtains the operating parameters of the second vehicle on the road. The method for obtaining the operating parameters of the second vehicle can be any pre-set method. The server then obtains the operating parameters of the second vehicle via the CAN bus and processes each operating parameter to obtain a corresponding operating parameter sequence. The server then sends the operating parameter sequence to the cockpit system via the CAN bus. The server determines the current voice command based on the cockpit system's current interface information and operating parameters, and sends the voice command to the cockpit system via the CAN bus. Finally, the server determines the test result of the in-vehicle voice service based on the response returned by the cockpit system.
[0121] In addition, when testing the in-vehicle voice service, the present disclosure can pre-collect the audio of the voice commands corresponding to each function, and then store it on the server and the local operating environment of the in-vehicle voice service to test the server and local voice requests respectively. The present disclosure does not limit this.
[0122] In the disclosed embodiment, the server first collects various operating parameters of a second vehicle traveling on the road within a preset time period, processes the operating parameters within the preset time period to obtain a preset operating parameter sequence, and transmits the preset operating parameter sequence to the cockpit system. The server then determines the cockpit system's startup interface information as first interface information and the first operating parameter in the preset operating parameter sequence as the first operating parameter. Based on the first interface information and the first operating parameter, the server determines the current target voice command. The server then transmits the target voice command to the cockpit system and receives a first response from the cockpit system. Finally, based on the first response, the server determines a test result for the target voice command under the first operating parameter. Thus, by determining an operating parameter sequence based on the various operating parameters of the vehicle traveling on the road within the preset time period and transmitting it to the cockpit system, the server then determines a voice command based on the cockpit system's startup interface information and the first operating parameter in the operating parameter sequence, transmits it to the cockpit system, and determines a test result based on the cockpit system's response. This improves the reliability of in-vehicle voice service testing while ensuring that the testing environment for the in-vehicle voice service is integrated with the actual driving environment.
[0123] Figure 5 A flowchart of a method for testing an in-vehicle voice service provided by another embodiment of the present disclosure is provided.
[0124] like Figure 5 As shown, the testing method of the in-vehicle voice service may include the following steps:
[0125] Step 501: Acquire current first interface information of a cockpit system and first operating parameters of a first vehicle to which the cockpit system belongs.
[0126] Step 502: Determine the current target voice command based on the first interface information and the first operating parameter.
[0127] Step 503: Send the target voice command to the cockpit system.
[0128] Step 504: Receive a first response result returned by the cockpit system, wherein the first response result includes at least one of the following: second interface information, second operating parameter.
[0129] The specific implementation of steps 501 to 504 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.
[0130] Step 505: Determine a target response result corresponding to the target voice command, wherein the target response result includes at least one of the following: target interface information, target operating parameters.
[0131] Among them, the target response result can be the response result corresponding to the target voice command in the real driving environment under the first operating parameters, which can be determined by any method and is not limited in this disclosure.
[0132] Among them, the target interface information and target operating parameters can be the interface information and operating parameters corresponding to the cockpit system after executing the target voice command in a real driving environment, respectively, and this disclosure does not limit this.
[0133] It should be noted that different target voice commands may result in different corresponding target response results, and this disclosure does not limit this.
[0134] In the present disclosure, after receiving the first response result returned by the cockpit system, the server can first determine the target response result corresponding to the target voice command, thereby providing a data basis for determining the test result of the target voice command under the first operating parameters.
[0135] Step 506 : Determine a test result of the target voice command under the first operating parameter based on the matching degree between the first response result and the target response result.
[0136] In the present disclosure, after determining the target response result, the server can first determine the matching degree between the first response result and the target response result, and then determine the test result of the target voice instruction under the first operating parameter based on the matching degree. When the matching degree between the first response result and the target response result is higher, it can be determined that the difference between the first response result and the target response result is smaller. At this time, it can be determined that the accuracy of the test result of the target voice instruction under the first operating parameter is higher, and the probability of the test result being a pass is higher. When the matching degree between the first response result and the target response result is lower, it can be determined that the difference between the first response result and the target response result is larger. At this time, it can be determined that the accuracy of the test result of the target voice instruction under the first operating parameter is lower, and the probability of the test result being a pass is lower. The present disclosure does not limit this.
[0137] It should be noted that the method by which the server determines the matching degree between the first response result and the target response result may be any pre-set method, and this disclosure does not limit this.
[0138] In some possible implementation forms, after determining the matching degree between the first response result and the target response result, if the matching degree between the first response result and the target response result is less than or equal to the matching threshold, the server can determine that the gap between the first response result and the target response result is large. At this time, the server can associate and store the first response result, the target voice command, the first operating parameter and the first interface information, so that relevant personnel can quickly locate the problem. This disclosure does not limit this.
[0139] The matching threshold may be a critical matching value for determining the accuracy of the first response result, and may be any preset value, which is not limited in the present disclosure.
[0140] In the disclosed embodiment, the server first obtains the current first interface information of the cockpit system and the first operating parameters of the first vehicle to which the cockpit system belongs. Based on the first interface information and the first operating parameters, the server determines the current target voice command. The server then sends the target voice command to the cockpit system and receives a first response from the cockpit system. The server then determines a target response corresponding to the target voice command. Finally, based on the degree of match between the first response and the target response, the server determines the test result for the target voice command under the first operating parameters. Thus, by determining the corresponding voice command based on the current interface information of the cockpit system and the operating parameters of the vehicle to which it belongs, sending the voice command to the cockpit system, and determining the test result based on the degree of match between the response returned by the cockpit system and the target response, the server improves the accuracy and reliability of in-vehicle voice service testing.
[0141] Figure 6 A flowchart of a method for testing an in-vehicle voice service provided by another embodiment of the present disclosure is provided.
[0142] like Figure 6 As shown, the testing method of the in-vehicle voice service may include the following steps:
[0143] Step 601: Receive a target voice instruction sent by a server.
[0144] In the present disclosure, before testing, the cockpit system first receives the target voice command sent by the server to provide a data basis for testing the in-vehicle voice service.
[0145] The specific implementation of step 601 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.
[0146] Step 602: Determine a current first operating parameter of a first vehicle to which the cockpit system belongs.
[0147] In the present disclosure, after receiving the target voice command sent by the server, the cockpit system can first determine the current first operating parameter of the first vehicle to which it belongs.
[0148] In some possible implementation forms, the cockpit system may determine an operating parameter currently to be read in a preset operating parameter sequence as the first operating parameter, which is not limited in the present disclosure.
[0149] In some possible implementation forms, the cockpit system may also determine an operating parameter sent to the server at a previous moment adjacent to the current moment as the first operating parameter, which is not limited in this disclosure.
[0150] It should be noted that an operating parameter sent to the server at the previous moment adjacent to the current moment may be a parameter obtained by partially updating the previously read operating parameter based on the previous voice instruction of the target voice instruction. This disclosure does not limit this.
[0151] Step 603: Determine a first response result corresponding to the target voice command based on the first operating parameter, wherein the first response result includes at least one of the following: second interface information, second operating parameter.
[0152] In the present disclosure, after determining the current first operating parameter of the first vehicle to which it belongs, the cockpit system can execute the target voice command based on the first operating parameter and determine a first response result corresponding to the target voice command.
[0153] Step 604: Send the first response result to the server.
[0154] In the present disclosure, after determining the first response result corresponding to the target voice command, the cockpit system can send the first response result to the server, thereby providing a data basis for the server to determine the test result of the target voice command under the first operating parameters.
[0155] In the disclosed embodiment, the cockpit system first receives a target voice command from a server, then determines the current first operating parameters of the first vehicle to which the cockpit system belongs. Based on the first operating parameters, the cockpit system then determines a first response corresponding to the target voice command, and finally sends the first response to the server. Thus, by determining a response based on the target voice command sent by the server and the current operating parameters of the vehicle to which the cockpit system belongs, and then sending the response to the server, the cockpit system improves the efficiency and accuracy of in-vehicle voice service testing.
[0156] Figure 7 A flowchart of a method for testing an in-vehicle voice service provided by another embodiment of the present disclosure is provided.
[0157] like Figure 7 As shown, the testing method of the in-vehicle voice service may include the following steps:
[0158] Step 701: Receive a preset operating parameter sequence sent by a server.
[0159] In the present disclosure, after receiving the operating parameter sequence sent by the server, the cockpit system can obtain the operating parameters of the second vehicle traveling on the road within a preset time period collected by the server from the operating parameter sequence.
[0160] Step 702: Receive the target voice command sent by the server.
[0161] Step 703: Determine an operating parameter currently to be read in the preset operating parameter sequence as the first operating parameter.
[0162] Step 704: Determine a first response result corresponding to the target voice command based on the first operating parameter, wherein the first response result includes at least one of the following: second interface information, second operating parameter.
[0163] Step 705: Send the first response result to the server.
[0164] The specific implementation of steps 702 to 705 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.
[0165] In the disclosed embodiment, the cockpit system first receives a preset operating parameter sequence from a server, then receives a target voice command from the server. It then identifies the current operating parameter to be read in the preset operating parameter sequence as a first operating parameter, determines a first response corresponding to the target voice command based on the first operating parameter, and finally sends the first response to the server. Thus, by determining the operating parameters based on the operating parameter sequence sent by the server, determining a response based on the target voice command and operating parameters, and sending it to the server, the cockpit system improves the reliability of in-vehicle voice service testing.
[0166] Figure 8 A flowchart of a method for testing an in-vehicle voice service provided by another embodiment of the present disclosure is provided.
[0167] like Figure 8 As shown, the testing method of the in-vehicle voice service may include the following steps:
[0168] Step 801: Receive a target voice instruction sent by a server.
[0169] Step 802: Determine a current first operating parameter of a first vehicle to which the cockpit system belongs.
[0170] The specific implementation of steps 801 to 802 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.
[0171] Step 803: Determine the first type of operating parameters and the second type of operating parameters included in the first operating parameters based on the type of the operating parameters.
[0172] The type of the operating parameter may be pre-set or determined based on actual needs. For example, when the type of the operating parameter is determined based on whether the parameter value corresponding to the operating parameter can be interactively controlled, the type of the operating parameter may be interactively controllable or non-interactively controllable, etc., and this disclosure does not limit this.
[0173] The first type of operating parameters may be non-interactively controllable operating parameters, such as vehicle speed, environment, temperature, etc., which are not limited in this disclosure.
[0174] The second type of operating parameters may be interactively controllable operating parameters. For example, the second type of operating parameters may be window status (open or closed), etc., which is not limited in the present disclosure.
[0175] In the present disclosure, after determining the first operating parameter, the cockpit system can determine the first type of operating parameters and the second type of operating parameters included in the first operating parameter based on the type of the operating parameter, thereby providing a data basis for testing the in-vehicle voice service.
[0176] Step 804 : Based on the target voice command and the parameter values of the first type of operating parameters, the second type of operating parameters and the interface of the cockpit system are updated to obtain second interface information and updated second type of operating parameters.
[0177] In the present disclosure, after determining the first type of operating parameters and the second type of operating parameters included in the first operating parameters, the cockpit system can update the second type of operating parameters and the interface of the cockpit system based on the target voice instructions and the parameter values of the first type of operating parameters, obtain second interface information, and the updated second type of operating parameters, so that the test environment of the in-vehicle voice service is close to the actual driving environment, thereby improving the reliability of the in-vehicle voice service test.
[0178] Step 805: Determine the first type of operating parameters and the updated second type of operating parameters as second operating parameters.
[0179] In the present disclosure, after obtaining the updated second-category operating parameters, the cockpit system may determine the first-category operating parameters and the updated second-category operating parameters as the second operating parameters.
[0180] Step 806: Send the first response result to the server, wherein the first response result includes at least one of the following: second interface information, second operating parameter.
[0181] The specific implementation of step 806 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.
[0182] In the disclosed embodiment, a cockpit system first receives a target voice command sent by a server, then determines the current first operating parameters of a first vehicle to which the cockpit system belongs, and based on the type of the operating parameters, determines the first and second operating parameters contained in the first operating parameters. Then, based on the target voice command and the parameter values of the first operating parameters, the cockpit system updates the second operating parameters and the cockpit system interface, obtaining second interface information and updated second operating parameters. The cockpit system then determines the first and updated second operating parameters as second operating parameters, and finally sends a first response result to the server. Thus, by determining the first and second operating parameters contained in the current operating parameters of the vehicle to which the cockpit system belongs based on the type of the operating parameters, updating the second operating parameters and the interface based on the first operating parameters and the target voice command, and sending the first operating parameters, updated interface information, and updated second operating parameters to the server, the cockpit system ensures that the in-vehicle voice service test environment more closely matches the actual driving environment, thereby improving the accuracy of the in-vehicle voice service test.
[0183] In order to implement the above embodiments, the present disclosure further provides a testing device for an in-vehicle voice service.
[0184] Figure 9 A schematic diagram of the structure of a testing device for an in-vehicle voice service provided in another embodiment of the present disclosure.
[0185] like Figure 9 As shown, the testing device 900 for the in-vehicle voice service may include: an acquisition module 901 , a first determination module 902 , a first sending module 903 , a first receiving module 904 , and a second determination module 905 .
[0186] An acquisition module 901 is configured to acquire current first interface information of a cockpit system and first operating parameters of a first vehicle to which the cockpit system belongs;
[0187] A first determining module 902 is configured to determine a current target voice command based on the first interface information and the first operating parameter;
[0188] A first sending module 903 is used to send a target voice command to the cockpit system;
[0189] The first receiving module 904 is configured to receive a first response result returned by the cockpit system, wherein the first response result includes at least one of the following: second interface information, and a second operating parameter;
[0190] The second determining module 905 is configured to determine a test result of the target voice command under the first operating parameter according to the first response result.
[0191] Optionally, the first determining module 902 is specifically configured to:
[0192] When the first operating parameter satisfies the voice command operating condition, determining, based on a preset mapping table, a first voice command set associated with the first interface information and the first operating parameter, and a probability of selection of each first voice command;
[0193] Based on the selection probability of each first voice instruction, a target voice instruction is selected from the first voice instruction set.
[0194] Optionally, before determining the associated first voice instruction set and the selection probability of each first voice instruction, the first determining module 902 is further configured to:
[0195] Determining a second voice command set associated with each interface according to the function of a page control included in each interface of the cockpit system;
[0196] Obtaining, within a preset time period, the frequency of each second voice command being executed in a plurality of second vehicles on the route, and a third operating parameter of each second vehicle on the route when executing the second voice command;
[0197] A preset mapping table is determined according to the running frequency of each second voice command and the associated third running parameter.
[0198] Optionally, the acquisition module 901 is specifically configured to:
[0199] Obtaining first interface information and first operating parameters sent by the cockpit system; or,
[0200] The startup interface information of the cockpit system is determined as the first interface information, and the first operating parameter in the preset operating parameter sequence is determined as the first operating parameter.
[0201] Optionally, before obtaining the current first interface information of the cockpit system and the first operating parameters of the first vehicle to which the system belongs, the obtaining module 901 is further configured to:
[0202] collecting various operating parameters of a second vehicle traveling on the road within a preset time period;
[0203] Processing each operating parameter within a preset time period to obtain a preset operating parameter sequence;
[0204] Send the preset operating parameter sequence to the cockpit system.
[0205] Optionally, the second determining module 905 is specifically configured to:
[0206] Determine a target response result corresponding to the target voice command, wherein the target response result includes at least one of the following: target interface information, target operating parameters;
[0207] A test result of the target voice command under the first operating parameter is determined based on a matching degree between the first response result and the target response result.
[0208] Optionally, after determining the test result of the target voice command under the first operating parameter, the second determining module 905 is further configured to:
[0209] When the matching degree between the first response result and the target response result is less than or equal to the matching threshold, the first response result, the target voice instruction, the first operating parameter and the first interface information are associated and stored.
[0210] The functions and specific implementation principles of the above modules in the embodiments of the present disclosure can be referred to the above method embodiments and will not be repeated here.
[0211] In the testing device for an in-vehicle voice service according to an embodiment of the present disclosure, a server first obtains the current first interface information of the cockpit system and the first operating parameters of the first vehicle to which the cockpit system belongs. Then, based on the first interface information and the first operating parameters, the server determines the current target voice command and sends the target voice command to the cockpit system. The server then receives a first response from the cockpit system and finally, based on the first response, determines the test result of the target voice command under the first operating parameters. Thus, by determining the voice command based on the current interface information of the cockpit system and the operating parameters of the vehicle to which it belongs, sending the voice command to the cockpit system, and then determining the test result of the voice command under the corresponding operating parameters based on the response from the cockpit system, the server ensures that the test environment for the in-vehicle voice service is consistent with the real environment, thereby improving the accuracy and efficiency of in-vehicle voice service testing.
[0212] Figure 10 A schematic diagram of the structure of a testing device for an in-vehicle voice service provided in another embodiment of the present disclosure.
[0213] like Figure 10 As shown, the testing device 1000 for the in-vehicle voice service may include: a second receiving module 1001 , a third determining module 1002 , a fourth determining module 1003 , and a second sending module 1004 .
[0214] The second receiving module 1001 is used to receive the target voice command sent by the server;
[0215] A third determining module 1002 is configured to determine a current first operating parameter of a first vehicle to which the cockpit system belongs;
[0216] The fourth determining module 1003 is configured to determine a first response result corresponding to the target voice command based on the first operating parameter, wherein the first response result includes at least one of the following: second interface information and a second operating parameter;
[0217] The second sending module 1004 is configured to send the first response result to the server.
[0218] Optionally, the third determining module 1002 is specifically configured to:
[0219] Determine an operating parameter currently to be read in a preset operating parameter sequence as a first operating parameter; or,
[0220] An operating parameter sent to the server at a previous moment adjacent to the current moment is determined as a first operating parameter.
[0221] Optionally, before determining an operating parameter currently to be read in the preset operating parameter sequence as the first operating parameter, the third determining module 1002 is further configured to:
[0222] Receive the preset operating parameter sequence sent by the server.
[0223] Optionally, the fourth determining module 1003 is specifically configured to:
[0224] Determining, based on the type of the operating parameter, first-category operating parameters and second-category operating parameters included in the first operating parameter;
[0225] Based on the target voice command and the parameter values of the first type of operating parameters, the second type of operating parameters and the interface of the cockpit system are updated to obtain second interface information and updated second type of operating parameters;
[0226] The first type of operating parameters and the updated second type of operating parameters are determined as second operating parameters.
[0227] The functions and specific implementation principles of the above modules in the embodiments of the present disclosure can be referred to the above method embodiments and will not be repeated here.
[0228] In the in-vehicle voice service testing device of the disclosed embodiment, the cockpit system first receives a target voice command sent by a server, then determines the current first operating parameters of the first vehicle to which the cockpit system belongs. Based on the first operating parameters, the cockpit system then determines a first response corresponding to the target voice command, and finally sends the first response to the server. Thus, by determining a response based on the target voice command sent by the server and the current operating parameters of the vehicle to which the cockpit system belongs, and then sending the response to the server, the efficiency and accuracy of in-vehicle voice service testing are improved.
[0229] In order to implement the above embodiments, the present disclosure also proposes an electronic device, including: a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the program, it implements the test method for the in-vehicle voice service proposed in the above embodiments of the present disclosure.
[0230] In order to implement the above embodiments, the present disclosure further proposes a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the testing method of the in-vehicle voice service proposed in the above embodiments of the present disclosure is implemented.
[0231] Figure 11 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. Figure 11 The electronic device 1100 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0232] like Figure 11 As shown, electronic device 1100 is implemented as a general-purpose computing device. Components of electronic device 1100 may include, but are not limited to, one or more processors or processing units 1116, a system memory 1128, and a bus 1118 connecting various system components (including system memory 1128 and processing unit 1116).
[0233] Bus 1118 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MCA) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.
[0234] The electronic device 1100 typically includes a variety of computer system readable media, which can be any available media that can be accessed by the electronic device 1100, including volatile and non-volatile media, removable and non-removable media.
[0235] The memory 1128 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 1130 and / or cache memory 1132. The electronic device 1100 may further include other removable / non-removable, volatile / non-volatile computer system storage media. For example only, the storage system 1134 may be used to read and write non-removable, non-volatile magnetic media ( Figure 11 Not shown, often called a "hard drive"). Although Figure 11 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a floppy disk) and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a Compact Disc Read On ly Memory (hereinafter referred to as CD-ROM), a Digital Versatile Disc Read On ly Memory (hereinafter referred to as DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the bus 1118 via one or more data medium interfaces. The memory 1128 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the various embodiments of the present disclosure.
[0236] A program / utility 1140 having a set (at least one) of program modules 1142 may be stored, for example, in memory 1128. Such program modules 1142 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 1142 generally implement the functions and / or methodologies described in the embodiments of the present disclosure.
[0237] The electronic device 1100 can also communicate with one or more external devices 1114 (e.g., a keyboard, pointing device, display 1124, etc.), one or more devices that enable a user to interact with the electronic device 1100, and / or any device that enables the electronic device 1100 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication can occur via an input / output (I / O) interface 1122. Furthermore, the electronic device 1100 can communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 1120. As shown, the network adapter 1120 communicates with other modules of the electronic device 1100 via a bus 1118. It should be understood that, although not shown, other hardware and / or software modules can be used in conjunction with the electronic device 1100, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0238] The processing unit 1116 executes various functional applications and data processing by running programs stored in the system memory 1128, such as implementing the methods mentioned in the above embodiments.
[0239] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and features of different embodiments or examples, unless they are mutually inconsistent.
[0240] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. Throughout the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
[0241] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.
[0242] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and a portable compact disc read-only memory (CDROM). Furthermore, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing it in another suitable manner if necessary, and then storing it in a computer memory.
[0243] It should be understood that various parts of the present disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0244] Those skilled in the art will understand that all or part of the steps in the method of the above embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.
[0245] In addition, the functional units in the various embodiments of the present disclosure may be integrated into a single processing module, or each unit may exist physically separately, or two or more units may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
[0246] The storage medium mentioned above may be a read-only memory, a magnetic disk, or an optical disk, etc. Although the embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. A person of ordinary skill in the art may make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present disclosure.
Claims
1. A method for testing an in-vehicle voice service, characterized in that: include: Obtaining current first interface information of a cockpit system and first operating parameters of a first vehicle to which the cockpit system belongs; Determining a current target voice command based on the first interface information and the first operating parameter; sending the target voice command to the cockpit system; receiving a first response result returned by the cockpit system, wherein the first response result includes at least one of the following: second interface information and second operating parameters; According to the first response result, a test result of the target voice command under the first operating parameters is determined.
2. The method according to claim 1, wherein The determining the current target voice command based on the first interface information and the first operating parameter includes: When the first operating parameter satisfies a voice command operating condition, determining, based on a preset mapping table, a first voice command set associated with the first interface information and the first operating parameter, and a probability of selection of each first voice command; The target voice instruction is selected from the first voice instruction set based on the selection probability of each first voice instruction.
3. The method according to claim 2, wherein Before determining the associated first voice instruction set and the probability of each first voice instruction being selected, the method further includes: Determining a second voice command set associated with each interface according to a function of a page control included in each interface of the cockpit system; Obtaining, within a preset time period, the frequency of each second voice command being executed in a plurality of second vehicles on the route, and a third operating parameter of each second vehicle on the route when executing the second voice command; The preset mapping table is determined according to the running frequency of each second voice instruction and the associated third running parameter.
4. The method according to claim 1, wherein The obtaining of the current first interface information of the cockpit system and the first operating parameter of the first vehicle to which the cockpit system belongs includes: Obtaining the first interface information and the first operating parameter sent by the cockpit system; or, The startup interface information of the cockpit system is determined as the first interface information, and the first operating parameter in a preset operating parameter sequence is determined as the first operating parameter.
5. The method according to claim 4, wherein Before obtaining the current first interface information of the cockpit system and the first operating parameter of the first vehicle to which the system belongs, the method further includes: collecting various operating parameters of a second vehicle traveling on the road within a preset time period; Processing each operating parameter within the preset time period to obtain the preset operating parameter sequence; The preset operating parameter sequence is sent to the cockpit system.
6. The method according to any one of claims 1 to 5, characterized in that: Determining, based on the first response result, a test result of the target voice command under the first operating parameter includes: Determining a target response result corresponding to the target voice command, wherein the target response result includes at least one of the following: target interface information, target operating parameters; A test result of the target voice command under the first operating parameters is determined based on a matching degree between the first response result and the target response result.
7. The method according to claim 6, wherein After determining the test result of the target voice command under the first operating parameter, the method further includes: When the matching degree between the first response result and the target response result is less than or equal to a matching threshold, the first response result, the target voice instruction, the first operating parameter and the first interface information are associated and stored.
8. A method for testing an in-vehicle voice service, characterized in that: include: Receive the target voice command sent by the server; determining a current first operating parameter of a first vehicle to which the cockpit system belongs; Determining a first response result corresponding to the target voice command based on the first operating parameter, wherein the first response result includes at least one of the following: second interface information, second operating parameter; Send the first response result to the server.
9. The method according to claim 8, wherein The determining of a current first operating parameter of a first vehicle to which the cockpit system belongs includes: Determine an operating parameter currently to be read in a preset operating parameter sequence as the first operating parameter; or, An operating parameter sent to the server at a previous moment adjacent to the current moment is determined as the first operating parameter.
10. The method according to claim 9, wherein Before determining an operating parameter currently to be read in the preset operating parameter sequence as the first operating parameter, the method further includes: Receive a preset operating parameter sequence sent by the server.
11. The method according to any one of claims 8 to 10, characterized in that: The determining, based on the first operating parameter, a first response result corresponding to the target voice command includes: determining, based on the type of the operating parameters, first-category operating parameters and second-category operating parameters included in the first operating parameters; Based on the target voice command and the parameter values of the first type of operating parameters, updating the second type of operating parameters and the interface of the cockpit system to obtain second interface information and updated second type of operating parameters; The first type of operating parameters and the updated second type of operating parameters are determined as the second operating parameters.
12. A test device for an in-vehicle voice service, characterized in that: The device comprises: an acquisition module, configured to acquire current first interface information of a cockpit system and first operating parameters of a first vehicle to which the cockpit system belongs; A first determining module, configured to determine a current target voice command based on the first interface information and the first operating parameter; A first sending module, configured to send the target voice command to the cockpit system; A first receiving module is configured to receive a first response result returned by the cockpit system, wherein the first response result includes at least one of the following: second interface information, and a second operating parameter; The second determining module is used to determine a test result of the target voice command under the first operating parameters according to the first response result.
13. A test device for an in-vehicle voice service, characterized in that: The device comprises: The second receiving module is used to receive the target voice command sent by the server; a third determining module, configured to determine a current first operating parameter of a first vehicle to which the cockpit system belongs; a fourth determining module, configured to determine a first response result corresponding to the target voice command based on the first operating parameter, wherein the first response result includes at least one of the following: second interface information, and a second operating parameter; The second sending module is configured to send the first response result to the server.
14. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 11 is implemented.
15. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.