Voice service testing system, method, device and equipment

Through the collaborative work of smart speakers and servers, the real online integration of simulated voice services on smart speakers solves the problems of low accuracy and low efficiency of existing test solutions and achieves more efficient voice service testing.

CN113628611BActive Publication Date: 2024-10-15ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010378808.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-07
Publication Date
2024-10-15
Estimated Expiration
2040-05-07

AI Technical Summary

Technical Problem

Existing voice service testing solutions have low testing accuracy and efficiency, and cannot simulate the actual online integration of voice services in smart speakers. This results in the inability to fully expose the shortcomings and loopholes of the service, and the testing efficiency is low.

Method used

Collect user voice data through the smart speaker, send a voice service request to the server, and display the processing results returned by the server. The server loads the voice service to be tested and the published voice service, and obtains the corresponding voice service information based on the user ID or speaker ID. , process user voice data through the voice service to be tested and send the results to the speaker, simulating the processing link of the voice service integrated in real life.

Benefits of technology

It improves the accuracy and efficiency of voice service testing, and can quickly discover and modify voice service problems to meet the needs of developers and reviewers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113628611B_ABST
    Figure CN113628611B_ABST
Patent Text Reader

Abstract

The present application discloses a voice service testing system, method, device and equipment. The system collects user voice data through a smart speaker, sends a voice service request for the user voice data to the server, and displays the voice service processing result sent back by the server; the server determines the user ID or smart speaker ID, and the corresponding relationship set between the voice service to be tested, loads the voice service to be tested and the published voice service; obtains the voice service information to be tested corresponding to the smart speaker according to the user ID information or smart speaker ID information carried in the request; if the voice service to be tested corresponding to the smart speaker includes a voice service corresponding to the user voice data, the user voice data is processed through the voice service to be tested. This processing method allows the use of a speaker device to perform real machine testing on the voice service; therefore, the test accuracy can be effectively improved, as well as the test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart speaker voice service testing, and specifically to a voice service testing system, method and device, a smart speaker, and an electronic device. Background Art

[0002] A smart speaker is a product of a speaker upgrade. It is a tool for home consumers to access the Internet using voice, such as ordering songs, shopping online, or getting weather forecasts. It can also control smart home devices, such as opening curtains, setting refrigerator temperature, and heating up the water heater in advance.

[0003] Smart speakers can provide a variety of voice services, that is, they have a variety of voice skills. Voice skills specifically refer to functions or services provided through voice, such as "checking the weather" is a voice skill, and "listening to music" is also a skill. Voice services are usually developed by third-party intelligent voice service vendors. Before the newly developed voice service is officially used, it is usually necessary to test the voice service to ensure that the service can run correctly in the intended manner. At present, a typical voice service testing method is a non-real machine testing solution, in which developers test voice services through a voice service development platform, which provides voice service testing functions based on web pages or client simulation programs. Specifically, it can be a non-real machine testing solution with text instructions as the required input, which allows testers to input conversation text into the test device, and then the test device feeds back the execution results to the user. In addition, it can also be a non-real machine testing solution with audio information as the required input, which allows testers to input real audio information into the test device, and the test device feeds back the execution results to the user.

[0004] However, in the process of implementing the present invention, the inventors found that the technical solution has at least the following problems: Since the non-real machine testing solution only simulates a part of the actual execution link, it is impossible to simulate the effect of the voice service being actually launched and integrated into the smart voice speaker. Therefore, it can only expose some deficiencies and loopholes in the voice service, but cannot expose the effects of the front-end link before entering the voice service, such as the time it takes from the user issuing a command to the speaker to the speaker giving feedback, such as the service execution feedback results, etc. In addition, the testing efficiency of the existing testing solutions is also low. In summary, how to improve the accuracy and efficiency of voice service testing to meet the testing needs of voice service developers and the review needs of voice service reviewers of smart speaker voice service platforms has become a technical problem that technical personnel in this field urgently need to solve. Summary of the invention

[0005] The present application provides a voice service testing system to solve the problems of low test accuracy and test efficiency in the prior art. The present application also provides a voice service testing method and device, a smart speaker, and an electronic device.

[0006] The present application provides a voice service testing system, comprising:

[0007] The smart speaker is used to collect user voice data, send a voice service request for the user voice data to the server, and display the voice service processing result sent back by the server;

[0008] The server is used to determine the corresponding relationship set between the user identification or smart speaker identification and the voice service to be tested, load the voice service to be tested and the published voice service; and, according to the user identification information or smart speaker identification information carried in the request, obtain the voice service information to be tested corresponding to the smart speaker; if the voice service to be tested corresponding to the smart speaker includes a voice service corresponding to the user voice data, the user voice data is processed by the voice service to be tested, and the voice service processing result is sent to the smart speaker.

[0009] The present application also provides a voice service testing method, comprising:

[0010] Determine the corresponding relationship set between the user ID or smart speaker ID and the voice service to be tested, and load the voice service to be tested and the published voice service;

[0011] Acquire the voice service information to be tested corresponding to the smart speaker according to the user identification information or the smart speaker identification information carried in the voice service request for the user voice data sent by the smart speaker;

[0012] If the voice service to be tested corresponding to the smart speaker includes a voice service corresponding to the user voice data, the user voice data is processed by the voice service to be tested, and the voice service processing result is sent to the smart speaker, so that the smart speaker displays the voice service processing result.

[0013] Optionally, also include:

[0014] Receive a voice service binding request to be tested for a target user or a target smart speaker sent by a client;

[0015] Store the target user ID, the smart speaker ID corresponding to the target user, or the target smart speaker ID and the corresponding relationship between the voice service to be tested.

[0016] Optionally, the voice service to be tested includes: an updated version of a released voice service;

[0017] If the voice service to be tested corresponding to the smart speaker includes an updated version of the published voice service corresponding to the user voice data, processing the user voice data by using the updated version of the voice service to be tested;

[0018] If the voice service to be tested corresponding to the smart speaker does not include an updated version of the published voice service corresponding to the user voice data, the user voice data is processed through the published voice service.

[0019] Optionally, also include:

[0020] Using the voice service to be tested and the published voice service corresponding to the smart speaker as voice service decision objects of the dialogue understanding and voice service decision model;

[0021] Determining a text sequence corresponding to the user voice data through a speech recognition model;

[0022] The decision model is used to determine the voice service to be tested or the published voice service corresponding to the user voice data according to the text sequence.

[0023] Optionally, the user includes: a voice service developer user;

[0024] The user voice data includes: voice data used to detect the effectiveness of service functions.

[0025] Optionally, the user includes: a voice service online review user of the smart speaker service platform;

[0026] The user voice data includes: voice data for detecting corpus conflicts and voice data for detecting voice recognition capabilities.

[0027] Optionally, also include:

[0028] Send real device test result data to the client.

[0029] The present application also provides a voice service testing method, comprising:

[0030] Collecting user voice data; the user voice data includes test voice data for the voice service to be tested;

