Voice interaction method containing vague demonstrative pronoun, related apparatus, and communication system

By determining the user's direction of attention and identifying points of interest POI, the recognition problem of voice interaction of fuzzy pronouns is solved, the intelligent device can accurately respond to the fuzzy pronouns, and the user experience is improved.

WO2024217310A1PCT designated stage expired Publication Date: 2024-10-24HUAWEI TECH CO LTD

Patent Information

Application Number
PCT/CN2024/086988
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-18
Filing Date
2024-04-10
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Existing voice interaction technology cannot effectively handle voice commands containing vague referents, resulting in the inability of smart devices to accurately identify and respond to user intentions.

Method used

By collecting voice instructions, the user's direction of attention is determined, and the point of interest POI is determined based on wireless signals or camera images, and corresponding services are provided to achieve voice interaction with fuzzy pronouns.

Benefits of technology

It improves the user's voice interaction experience, makes voice interaction simpler and more natural, and can accurately recognize and respond to voice commands containing vague referents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024086988_24102024_PF_FP_ABST
    Figure CN2024086988_24102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a voice interaction method containing a vague demonstrative pronoun, a related apparatus, and a communication system. When a user inputs a voice instruction containing a vague demonstrative pronoun, an electronic device can analyze a specific object to which the vague demonstrative pronoun refers, and provide a service for the user in response to the voice instruction. In this way, accurate voice interaction containing a vague demonstrative pronoun can be implemented, improving the voice interaction experience of a user, and voice interaction can be made simpler and more natural.
Need to check novelty before this filing date? Find Prior Art

Description

Voice interaction method, related device and communication system including fuzzy pronouns

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 18, 2023, with application number 202310456124.X and application name “Voice interaction method, related device and communication system containing ambiguous pronouns”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to fields such as voice interaction, wireless communication, machine vision, vehicles, smart homes, and in particular to a voice interaction method, related devices, and communication systems containing ambiguous pronouns. Background Art

[0003] Voice interaction has become a standard feature of smart devices, playing a vital role in areas such as smart cockpits and smart homes. Voice interaction allows smart devices to record user voice requests, understand and process them using natural language, and provide responses, enhancing the user experience.

[0004] Voice interaction primarily utilizes keywords with clear referents in speech. For example, in sentences like "Open the Maps app," "Open the Camera app," and "Navigate to the Huawei Building," the Maps app, Camera app, and Huawei Building are clearly defined terms that smart devices can recognize and respond to. However, ambiguous terms like "this" and "that" are not recognized. For example, if a user enters the voice commands "What is the name of this building?" or "Turn off this speaker," the smart device will be unable to respond correctly because it cannot recognize ambiguous terms.

[0005] Summary of the Invention

[0006] This application provides a voice interaction method, related device and communication system containing ambiguous pronouns.

[0007] In a first aspect, a method for voice interaction involving ambiguous pronouns is provided, for use in a vehicle. The method may include: collecting a voice command containing an ambiguous pronoun; determining a focus direction of a user inputting the voice command; determining one or more points of interest (POIs), the one or more POIs being located in the user's focus direction, the one or more POIs including a first POI; and responding to the voice command based on the first POI.

[0008] Implementing the method of the first aspect, when a user inputs a voice command containing an ambiguous pronoun, the vehicle can analyze the specific object (including a person, object, etc.) referred to by the ambiguous pronoun and respond to the voice command to provide services to the user. This allows the vehicle to accurately complete voice interaction involving ambiguous pronouns, improving the user's voice interaction experience and making the voice interaction solution simpler and more natural.

[0009] In conjunction with the first aspect, in some embodiments, the vehicle can determine the direction of a gesture based on wireless signals. Specifically, determining the direction of attention of a user inputting a voice command includes: extracting wireless signals received before the voice command is collected; and determining the direction of the gesture of the user inputting the voice command based on the received wireless signals.

[0010] In combination with the previous embodiment, the gesture direction of the user who inputs the voice command is determined based on the received wireless signal, specifically including: obtaining the position of the user who inputs the voice command in the vehicle; calculating the first distance between the user and the first radar in the vehicle; calculating the valid target subset of each frame of the received multiple frames of wireless signal based on the first distance; and fitting the gesture direction of the user who inputs the voice command based on the valid target subset of the multiple frames of wireless signal.

[0011] In conjunction with the first aspect, in some embodiments, the vehicle may determine the direction of a gesture based on an image captured by a camera. Specifically, determining the direction of attention of a user inputting a voice command includes: extracting an image captured by the camera when the voice command is received; and determining the direction of the gesture of the user inputting the voice command based on the image captured by the camera.

[0012] In combination with the previous embodiment, the focus direction of the user inputting the voice command can be determined based on the image captured by the camera. Specifically, the following methods may be used:

[0013] Method 1: Identify the length of the user's arm and the length of the reference object in the first image captured by the first camera when the voice command is captured, and the imaging plane of the first camera is parallel to the plane where the reference object is located; determine the projected length of the user's arm on the plane based on the projection relationship, the length of the user's arm and the length of the reference object in the first image, and the actual length of the reference object; determine the direction of the user's gesture based on the projected length of the user's arm on the plane and the actual length of the user's arm.

[0014] Method 2. Identify that when a voice command is captured, the length of the user's arm and the length of the reference object in the first image captured by the first camera are not parallel to the plane where the reference object is located; map the first camera to a position parallel to the plane where the reference object is located to obtain a second image mapped from the first image; determine the projected length of the user's arm on the plane where the reference object is located based on the projection relationship, the length of the user's arm and the length of the reference object in the second image, and the actual length of the reference object; determine the direction of the user's gesture based on the projected length of the user's arm on the plane where the reference object is located and the actual length of the user's arm.

[0015] Method 3. Obtain three-dimensional information of the user's gesture based on the positional relationship between the second camera and the third camera, and the images captured by the second camera and the third camera respectively when the voice command is captured; and determine the direction of the user's gesture based on the three-dimensional information of the user's gesture.

[0016] In conjunction with the first aspect, in some embodiments, before collecting voice commands, the method further includes: displaying a virtual reality (AR) map; and outputting information about multiple POIs, specifically including: displaying information about multiple POIs on the AR map. The AR map can display information about each POI around the vehicle in three dimensions, allowing users to gain more information, enabling more accurate voice interaction with the vehicle or AR helmet, and providing an immersive experience. Furthermore, users only need to interact with the AR map, without having to focus on actual targets in the physical space, to achieve complete and accurate interaction.

[0017] In combination with the first aspect, in some embodiments, the voice instruction further includes any one or more of the following information: a direction, an adjective; and the determined one or more POIs conform to the one or more information included in the voice instruction.

[0018] In conjunction with the first aspect, in some embodiments, before determining one or more POIs, the method further includes: outputting a prompt message, the prompt message prompting the user to input any one or more of the following information: a location, an adjective; and whether the determined one or more POIs match the one or more information input by the user. This allows for better selection of POIs that meet the user's needs, thereby providing the user with appropriate voice services.

[0019] In combination with the first aspect, in some embodiments, the method further includes: obtaining map data of the current location; and the determined one or more POIs are POIs in the map data.

[0020] In combination with the first aspect, in some embodiments, obtaining map data of the current location specifically includes: obtaining map data of the current location from the network; or, capturing an image of the current location through a camera, and obtaining map data of the current location based on the image.

[0021] In combination with the first aspect, in some embodiments, before responding to the voice command based on the first POI, the method further includes: when the determined POI includes multiple POIs, outputting information of multiple POIs; receiving a user operation of selecting a first POI from multiple POIs; or, when the determined POI includes one, the first POI is the determined POI.

[0022] In a second aspect, a voice interaction method including ambiguous pronouns is provided, which is applied to a communication system, the communication system comprising: a central control device, a first device, and a second device. The method may include: the first device collecting a voice command and sending the voice command to the central control device, the voice command including the ambiguous pronoun; the central control device determining the focus of the user inputting the voice command, and determining one or more points of interest (POIs), the one or more POIs being located in the direction of the user's focus; if the determined POIs include multiple POIs, the central control device controlling the second device to output information about the multiple POIs; the second device receiving a user operation of selecting a first POI from the multiple POIs, and sending information about the user operation to the central control device; and the central control device responding to the voice command based on the first POI.

[0023] When the method provided in the second aspect is implemented and the voice interaction method containing fuzzy pronouns provided in this application is applied to the whole-house smart communication system, the user can interact with the entire house space. Passengers do not need to know the specific noun of the target, and the whole-house smart system can respond to the voice commands of users in the house, such as "turn on this speaker", based on gesture direction, etc.

[0024] In combination with the second aspect, in some embodiments, the communication system further includes a third device, and the central control device responds to the voice command based on the first POI, specifically including: the central control device controls the third device to respond to the voice command, and the first POI corresponds to the third device.

[0025] In conjunction with the second aspect, in some embodiments, the central control device can determine the direction of a gesture based on a wireless signal. Specifically, the central control device determines the focus direction of the user inputting the voice command by: extracting a wireless signal received by the fourth device before the voice command is collected; and determining the gesture direction of the user inputting the voice command based on the received wireless signal.

[0026] In combination with the previous embodiment, the gesture direction of the user who inputs the voice command is determined based on the received wireless signal, specifically including: obtaining the position of the user who inputs the voice command in the vehicle; calculating the first distance between the user and the first radar in the vehicle; calculating the valid target subset of each frame of the received multiple frames of wireless signal based on the first distance; and fitting the gesture direction of the user who inputs the voice command based on the valid target subset of the multiple frames of wireless signal.

[0027] In conjunction with the second aspect, in some embodiments, the central control device may determine the direction of a gesture based on an image captured by a camera. Specifically, the central control device determines the focus direction of the user inputting the voice command by extracting an image captured by the camera of the fifth device when the voice command is captured; and determining the gesture direction of the user inputting the voice command based on the image captured by the camera.

[0028] In combination with the previous embodiment, the focus direction of the user inputting the voice command can be determined based on the image captured by the camera. Specifically, the following methods may be used:

