Smart home voice interaction test method and device for special scene recognition

By identifying and classifying target objects and locations in complex home environments, constructing graph network models and using graph neural networks, we solve the problem of insufficient voice interaction testing in existing technologies in specialized scenarios and achieve more efficient test adaptability and Improved user experience.

CN118658459AInactive Publication Date: 2024-09-17TIANJIN UNIV +1

Patent Information

Application Number
CN202411130146.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-09-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing voice interaction testing methods are difficult to achieve stable and accurate testing results in complex home spaces and diverse device types. Especially in specialized scenarios, the adaptability of test scripts and test cases is insufficient.

Method used

By identifying target objects and locations in specialized scenes, a graph network structure description model is constructed, and graph neural network algorithms are used for feature recognition and scene classification, and matching testing methods are provided to improve the performance and user experience of the voice interaction system.

Benefits of technology

It improves the adaptability and accuracy of test scripts and test cases in complex home environments, and improves the overall performance and user experience of the smart home voice interaction system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658459A
    Figure CN118658459A
Patent Text Reader

Abstract

The invention provides a smart home voice interaction test method and device for special scene recognition. According to the method, a graph network structure description model is constructed by recognizing a target object and a position in a special dissimilation scene, and feature recognition and scene classification are performed by using a graph neural network algorithm. The invention aims to solve the limitation of the voice interaction test in the special scene in the prior art, improve the adaptability and accuracy of the test script and the test case in the complex home environment, and can provide a matched test method for different special scenes, thereby improving the overall performance and user experience of a smart home voice interaction system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of voice testing technology related to smart homes, and in particular to a smart home voice interaction testing method and device for specialized scene recognition. Background Art

[0002] With the development of smart home technology, voice interaction has become an important way for users to communicate with smart home devices. Existing voice interaction test methods perform well in general scenarios, but in specialized scenarios, such as complex home space distribution and diverse device types, test scripts and test cases are difficult to achieve stable and accurate results. These specialized scenarios include but are not limited to multi-room environments, open and closed spaces, personalized space layouts, etc. The diversity and complexity of these scenarios bring challenges to voice interaction testing. Summary of the invention

[0003] The present invention provides a smart home voice interaction test method and device for specialized scene recognition. The present invention aims to solve the limitations of the prior art in voice interaction testing in specialized scenes, and to improve the adaptability and accuracy of test scripts and test cases in complex home environments. By identifying the target objects and locations in specialized scenes, constructing a graph network structure description model, and using a graph neural network algorithm for feature recognition and scene classification, the present invention can provide matching test methods for different specialized scenes, thereby improving the overall performance and user experience of the smart home voice interaction system.

[0004] The present invention is achieved through the following technical solutions:

[0005] A smart home voice interaction testing method for specialized scene recognition, characterized by comprising the following steps:

[0006] Step S1, identifying the target object in the specialized scene and its type and location information;

[0007] Step S2, constructing a graph network structure description model with the target object as the node, the target type as the node attribute, and the target position relationship as the edge;

[0008] Step S3, using a graph neural network to perform feature recognition on the graph network structure description model to determine the scene type of the specialized scene;

[0009] Step S4, using smart home interaction test scripts and test cases adapted to the specialized scenario type to perform voice interaction testing.

[0010] Preferably, in step S1, image data of the smart home space is collected by a camera or other types of sensors, and target objects are identified from the image data to determine the type and spatial location information of each target object.

[0011] Preferably, in step S2, each identified target object is regarded as a node; and the node attributes are determined according to the type of the target object; based on the spatial position information of the target object, the spatial position relationship between the target objects is determined as the edge between the nodes; and a graph network structure description model including nodes, node attributes and edges is constructed.

[0012] Preferably, the spatial position relationship between the target objects includes at least one of the following position relationships: adjacent, relative, and located in the same spatial area; and the weight of the edge between the nodes is determined based on the spatial position relationship and spatial distance between the target objects.

[0013] Preferably, in step S3, a graph neural network is used to perform feature extraction on the graph network structure description model, and a high-dimensional feature representation of each node in the graph network structure description model is obtained based on the node attributes and edge weights of the node and its neighboring nodes, and then each node is classified.

[0014] Preferably, in step S3, a spatial region related to the voice interaction test is determined based on a test object and a test target for the voice interaction test of the smart home, and a scene type of the specialized scene is determined based on node classification within the relevant spatial region.

[0015] Preferably, in step S4, the test script includes configurable test parameters, and the test parameters are adaptively adjusted according to the scenario type of the specialized scenario.

[0016] Preferably, in step S4, in the test case library of the voice interaction test, for each test case, an adaptability value reflecting the degree of adaptation to various spatial layouts is attached, and according to the scene type of the specialized scene, its conformity with various spatial layouts is determined, and a test case adapted to the scene type is selected based on the conformity and the adaptability value.