[0031] Sending a voice service request for the user voice data to the server, so that the server determines the voice service to be tested according to the user identification information or smart speaker identification information carried in the request, and processes the test voice data through the voice service to be tested;

[0032] Displays the voice service processing results sent back by the server.

[0033] Optionally, the voice service processing result sent back by the presentation server includes at least one of the following methods:

[0034] Playing the reply voice data determined by the voice service;

[0035] adjusting the speaker volume based on the speaker volume determined by the voice service;

[0036] According to the working mode of the IoT device controlled by the smart speaker determined through the voice service, the working mode of the IoT device is adjusted.

[0037] Optionally, also include:

[0038] Testing the voice service on a real device to determine the voice service to be tested;

[0039] The collecting of user voice data comprises:

[0040] Playing the test voice data of the voice service to be tested;

[0041] Collect and play test voice data.

[0042] Optionally, the playing of the test voice data of the voice service to be tested includes:

[0043] Determining a playing time interval of the test voices of various operations of the voice service to be tested;

[0044] According to the playing time interval, the test voice data of various operations of the voice service to be tested are played.

[0045] Optionally, also include:

[0046] Testing the voice service through the real device and suspending the testing of the voice service to be tested;

[0047] Record the test speech during the pause;

[0048] The voice service to be tested is tested by the real machine, and according to the test voice at the pause time, the voice service to be tested is continued to be tested.

[0049] Optionally, also include:

[0050] Testing the voice service on the real machine to collect test voice data of the voice service to be tested;

[0051] The test voice data of the voice service to be tested is stored.

[0052] Determine the time for automated real-device testing of the voice service to be tested;

[0053] Generate test tasks according to test time;

[0054] Execute the test task according to the test time.

[0055] Optionally, also include:

[0056] If the automated test conditions of the voice service to be tested are met, a real device test is performed on the voice service to be tested.

[0057] Optionally, also include:

[0058] determining actual test response information;

[0059] If the actual test response information is different from the expected test response information, a prompt message indicating an operation execution error is displayed.

[0060] Optionally, also include:

[0061] Recording erroneous operations;

[0062] Automatic testing for erroneous operation.

[0063] The present application also provides a voice service testing method, comprising:

[0064] A binding request for the voice service to be tested for the target user or target smart speaker is sent to the server, so that the server can store the target user identifier, the smart speaker identifier corresponding to the target user, or the target smart speaker identifier, and the corresponding relationship between the voice service to be tested.

[0065] Optionally, also include:

[0066] Receive the real machine test result data of the voice service to be tested sent by the server.

[0067] Optional,

[0068] The real machine test result data includes: the time from the test voice being emitted to the speaker feedback result.

[0069] The present application also provides a voice service testing device, comprising:

[0070] The voice service to be tested binding and loading unit is used to determine the corresponding relationship set between the user identifier or smart speaker identifier and the voice service to be tested, and load the voice service to be tested and the published voice service;

[0071] A voice service to be tested determining unit, configured to obtain the voice service to be tested information corresponding to the smart speaker according to the user identification information or the smart speaker identification information carried in the voice service request for the user voice data sent by the smart speaker;

[0072] The voice service execution unit to be tested is used to process the user voice data through the voice service to be tested if the voice service to be tested corresponding to the smart speaker includes a voice service corresponding to the user voice data, and send the voice service processing result to the smart speaker, so that the smart speaker displays the voice service processing result.

[0073] The present application also provides an electronic device, comprising:

[0074] Processor; and

[0075] A memory is used to store a program for implementing a voice service testing method. After the device is powered on and the program of the method is run through the processor, the following steps are performed: determining a set of correspondences between a user identifier or a smart speaker identifier and a voice service to be tested, and loading the voice service to be tested and the published voice service; obtaining the voice service information to be tested corresponding to the smart speaker according to the user identifier information or the smart speaker identifier information carried in the voice service request for user voice data sent by the smart speaker; if the voice service to be tested corresponding to the smart speaker includes a voice service corresponding to the user voice data, processing the user voice data through the voice service to be tested, and sending the voice service processing result to the smart speaker, so that the smart speaker displays the voice service processing result.

[0076] The present application also provides a voice service testing device, comprising:

[0077] A voice collection unit, used to collect user voice data; the user voice data includes test voice data for the voice service to be tested;

[0078] A request sending unit, configured to send a voice service request for the user voice data to a server, so that the server determines the voice service to be tested according to the user identification information or smart speaker identification information carried in the request, and processes the test voice data through the voice service to be tested;

[0079] The result display unit is used to display the voice service processing results sent back by the server.

[0080] The present application also provides a smart speaker, comprising:

[0081] Processor; and

[0082] A memory is used to store a program for implementing a voice service testing method. After the device is powered on and runs the program of the method through the processor, the following steps are performed: collecting user voice data; the user voice data includes test voice data for the voice service to be tested; sending a voice service request for the user voice data to a server, so that the server determines the voice service to be tested based on the user identification information or smart speaker identification information carried in the request, and processes the test voice data through the voice service to be tested; and displaying the voice service processing result sent back by the server.

[0083] The present application also provides a voice service testing device, comprising:

[0084] A request sending unit is used to send a binding request for the voice service to be tested for the target user or the target smart speaker to the server, so that the server can store the target user identifier, the smart speaker identifier corresponding to the target user, or the target smart speaker identifier, and the corresponding relationship between the voice service to be tested.

[0085] The present application also provides an electronic device, comprising:

[0086] Processor; and

[0087] A memory is used to store a program for implementing a voice service testing method. After the device is powered on and runs the program of the method through the processor, the following steps are performed: a binding request for the voice service to be tested for a target user or a target smart speaker is sent to a server, so that the server can store the target user identifier, the smart speaker identifier corresponding to the target user, or the target smart speaker identifier, and the corresponding relationship between the voice service to be tested.

[0088] The present application also provides a method for generating a voice service test case, comprising:

[0089] Collect test voice data of various operations of the voice service to be tested;

[0090] Determine the playback time interval and playback order of various operation test voices;

[0091] A test case for the voice service to be tested is generated according to the time interval and the play sequence.

[0092] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the computer-readable storage medium is run on a computer, the computer executes the above-mentioned various methods.

[0093] The present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the above-mentioned various methods.

[0094] Compared with the prior art, this application has the following advantages:

[0095] The voice service testing system provided in the embodiment of the present application collects user voice data through a smart speaker, sends a voice service request for the user voice data to a server, and displays the voice service processing result sent back by the server; the server determines the corresponding relationship set between the user identifier or the smart speaker identifier and the voice service to be tested, loads the voice service to be tested and the published voice service; and obtains the voice service information to be tested corresponding to the smart speaker according to the user identifier information or the smart speaker identifier information carried in the request; if the voice service to be tested corresponding to the smart speaker includes a voice service corresponding to the user voice data, the voice service to be tested is processed by the voice service to be tested. User voice data is used to send the voice service processing results to the smart speaker. This processing method allows the tester to initiate a test request from the speaker end and reuse the processing link of normal requests, that is, use the speaker device to perform real-machine testing on the voice service, simulating the effect of the voice service being actually launched and integrated into the smart voice speaker. This avoids the problem of unrealistic test results caused by the lack of links on the end or part of the cloud in the existing solution. In this way, various problems with the voice service can be quickly discovered and modified. Therefore, the test accuracy and efficiency can be effectively improved, thereby meeting the testing needs of voice service developers and the review needs of voice service reviewers of the smart speaker voice service platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0096] Figure 1 A structural diagram of an embodiment of a voice service testing system provided by the present application;

[0097] Figure 2 A schematic diagram of an application scenario of an embodiment of a voice service testing system provided by the present application;

[0098] Figure 3 A schematic diagram of device interaction of an embodiment of a voice service testing system provided by the present application;

[0099] Figure 4 A processing flow diagram of an embodiment of a voice service testing system provided by the present application;

[0100] Figure 5 A specific device interaction diagram of an embodiment of a voice service testing system provided in the present application. DETAILED DESCRIPTION

[0101] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0102] In the present application, a voice service test system, method and device, a smart speaker, and an electronic device are provided. In the following embodiments, various solutions are described in detail one by one.

[0103] First embodiment

[0104] Please refer to Figure 1 , which is a structural diagram of an embodiment of a voice service test system of the present application. The system comprises: a server 1 and a smart speaker 2.

[0105] The server 1 may be a server deployed on a cloud server, or a server dedicated to realizing the smart speaker voice service, which may be deployed in a data center. The server may be a cluster server or a single server.

[0106] The smart speaker 2 can be a tool for home consumers to surf the Internet using voice, such as ordering songs, shopping online, or getting weather forecasts. It can also control smart home devices, such as opening curtains, setting refrigerator temperature, and heating up water heaters in advance.

[0107] Please refer to Figure 2, which is a scenario diagram of the voice service test system of the present application. The server and the smart speaker can be connected through the network, such as the smart speaker can be connected to the Internet through WI FI, etc. The developer user of the speaker voice service can first deploy the voice service to be tested developed by the developer to the server, and the server can determine the corresponding relationship set between the user identifier or the smart speaker identifier and the voice service to be tested; then, the developer user can use the smart speaker to conduct a real machine test on the voice service to be tested. Specifically, it can be to send a voice command related to the voice service to be tested to the speaker, and the command is transmitted to the network after being processed locally by the speaker, and finally reaches the cloud processing; the server processes the command through the processing link when the service is actually put into use, and returns the processing result to the smart speaker. The speaker feeds back the result to the user. The feedback result may include a series of user-side changes such as audio broadcast, lighting effects, volume adjustment, and triggering changes in home IoT devices through local communication protocols. This processing method makes the entire test process the same as the normal use process and processing link of the published voice service, simulating the performance of the voice service to be tested in the real link as much as possible, so that the developer user can perceive the entire process from issuing a voice command to the speaker giving feedback. Through this real-device testing method, the developer user can find various problems that may exist in each link of the entire processing process of the voice service to be tested, and then modify the service program.

[0108] Please refer to Figure 3 , which is a device interaction diagram of an embodiment of the smart speaker voice service system of the present application. In this embodiment, the smart speaker collects user voice data and sends a voice service request for the user voice data to the server; and displays the voice service processing result sent back by the server; the server determines the corresponding relationship set between the user identifier or smart speaker identifier and the voice service to be tested, loads the voice service to be tested and the published voice service; and, according to the user identifier information or smart speaker identifier information carried in the request, obtains the voice service information to be tested corresponding to the smart speaker; if the voice service to be tested corresponding to the smart speaker includes a voice service corresponding to the user voice data, the user voice data is processed by the voice service to be tested, and the voice service processing result is sent to the smart speaker.

[0109] The voice service, also known as speaker skills, includes voice services provided to users through smart speakers. The voice services include but are not limited to: good morning, check weather, health check, shopping, etc.

[0110] The server records the corresponding relationship set between the user identifier or the smart speaker identifier and the voice service to be tested. Table 1 shows the corresponding relationship set recorded by the server in this embodiment.

[0111]

[0112] Table 1. Correspondence set

[0113] As can be seen from Table 1, the voice service to be tested can be bound to a specific user or to a specific speaker device. One smart speaker can correspond to one or more voice services to be tested.

[0114] The server also needs to load the voice service to be tested and the published voice service. It should be noted that under the prior art, the server only loads the published voice service, and the decision model can only decide the published voice service corresponding to the user voice data, but cannot decide the voice service to be tested. The system provided in the embodiment of the present application not only loads the published voice service through the server, but also loads the voice service to be tested. By loading the voice service to be tested and the published voice service, the voice service to be tested and the published voice service become the voice service decision objects of the dialogue understanding and voice service decision model; through the decision model, according to the text sequence corresponding to the user voice data, the voice service to be tested or the published voice service corresponding to the user voice data can be determined. This processing method allows the tester to initiate a test request from the speaker end, reuse the processing link for the normal request for the voice service to be tested, that is, use the speaker device to perform a real machine test on the voice service, and simulate the effect of the voice service being truly online and integrated into the intelligent voice speaker. Since the dialogue understanding and voice service decision model belong to the more mature prior art, it will not be repeated here.

[0115] The request includes at least user voice data and may also include a user identifier or a speaker device identifier. The server can query the voice service information to be tested corresponding to the smart speaker that sends the request from Table 1 based on the user identifier or smart speaker identifier information carried in the request.

[0116] In addition, the server can also record the published voice service information. Table 2 shows the published voice service information recorded by the server in this embodiment.

[0117] Voice service logo Voice service name 1 Good morning 2 Health Check 3 Check the weather 4 Shopping …

[0118] Table 2: Published voice service information

[0119] As can be seen from Table 2, the published voice services are not bound to specific users or speaker devices and can be used by any user.

[0120] In one example, the user includes: a voice service developer user, that is, the tester is a voice service developer user, and the system can meet the skill self-testing needs of skill developers. In this case, the user voice data includes but is not limited to: voice data used to detect the effectiveness of service functions. For example, the developer user can prepare some test cases for testing whether the service can run correctly in a predetermined manner.

[0121] In another example, the users include: voice service online review users of the smart speaker service platform, and the platform reviewers are responsible for testing and reviewing whether the voice services to be released online meet the platform specifications. The points that do not meet the platform specifications detected by the review method provided by the existing platform are not comprehensive enough, and the system provided by the embodiment of the present application can meet the skill review needs of the platform skill reviewers. The user voice data includes but is not limited to: voice data for detecting corpus conflicts and voice data for detecting voice recognition capabilities. In this case, the tester is the platform reviewer who is responsible for reviewing the voice service before it is released online to the smart speaker voice service platform. The platform reviewer can also use the system to test and review whether the voice service to be launched meets the platform specifications through real machine testing.