[0029] Method 1: Identify the length of the user's arm and the length of the reference object in the first image captured by the first camera when the voice command is captured, and the imaging plane of the first camera is parallel to the plane where the reference object is located; determine the projected length of the user's arm on the plane based on the projection relationship, the length of the user's arm and the length of the reference object in the first image, and the actual length of the reference object; determine the direction of the user's gesture based on the projected length of the user's arm on the plane and the actual length of the user's arm.

[0030] Method 2. Identify that when a voice command is captured, the length of the user's arm and the length of the reference object in the first image captured by the first camera are not parallel to the plane where the reference object is located; map the first camera to a position parallel to the plane where the reference object is located to obtain a second image mapped from the first image; determine the projected length of the user's arm on the plane where the reference object is located based on the projection relationship, the length of the user's arm and the length of the reference object in the second image, and the actual length of the reference object; determine the direction of the user's gesture based on the projected length of the user's arm on the plane where the reference object is located and the actual length of the user's arm.

[0031] Method 3. Obtain three-dimensional information of the user's gesture based on the positional relationship between the second camera and the third camera, and the images captured by the second camera and the third camera respectively when the voice command is captured; and determine the direction of the user's gesture based on the three-dimensional information of the user's gesture.

[0032] In conjunction with the second aspect, in some implementations, the voice instruction further includes any one or more of the following information: a direction, an adjective; and one or more determined POIs that conform to the one or more information included in the voice instruction.

[0033] In combination with the second aspect, in some embodiments, before the central control device determines one or more points of interest (POIs), the method further includes: the central control device controls the sixth device to output prompt information, and the prompt information is used to prompt the user to output any one or more of the following information: direction, adjective; the determined one or more POIs are consistent with one or more information output by the user.

[0034] In conjunction with the second aspect, in some implementations, the central control device receives map data collected by one or more devices in the communication system; and constructs a location database of the space where the communication system is located based on the map data.

[0035] In conjunction with the second aspect, in some implementations, if the determined POI includes one, the central control device responds to the voice command based on the determined POI.

[0036] Any two of the central control device, the first device, the second device, the third device, the fourth device, the fifth device, and the sixth device mentioned above may be different devices or the same devices, and this is not limited here.

[0037] In a third aspect, a vehicle is provided, comprising: a memory and one or more processors; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the vehicle to execute the method provided in the first aspect or any one of the embodiments of the first aspect.

[0038] In a fourth aspect, a central control device is provided, comprising a memory and one or more processors; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the central control device to execute the method provided by the central control device in the second aspect or any one of the embodiments of the second aspect.

[0039] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium comprising instructions, which, when executed on an electronic device, enables the electronic device to execute a method as executed by the vehicle in the first aspect or any one of the embodiments of the first aspect, or to execute a method provided by the central control device in the second aspect or any one of the embodiments of the second aspect.

[0040] In a sixth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the method executed by the vehicle in the first aspect or any one of the embodiments of the first aspect, or to execute the method provided by the central control device in the second aspect or any one of the embodiments of the second aspect.

[0041] In the seventh aspect, an embodiment of the present application provides a chip system, which includes at least one processor for implementing the method executed by the vehicle in the first aspect or any one embodiment of the first aspect, or executing the method provided by the central control device in the second aspect or any one embodiment of the second aspect.

[0042] In an eighth aspect, a communication system is provided, comprising a central control device, a first device, and a second device, wherein the communication system is used to execute the method described in the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] FIG1 is a flow chart of a method for voice interaction involving ambiguous pronouns provided in an embodiment of the present application;

[0044] FIG2 is a flow chart of another method for voice interaction involving ambiguous pronouns provided in an embodiment of the present application;

[0045] FIG3 is a schematic diagram of a millimeter-wave radar transmitting a wireless signal in a vehicle according to an embodiment of the present application;

[0046] FIG4 is a flow chart of another method for voice interaction involving ambiguous pronouns provided in an embodiment of the present application;

[0047] 5A and 5B are schematic diagrams of scenarios for determining the direction of a user gesture provided by an embodiment of the present application;

[0048] FIG6A is a flow chart of another method for voice interaction involving ambiguous pronouns provided in an embodiment of the present application;

[0049] FIG6B is a schematic diagram of a scenario for determining a user's line of sight according to an embodiment of the present application;

[0050] FIG7 is a flow chart of another method for voice interaction involving ambiguous pronouns provided in an embodiment of the present application;

[0051] FIG8 is a schematic structural diagram of a vehicle provided in an embodiment of the present application;

[0052] FIG9 is a schematic structural diagram of a communication system 10 provided in an embodiment of the present application;

[0053] FIG10 is a block diagram of the hardware structure of an electronic device provided in an embodiment of the present application;

[0054] FIG11 is a software architecture of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The following is a clear and detailed description of the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship between related objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0056] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.

[0057] The term "user interface (UI)" in the following embodiments of this application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device and finally presented as content that the user can recognize. The commonly used form of user interface is graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.

[0058] The following embodiments of the present application provide a voice interaction method, related devices, and communication system containing ambiguous pronouns.

[0059] The fuzzy pronouns referred to in this application are those with ambiguous meanings and whose referents are unclear. Examples of fuzzy pronouns include the Chinese words "this," "that," "these," "those," "here," and "there," and the English words "this," "that," "these," and "those." They may also include combinations of the aforementioned terms and object categories, such as "this building," "that mountain," "these shops," and "those intersections."

[0060] The method of this application provides a convenient and effective voice interaction solution. When a user inputs a voice command containing an ambiguous pronoun, the electronic device can analyze the specific object (including people, objects, etc.) referred to by the ambiguous pronoun and provide services to the user in response to the voice command. This allows for accurate voice interaction involving ambiguous pronouns, improves the user's voice interaction experience, and makes the voice interaction solution simpler and more natural.

[0061] The method provided in the embodiments of the present application can be applied to scenarios such as vehicles including smart vehicle-mounted equipment and whole-house smart systems.

[0062] Refer to Figure 1, which exemplarily shows the process of the voice interaction method provided in an embodiment of the present application.

[0063] As shown in FIG1 , the method may include the following steps:

[0064] S001, collecting voice commands.

[0065] The electronic device can start the voice assistant and collect the user's voice commands through the voice assistant.

[0066] Among them, the voice assistant is a function provided by smart devices such as mobile phones and vehicles, which supports smart devices to detect the user's voice input, use voice recognition technology, natural language processing (such as semantic understanding) technology, etc. to identify the user's intention, and respond in a targeted manner, such as voice answering, starting applications, changing device configurations, etc. The electronic device can start the voice assistant after detecting a wake-up word (which can be a wake-up word bound to user input), or it can start the voice assistant after detecting a user operation acting on the electronic device (such as long pressing the power button of the mobile phone, pressing the voice button on the vehicle). In some other embodiments, the electronic device can also always turn on the voice assistant, which is not limited here. The voice assistant of the embodiment of the present application can be used to support the electronic device to perform subsequent operations S002-S007.

[0067] Electronic devices can collect voice commands through sound pickup devices such as microphones and other sound pickup devices.

[0068] The user who inputs the voice command may include any of the following: 1. The user can be any user, such as the driver, passenger, or mobile phone owner in the vehicle. 2. The user can only be a bound user of the electronic device, such as a user who has bound their identity to the vehicle or mobile phone in advance. For method 2, before the electronic device collects the voice, it needs to identify the user's identity (such as voiceprint recognition, facial recognition, etc.). After identifying the bound user, it collects the user's voice command or recognizes the user's voice command.

[0069] In some implementations, the electronic device may further process the collected voice commands, such as filtering interference signals, reducing noise, etc., to obtain clear voice commands.

[0070] S002: Determine whether the voice command contains an ambiguous pronoun.

[0071] The electronic device performs semantic analysis on the voice command to determine whether it contains ambiguous pronouns. The definition of ambiguous pronouns can be found in the previous article.

[0072] If the judgment result is no, it means that the voice command contains a clear user intention, then the electronic device can directly recognize the user intention and respond to the voice command to provide the user with corresponding services.

[0073] If the judgment result is yes, execute the subsequent steps.

[0074] S003: Determine the focus direction of the user who inputs the voice command.

[0075] The user's attention direction may include but is not limited to: gesture direction, sight direction, body facing direction, etc. The specific method of determining the user's gesture direction or sight direction can be referred to the description of the subsequent embodiments and will not be elaborated here.

[0076] S004: Determine one or more points of interest (POIs) based on the user's attention direction.

[0077] POIs can also be called target points or information points. POIs generally refer to point-type data on internet electronic maps, and can include attributes such as name, address, coordinates, and category. A POI can be a house, a shop, a neighborhood, or a bus stop. Furthermore, detailed POIs can include merchant information, service descriptions, reviews, rankings, status, social interaction information, consumer finance information, and more. POIs can also include devices or components within a space, such as seats and lights in a vehicle, or electronic devices in a home smart system.

[0078] In some embodiments, the POI determined by the electronic device includes a POI located in the direction of interest.

[0079] In some embodiments, if the voice command also includes any one or more of the following information: direction, adjective, etc., the electronic device can also simultaneously determine one or more POIs based on the above one or more information. Specifically, the electronic device can first search for POIs in the direction of the user's interest, and then find POIs from these POIs that meet the above one or more information. For example, direction words may include "in front," "right front," "left," etc., and adjectives may include "white," "closest to me," "highest," etc.

[0080] In some embodiments, if the voice command does not include keywords such as a location or adjective, the electronic device may prompt the user to enter more descriptive information through voice or a display screen, and then determine one or more POIs based on the more descriptive information. Alternatively, the electronic device may respond to the user that it is currently unable to filter out POIs or that "I don't understand."

[0081] If only one POI is determined in S004, S007 may be directly executed. If there are multiple POIs, S005 to S006 may be executed first, and then S007 may be executed.

[0082] S005: Output the information of the multiple POIs in sequence for the user to select.