[0017] Preferably, in step S4, response data of the smart home for the voice interaction test is collected, and according to the scene type of the specialized scene, performance evaluation indicators of the scene adaptation are determined, and the performance of the smart home in the specialized scene is analyzed according to the performance evaluation indicators.

[0018] The present invention also provides a smart home voice interaction test device for specialized scene recognition, which is characterized by comprising:

[0019] A scene acquisition and recognition module is used to collect image data of the smart home space through a camera or other types of sensors, and identify target objects in a specific scene and their types and location information from the image data;

[0020] Description model building module, used to build a graph network structure description model with target objects as nodes, target types as node attributes, and target position relationships as edges;

[0021] A scene type classification module, used to perform feature recognition on the graph network structure description model using a graph neural network to determine the scene type of the specialized scene;

[0022] The interactive test adaptation module is used to perform voice interaction testing using smart home interactive test scripts and test cases adapted to the specialized scenario types.

[0023] Compared with the prior art, the present invention has the following advantages and beneficial effects: the present invention improves the adaptability and accuracy of test scripts and test cases in complex home environments, and can provide matching test methods for different specialized scenarios, thereby improving the overall performance and user experience of the smart home voice interaction system. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without creative work. In the drawings:

[0025] Figure 1 This is a flow chart of a smart home voice interaction testing method for specific scene recognition according to an embodiment of the present application;

[0026] Figure 2 This is a structural framework diagram of a smart home voice interaction testing device for specialized scene recognition according to an embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.

[0028] like Figure 1 As shown, the embodiment of the present application provides a smart home voice interaction testing method for specialized scene recognition, which is characterized by comprising the following steps:

[0029] Step S1, identifying the target object in the specialized scene and its type and location information;

[0030] Step S2, constructing a graph network structure description model with the target object as the node, the target type as the node attribute, and the target position relationship as the edge;

[0031] Step S3, using a graph neural network to perform feature recognition on the graph network structure description model to determine the scene type of the specialized scene;

[0032] Step S4, using smart home interaction test scripts and test cases adapted to the specialized scenario type to perform voice interaction testing.

[0033] Among them, in step S1, the image data of the smart home space is collected by a camera or other types of sensors, and the target objects therein are identified from the image data, and the type and spatial position information of each target object are determined. In this step, the image data is processed using a deep learning algorithm, such as a convolutional neural network (CNN), to identify the target objects such as furniture and walls in the image. This process involves feature extraction, that is, extracting key information that can represent the target object from the original image. For example, for furniture, its shape, size and other features may be of concern. Then, a classifier is used to recognize the type of the target object, and the spatial position information of each target object in the spatial coordinate system is obtained based on the mapping relationship between the image coordinates and the spatial coordinates.

[0034] In step S2, each identified target object is taken as a node; and the node attribute is determined according to the type of the target object; according to the spatial position information of the target object, the spatial position relationship between the target objects is determined as the edge between the nodes; a graph network structure description model including nodes, node attributes and edges is constructed, which is expressed as ;in, Represents the complete set of nodes consisting of each target object, where Indicates the nodes corresponding to each target object; Representation Node The corresponding node attributes; is a dimensional one-hot array, if the node corresponding to the target object The node attribute belongs to Class attributes, the array Elements The value is 1, otherwise the array The other elements of are set to 0. The value of is the number of attribute types of all node attributes; A set of types that represent the spatial position relationship between the nodes corresponding to two target objects; a triple set Indicates the node corresponding to the target object and There is a specific type of spatial relationship between ,but is the union of the above triple sets.

[0035] Here, the spatial position relationship between the target objects includes at least one of the following position relationships: adjacent, relative, and located in the same spatial area; and the weight of the edge between the nodes is determined according to the spatial position relationship and the spatial distance between the target objects.

[0036] Among them, in step S3, the graph neural network is used to extract features from the graph network structure description model, and the high-dimensional feature representation of each node in the graph network structure description model is obtained according to the node attributes and edge weights of the node and its neighboring nodes, and then each node is classified. Graph neural network is a deep learning algorithm that is specifically used to process graph structure data and can effectively capture the complex relationships and interactions between nodes. Furthermore, in step S3, according to the test object and test target of the voice interaction test on the smart home, the relevant spatial area with the voice interaction test is determined, and according to the node classification in the relevant spatial area, the scene type of the specialized scene is determined.

[0037] Among them, in step S4, the test script includes configurable test parameters, and the test parameters are adaptively adjusted according to the scene type of the specialized scene. Specifically, in the test case library of the voice interaction test, for each test case, an adaptability value reflecting its degree of adaptation to various spatial layouts is attached, and according to the scene type of the specialized scene, its conformity with various spatial layouts is determined, and the test case adapted to the scene type is selected according to the conformity and adaptability value.

[0038] Furthermore, in step S4, response data of the smart home for the voice interaction test is collected, and according to the scene type of the specialized scene, a performance evaluation index of the scene adaptation is determined, and the performance of the smart home in the specialized scene is analyzed according to the performance evaluation index.

[0039] See also Figure 2 The present invention also provides a smart home voice interaction test device for specialized scene recognition, which is characterized by comprising:

[0040] A scene acquisition and recognition module is used to collect image data of the smart home space through a camera or other types of sensors, and identify target objects in a specific scene and their types and location information from the image data;

[0041] Description model building module, used to build a graph network structure description model with target objects as nodes, target types as node attributes, and target position relationships as edges;

[0042] A scene type classification module, used to perform feature recognition on the graph network structure description model using a graph neural network to determine the scene type of the specialized scene;

[0043] The interactive test adaptation module is used to perform voice interaction testing using smart home interactive test scripts and test cases adapted to the specialized scenario types.

[0044] In summary, compared with the prior art, the present invention has the following advantages and beneficial effects: the present invention improves the adaptability and accuracy of test scripts and test cases in complex home environments, and can provide matching test methods for different specialized scenarios, thereby improving the overall performance and user experience of the smart home voice interaction system.

[0045] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A smart home voice interaction testing method for specialized scene recognition, characterized in that: The following steps are involved: Step S1, identifying the target object in the specialized scene and its type and location information; Step S2, constructing a graph network structure description model with the target object as the node, the target type as the node attribute, and the target position relationship as the edge; Step S3, using a graph neural network to perform feature recognition on the graph network structure description model to determine the scene type of the specialized scene; Step S4, using smart home interaction test scripts and test cases adapted to the specialized scenario type to perform voice interaction testing.

2. The smart home voice interaction testing method for specialized scene recognition according to claim 1 is characterized in that: In step S1, image data of the smart home space is collected through a camera or other types of sensors, and target objects are identified from the image data to determine the type and spatial location information of each target object.

3. The smart home voice interaction testing method for specialized scene recognition according to claim 2 is characterized in that: In step S2, each identified target object is regarded as a node; and the node attributes are determined according to the type of the target object; based on the spatial position information of the target object, the spatial position relationship between the target objects is determined as the edge between the nodes; and a graph network structure description model including nodes, node attributes and edges is constructed.

4. The smart home voice interaction testing method for specialized scene recognition according to claim 3 is characterized in that: The spatial position relationship between the target objects includes at least one of the following position relationships: adjacent, relative, and located in the same spatial area; and the weight of the edge between the nodes is determined according to the spatial position relationship and the spatial distance between the target objects.

5. The smart home voice interaction testing method for specialized scene recognition according to claim 4 is characterized in that: In step S3, a graph neural network is used to extract features from the graph network structure description model, and a high-dimensional feature representation of each node in the graph network structure description model is obtained based on the node attributes and edge weights of the node and its neighboring nodes, and each node is then classified.

6. The smart home voice interaction testing method for specialized scene recognition according to claim 5 is characterized in that: In step S3, according to the test object and test target of the voice interaction test on the smart home, the spatial area related to the voice interaction test is determined, and according to the node classification in the relevant spatial area, the scene type of the specialized scene is determined.

7. The smart home voice interaction testing method for specialized scene recognition according to claim 1 is characterized in that: In step S4, the test script includes configurable test parameters, and the test parameters are adaptively adjusted according to the scenario type of the specialized scenario.

8. The smart home voice interaction testing method for specialized scene recognition according to claim 1 is characterized in that: In step S4, in the test case library of the voice interaction test, for each test case, an adaptability value reflecting the degree of adaptation to various spatial layouts is attached, and according to the scene type of the specialized scene, its conformity with various spatial layouts is determined, and the test case adapted to the scene type is selected according to the conformity and adaptability value.

9. The smart home voice interaction testing method for specialized scene recognition according to claim 1 is characterized in that: In step S4, the response data of the smart home for the voice interaction test is collected, and according to the scene type of the specialized scene, the performance evaluation index of the scene adaptation is determined, and the performance of the smart home in the specialized scene is analyzed according to the performance evaluation index.

10. A smart home voice interaction test device for specialized scene recognition, characterized in that: include: A scene acquisition and recognition module is used to collect image data of the smart home space through a camera or other types of sensors, and identify target objects in the specific scene and their types and location information from the image data; Description model building module, used to build a graph network structure description model with target objects as nodes, target types as node attributes, and target position relationships as edges; A scene type classification module, used to perform feature recognition on the graph network structure description model using a graph neural network to determine the scene type of the specialized scene; The interactive test adaptation module is used to perform voice interaction testing using smart home interactive test scripts and test cases adapted to the specialized scenario types.

Citation Information

Patent Citations

  • Method, device and equipment for identifying enterprise needing financing, and method, device and equipment for training model

    CN114757784A

  • Directed symbol network representation learning method and process with link prediction and node sorting functions

    CN115578211A

  • GNN double-source learning-based big data access control entity relationship prediction method

    CN115712755A

  • Test method and device of voice interaction equipment, electronic equipment and storage medium

    CN116504224A

  • Knowledge graph induction link prediction method and prediction system

    CN117332093A

Cited By

  • Smart home voice interaction test method and device

    CN120220649A