[0122] For example, the platform auditor sends some voice content similar to the startup words of other released voice services to the speaker to detect whether the text corpus of the voice service to be launched conflicts with the startup words of other released voice services and whether it will affect the normal startup of other released voice services. For another example, the platform auditor sends some voice content unique to the voice service to be launched to the speaker to detect whether the platform's speech recognition model (ASR) can correctly recognize these voice contents.

[0123] During specific implementation, the server can also be used to use the voice service to be tested and the published voice service corresponding to the smart speaker as the voice service decision objects of the dialogue understanding and voice service decision model; determine the text sequence corresponding to the user voice data through the voice recognition model; and determine the voice service to be tested or the published voice service corresponding to the user voice data according to the text sequence through the decision model.

[0124] Speech recognition is a technology that allows machines to convert speech signals into corresponding text or commands through the process of recognition and understanding. It mainly includes three aspects: feature extraction technology, pattern matching criteria, and model training technology. In the system provided in the embodiment of the present application, the module that implements speech recognition technology is called a speech recognition model. Since the speech recognition model is a relatively mature existing technology, it will not be described here.

[0125] The voice service to be tested can be a newly released voice service or an updated version of an already released voice service. The system supports both real machine testing of new voice services before they are integrated into the scope of officially effective voice services and real machine testing of effective voice services during the update and iteration process.

[0126] In one example, the voice service to be tested is an updated version of a published voice service; accordingly, if the voice service to be tested corresponding to the smart speaker includes an updated version of a published voice service corresponding to the user voice data, the user voice data is processed by the updated version of the voice service to be tested; if the voice service to be tested corresponding to the smart speaker does not include an updated version of a published voice service corresponding to the user voice data, the user voice data is processed by the published voice service. This processing method allows testers to test the functions of the new version and provide voice services to ordinary users through the published version.

[0127] In a specific implementation, the system may further include a user identity information table, as shown in Table 3.

[0128] User ID User ID User 1 Voice Service Developer User 2 Voice service platform reviewer User 3 Voice Service Developer …

[0129] Table 3: User identity information table

[0130] Through the user identity information shown in Table 3, it is possible to determine the real machine test result data of different indicators to be displayed to users with different identities. For example, the time from the test voice to the speaker feedback result can be displayed to developers, and which platform specifications the voice service to be tested violates can be displayed to platform reviewers.

[0131] After the client receives the voice service processing result sent back by the server, the processing result can be displayed in at least one of the following ways: playing the reply voice data determined by the voice service; adjusting the speaker volume according to the speaker volume determined by the voice service; adjusting the working mode of the IoT device controlled by the smart speaker according to the working mode determined by the voice service. In addition, the processing results can also be displayed in other ways, such as lighting effects, etc.

[0132] In this embodiment, the processing flow of the real machine test on the cloud (server) is as follows: Figure 4 As shown, the following steps are included:

[0133] S1. The user audio data that reaches the cloud is processed by ASR to obtain the recognized text results and other audio features.

[0134] S2. According to the user ID / device ID carried in the current request, query and pull the voice service list set by the user / device to be debugged on the real machine. There are two binding strategies for the voice service to be tested on the real machine and the requesting device:

[0135] 1) The developer of the voice service acts as a tester. The tester enables the real-device testing function of the voice service he developed through the voice service construction platform. The voice service to be tested is bound to all speaker devices bound to the tester's account by default.

[0136] 2) The platform reviewer acts as a tester, and all skills to be reviewed are bound to the designated speaker device bound to the tester's account.

[0137] Testers can use the platform page to bind the specified device to the specified skill to be tested, which can be used for self-testing by skill developers and for skill reviewers on the platform.

[0138] S3. Pull the skill list integrated into the current speaker.

[0139] S4: Use the results of S1, S2, and S3 as the input of the dialogue understanding and skill decision module, and output the dialogue understanding results and the hit skills:

[0140] 1) When the real machine test skill list is empty, the current request is no different from a normal request.

[0141] 2) If the real machine test list is not empty, the real machine test list is merged with the normal skill list as the effective skill range for this request, and the dialogue understanding and skill decision are performed within this skill range.

[0142] 3) If the skill to be tested is a skill that has been released and integrated into the speaker, the purpose of the test is to test the effect of the skill function after the update iteration. The dialogue understanding and skill decision module will load the online effective version of the skill and the version to be tested in the current iteration. When a normal request arrives, the online effective version takes effect. When a real machine test request arrives and the skill is included in the test list, the iterative version takes effect.

[0143] S5. According to the skill hit result in S4, route to the corresponding skill execution.

[0144] S6: The skill generates execution results based on a series of contexts and the understanding results produced in S4, and finally returns them to the speaker device on the client.

[0145] Use Figure 4The processing method shown simulates the actual execution link of the voice service to be tested, and the test results may include: 1) the front-end link effect before entering the skill, such as the effect of the audio data obtained during the real speaker reception being affected by the speaker cavity conditions and various reception devices, and the effect of the user's voice being converted into text through ASR; 2) the time it takes for the user to send a command to the speaker and for the speaker to give feedback; 3) the skill execution feedback results, including speaker broadcasts, lighting effects and other effects.

[0146] like Figure 5 As shown, in one example, the system may also include a client, and the developer user of the speaker voice service can set the voice service to be tested bound to his user account or speaker device through the client; accordingly, the server stores the corresponding relationship between the target user identifier, the smart speaker identifier corresponding to the target user, or the target smart speaker identifier, and the voice service to be tested. For example, the developer user binds his user account to the voice service to be tested, so that the voice service to be tested can be tested on a real machine through all smart speakers bound to the user.

[0147] The client includes but is not limited to mobile communication devices, namely, commonly known as mobile phones or smart phones, and also includes terminal devices such as personal computers, PADs, and iPads.

[0148] In addition, the server can also be used to send real-machine test result data to the client, such as the duration from the test voice being emitted to the speaker feedback result; correspondingly, developer users can also view the real-machine test result data through the client.

[0149] In one example, the smart speaker can also be used to test the voice service through a real machine to determine the voice service to be tested; and can be specifically used to play the test voice data of the voice service to be tested; and collect the played test voice data.

[0150] The smart speaker can be loaded with a real machine test voice service, which, like other voice services, is also a skill of the speaker. Users can use the real machine test voice service to manage multiple voice services to be tested that they are authorized to test, such as starting automated real machine testing of voice services to be tested, collecting and storing test voice data of voice services to be tested, managing real machine test cases and their execution methods, etc.

[0151] For example, the user says to the speaker: "Tmall Genie, I want to test the speaker skills." Tmall Genie responds to the command and automatically enters the real machine test voice service, and can display multiple voice services to be tested that the user is authorized to test through the display screen; the user can select the target voice service from multiple voice services to be tested through the speaker with screen, and then give a voice command to the speaker: "Start real machine testing." The speaker can automatically play test voice data for various operations according to the test cases of the service being tested, and at the same time collect the test voice data played by the speaker through the microphone.