[0083] Methods for an electronic device to output multiple POIs may include, but are not limited to, voice broadcasting of information about the multiple POIs (e.g., names and features) and displaying the information about the multiple POIs on a display screen (e.g., names and images). When outputting each POI, the electronic device may include key information about each POI to distinguish them. For example, when voice broadcasting multiple building POIs, the electronic device may sequentially broadcast "The white building is," "The tallest building is," and "The building closest to you is," making it easier for the user to follow up and select the precise POI.

[0084] S006: Detecting a user operation of selecting a POI from a plurality of POIs.

[0085] The user operation can be implemented in various types, such as voice, touch operation on the display screen, hovering gesture, eye movement operation, etc. The embodiment of the present application does not limit the specific implementation of the user operation.

[0086] S007, responding to a voice command based on a POI and providing corresponding services.

[0087] The one POI may be the POI selected by the user in S006 , or may be the only POI determined in S004 .

[0088] The electronic device recognizes the user intention in the voice command based on the POI and provides corresponding services related to the POI.

[0089] For example, assuming the voice command is "What is the history of the building in front of me on the right?", and the determined POI is a certain building, the electronic device can search for the history of the building and output it to the user.

[0090] For another example, assuming the voice command is "What is the white building in front of me?", and a determined POI is a certain building, the electronic device can search for information about the building and output it to the user.

[0091] For another example, assuming the voice command is "navigate to the parking lot of the white building in front of me", and the determined POI is a certain building, the electronic device can navigate to the parking lot of the building.

[0092] The execution entities of each step of the voice interaction method shown in FIG1 may be the same device or different devices, and therefore FIG1 does not limit the execution entity of each step.

[0093] When the method provided in the embodiments of the present application is applied to different scenarios, the above steps can be performed by different devices.

[0094] When the method is applied to a vehicle scenario, steps S001 - S007 in FIG1 may be executed by the vehicle.

[0095] When this method is applied to a whole-house smart system, each step in FIG1 can be performed by different devices in the whole-house smart system. For details, please refer to the subsequent method embodiments corresponding to the whole-house smart system, which will not be described here.

[0096] Based on Figure 1, the following introduces the application of voice interaction methods in different application scenarios, as well as the specific implementation of determining the user's focus direction in each application scenario.

[0097] Scenario 1: Vehicles with smart onboard devices

[0098] When a voice interaction method involving ambiguous pronouns is applied to a vehicle, a user inside the vehicle can issue a voice command. After the vehicle receives the voice command, it can identify whether the command contains ambiguous pronouns. If so, the vehicle can analyze the direction of the user's gaze and / or gestures when issuing the voice command. Combining the voice command with the vehicle's internal or external geospatial location, the vehicle can search for points of interest (POIs) in that direction and respond to eligible POIs.

[0099] Several embodiments implemented in the following scenario are provided below, including Embodiment 1 to Embodiment 4.

[0100] Example 1: Determining gesture direction based on wireless signals

[0101] Refer to FIG2 , which exemplarily shows the process of the voice interaction method including ambiguous pronouns provided in Example 1.

[0102] As shown in FIG2 , the method may include the following steps:

[0103] S101: The vehicle collects a voice command.

[0104] For S101 , please refer to the relevant description of S001 in FIG. 1 .

[0105] A sound pickup array can be deployed or configured in the vehicle. Specifically, sound pickup devices such as microphones can be deployed at multiple locations in the vehicle cabin, for example, near each seat in the vehicle (such as the main driver's seat, the front passenger seat, and the back seat).

[0106] After the vehicle starts the voice assistant, the voice commands input by the user can be collected by the sound pickup array deployed in the vehicle.

[0107] In the embodiments of the present application, the user who inputs the voice command may include any of the following situations: 1. The user can be any user in the vehicle, such as the driver, passenger, etc. 2. The user can only be a user bound to the vehicle, such as a user who has bound their identity to the vehicle in advance. For method 2, before the vehicle collects the voice, it is necessary to identify the user's identity (such as voiceprint recognition, facial recognition, etc.), and after identifying the bound user, it collects the user's voice command.

[0108] S102: Determine whether the voice instruction contains an ambiguous pronoun.

[0109] For S102 , please refer to the relevant description of S002 in FIG. 1 .

[0110] If the judgment result of S102 is yes, the subsequent steps are executed.

[0111] S103: The vehicle determines the direction of the gesture of the user who issued the voice command relative to the vehicle based on the wireless signal.

[0112] S103 may specifically include the following steps S1031-S1033:

[0113] S1031, the vehicle determines the location of the user who inputs the voice command.

[0114] The vehicle can use any of the following methods to determine the user's location:

[0115] Method 1: The vehicle estimates the location of the user who issued the voice command based on the voice collected by each sound pickup device in the sound pickup array.

[0116] In one embodiment, the vehicle can determine the location of the user issuing the voice command based on the volume of the voice command collected by each sound pickup device and the seat near the device with the loudest sound volume as the location of the user issuing the voice command. This method is also called voice zone locking.

[0117] Method 2: The vehicle determines the location of the user who issued the voice command based on the collected facial image.

[0118] Multiple cameras can be deployed or configured inside the vehicle. Specifically, cameras can be deployed in front of, above, and other locations within the vehicle cabin.

[0119] In one embodiment, multiple cameras within a vehicle can be constantly on. The vehicle captures images through these cameras, analyzes the images when a user issues a voice command, and identifies the user speaking in the images as the user issuing the voice command. If different users captured by multiple cameras all speak when a voice command is captured, further analysis can be performed on the user's lip shape in the images to match it with the voice command, and the user in the matching image can be identified as the user issuing the voice command. The vehicle can then determine the location of the user issuing the voice command based on the location of the camera that captured the image of the user issuing the voice command.

[0120] The above-mentioned method 1 and method 2 can also be implemented in combination to more accurately determine the user's location.

[0121] The user's location determined by the vehicle can be described based on the interior furnishings of the vehicle, such as the driver's seat, the front passenger seat, the left rear seat, the middle rear seat, the right rear seat, etc. In some embodiments, the user's location can also be the coordinates of the user in a coordinate system established within the vehicle, such as two-dimensional coordinates (x, y). The user's location can be the center of the user's seat.

[0122] S1032 , the vehicle extracts the wireless received signal within the time period T_th before the time T0 when the user issues the voice command.

[0123] Multiple wireless signal transceiver devices can be deployed or configured inside the vehicle. Specifically, wireless signal transceiver devices can be deployed directly in front of or above one or more seats in the vehicle cabin, or even on the roof of the vehicle. These wireless signal transceiver devices may include, but are not limited to, radar (such as millimeter-wave radar), ultra-wideband (UWB) wireless signal transceivers, and ultrasonic transceivers.

[0124] The vehicle's internal wireless signal transceivers can be kept constantly on. The vehicle can transmit wireless signals through multiple wireless signal transceivers, which then receive the reflected signals back. By comparing the transmitted and received wireless signals, or simply based on the received wireless signals, the vehicle can detect information such as the distance, rate of change of distance, direction, altitude, and gestures of the target user between the target and the wireless signal transceiver in the vehicle space.

[0125] Referring to Figure 3, which exemplarily shows a millimeter-wave radar installed inside a vehicle and a schematic diagram of the millimeter-wave radar transmitting wireless signals, the millimeter-wave radar in Figure 3 is installed near the driver's seat.

[0126] S1033 , the vehicle uses the wireless received signal in the time period T_th before T0 to determine the direction of the gesture of the user who issued the voice command relative to the vehicle.

[0127] The duration of the T_th time period can be preset as needed and is not limited here.

[0128] Taking the wireless signal as a millimeter wave sent by a radar as an example, S104 may specifically include the following steps:

[0129] Step 1: Calculate the distance d between the radar and the user.

[0130] Specifically, after the vehicle learns the user's location in the vehicle and the deployment location of the radar in the vehicle, it can calculate the distance between the radar deployment location and the user's coordinates (x, y). The radar can be any radar in the vehicle, or the radar closest to the user. This radar can be referred to as a first radar, and the distance between the user and the radar can be referred to as a first distance.

[0131] Step 2: In each frame within the time period T_th, extract spectrum information sub_RDM in the interval d±Δd from the range-doppler (RD) spectrum of a single channel.

[0132] Depending on the number of transmit and receive antennas in a radar, the radar signal can include multiple channels. The number of channels is equal to the product of the number of transmit and receive antennas. For example, a radar can include multiple Rx antennas and multiple Tx antennas. For example, two transmit and two receive antennas can form four channels. Other implementations include Tx1Rx1, Tx1Rx2, Tx2Rx1, Tx2Rx2, and so on.

[0133] "Sub-RDM" refers to the RD spectrum. The RDM (range-dopple map) in Chinese stands for range-Doppler map. The Doppler effect reflects changes in velocity. The horizontal axis is distance R, and the vertical axis is velocity D. The sub-RDM refers to the region on the RD spectrum where the horizontal axis is the range d-Δd to d+Δd, and the vertical axis is the entire D.

[0134] Step 3: On the single-channel sub_RDM, a subset of valid moving targets is extracted by using a constant false alarm rate detector (CFAR) technique, and the range-doppler value of each target is extracted.

[0135] This is equivalent to finding the peak (peak area) on sub_RDM, and the R / D value corresponding to the peak (R can be understood as the x-coordinate and D as the y-coordinate). The amplitude corresponding to the RD value can be understood as the value on the x / y coordinate.

[0136] Step 4: For each target, the azimuth of the moving target is estimated by combining the range-doppler values ​​of multiple channels.

[0137] This is equivalent to performing angle estimation using the R / D value detected in step 3 of the RDM (range-doppler) of each transmitting and receiving antenna (a common radar angle estimation method).

[0138] In this way, the azimuths corresponding to multiple target points can be calculated.

[0139] Step 5: Calculate the angular range [θ_0, θ_1] of the user relative to the radar based on the user coordinates (x, y), and filter the moving target subset based on the angular range.

[0140] The angle estimation results in step 4 may have some values ​​greater than the angle range. In step 5, such values ​​can be directly filtered out in step 4. The angle range can be pre-set and is not limited here.

[0141] Step 6: Further, among the filtered subset targets of each frame, the sub-target with the largest absolute speed is selected as the valid target subset extracted in the current frame.

[0142] The purpose of step 6 is to extract arm information. When a user moves their hand, the hand's movement speed is greater than that of the rest of the torso. This speed information is used to determine the pointing motion of the arm. The subset extracted in step 6 includes distance and angular orientation information.

[0143] Step 7: Based on the distance and orientation estimation results of the valid target subset extracted from each frame, spatial position change trend fitting is performed to obtain the direction of the user gesture issuing the voice command relative to the vehicle.

[0144] Doppler is related to the target's speed. Range-Doppler target detection only requires a single channel because the signal amplitudes obtained by other channels are the same. However, calculating direction requires phase information from multiple channels.

[0145] In some embodiments, the T_th time period before T0 in S1032-S1033 can also be replaced by the T_th time period after T0, or a T_th time period both before and after T0, as long as it can be close to the T0 moment when the user outputs the voice command. This embodiment of the present application does not limit this.

[0146] S104: The vehicle determines one or more POIs based on the gesture direction.

[0147] In some embodiments, the vehicle can use the positioning function to obtain the current location using the odometer, GPS, BDS, road network data, etc., and combine it with the geographic database or stored map to obtain the POIs around the current location, and determine one or more POIs outside the vehicle in the direction of the user's gesture.

[0148] In some embodiments, the camera outside the vehicle can quickly obtain information about the surrounding environment, thereby building a map of the surrounding environment in real time. The real-time map can be used to determine which POIs are around the current location and to determine one or more POIs outside the vehicle in the direction of the user's gesture. Of course, the vehicle can also store the real-time map, or it can only retain the real-time map for a certain period of time. After the user issues a voice command containing ambiguous pronouns, since the positions of the sensors inside the vehicle and the sensors outside the vehicle body are fixed and the conversion relationship with the vehicle coordinate system is fixed, and the coordinate information of the surrounding environment can also be converted to the vehicle coordinate system, the POI in the direction of the user's attention can be obtained, thereby completing the correct voice interaction. In this way, the real-time map is built by the vehicle, and only the relative position relationship between the vehicle and the surrounding environment is needed, without the absolute position of the vehicle and the map library.

[0149] In some embodiments, the vehicle may obtain or pre-install a spatial map of the vehicle's interior (a map reflecting the spatial positions of various components within the vehicle) through a network, and then determine one or more POIs within the vehicle in the direction of the user's gesture.

[0150] In some embodiments, the vehicle may also utilize lidar, IMU, simultaneous localization and mapping (SLAM), etc. to construct a spatial map inside the vehicle, or to construct a spatial map around the current location.

[0151] In some embodiments, when determining a POI inside or outside the vehicle, the vehicle may also combine one or more items such as a direction and an adjective in the voice command. For details, please refer to the relevant description of S004 in Figure 1.

[0152] S105: Output information of the multiple POIs in sequence for user selection.

[0153] S106 : Detecting a user operation of selecting a POI from a plurality of POIs.

[0154] S107, providing corresponding services based on a POI response voice command.

[0155] For S105-S107, please refer to the relevant description of S005-S007 in Figure 1.

[0156] Based on the voice interaction method including ambiguous pronouns provided in Example 1, the vehicle can determine the direction of the user's gesture through wireless signals, and can determine the POI outside or inside the vehicle based on the gesture direction to correctly complete the voice interaction.

[0157] Example 2: Determining the direction of a gesture based on images captured by a camera

[0158] Referring to FIG4 , FIG4 exemplarily shows the process of the voice interaction method including ambiguous pronouns provided in Example 2.

[0159] As shown in FIG4 , the method may include the following steps:

[0160] S201: The vehicle collects a voice command.

[0161] S202: Determine whether the voice instruction contains an ambiguous pronoun.

[0162] S203: The vehicle determines the direction of the gesture of the user who issued the voice command relative to the vehicle based on the image captured by the camera.

[0163] S203 may specifically include the following steps S2031-S2033:

[0164] S2031: The vehicle determines the location of the user who inputs the voice command. S2031 may refer to the description of S1031 in FIG. 2 .

[0165] S2032, the vehicle extracts the image of the user who issued the voice command, which is captured by the camera at time T0 when the user issued the voice command.

[0166] Multiple cameras can be deployed inside the vehicle. Specifically, cameras can be deployed in front of or above one or more seats in the vehicle cabin, or cameras can be deployed on the top of the vehicle. The embodiments of the present application do not limit the type of camera, for example, ordinary cameras, depth cameras, etc. Depth cameras can be implemented based on technologies such as structured light, binocular vision, and time of flight (ToF). Depth cameras can be used to accurately determine the posture of human gestures.

[0167] S2033: The vehicle uses the user image captured by the camera at time T0 to determine the direction of the gesture of the user who issued the voice command relative to the vehicle.

[0168] There are two methods for using images to determine the direction of a user's gesture:

[0169] 1. Use the image captured by a camera to determine the direction of the user's gesture.

[0170] (1) Set a reference object. If the plane of the reference object is parallel to the imaging plane of the camera (referred to as the first camera), the following method can be used to determine the direction of the user's gesture:

[0171] Referring to FIG. 5A , FIG. 5A exemplarily shows a scenario of determining the direction of a user gesture.

[0172] As shown in Figure 5A, the reference object is located in the xy plane. The camera is located directly in front of the xy plane, with the camera's imaging plane parallel to the xy plane. The z direction is the vehicle's travel direction. The reference object can be an object of known length inside the vehicle, such as the user's interpupillary distance or a seat headrest.

[0173] After the vehicle obtains a frame of image captured by the camera at time T0 (referred to as the first image), it identifies the pixel distance d1 of the arm and the pixel distance d2 of the reference object in the image. Furthermore, the vehicle has pre-known arm length D1 (which can be inferred based on the user's height, or directly input or set by the user) and reference object length D2. Subsequently, based on the proportional relationship between the projected lengths of different objects on the xy plane and the image lengths in the image captured by the same camera, the following formula can be derived:

[0174] d1 / d2 = Projection length of the arm on the xy plane / D2

[0175] Therefore, the projected length of the arm on the xy plane = D2×d1 / d2.

[0176] On this basis, the angle θ between the arm pointing and the vehicle's direction z = arcsin(D2×d1 / D1×d2)

[0177] (2) Set a reference object. If the plane of the reference object is not parallel to the imaging plane of the camera, the following method can be used to determine the direction of the user's gesture:

[0178] First, the camera of the other plane (which may be referred to as the first camera) is mapped to a position in front and parallel to the xy plane, and then the direction of the user gesture is determined according to the above method (1).

[0179] In some embodiments, the vehicle can complete the above mapping based on the fixed position relationship between the coordinate system of the camera c and the coordinate system of the seat facing the z direction. c p lp, where lp is the arm length or hand length in the coordinate system of the person's seat, M c p is the transformation matrix, and lc is the length of lp converted to the camera coordinate system.

[0180] As shown in Figure 5B , if the camera's imaging plane is not parallel to the xy plane, the vehicle can use the fixed position relationship between the camera and the user in the coordinate system in Figure 5B to map the camera to the position shown in Figure 5A , obtain the corresponding projection length of the user's arm, and then calculate the direction of the arm.

[0181] This is equivalent to the vehicle identifying the length of the user's arm and the length of the reference object in the first image captured by the first camera. The imaging plane of the first camera is not parallel to the plane of the reference object. The first camera is then mapped to a position parallel to the plane of the reference object, resulting in a second image mapped from the first image. The projection relationship and the second image are then used to determine the projected length of the user's arm on the plane of the reference object. The direction of the user's gesture is then determined based on the projected length of the user's arm on the plane of the reference object and the actual length of the user's arm.

[0182] 2. Use the images captured by the two cameras to determine the direction of the user's gesture.

[0183] Multiple cameras can be deployed in a vehicle, such as a driver monitoring system (DMS) and a camera monitoring system (CMS). Since visual features such as palms and arms are relatively obvious, it is easy to obtain the position information of gestures, thereby obtaining high-precision gesture direction.

[0184] The vehicle can use binocular cameras to establish depth information. After calibration, the camera parameters and their transformation relationship with the vehicle (or cabin) coordinate system are obtained. The original image is corrected based on the calibration results. The two corrected images are pixel-matched, and the depth map is obtained based on the matching results. With depth information, the 3D information of the gesture is obtained, allowing for high-precision determination of the gesture direction.

[0185] For example, the vehicle includes a second camera and a third camera. The vehicle can obtain three-dimensional information of the user's gesture based on the positional relationship between the second camera and the third camera, and the images captured by the second camera and the third camera respectively when the voice command is collected; and determine the direction of the user's gesture based on the three-dimensional information of the user's gesture.

[0186] S204: The vehicle determines one or more POIs based on the gesture direction.

[0187] S205: Output information of the multiple POIs in sequence for user selection.

[0188] S206: Detecting a user operation of selecting a POI from a plurality of POIs.

[0189] S207, providing corresponding services based on a POI response voice command.

[0190] For S201-S202, reference may be made to the related description of S101-S102 in FIG. 2 , and for S204-S207, reference may be made to the related description of S104-S107 in FIG. 2 .

[0191] Based on the voice interaction method containing ambiguous pronouns provided in Example 2, the vehicle can determine the direction of the user's gesture through the image captured by the camera, and can determine the POI outside or inside the vehicle based on the gesture direction to correctly complete the voice interaction.

[0192] Example 3: Determining the sight direction based on the image captured by the camera

[0193] Referring to FIG6A , FIG6A exemplarily shows the process of the voice interaction method including ambiguous pronouns provided in Example 3.

[0194] As shown in FIG6A , the method may include the following steps:

[0195] S301: The vehicle receives a voice command.

[0196] S302: Determine whether the voice instruction contains an ambiguous pronoun.

[0197] S303: The vehicle determines the sight direction of the user who issued the voice command based on the image captured by the camera.

[0198] S303 may specifically include the following steps S3031-S3033:

[0199] S3031, the vehicle determines the location of the user who inputs the voice command.

[0200] S3032, the vehicle extracts the image of the user issuing the voice command captured by the camera at time T0 when the user issues the voice command.

[0201] For S3031-S3032, please refer to the relevant description of S2031-S2032 in Figure 4 above.

[0202] S3033, the vehicle uses the user image captured by the camera at time T0 to determine the line of sight of the user who issued the voice command.

[0203] Specifically, with reference to the line of sight diagram shown in FIG6B , the vehicle may determine the user's line of sight direction through the following process:

[0204] Get the current user image M_T captured by the camera at time T0, and obtain the image M_0 of the user looking normally forward from the stored image data;

[0205] Using deep learning face recognition technology, 3D face recognition technology, scale-invariant feature transform (SIFT) and other algorithms, we calculate the pose matrix Φ of the user's facial image M_T relative to M_0 and transform the face into a forward orientation for the next step of processing.

[0206] By obtaining the coordinates of the center of the black eyeball, the center of the eye socket, and the coordinates of the key points of the nose from the image, we can calculate the offset distance between the left and right eyes, set as d, and the distance from the center of the eye to the center of the nose is r. According to rθ=d, that is, radius length*radian=arc length, in the case of small angles, the arc length can be considered as a line segment, and the offset angle θ is calculated; the eyeball offset angle can also be obtained using machine learning or deep learning models.

[0207] The sight angle can be obtained as

[0208] An optional solution is to use two cameras to form a binocular camera, a depth camera based on time of flight (ToF) and structured light, and data collected by high-precision wireless signals such as millimeter-wave radar, which can also detect the user's head turning angle.

[0209] S304: The vehicle determines one or more POIs based on the sight line direction.

[0210] S305: Output the information of the multiple POIs in sequence for the user to select.

[0211] S306: Detecting a user operation of selecting a POI from a plurality of POIs.

[0212] S307, providing corresponding services based on a POI response voice command.

[0213] For S301-S302, reference may be made to the related description of S101-S102 in FIG. 2 , and for S304-S307, reference may be made to the related description of S104-S107 in FIG. 2 .

[0214] Based on the voice interaction method including ambiguous pronouns provided in Example 3, the vehicle can determine the user's line of sight through images captured by the camera, and can determine the POI outside or inside the vehicle based on the line of sight to correctly complete the voice interaction.

[0215] Example 4: Voice Interaction Based on Augmented Reality (AR) in Vehicles

[0216] Example 4 is a supplementary solution to the above examples 1 to 3. Example 4 can be implemented in combination with any one of the voice interaction methods in the above examples 1 to 3.

[0217] In some embodiments, the vehicle may display an AR map on a display screen (e.g., the vehicle's central control screen, or other display screen serving as the front). The AR map may display a three-dimensional map, including key environmental information near the vehicle, such as three-dimensional images, names, distances, and other information of nearby buildings and streets. The user may point to a POI in the AR map in the vehicle and issue a voice command. The vehicle may then identify the user's direction of interest in the AR map based on any of the voice interaction methods described in Examples 1-3 above, display one or more POIs in the user's direction of interest in the AR map, and respond to the user's voice command.

[0218] In other embodiments, the user can wear AR devices such as AR glasses and AR helmets, and the AR devices can display AR maps for the user. The AR helmet can detect voice commands, and detect the user's focus direction through a handle, detecting the user's head turn, line of sight, etc., and respond to the user's voice commands. Alternatively, the AR helmet can be connected to a vehicle, and the two can jointly implement a voice interaction method, for example, the AR helmet is used to display an AR map, and one or more POIs in the user's focus direction are displayed in the AR map; the vehicle can be used to detect the user's focus direction, and, based on the user's focus direction, determine one or more POIs in the AR map, and respond to voice commands; the voice command can be detected by the vehicle or the AR helmet.

[0219] AR maps can display information about various POIs around the vehicle in three dimensions, allowing users to gain more information, enabling more accurate voice interaction with the vehicle or AR headset, and providing an immersive experience. Furthermore, users only need to interact with the AR map, without having to focus on the actual target in the physical space, to achieve complete and accurate interaction.

[0220] Based on Examples 1-4 above, when the voice interaction method involving ambiguous pronouns provided in this application is applied to a vehicle, passengers inside the vehicle can interact spatially with objects outside the vehicle. Passengers do not need to know the specific nouns of the objects. The vehicle can respond to passengers' voice commands, such as "What is the name of this building?", based on map data and gesture directions. For drivers, for example, while waiting at a traffic light or parking, they can interact spatially with objects outside the vehicle through gesture directions.

[0221] Scenario 2: Whole-house smart system

[0222] When a voice interaction method involving ambiguous pronouns is applied to a whole-house smart system comprising multiple electronic devices, a user in the house can issue a voice command. After any device in the house receives the voice command, the central control device can determine whether the voice command contains ambiguous pronouns. If so, the central control device can analyze the direction of the user's line of sight and / or gesture when issuing the voice command, and then, based on the voice command and the spatial location of the entire house, search for points of interest (POIs) in that direction and find eligible POIs to respond to.

[0223] The following provides Example 5 implemented under Scenario 2.

[0224] Example 5: Determine user focus based on the entire home space

[0225] Refer to FIG7 , which exemplarily shows the process of the voice interaction method including ambiguous pronouns provided in Example 5.

[0226] As shown in FIG7 , the method may include the following steps:

[0227] S401, the central control device builds a location database for the entire house space.

[0228] The whole-house smart system may include multiple electronic devices, such as smart screens, electric toothbrushes, wireless routers, smart speakers, sweeping robots, body fat scales, watches, mobile phones, headphones, projectors, smart speakers, smart lamps, smart air conditioners, water heaters, kettles, ovens, coffee machines, cameras, doorbells, millimeter wave sensors, etc.

[0229] Each electronic device in the whole-house intelligent system can collect whole-house data based on its own capabilities to build a location database for the whole house space. For example, an electronic device with a camera (such as a sweeping robot) or the camera itself can collect images inside the house. Devices with IMU, odometer, lidar and other capabilities can also collect sensor signals, wireless signals, etc., and then these data can be aggregated together to build a location database for the whole house by the central control device. Of course, in some embodiments, it is also possible to combine some data input by the user to build a whole-house location database. In some embodiments, the location database can also be updated periodically, or updated when the position of a target in the space changes. The location database can also be referred to as a whole-house map or other nouns, which are not limited here.

[0230] In some embodiments, each electronic device in the whole-house smart system, such as a robot, can build a location database for the whole house through SLAM.

[0231] The whole-house location database describes the location of each object in the whole house, including its coordinates in the whole-house coordinate system. These objects include not only electronic devices but also non-electronic devices, such as tables, chairs, beds, cabinets, carpets, and other objects in the house.

[0232] The number of central control devices can be one or more. For example, each room can have a central control device. Each central control device shares its own location database for the corresponding room, forming a location database for the entire house.

[0233] The central control device can be negotiated by multiple electronic devices in the whole-house smart system, or it can be specified by the user. The central control device can be determined based on factors such as capability, resource availability, and user habits, which are not limited here. For example, a sweeping robot or smart screen in the whole-house smart system can be selected as the central control system.

[0234] S402: The first device collects a voice command.

[0235] A whole-home smart system can have multiple devices equipped with microphones or other sound pickup devices. The device that receives the user's voice input is called the first device. The first device can be any device in the whole-home smart system, such as a central control device, or a device other than the central control device, without limitation.

[0236] The manner and prerequisites for the first device to collect voice commands may refer to the relevant descriptions of the above embodiments 1 to 4.

[0237] S403: The central control device determines whether the voice command contains ambiguous pronouns.

[0238] If the first device is not the central control device, the first device needs to send the voice command to the central control device.

[0239] For S403 , please refer to the relevant description of S002 in FIG. 1 .

[0240] If the judgment result of S403 is yes, the subsequent steps are executed.

[0241] S404: The central control device determines the position of the user who issued the voice command in the entire house, and the direction of the user's attention when issuing the voice command.

[0242] After the first device receives the voice command, the central control device can dispatch one or more devices in the entire home smart system (including the central control device itself) to determine the user's location at the time the voice command was issued. For example, the central control device can calculate the user's location based on the time T0 when the first device receives the voice command, the voice, image, and other data collected by other devices, and the location of each device itself.

[0243] The central control device can dispatch one or more devices in the whole-house smart system (including the central control device itself) to determine the direction of attention of the user when issuing a voice command. For example, the required data is collected by other devices, and the central control device uses this data to determine the direction of the user's attention. For the specific method of determining the direction of the user's attention, please refer to any one of the above examples 1 to 4. For example, the direction of the gesture can be determined based on the wireless signal, or the direction of the gesture can be determined based on the image collected by the camera, or the direction of the line of sight can be determined based on the image collected by the camera, etc. The embodiments of this application are not limited to this.

[0244] S405: The central control device determines one or more POIs in the entire house space based on the location database of the entire house space and the user's attention direction.

[0245] S406: Output information of the multiple POIs in sequence for user selection.

[0246] The central control device can select appropriate devices to sequentially output the information of the multiple POIs. The form of outputting the POI information can also refer to the relevant descriptions of the above embodiments 1 to 4. The device used to output the information of the multiple POIs can be, for example, a sweeping robot, a large screen, etc.

[0247] S407: Detecting a user operation of selecting a POI from a plurality of POIs.

[0248] The device that detects the user operation may be a device selected by the central control device for outputting POI information. The type of the user operation may be various and is not limited here.

[0249] S408, providing corresponding services based on a POI response voice command.

[0250] The central control device can dispatch one or more devices in the entire home smart system to respond to voice commands and provide corresponding services. For example, if the user enters the voice command "Move that stool here," the central control device can determine which stool "that stool" refers to based on the location database of the entire space and the user's attention direction, thereby completing the user's voice task. The stool itself does not need to have a sensor; the central control device establishes the location database and executes the user's command, thereby improving the experience of the entire space.

[0251] Based on the voice interaction method for ambiguous pronouns provided in Example 5, the whole-house smart system establishes a location database for the entire house and determines the user's focus. Based on this focus, it can identify POIs throughout the house to accurately complete the voice interaction. This allows for voice tasks involving ambiguous pronouns, expanding the user's spatial interaction range and providing a better user experience.

[0252] Based on Example 5 above, when the voice interaction method containing fuzzy pronouns provided by this application is applied to the whole-house smart system, the user can interact with the whole-house space, and the passengers do not need to know the specific noun of the target. The whole-house smart system can respond to the voice commands of the user in the house, such as "turn on this speaker", based on the location database of the whole-house space and gesture direction.

[0253] In the above embodiment 5, the device for collecting voice instructions can be referred to as the first device. The device for outputting the determined information of multiple POIs can be referred to as the second device. The device for responding to voice instructions, that is, the device corresponding to a POI selected by the user or the only POI determined by the central control device, can be referred to as the third device. If a wireless signal is used to determine the direction of the user's gesture, the device for sending and receiving wireless signals can be referred to as the fourth device. If the image captured by the camera is used to determine the direction of the user's gesture, the device for collecting images can be referred to as the fifth device. The electronic device used to output prompt information to prompt the user to output direction and adjectives can be referred to as the sixth device.

[0254] In the method shown in FIG. 1 and in Embodiments 1 to 5, the only POI determined by the electronic device, or a POI selected by the user from a plurality of determined POIs, may be referred to as a first POI.

[0255] The vehicle provided in the embodiments of the present application is introduced below.

[0256] Referring to Figure 8, Figure 8 is a schematic diagram of the structure of a vehicle 100 provided in an embodiment of the present application. The vehicle 100 may be the vehicle mentioned in the above embodiment.

[0257] As shown in FIG8 , a vehicle 100 includes a controller area network (CAN) bus 11, multiple electronic control units (ECUs), an engine 13, a telematics box (T-box) 14, a transmission 15, a driving recorder 16, an anti-lock braking system (ABS) 17, a sensor system 18, a camera system 19, a sound pickup device 20, and the like.

[0258] The CAN bus 11 is a serial communication network that supports distributed control or real-time control and is used to connect the various components of the vehicle 100. Any component on the CAN bus 11 can monitor all data transmitted on the CAN bus 11. The frames transmitted by the CAN bus 11 may include data frames, remote frames, error frames, and overload frames, and different frames transmit different types of data. In an embodiment of the present application, the CAN bus 11 can be used to transmit data involved in a voice interaction method involving ambiguous pronouns among the various components. The specific process of the voice interaction method can be referred to the detailed description of the previous embodiment.

[0259] The various components of the vehicle 100 may be connected and communicated via other methods, not limited to the CAN bus 11. In other embodiments, the various components of the vehicle 100 may also communicate via other methods. For example, the various components may communicate via an in-vehicle Ethernet (Ethernet), a local interconnect network (LIN) bus, FlexRay, or a common in-vehicle media-oriented system (MOST) bus, etc., although this is not a limitation in the present embodiment. The following embodiments illustrate the various components communicating via the CAN bus.

[0260] The ECU is the processor or brain of vehicle 100, instructing components to perform actions based on instructions received from the CAN bus 11 or user input. The ECU may consist of a security chip, a microprocessor (MCU), random access memory (RAM), read-only memory (ROM), input / output (I / O) interfaces, an analog / digital converter (A / D converter), and large-scale integrated circuits for input, output, shaping, and driver functions.

[0261] There are many types of ECUs, and different types of ECUs can be used to achieve different functions.

[0262] The multiple ECUs in the vehicle 100 may include, for example, an engine ECU 121 , a telematics box (T-box) ECU 122 , a transmission ECU 124 , a driving recorder ECU 123 , an anti-lock brake system (ABS) ECU 125 , and the like.

[0263] The engine ECU 121 is used to manage the engine and coordinate its various functions, such as starting and shutting down the engine. The engine is a device that provides power to the vehicle 100. An engine is a machine that converts a certain form of energy into mechanical energy. The vehicle 100 can be used to convert the chemical energy of liquid or gas combustion, or electrical energy into mechanical energy and output power externally. The engine components can include two major mechanisms: the crankshaft and the valve mechanism, as well as five major systems: cooling, lubrication, ignition, energy supply, and starting system. The main components of the engine include the cylinder block, cylinder head, piston, piston pin, connecting rod, crankshaft, flywheel, etc.

[0264] The T-box ECU 122 is used to manage the T-box 14 .

[0265] T-box 14 is mainly responsible for communicating with the Internet, providing a remote communication interface for vehicle 100, and providing services including navigation, entertainment, driving data collection, driving trajectory recording, vehicle fault monitoring, vehicle remote query and control (such as unlocking and closing, air conditioning control, window control, engine torque limit, engine start and stop, seat adjustment, query of battery power, fuel level, door status, etc.), driving behavior analysis, wireless hotspot sharing, roadside assistance, abnormal reminders, etc.

[0266] The T-box 14 can be used to communicate with a telematics service provider (TSP) and driver-side electronic devices to display and control vehicle information on the driver-side electronic devices.

[0267] The T-box 14 may specifically include a communication module and a display screen.

[0268] The communication module can be used to provide wireless communication functions, supporting the vehicle 100 to communicate with other devices via wireless communication technologies such as WLAN (such as Wi-Fi), BT, GNSS, FM, NFC, IR, etc. The communication module can also be used to provide mobile communication functions, supporting the vehicle 100 to communicate with other devices via communication technologies such as GSM, UMTS, WCDMA, TD-SCDMA, LTE / 4G, 5G, and future 6G.

[0269] Display screens are used to provide a visual interface. Vehicle 100 may include one or more display screens, such as onboard display screens located next to seats, display screens located above seats for displaying surrounding conditions, and heads-up displays (HUDs) that project information onto the windshield.

[0270] T-box 14 may also be referred to as a vehicle system, a telematics processor, a vehicle gateway, etc., which is not limited in the embodiments of the present application.

[0271] The transmission ECU 124 is used to manage the transmission.

[0272] The transmission 15 is a mechanism used to change the engine's speed and torque. It can change the output-to-input ratio in a fixed or step-by-step manner. Transmission 15 components may include a transmission mechanism, an operating mechanism, and a power take-off mechanism. The transmission mechanism primarily changes the magnitude and direction of torque and speed; the operating mechanism primarily controls the transmission mechanism to achieve gear shifting, thereby changing the transmission ratio and achieving speed and torque variations.

[0273] The drive recorder ECU 123 is used to manage the drive recorder 16 .

[0274] The components of the driving recorder 16 may include a host computer, a vehicle speed sensor, and data analysis software. The driving recorder 16 is a device that records images and sounds of a vehicle while it is in motion, including relevant information such as driving time, speed, and location. In this embodiment of the present application, while the vehicle is in motion, the vehicle speed sensor collects wheel speed information and transmits it to the driving recorder 16 via the CAN bus.

[0275] The ABS ECU 125 is used to manage the ABS 17 .

[0276] ABS17 automatically controls the braking force during vehicle braking to prevent the wheels from locking and maintain a rolling and sliding state, thereby ensuring maximum adhesion between the wheels and the ground. During braking, if the electronic control unit determines that a wheel is approaching locking based on the wheel speed signal input by the wheel speed sensor, the ABS will enter the anti-lock brake pressure adjustment process.

[0277] The sensor system 18 may include: an acceleration sensor, a vehicle speed sensor, a vibration sensor, a gyroscope sensor, a radar sensor, and the like. The acceleration sensor and the vehicle speed sensor are used to detect the speed of the vehicle 100. The vibration sensor may be installed in the airbag or other locations to detect whether the vehicle 100 has been hit. The gyroscope sensor may be used to determine the motion posture of the vehicle 100. The radar sensor may include a laser radar, an ultrasonic radar, a millimeter wave radar, and the like. The radar sensor is used to emit electromagnetic waves to illuminate a target and receive its echo, thereby obtaining information such as the distance from the target to the electromagnetic wave emission point, the rate of change of distance (radial velocity), the direction, and the altitude, thereby identifying other vehicles, pedestrians, or roadblocks near the vehicle 100.

[0278] The camera system 19 may include multiple cameras for capturing still images or videos. The cameras in the camera system 19 may be located in front of, behind, on the sides of, or inside the vehicle, to facilitate functions such as assisted driving, driving recording, panoramic surround view, and in-vehicle monitoring.

[0279] The sensor system 18 and the camera system 19 can be used to detect the surrounding environment, so that the vehicle 100 can make corresponding decisions to cope with environmental changes. For example, they can be used to complete the task of paying attention to the surrounding environment during the autonomous driving stage.

[0280] The vehicle 100 may further include a sound pickup device 20 , such as a sound pickup array including pickups and microphones deployed at multiple locations within the cabin.

[0281] In addition, the vehicle 100 may also include multiple interfaces, such as a USB interface, an RS-232 interface, an RS485 interface, etc., which can be connected to external cameras, microphones, headphones, and driver-side electronic devices.

[0282] It should be understood that the illustrated structures of the embodiments of this application do not constitute specific limitations on the vehicle system. Vehicle 100 may include more or fewer components than shown, or may combine or separate certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0283] For example, the vehicle 100 may also include speakers, batteries, lights, wipers, an instrument panel, audio, a transmission control unit (TCU), an auxiliary control unit (ACU), a passive entry and start system (PEPS), an OBU (on board unit), a body control module (BCM), a charging port, and the like.

[0284] In this embodiment of the present application, the sound pickup device 20 can be used to collect voice commands input by the user. The T-box ECU 122 can be used to determine whether the voice command contains ambiguous pronouns, determine the focus of the user issuing the voice command, identify one or more POIs based on the focus, and dispatch various components within the vehicle 100 in response to the voice command to provide corresponding services.

[0285] The display screen, speakers, etc. may be used to output information of a plurality of POIs determined by the vehicle 100 according to the user's focus direction.

[0286] Wireless signal transceiver devices such as radar sensors may be used to send and receive wireless signals, which are used by the T-box ECU 122 to determine the focus direction of the user issuing the voice command.

[0287] The camera system 19 may be used to capture images for the T-box ECU 122 to determine the focus direction of the user issuing the voice command.

[0288] The specific functions of the various components of the vehicle 100 can be found in the detailed description of the previous embodiment and will not be repeated here.

[0289] The OS configured in the vehicle 100 may include but is not limited to wait.

[0290] In some embodiments, a voice assistant may be installed in the vehicle 100, which is used to support the vehicle 100 in executing the voice interaction method for enclosing ambiguous pronouns provided in the embodiments of the present application.

[0291] Below, the communication system provided in the embodiment of the present application is first introduced. The communication system can be the whole-house smart system mentioned above.

[0292] Refer to Figure 9, which is a structural diagram of a communication system 10 provided in an embodiment of the present application.

[0293] As shown in FIG9 , the communication system 10 includes a plurality of electronic devices.

[0294] The multiple electronic devices in the communication system 10 can be of various types, and the embodiments of the present application are not limited thereto. The multiple electronic devices can include smart speakers, smart lamps, smart air conditioners, water heaters, kettles, ovens, coffee machines, cameras, doorbells, millimeter wave sensors and other Internet of Things (IoT) devices or smart home devices, and can also include printers, scanners, fax machines, copiers, projectors and other office equipment, and can also include mobile phones, tablet computers, desktop computers, laptop computers, handheld computers, notebook computers, smart screens, wearable devices, augmented reality (AR) devices, virtual reality (VR) devices, artificial intelligence (AI) devices, car computers, smart headphones, game consoles, digital cameras and other smart devices, but are not limited thereto. The multiple electronic devices in the communication system 10 can also include non-portable terminal devices such as laptop computers with touch-sensitive surfaces or touch panels, desktop computers with touch-sensitive surfaces or touch panels, and the like.

[0295] The communication system 10 may include movable electronic devices, such as mobile phones, tablet computers, smart bracelets, etc., and may also include immovable smart screens, smart lamps, smart air conditioners and other devices.

[0296] The communication system 10 may include electronic devices produced by the same manufacturer, or may include electronic devices produced by different manufacturers, which is not limited in this embodiment of the present application.

[0297] The multiple electronic devices in the communication system 10 may include smart devices such as mobile phones, smart screens, computers, etc. that are configured with a software operating system (OS), and may also include non-smart devices such as water heaters, kettles, etc. that are not configured with an OS. The OS configured for each electronic device may be different, including but not limited to Harmony OS. Each electronic device can also be configured with the same software operating system, for example, Harmony

[0298] The electronic devices in the communication system 10 establish connections and sessions with some or all other electronic devices and can communicate based on these connections and sessions. In other words, any two electronic devices in the communication system 10 can be directly connected and communicate with each other, or can communicate indirectly through another electronic device, or can have no connection or communication relationship at all.

[0299] After establishing a communication connection between electronic devices, they can be considered to have joined the same communication system. The connection between electronic devices can be established in a variety of ways, such as by user triggering or by the device actively establishing the connection, which is not limited here.

[0300] The electronic devices in the communication system 10 can establish connections and communicate with each other through any one or more of the following technologies: wireless local area network (WLAN), wireless fidelity direct (Wi-Fi direct) / wireless fidelity point-to-point (Wi-Fi P2P), Bluetooth (BT), near field communication (NFC), infrared (IR), ZigBee, ultra wideband (UWB), hotspot, Wi-Fi softAP, cellular network, wired technology or remote connection technology, etc. Among them, Bluetooth can be classic Bluetooth or low energy Bluetooth (BLE). There can be multiple different connection methods in the communication system.

[0301] Each electronic device in the communication system 10 can synchronize or share device information with each other based on the communication connection between the devices. The device information may include, but is not limited to: device identification, device type, user, device and environment status information collected by the device, etc.

[0302] In an embodiment of the present application, multiple electronic devices in the communication system 10 can negotiate and determine the central control device based on the device information of each device. The central control device can be used to: build a location database for the entire house space, determine whether the voice command contains ambiguous pronouns, determine the location of the user who issued the voice command in the entire house space, and the direction of attention of the user when issuing the voice command, determine one or more POIs in the entire house space based on the location database of the entire house space and the user's attention direction, respond to the voice command based on a POI, provide corresponding services, etc. The electronic device with a sound pickup function in the communication system 10 can also be used to collect the voice command input by the user and send the voice command to the central control device.

[0303] Each electronic device in the communication system 10 can install and run an independent voice assistant. Alternatively, multiple electronic devices in the communication system 10 can jointly run a voice assistant. This voice assistant is deployed on the communication system 10 to implement the voice interaction method containing ambiguous pronouns in the whole-home smart system.

[0304] Referring to Figure 10, Figure 10 is a hardware structure diagram of an electronic device 200 provided in an embodiment of the present application. The electronic device 200 may be the electronic device 200 in the communication system 10 shown in Figure 9.

[0305] As shown in Figure 10, the electronic device 200 may include: the electronic device 200 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0306] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0307] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0308] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0309] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0310] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 200. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.