[0152] A test case for a voice service may include: test voice data for multiple operations. For example, if the voice service to be tested is "order a song", user instructions may include: 1) song ordering operation, the corresponding test voice may be "I want to listen to Faye Wong's Legend"; 2) singer change operation, the corresponding test voice may be "change the singer"; 3) ranking operation, the corresponding test voice may be "I want to listen to the songs on the ranking", etc.

[0153] During specific implementation, the smart speaker can be specifically used to determine the playback time interval of the test voice of various operations of the voice service to be tested; according to the playback time interval, play the test voice data of various instructions included in the test case of the voice service to be tested.

[0154] During specific implementation, the user can use the speaker to set the playback time interval and playback order of the test voice data for various operations by voice, such as setting "randomly play the test voices for various operations, and play the test voices for each operation at a fixed interval of 30 seconds", or "play the test voices for various operations in the order of the operations in the test case".

[0155] In specific implementation, the response time of various operations can be determined first, and a fixed time length (such as 10 seconds) is added to the response time, and the test voice data of various operations are played at such time intervals; this processing method can avoid playing the test voice of the next command before the previous command has been responded to, thereby failing to perceive the real machine test effect of the previous command; therefore, the test effectiveness can be effectively improved.

[0156] In the system provided in the embodiment of the present application, the smart speaker tests the voice service through a real machine, determines the voice service to be tested, automatically plays the test voice data of the voice service to be tested, and collects the played test voice data to realize automatic testing of recording. This processing method makes it possible to automatically play the test voice, and the test voice can be used repeatedly, and the test user does not need to issue the test voice himself. Therefore, the test efficiency can be effectively improved, and the test accuracy can be improved.

[0157] In one example, the smart speaker can also be used to test the voice service through the real machine, pause testing the voice service to be tested, and record the test voice at the pause time; and continue testing the voice service to be tested through the real machine according to the test voice at the pause time.

[0158] For example, the user says to the speaker: "Tmall Genie, pause the test of this voice service", and Tmall Genie responds to the command, automatically enters the state of waiting to continue the test, and records the test case execution point at the pause time. After receiving the user's continued test voice, it can continue to play the subsequent test voice in the test case from this execution point. This processing method allows the automated real-machine test to be interrupted at any time through the real-machine test voice service, and the real-machine test can be continued later; therefore, the flexibility of automated real-machine testing can be effectively improved, thereby improving the user experience.

[0159] In one example, the smart speaker can also be used to test the voice service through the real machine, collect test voice data of the voice service to be tested, and store the test voice data of the voice service to be tested.

[0160] For example, the user says to the speaker: "Tmall Genie, I'm going to test a certain voice service." Tmall Genie responds to the command, automatically enters the real machine to test the voice service, and can display multiple voice services to be tested that the user is authorized to test through the display screen; the user can select the target voice service from multiple voice services to be tested through the speaker with screen, and then give a voice command to the speaker: "Start collecting test voice." The speaker recognizes the command through voice recognition, semantic understanding and other processing, and responds to the command to turn on the microphone and play the prompt tone "Please start recording." The test voice initiated by the user is collected through the microphone, and the test voice data is stored for subsequent automatic playback.

[0161] During specific implementation, the smart speaker can also determine the automated real-machine test time of the voice service to be tested, generate a test task based on the test time, and execute the test task based on the test time.

[0162] For example, the temperature is very high one day, and the tester predicts that a large number of users will turn on the air conditioner and adjust the air conditioner working mode through the smart speaker from 20:00 to 22:00. So the tester gives a voice command: test the air conditioning control service at 20:30. The smart speaker recognizes the command and generates a corresponding test task. At 20:30, the smart speaker automatically executes the test task.

[0163] In specific implementation, the smart speaker can also be used to execute the test case of the voice service to be tested and start the automated real machine test if the automated test conditions of the voice service to be tested are met. For example, the temperature can be determined by the temperature sensor; if the temperature is greater than the temperature threshold, the test condition is met, the test case of the voice service to be tested is executed, and the automated real machine test is started.

[0164] In specific implementation, the smart speaker can also be used to determine the actual test response information. If the actual test response information is different from the expected test response information, a prompt message indicating that the operation was performed incorrectly is displayed. For example, if the test voice is to turn on the "bedroom light", but the "living room light" is actually turned on, a prompt message indicating that the operation was performed incorrectly is automatically generated. This processing method can automatically determine whether the operation is correct and give an incorrect prompt message; therefore, the user experience can be effectively improved.

[0165] In addition, the smart speaker can also record incorrect operations, and then automatically test the incorrect operations. This processing method can effectively improve the test efficiency.

[0166] In specific implementation, the smart speaker can collect environmental change information through cameras, temperature sensors and other devices, and determine the test response information based on the environmental change information. For example, if the test voice is "adjust the air conditioner to 22 degrees", and the temperature sensor collects that the indoor temperature drops to 22 degrees after the operation is performed, then the actual test response information is 22 degrees, and the expected response information is also 22 degrees, indicating that the operation is correct.

[0167] It can be seen from the above embodiments that the voice service testing system provided in the embodiments of the present application collects user voice data through a smart speaker, sends a voice service request for the user voice data to the server, and displays the voice service processing result sent back by the server; the server determines the user identifier or the smart speaker identifier, and the corresponding relationship set between the voice service to be tested, loads the voice service to be tested and the published voice service; and, according to the user identifier information or the smart speaker identifier information carried in the request, obtains the voice service information to be tested corresponding to the smart speaker; if the voice service to be tested corresponding to the smart speaker includes a voice service corresponding to the user voice data, then the voice service to be tested is processed through the voice service to be tested. Process the user voice data and send the voice service processing result to the smart speaker; this processing method allows the tester to initiate a test request from the speaker end and reuse the processing link of the normal request, that is, use the speaker device to perform real-machine testing on the voice service, simulate the effect of the voice service being actually launched and integrated into the smart voice speaker, and avoid the problem of unrealistic test results caused by the lack of links on the end or part of the cloud in the existing solution. In this way, various problems with the voice service can be quickly discovered and modified; therefore, the test accuracy and test efficiency can be effectively improved, thereby meeting the testing needs of voice service developers and the review needs of voice service reviewers of the smart speaker voice service platform.

[0168] Second embodiment

[0169] Corresponding to the above-mentioned voice service test system, the present application also provides a voice service test method, the execution subject of the method includes but is not limited to a smart speaker. The parts of this embodiment that are the same as those of the first embodiment are not repeated here, please refer to the corresponding parts in the first embodiment.

[0170] In this embodiment, the method includes the following steps:

[0171] Step 1: Collect user voice data; the user voice data includes test voice data for the voice service to be tested;

[0172] Step 2: Sending a voice service request for the user voice data to the server, so that the server determines the voice service to be tested according to the user identification information or smart speaker identification information carried in the request, and processes the test voice data through the voice service to be tested;

[0173] Step 3: Display the voice service processing results sent back by the server.

[0174] In specific implementation, step 3 may adopt at least one of the following methods: 1) playing the reply voice data determined by the voice service; 2) adjusting the speaker volume according to the speaker volume determined by the voice service; 3) adjusting the working mode of the IoT device controlled by the smart speaker according to the working mode determined by the voice service.

[0175] In one example, the method may further include the following steps: determining the voice service to be tested by testing the voice service on a real machine; collecting user voice data may be implemented in the following manner: playing test voice data of the voice service to be tested; and collecting the played test voice data.

[0176] In one example, the playing of the test voice data of the voice service to be tested may include the following sub-steps: determining a playing time interval of various instruction test voices of the voice service to be tested; and playing the test voice data of various instructions of the voice service to be tested according to the playing time interval.

[0177] In one example, the method may further include the following steps: testing the voice service through the real machine, pausing the test of the voice service to be tested; recording the test voice at the pause time; and continuing to test the voice service to be tested through the real machine according to the test voice at the pause time.

[0178] In an example, the method may further include the following steps: testing the voice service on the real machine to collect test voice data of the voice service to be tested; and storing the test voice data of the voice service to be tested.

[0179] In an example, the method may further include the following steps: determining an automated real-machine test time for the voice service to be tested; generating a test task according to the test time; and executing the test task according to the test time.

[0180] In an example, the method may further include the following step: if the automated test condition of the voice service to be tested is met, performing a real machine test on the voice service to be tested.

[0181] In one example, the method may further include the following steps: determining actual test response information; and displaying prompt information indicating an operation execution error if the actual test response information is different from the expected test response information.

[0182] In one example, the method may further include the following steps: recording the erroneous operation; and automatically testing the erroneous operation.

[0183] Third embodiment

[0184] In the above embodiment, a voice service test method is provided, and correspondingly, the present application also provides a voice service test device, which corresponds to the embodiment of the above method.

[0185] The parts of this embodiment that are the same as those of the first embodiment are not described in detail. Please refer to the corresponding parts in the first embodiment. A voice service test device provided by the present application includes:

[0186] A voice collection unit, used to collect user voice data; the user voice data includes test voice data for the voice service to be tested;

[0187] A request sending unit, configured to send a voice service request for the user voice data to a server, so that the server determines the voice service to be tested according to the user identification information or smart speaker identification information carried in the request, and processes the test voice data through the voice service to be tested;

[0188] The result display unit is used to display the voice service processing results sent back by the server.

[0189] Fourth embodiment

[0190] The present application also provides a smart speaker. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described below is only illustrative.

[0191] A smart speaker in this embodiment includes: a processor and a memory; the memory is used to store a program for implementing a voice service testing method. After the device is powered on and the program of the method is run by the processor, the following steps are performed: collecting user voice data; the user voice data includes test voice data for a voice service to be tested; sending a voice service request for the user voice data to a server, so that the server determines the voice service to be tested according to the user identification information or smart speaker identification information carried in the request, and processes the test voice data through the voice service to be tested; and displaying the voice service processing result sent back by the server.

[0192] Fifth embodiment

[0193] Corresponding to the above-mentioned voice service test system, the present application also provides a voice service test method, the execution subject of the method includes but is not limited to the server, and can also be any device that can implement the method. The parts of this embodiment that are the same as the first embodiment are not repeated here, please refer to the corresponding parts in the first embodiment.

[0194] In this embodiment, the method includes the following steps:

[0195] Step 1: Determine the corresponding relationship set between the user ID or smart speaker ID and the voice service to be tested, and load the voice service to be tested and the published voice service;

[0196] Step 2: According to the user identification information or smart speaker identification information carried in the voice service request for user voice data sent by the smart speaker, the voice service information to be tested corresponding to the smart speaker is obtained;

[0197] Step 3: If the voice service to be tested corresponding to the smart speaker includes a voice service corresponding to the user voice data, the user voice data is processed by the voice service to be tested, and the voice service processing result is sent to the smart speaker, so that the smart speaker displays the voice service processing result.

[0198] In one example, the method may also include the following steps: receiving a binding request for a voice service to be tested for a target user or a target smart speaker sent by a client; storing the correspondence between the target user identifier, the smart speaker identifier corresponding to the target user, or the target smart speaker identifier, and the voice service to be tested.

[0199] In one example, the voice service to be tested includes: an updated version of a published voice service; if the voice service to be tested corresponding to the smart speaker includes an updated version of the published voice service corresponding to the user voice data, the user voice data is processed by the updated version of the voice service to be tested; if the voice service to be tested corresponding to the smart speaker does not include an updated version of the published voice service corresponding to the user voice data, the user voice data is processed by the published voice service.

[0200] In one example, the method may also include the following steps: using the voice service to be tested and the published voice service corresponding to the smart speaker as the voice service decision objects of the dialogue understanding and voice service decision model; determining the text sequence corresponding to the user voice data through the speech recognition model; and determining the voice service to be tested or the published voice service corresponding to the user voice data according to the text sequence through the decision model.

[0201] In one example, the user includes: a voice service developer user; the user voice data includes: voice data used to detect the effectiveness of a service function.

[0202] In one example, the user includes: a user who is subject to online review of a voice service of a smart speaker service platform; the user voice data includes: voice data for detecting corpus conflicts and voice data for detecting voice recognition capabilities.

[0203] In an example, the method may further include the following step: sending real machine test result data to the client.

[0204] Sixth embodiment

[0205] In the above embodiment, a voice service test method is provided, and correspondingly, the present application also provides a voice service test device, which corresponds to the embodiment of the above method.

[0206] The parts of this embodiment that are the same as those of the first embodiment are not described in detail. Please refer to the corresponding parts in the first embodiment. A voice service test device provided by the present application includes:

[0207] A voice collection unit, used to collect user voice data; the user voice data includes test voice data for the voice service to be tested;

[0208] A request sending unit, configured to send a voice service request for the user voice data to a server, so that the server determines the voice service to be tested according to the user identification information or smart speaker identification information carried in the request, and processes the test voice data through the voice service to be tested;

[0209] The result display unit is used to display the voice service processing results sent back by the server.

[0210] Seventh embodiment

[0211] The present application also provides an electronic device embodiment. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described below is only illustrative.

[0212] An electronic device of this embodiment includes: a processor and a memory; the memory is used to store a program for implementing a voice service testing method. After the device is powered on and the program of the method is run by the processor, the following steps are performed: collecting user voice data; the user voice data includes test voice data for a voice service to be tested; sending a voice service request for the user voice data to a server, so that the server determines the voice service to be tested according to the user identification information or smart speaker identification information carried in the request, and processes the test voice data through the voice service to be tested; and displaying the voice service processing result sent back by the server.

[0213] Eighth embodiment