[0311] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0312] The wireless communication function of the electronic device 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0313] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0314] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 200. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0315] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0316] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 200. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, demodulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0317] In some embodiments, the antenna 1 of the electronic device 200 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 200 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0318] Electronic device 200 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0319] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD). The display panel can also be made of an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniLED, a microLED, a micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device can include one or N display screens 194, where N is a positive integer greater than one.

[0320] The electronic device 200 can implement the shooting function through the ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0321] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise and brightness. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.

[0322] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 200 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0323] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 200 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0324] Video codecs are used to compress or decompress digital video. Electronic device 200 may support one or more video codecs. This allows electronic device 200 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0325] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 200, such as image recognition, face recognition, speech recognition, and text comprehension.

[0326] The electronic device 200 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0327] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.

[0328] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 200 can listen to music or listen to hands-free calls through the speaker 170A.

[0329] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 200 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.

[0330] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 200 can be provided with at least one microphone 170C. In other embodiments, the electronic device 200 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 200 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.

[0331] If the electronic device 200 is implemented as a central control device, the processor 110 can be used to: build a location database for the entire house space, determine whether the voice command contains ambiguous pronouns, determine the location of the user who issues the voice command in the entire house space, and the direction of attention of the user when issuing the voice command, determine one or more POIs in the entire house space based on the location database of the entire house space and the direction of attention of the user, respond to the voice command based on a POI, provide corresponding services, and so on.

[0332] If the electronic device 200 is implemented as a device for collecting voice commands, the microphone 170C, the receiver 170B, etc. can be used to collect the user's voice commands, and the mobile communication module 150, the wireless communication module 160, etc. can be used to send the voice commands to the central control device.

[0333] If the electronic device 200 is implemented as an electronic device for outputting one or more pieces of POI information, the speaker 170A, the display screen 194 , etc. may be used to output the one or more pieces of POI information.

[0334] The software system of the electronic device 200 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present application, a mobile operating system with a layered architecture is used as an example to illustrate the software structure of the electronic device 200.

[0335] FIG11 is a block diagram of the software structure of the electronic device 200 according to an embodiment of the present application.

[0336] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other via software interfaces. In some embodiments, a mobile operating system is divided into four layers: the application layer, the framework layer / core services layer, the underlying libraries and runtime, and the kernel layer.

[0337] The application layer can include a series of application packages.

[0338] As shown in Figure 11, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc. The application layer may include a voice assistant.

[0339] The program framework layer provides an application programming interface (API) and programming framework for the applications in the application layer. The program framework layer includes some predefined functions.

[0340] As shown in FIG11 , the program framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0341] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.

[0342] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0343] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.

[0344] The phone manager is used to provide communication functions for electronic devices, such as call status management (including answering, hanging up, etc.).