[0214] Corresponding to the above-mentioned voice service test system, the present application also provides a voice service test method, the execution subject of the method includes but is not limited to the client. The parts of this embodiment that are the same as those of the first embodiment are not repeated here, please refer to the corresponding parts in the first embodiment.

[0215] The voice service testing method provided in the present application may include the following steps: sending a binding request for the voice service to be tested for the target user or the target smart speaker to the server, so that the server can store the target user identifier, the smart speaker identifier corresponding to the target user, or the target smart speaker identifier, and the correspondence between the voice service to be tested.

[0216] In an example, the method may further include the following step: receiving real machine test result data of the voice service to be tested sent by the service end.

[0217] The real machine test result data includes, but is not limited to: the time from when the test voice is emitted to when the speaker feeds back the result.

[0218] Ninth embodiment

[0219] In the above embodiment, a voice service test method is provided, and correspondingly, the present application also provides a voice service test device. The device corresponds to the embodiment of the above method. The parts of this embodiment that are the same as the first embodiment are not repeated here, please refer to the corresponding parts in the first embodiment.

[0220] A voice service testing device provided by the present application includes:

[0221] A request sending unit is used to send a binding request for the voice service to be tested for the target user or the target smart speaker to the server, so that the server can store the target user identifier, the smart speaker identifier corresponding to the target user, or the target smart speaker identifier, and the corresponding relationship between the voice service to be tested.

[0222] Tenth embodiment

[0223] The present application also provides an electronic device. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described below is only illustrative.

[0224] An electronic device of this embodiment includes: a processor and a memory; the memory is used to store a program for implementing a voice service testing method. After the device is powered on and the program of the method is run by the processor, the following steps are performed: a binding request for the voice service to be tested for a target user or a target smart speaker is sent to a server, so that the server can store the target user identifier, the smart speaker identifier corresponding to the target user, or the target smart speaker identifier, and the corresponding relationship between the voice service to be tested.

[0225] Eleventh Embodiment

[0226] Corresponding to the above-mentioned voice service test system, the present application also provides a voice service test case generation method, the execution subject of the method includes but is not limited to a smart speaker. The parts of this embodiment that are the same as those of the first embodiment are not repeated here, please refer to the corresponding parts in the first embodiment.

[0227] In this embodiment, the method includes the following steps:

[0228] Step 1: Collect test voice data of various operations of the voice service to be tested;

[0229] Step 2: Determine the playback time interval and playback order of various operation test voices;

[0230] Step 3: Generate a test case for the voice service to be tested according to the time interval and the play order.

[0231] For example, the user says to the speaker: "Tmall Genie, I want to prepare a test case for a certain voice service." Tmall Genie responds to the command and automatically enters the real machine test voice service, and can display multiple voice services to be tested that the user has the right to test through the display screen; the user can select the target voice service from multiple voice services to be tested through the speaker with screen, and then issue a voice command to the speaker: "Start collecting test voice." The speaker recognizes the command through voice recognition, semantic understanding and other processing, and responds to the command to turn on the microphone and play the prompt tone "Please start recording." The test voice initiated by the user is collected through the microphone and the test voice data is stored. Then, the user can issue a voice command to the speaker: "The voice playback time of various operations is fixed at an interval of 30 seconds, and the test voice of various operations is played randomly." The speaker recognizes the command through voice recognition, semantic understanding and other processing, and responds to the command. According to the time interval and playback order, it automatically generates a test case for the voice service to be tested, and stores the test case for use in real machine testing.

[0232] For another example, the user says to the speaker: "Tmall Genie, I want to prepare a test case for a certain voice service." Tmall Genie responds to the command and automatically enters the real machine test voice service, and can display multiple voice services to be tested that the user has the right to test through the display screen; the user can select the target voice service from multiple voice services to be tested through the speaker with screen, and then issue a voice command to the speaker: "Start collecting test voice." The speaker recognizes the command through voice recognition, semantic understanding and other processing, and responds to the command to turn on the microphone, and plays the prompt tone "Please start recording", collects the test voice initiated by the user through the microphone, and stores the test voice data. Then, the user can issue a voice command to the speaker: "The voice playback time of various operations is based on its response time plus 10 seconds, and the test voice of various operations is played in the order of voice collection." The speaker recognizes the command through voice recognition, semantic understanding and other processing, and responds to the command. According to the time interval and playback order, it automatically generates a test case for the voice service to be tested, and stores the test case for use in real machine testing.

[0233] It can be seen from the above embodiments that the voice service test case generation method provided in the embodiments of the present application collects test voice data of various operations of the voice service to be tested; determines the playback time interval and playback order of various operation test voices; and generates test cases for the voice service to be tested based on the time interval and playback order; this processing method makes it possible to generate test cases through a smart speaker; therefore, the efficiency of test case generation can be effectively improved.

[0234] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.

[0235] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0236] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0237] 1. Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include non-transitory media such as modulated data signals and carrier waves.

[0238] 2. Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

Claims

1. A voice service testing system, characterized in that: include: The smart speaker is used to collect user voice data and send a voice service request for the user voice data to the server; And, display the voice service processing results sent back by the server; The server is used to determine the corresponding relationship set between the user identification or smart speaker identification and the voice service to be tested, load the voice service to be tested and the published voice service; and, according to the user identification information or smart speaker identification information carried in the request, obtain the voice service information to be tested corresponding to the smart speaker; if the voice service to be tested corresponding to the smart speaker includes a voice service corresponding to the user voice data, the user voice data is processed by the voice service to be tested, and the voice service processing result is sent to the smart speaker.

2. A voice service testing method, characterized in that: include: Determine the corresponding relationship set between the user ID or smart speaker ID and the voice service to be tested, and load the voice service to be tested and the published voice service; Acquire the voice service information to be tested corresponding to the smart speaker according to the user identification information or the smart speaker identification information carried in the voice service request for the user voice data sent by the smart speaker; If the voice service to be tested corresponding to the smart speaker includes a voice service corresponding to the user voice data, the user voice data is processed by the voice service to be tested, and the voice service processing result is sent to the smart speaker, so that the smart speaker displays the voice service processing result.

3. The method according to claim 2, characterized in that Also includes: Receive a voice service binding request to be tested for a target user or a target smart speaker sent by a client; Store the target user ID, the smart speaker ID corresponding to the target user, or the target smart speaker ID and the corresponding relationship between the voice service to be tested.

4. The method according to claim 2, characterized in that: The voice service to be tested includes: an updated version of a released voice service; If the voice service to be tested corresponding to the smart speaker includes an updated version of the published voice service corresponding to the user voice data, processing the user voice data through the updated version of the voice service to be tested; If the voice service to be tested corresponding to the smart speaker does not include an updated version of the published voice service corresponding to the user voice data, the user voice data is processed through the published voice service.