[0345] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0346] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.

[0347] The runtime can refer to all code libraries, frameworks, and other components required for a program to run. For example, for the C language, the runtime includes a series of function libraries required for C programs to run. For the Java language, in addition to the core libraries, the runtime also includes the virtual machine required for Java programs to run. These core libraries include the functions required by the Java language.

[0348] The underlying library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0349] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.

[0350] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0351] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0352] A 2D graphics engine is a drawing engine for 2D drawings.

[0353] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.

[0354] The following describes the workflow of the electronic device software and hardware in conjunction with capturing a photo scene.

[0355] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, touch operation timestamp, and other information). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is the control of the camera application icon, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer to capture a still image or video through the camera 193.

[0356] It should be understood that each step in the above method embodiment can be completed by hardware integrated logic circuits in a processor or by software instructions. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.

[0357] The present application also provides a vehicle, which may include: a memory and a processor. The memory may be used to store a computer program; the processor may be used to call the computer program in the memory to enable the electronic device to execute the vehicle-side execution method of any of the above embodiments.

[0358] The present application also provides an electronic device, which may include: a memory and a processor. The memory may be used to store a computer program; the processor may be used to call the computer program in the memory to enable the electronic device to execute the method executed on the central control device side in any of the above embodiments.

[0359] The present application also provides a chip system, which includes at least one processor for implementing the functions involved on the vehicle side or the central control device side in any of the above embodiments.

[0360] In one possible design, the chip system further includes a memory, which is used to store program instructions and data, and the memory is located inside or outside the processor.

[0361] The chip system can be composed of chips, or can include chips and other discrete devices.

[0362] Optionally, there may be one or more processors in the chip system. The processor may be implemented in hardware or software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0363] Optionally, the memory in the chip system may be one or more. The memory may be integrated with the processor or may be provided separately from the processor, which is not limited in the embodiments of the present application. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or provided on different chips. The embodiments of the present application do not specifically limit the type of memory or the configuration of the memory and the processor.

[0364] Exemplarily, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0365] The present application also provides a computer program product, which includes: a computer program (also referred to as code, or instructions), which, when executed, enables a computer to execute the method executed on the vehicle side or the central control device side in any of the above embodiments.

[0366] The present application also provides a computer-readable storage medium storing a computer program (also referred to as code or instructions). When the computer program is executed, the computer executes the method executed on the vehicle side or the central control device side in any of the above embodiments.

[0367] The various implementation modes of this application can be combined arbitrarily to achieve different technical effects.

[0368] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described herein are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).

[0369] Those skilled in the art will appreciate that all or part of the process steps in the above-described method embodiments can be implemented by a computer program instructing the relevant hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the process steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0370] In short, the above description is only an embodiment of the technical solution of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent replacements, improvements, etc. made based on the disclosure of this application should be included in the scope of protection of this application.

Claims

1. A voice interaction method including fuzzy pronouns, characterized in that: The method is applied to a vehicle, and comprises: Collecting a voice command, wherein the voice command includes an ambiguous pronoun; Determining a focus direction of a user who inputs the voice command; Determine one or more points of interest (POIs), wherein the one or more POIs are located in a direction of interest of the user, and the one or more POIs include a first POI; The voice command is responded to based on the first POI.

2. The method according to claim 1, characterized in that Determining the focus direction of the user who inputs the voice command specifically includes: Extracting the wireless signal received before the voice command is collected; The gesture direction of the user who inputs the voice command is determined according to the received wireless signal.

3. The method according to claim 2, characterized in that Determining the direction of a gesture of a user who inputs the voice command according to the received wireless signal specifically includes: Acquire the position of the user who inputs the voice command in the vehicle; Calculating a first distance between the user and a first radar in the vehicle; Calculate, according to the first distance, a valid target subset of each frame of wireless signal in the received multiple frames of wireless signal; The gesture direction of the user who inputs the voice command is obtained by fitting according to the valid target subset of the multi-frame wireless signal.

4. The method according to claim 1, characterized in that: Determining the focus direction of the user who inputs the voice command specifically includes: Extracting an image captured by a camera when the voice command is captured; The gesture direction of the user who inputs the voice command is determined according to the image captured by the camera.

5. The method according to claim 4, characterized in that Determining the focus direction of the user who inputs the voice command according to the image collected by the camera specifically includes: identifying, when the voice command is collected, a length of the user's arm and a length of the reference object in a first image collected by a first camera, wherein an imaging plane of the first camera is parallel to a plane where the reference object is located; Determine the projection length of the user's arm on the plane according to the projection relationship, the length of the user's arm and the length of the reference object in the first image, and the actual length of the reference object; The gesture direction of the user is determined according to the projection length of the user's arm on the plane and the actual length of the user's arm.

6. The method according to claim 4, characterized in that Determining the focus direction of the user who inputs the voice command according to the image collected by the camera specifically includes: recognizing that when the voice command is collected, the length of the user's arm and the length of the reference object in the first image collected by the first camera are not parallel to the plane where the imaging plane of the first camera and the reference object are located; Mapping the first camera to a position parallel to the plane where the reference object is located, to obtain a second image mapped from the first image; Determine the projection length of the user's arm on the plane where the reference object is located according to the projection relationship, the length of the user's arm in the second image and the length of the reference object, and the actual length of the reference object; The gesture direction of the user is determined according to the projection length of the user's arm on the plane where the reference object is located and the actual length of the user's arm.

7. The method according to claim 4, characterized in that Determining the focus direction of the user who inputs the voice command according to the image collected by the camera specifically includes: Acquire three-dimensional information of the user gesture according to a positional relationship between the second camera and the third camera and images captured by the second camera and the third camera respectively when the voice command is captured; The gesture direction of the user is determined according to the three-dimensional information of the gesture of the user.

8. The method according to any one of claims 1 to 7, characterized in that: Before collecting the voice command, the method further includes: displaying a virtual reality AR map; Outputting the information of the multiple POIs specifically includes: displaying the information of the multiple POIs in the AR map.

9. The method according to any one of claims 1 to 8, characterized in that: The voice command may further include any one or more of the following information: direction, adjective; The determined one or more POIs are consistent with the one or more items of information included in the voice command.

10. The method according to any one of claims 1 to 8, characterized in that: Before determining one or more points of interest (POIs), the method further includes: Outputting prompt information, wherein the prompt information is used to prompt the user to output any one or more of the following information: direction, adjective; The determined one or more POIs are consistent with the one or more items of information input by the user.

11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: Get the map data of the current location; The one or more POIs determined are POIs in the map data.

12. The method according to claim 11, characterized in that The obtaining of the map data of the current location specifically includes: Get the map data of the current location from the network; or, An image of the current location is collected by a camera, and map data of the current location is obtained based on the image.

13. The method according to any one of claims 1 to 11, characterized in that: Before responding to the voice command based on the first POI, the method further includes: when the determined POI includes a plurality of POIs, outputting information of the plurality of POIs; receiving a user operation of selecting the first POI from the plurality of POIs; or, When the determined POI includes one, the first POI is the determined one POI.

14. A voice interaction method including fuzzy pronouns, characterized in that: The method is applied to a communication system, the communication system comprising: a central control device, a first device, and a second device, and the method comprises: The first device collects a voice command and sends the voice command to the central control device, wherein the voice command includes a vague pronoun; The central control device determines a focus direction of a user who inputs a voice command, and determines one or more points of interest (POIs), wherein the one or more POIs are located in the focus direction of the user; If the determined POI includes multiple POIs, the central control device controls the second device to output information of the multiple POIs; The second device receives a user operation of selecting a first POI from the multiple POIs, and sends information about the user operation to the central control device; The central control device responds to the voice command based on the first POI.

15. The method according to claim 14, characterized in that The communication system further includes a third device, and the central control device responds to the voice command based on the first POI, specifically including: The central control device controls the third device to respond to the voice command, and the first POI corresponds to the third device.

16. The method according to claim 14 or 15, characterized in that The central control device determines the focus direction of the user who inputs the voice command, specifically including: Extracting a wireless signal received by the fourth device before the voice command is collected; The gesture direction of the user who inputs the voice command is determined according to the received wireless signal.

17. The method according to claim 16, characterized in that Determining the direction of a gesture of a user who inputs the voice command according to the received wireless signal specifically includes: Acquire the position of the user who inputs the voice command in the vehicle; Calculating a first distance between the user and a first radar in the vehicle; Calculate, according to the first distance, a valid target subset of each frame of wireless signal in the received multiple frames of wireless signal; The gesture direction of the user who inputs the voice command is obtained by fitting according to the valid target subset of the multi-frame wireless signal.

18. The method according to claim 14 or 15, characterized in that The central control device determines the focus direction of the user who inputs the voice command, specifically including: extracting an image captured by a camera of the fifth device when the voice command is captured; The gesture direction of the user who inputs the voice command is determined according to the image captured by the camera.

19. The method according to claim 18, characterized in that Determining the focus direction of the user who inputs the voice command according to the image collected by the camera specifically includes: identifying, when the voice command is collected, a length of the user's arm and a length of the reference object in a first image collected by a first camera, wherein an imaging plane of the first camera is parallel to a plane where the reference object is located; Determine the projection length of the user's arm on the plane according to the projection relationship, the length of the user's arm and the length of the reference object in the first image, and the actual length of the reference object; The gesture direction of the user is determined according to the projection length of the user's arm on the plane and the actual length of the user's arm.

20. The method according to claim 18, characterized in that Determining the focus direction of the user who inputs the voice command according to the image collected by the camera specifically includes: recognizing that when the voice command is collected, the length of the user's arm and the length of the reference object in the first image collected by the first camera are not parallel to the plane where the imaging plane of the first camera and the reference object are located; Mapping the first camera to a position parallel to the plane where the reference object is located, to obtain a second image mapped from the first image; Determine the projection length of the user's arm on the plane where the reference object is located according to the projection relationship, the length of the user's arm in the second image and the length of the reference object, and the actual length of the reference object; The gesture direction of the user is determined according to the projection length of the user's arm on the plane where the reference object is located and the actual length of the user's arm.

21. The method according to claim 18, characterized in that Determining the focus direction of the user who inputs the voice command according to the image collected by the camera specifically includes: Acquire three-dimensional information of the user gesture according to a positional relationship between the second camera and the third camera and images captured by the second camera and the third camera respectively when the voice command is captured; The gesture direction of the user is determined according to the three-dimensional information of the gesture of the user.

22. The method according to any one of claims 14 to 21, characterized in that: The voice command may further include any one or more of the following information: direction, adjective; The determined one or more POIs are consistent with the one or more items of information included in the voice command.

23. The method according to any one of claims 14 to 21, characterized in that: Before the central control device determines one or more points of interest (POIs), the method further includes: The central control device controls the sixth device to output prompt information, and the prompt information is used to prompt the user to output any one or more of the following information: direction, adjective; The determined one or more POIs are consistent with the one or more items of information input by the user.

24. The method according to any one of claims 14 to 23, characterized in that: The method further comprises: The central control device receives map data collected by one or more devices in the communication system; A location database of the space where the communication system is located is constructed based on the map data.

25. The method according to any one of claims 14 to 24, characterized in that: The method further comprises: If the determined POI includes one, the central control device responds to the voice command based on the determined POI.

26. A vehicle, characterized in that: include: A memory, one or more processors; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the vehicle to execute the method as described in any one of claims 1-13.

27. A communication system, characterized in that: The communication system includes a central control device, a first device, and a second device, and the communication system is used to execute the method according to any one of claims 14-25.

28. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device executes the method as claimed in any one of claims 1 to 13.

Citation Information

Patent Citations

  • Portal services based on interactions with points of interest discovered via directional device information

    CN102483824A

  • System and method for identifying points of interest from interior of autonomous vehicle

    CN114175114A

  • Method, device and equipment for sensing interest points around vehicle and medium

    CN115712785A

  • User interest point determination method and device, electronic equipment and storage medium

    CN116932934A

  • Method and control system for operating a motor vehicle

    US20150336588A1

Cited By

  • BCM (Body Control Module) cooperative control method based on voice instruction recognition in vehicle-mounted high-noise environment

    CN121725784A