5. The method according to claim 2, characterized in that: Also includes: Using the voice service to be tested and the published voice service corresponding to the smart speaker as voice service decision objects of the dialogue understanding and voice service decision model; Determining a text sequence corresponding to the user voice data through a speech recognition model; The decision model is used to determine the voice service to be tested or the published voice service corresponding to the user voice data according to the text sequence.

6. The method according to claim 2, characterized in that The users include: voice service developer users; The user voice data includes: voice data used to detect the effectiveness of service functions.

7. The method according to claim 2, characterized in that The users include: voice service online review users of the smart speaker service platform; The user voice data includes: voice data for detecting corpus conflicts and voice data for detecting voice recognition capabilities.

8. The method according to claim 2, characterized in that: Also includes: Send real device test result data to the client.

9. A voice service testing method, characterized in that: include: The smart speaker collects user voice data; the user voice data includes test voice data for the voice service to be tested; Sending a voice service request for the user voice data to the server, so that the server determines the voice service to be tested according to the user identification information or smart speaker identification information carried in the request, and processes the test voice data through the voice service to be tested; Displays the voice service processing results sent back by the server.

10. The method according to claim 9, characterized in that The voice service processing result sent back by the presentation server includes at least one of the following methods: Playing the reply voice data determined by the voice service; adjusting the speaker volume based on the speaker volume determined by the voice service; According to the working mode of the IoT device controlled by the smart speaker determined through the voice service, the working mode of the IoT device is adjusted.

11. The method according to claim 9, characterized in that Also includes: Testing the voice service on a real device to determine the voice service to be tested; The collecting of user voice data comprises: Playing the test voice data of the voice service to be tested; Collect and play test voice data.

12. The method according to claim 11, characterized in that The playing of the test voice data of the voice service to be tested includes: Determining a playing time interval of the test voices of various operations of the voice service to be tested; According to the playing time interval, the test voice data of various operations of the voice service to be tested are played.

13. The method according to claim 11, characterized in that Also includes: Testing the voice service through the real device and suspending the testing of the voice service to be tested; Record the test speech during the pause; The voice service to be tested is tested by the real machine, and according to the test voice at the pause time, the voice service to be tested is continued to be tested.

14. The method according to claim 11, characterized in that Also includes: Testing the voice service on the real device to collect test voice data of the voice service to be tested; The test voice data of the voice service to be tested is stored.

15. The method according to claim 9, characterized in that Also includes: Determine the time for automated real-device testing of the voice service to be tested; Generate test tasks according to test time; According to the test time, the test task is executed.

16. The method according to claim 9, characterized in that Also includes: If the automated test conditions of the voice service to be tested are met, a real device test is performed on the voice service to be tested.

17. The method according to claim 9, characterized in that Also includes: determining actual test response information; If the actual test response information is different from the expected test response information, a prompt message indicating an operation execution error is displayed.

18. The method according to claim 17, characterized in that Also includes: Recording erroneous operations; Automatic testing for erroneous operation.

19. A voice service testing method, characterized in that: include: The client sends a binding request for the voice service to be tested for the target user or the target smart speaker to the server, so that the server can store the corresponding relationship between the target user identifier, the smart speaker identifier corresponding to the target user, or the target smart speaker identifier, and the voice service to be tested; The server determines a set of correspondences between a user identifier or a smart speaker identifier and a voice service to be tested, loads the voice service to be tested and the published voice service; obtains the voice service information to be tested corresponding to the smart speaker according to the user identifier information or the smart speaker identifier information carried in the voice service request for user voice data sent by the smart speaker; if the voice service to be tested corresponding to the smart speaker includes a voice service corresponding to the user voice data, the user voice data is processed by the voice service to be tested, and the voice service processing result is sent to the smart speaker, so that the smart speaker displays the voice service processing result.

20. The method according to claim 19, characterized in that Also includes: Receive the real machine test result data of the voice service to be tested sent by the server.

21. The method according to claim 20, characterized in that The real machine test result data includes: the time from the test voice being emitted to the speaker feedback result.

22. A voice service testing device, characterized in that: include: The voice service to be tested binding and loading unit is used to determine the corresponding relationship set between the user identifier or smart speaker identifier and the voice service to be tested, and load the voice service to be tested and the published voice service; A voice service to be tested determining unit, configured to obtain the voice service to be tested information corresponding to the smart speaker according to the user identification information or the smart speaker identification information carried in the voice service request for the user voice data sent by the smart speaker; The voice service execution unit to be tested is used to process the user voice data through the voice service to be tested if the voice service to be tested corresponding to the smart speaker includes a voice service corresponding to the user voice data, and send the voice service processing result to the smart speaker, so that the smart speaker displays the voice service processing result.

23. An electronic device, characterized in that: include: processor; as well as A memory is used to store a program for implementing a voice service testing method. After the device is powered on and the program of the method is run through the processor, the following steps are performed: determining a set of correspondences between a user identifier or a smart speaker identifier and a voice service to be tested, and loading the voice service to be tested and the published voice service; obtaining the voice service information to be tested corresponding to the smart speaker according to the user identifier information or the smart speaker identifier information carried in the voice service request for user voice data sent by the smart speaker; if the voice service to be tested corresponding to the smart speaker includes a voice service corresponding to the user voice data, processing the user voice data through the voice service to be tested, and sending the voice service processing result to the smart speaker, so that the smart speaker displays the voice service processing result.

24. A voice service testing device, characterized in that: include: Voice collection unit, used for smart speakers to collect user voice data; The user voice data includes test voice data for the voice service to be tested; A request sending unit, configured to send a voice service request for the user voice data to a server, so that the server determines the voice service to be tested according to the user identification information or smart speaker identification information carried in the request, and processes the test voice data through the voice service to be tested; The result display unit is used to display the voice service processing results sent back by the server.

25. A smart speaker, characterized in that: include: processor; as well as A memory is used to store a program for implementing a voice service test method. After the smart speaker is powered on and runs the program of the method through the processor, the following steps are performed: collecting user voice data; the user voice data includes test voice data for a voice service to be tested; sending a voice service request for the user voice data to a server, so that the server determines the voice service to be tested according to the user identification information or smart speaker identification information carried in the request, and processes the test voice data through the voice service to be tested; Displays the voice service processing results sent back by the server.

26. A voice service testing device based on the method of claim 19, characterized in that: include: A request sending unit is used for the client to send a binding request for the voice service to be tested for the target user or the target smart speaker to the server, so that the server can store the target user identifier, the smart speaker identifier corresponding to the target user, or the target smart speaker identifier, and the correspondence between the voice service to be tested.

27. An electronic device based on the method according to claim 19, characterized in that: include: processor; as well as A memory is used to store a program for implementing a voice service testing method. After the device is powered on and runs the program of the method through the processor, the following steps are performed: the client sends a binding request for the voice service to be tested for a target user or a target smart speaker to the server, so that the server can store the target user identifier, the smart speaker identifier corresponding to the target user, or the target smart speaker identifier, and the corresponding relationship between the voice service to be tested.