Voice instruction-based processing method, device, and system
By employing a multi-terminal architecture for voice command processing, the head-mounted display device collaborates with the terminal and the cloud to process voice data. This solves the problems of high latency and high computing costs in weak or no-network environments in existing technologies, achieving low-latency and efficient voice interaction processing, and improving user experience and system usability.
Patent Information
- Application Number
- PCT/CN2026/111607
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-19
- Filing Date
- 2026-07-17
- Publication Date
- 2026-11-26
AI Technical Summary
Existing voice command processing methods for smart devices suffer from high latency and high computation and communication costs in weak or no network environments. Single-end architectures rely on the network, leading to functional failures, while dual-end architectures have complex intent processing latency that has not been significantly reduced.
A voice command processing method based on a multi-terminal architecture is adopted. Voice data is recognized through a head-mounted display device and simultaneously sent to the terminal and the cloud. The terminal and the cloud work together to process user intent information, execute operations in response to the recognition or receipt of user intent information, and send a cancellation signal to interrupt the task.
It achieves low-latency and efficient voice interaction processing in weak or no network environments, improving user experience and system usability. By reducing latency and optimizing resource utilization through multi-terminal collaboration, it improves the accuracy and robustness of voice interaction.
Smart Images

Figure CN2026111607_26112026_PF_FP_ABST
Abstract
Description
Methods, devices and systems for processing voice commands
[0001] Cross-references to related applications
[0002] This application claims priority to Chinese Patent Application No. 202510637897.7, filed on May 19, 2025, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The embodiments disclosed herein relate to the field of computer technology, and more specifically to methods, devices, and systems for processing voice commands. Background Technology
[0004] With the increasing prevalence of smart interactive devices (such as AR glasses and smart headphones), users' demand for real-time voice interaction is growing daily. Currently, voice command processing in smart devices mainly adopts single-end and dual-end architectures. The aforementioned single-end architecture typically refers to a solution that relies entirely on the cloud for intent recognition; voice commands need to be uploaded to a cloud server for processing before the result is returned. The aforementioned dual-end architecture typically refers to a solution that adds a lightweight intent matching module on the device side; unmatched commands still need to be uploaded to the cloud for processing.
[0005] However, when using the above methods to process voice commands, the following technical problems often exist: When processing voice commands through the above single-end architecture, there may be problems such as complete reliance on the network, high latency (usually ≥2 seconds), and failure of function in weak network or no network environment; When processing voice commands through the above dual-end architecture, there may be problems such as limited coverage of commands on the device side, complex intentions still needing cloud intervention resulting in insignificant latency reduction, and frequent cloud calls leading to high computing and communication costs.
[0006] The information disclosed in this background section is only intended to enhance the understanding of the background of the present disclosure concept, and therefore may contain information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0007] The summary portion of this disclosure is intended to provide a brief overview of the concepts, which will be described in detail in the detailed description portion. This summary portion is not intended to identify key or essential features of the claimed technical solutions, nor is it intended to limit the scope of the claimed technical solutions.
[0008] Some embodiments of this disclosure propose a voice command-based processing method, a head-mounted display device, and a multi-terminal architecture-based command processing system to explain one or more of the technical problems mentioned in the background section above.
[0009] In a first aspect, some embodiments of this disclosure propose a voice command-based processing method, which includes: recognizing voice data and simultaneously sending the voice data to a terminal and a cloud; in response to receiving or recognizing user intent information sent by the terminal or the cloud, executing a preset operation corresponding to the user intent information, wherein the user intent information sent by the terminal is obtained by the terminal recognizing the received voice data, and the user intent information sent by the cloud is obtained by the cloud recognizing the received voice data; in response to recognizing the user intent information, sending a cancellation signal to the terminal and the cloud, wherein the cancellation signal is used to interrupt the task corresponding to the voice data in the terminal and the cloud.
[0010] Optionally, the above-mentioned recognition of voice data includes: performing preliminary recognition on the voice data to obtain a preliminary recognition result; generating user intent information and a cancellation signal in response to the preliminary recognition result meeting preset preliminary recognition conditions; performing secondary recognition on the voice data in response to the preliminary recognition result not meeting preset preliminary recognition conditions to obtain a secondary recognition result; and generating user intent information and a cancellation signal in response to the secondary recognition result meeting preset secondary recognition conditions.
[0011] Optionally, the user intent information sent by the terminal is generated through the following steps: classifying and recognizing the received voice data according to the terminal intent recognition model to obtain a classification and recognition result; generating an intent type corresponding to the received voice data in response to the classification and recognition result satisfying a preset classification and recognition condition; extracting parameters from the voice data received by the terminal according to the intent type to obtain parameter data; and generating user intent information and a cancellation signal according to the intent type and the parameter data, wherein the cancellation signal is used to interrupt the task corresponding to the voice data in the cloud.
[0012] Optionally, the user intent information sent from the cloud is generated through the following steps: generating at least one initial user intent information based on the received voice data; and generating user intent information based on the at least one initial user intent information.
[0013] Optionally, generating at least one initial user intent information based on the received voice data includes: extracting intent from the voice data to obtain a list of intent keywords; extracting complexity from the intent keyword list based on pre-set complexity information to obtain a set of complex keywords; generating a complexity level corresponding to the voice data based on the set of complex keywords and the pre-set complexity information; generating a model identifier based on the matching information of a pre-set large language model and the complexity level corresponding to the voice data; and inputting the voice data into the target large language model corresponding to the model identifier to obtain at least one initial user intent information.
[0014] Optionally, generating user intent information based on the at least one initial user intent information includes: performing semantic transformation on the at least one initial user intent information to obtain at least one transformed initial user intent information; generating a candidate atomic operation list based on the at least one transformed initial user intent information and a head-mounted display device-specific capability map; adding spatiotemporal constraint markers to the candidate atomic operation list to obtain an operation list with spatiotemporal dependency markers; verifying the operation list with spatiotemporal dependency markers to obtain a verification result; generating feedback information in response to the verification result indicating that the verification failed, and visualizing the feedback information; and generating user intent information based on the operation list with spatiotemporal dependency markers in response to the verification result indicating that the verification passed.
[0015] Optionally, the above-mentioned verification of the operation list with spatiotemporal dependency markers to obtain a verification result includes: performing a correctness verification on the operation list with spatiotemporal dependency markers; in response to the operation list with spatiotemporal dependency markers passing the correctness verification, obtaining hardware performance status information; performing a feasibility verification on the operation list with spatiotemporal dependency markers based on the hardware performance status information; in response to the operation list with spatiotemporal dependency markers passing the feasibility verification, performing a conflict verification on the operation list with spatiotemporal dependency markers based on the hardware performance status information; in response to the operation list with spatiotemporal dependency markers passing the conflict verification, performing parameter validation on the operation list with spatiotemporal dependency markers; and in response to the operation list with spatiotemporal dependency markers passing the parameter validation, determining the preset information indicating that the verification has passed as the verification result.
[0016] Optionally, the above method further includes: sending the acquired multimodal data information corresponding to the above-mentioned voice data to the above-mentioned cloud, wherein the multimodal data information is used by the above-mentioned cloud to generate user intent information based on the above-mentioned at least one initial user intent information.
[0017] In a second aspect, some embodiments of this disclosure provide a head-mounted display device, comprising: at least one display screen for imaging in front of a user; one or more processors; and a storage device having one or more programs stored thereon, which, when executed by the one or more processors, cause the one or more processors to implement the method described in any implementation of the first aspect.
[0018] Thirdly, some embodiments of this disclosure propose an instruction processing system based on a multi-terminal architecture. The system includes: a head-mounted display device configured to recognize voice data and simultaneously transmit the voice data to a terminal and a cloud; in response to receiving or recognizing user intent information, executing a preset operation corresponding to the user intent information; in response to recognizing user intent information, sending a cancellation signal to the terminal and the cloud; a terminal configured to recognize received voice data; in response to recognizing user intent information, sending the recognized user intent information to the head-mounted display device; and a cloud configured to generate at least one initial user intent information based on the received voice data; generate user intent information based on the at least one initial user intent information, and send the generated user intent information to the head-mounted display device.
[0019] The various embodiments disclosed above have the following beneficial effects: The voice command processing methods of some embodiments of this disclosure can achieve more efficient, lower latency, and more robust voice interaction processing, thereby improving user experience and system usability to a certain extent. Specifically, traditional voice interaction architectures, such as single-end and dual-end architectures, may cause functional failures in weak or no-network environments, high latency in processing complex intents (typically ≥2 seconds), and high computational and communication costs due to frequent cloud calls. Based on this, the voice command processing methods of some embodiments of this disclosure first recognize voice data through a head-mounted display device and simultaneously send the voice data to the terminal and the cloud, ensuring multi-level data processing and rapid response. This provides a foundation for multi-end collaboration in the efficient processing of complex intents, ensuring data diversity and timely processing. Then, the head-mounted display device, in response to receiving or recognizing user intent information sent by the terminal or cloud, executes a preset operation corresponding to the user intent information. Thus, the combination of localized processing and recognition significantly reduces latency and improves system response speed. Simultaneously, after receiving voice data from the head-mounted display device, the terminal can also recognize the voice data and generate user intent information, further optimizing task allocation and resource utilization. Thus, through the terminal's lightweight processing, efficient recognition and rapid response to more complex intents are ensured. Furthermore, the cloud can also analyze the voice data received from the head-mounted display device and generate user intent information. Therefore, deep processing in the cloud significantly improves the processing accuracy and system robustness for more complex intents. In addition, in response to the recognition of user intent information, the head-mounted display device sends a cancellation signal to both the terminal and the cloud, interrupting the corresponding voice data tasks in both the terminal and the cloud, avoiding unnecessary waste of computing and communication resources, improving system efficiency, and reducing energy consumption. Thus, through multi-terminal collaboration and dynamic task allocation, efficient processing and low-latency response of voice interaction are achieved, and the generated interaction results have high accuracy and reliability, effectively handling complex voice interaction scenarios. This provides a more reliable and practical solution for augmented reality, smart devices, and other fields. Attached Figure Description
[0020] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.
[0021] Figure 1 is a flowchart of some embodiments of the voice command-based processing method according to the present disclosure;
[0022] Figure 2 is a schematic diagram of a head-mounted display device suitable for implementing some embodiments of the present disclosure;
[0023] Figure 3 is a schematic diagram of the structure of some embodiments of the instruction processing system based on a multi-terminal architecture according to the present disclosure. Detailed Implementation
[0024] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0025] It should also be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings. Unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other.
[0026] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0027] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0028] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0029] This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.
[0030] Figure 1 illustrates a flow 100 of some embodiments of the voice command-based processing method according to the present disclosure. The voice command-based processing method includes:
[0031] Step 101: Recognize the voice data and send the voice data synchronously to the terminal and the cloud.
[0032] In some embodiments, the executing entity of the above-described voice command-based processing method can recognize voice data and simultaneously send the voice data to a terminal and the cloud. The executing entity can be a head-mounted display device (referring to AR glasses, MR mixed reality headsets, VR immersive helmets, smart audio glasses with see-through displays, industrial smart safety helmets integrating display and sound pickup modules, vehicle-mounted head-mounted display eyepieces, etc., that possess voice interaction capabilities). In this example, AR glasses are used as an example to illustrate this solution; correspondingly, the head-mounted display device is the glasses end. The voice data can be text information obtained by processing the voice signal emitted by the user on the glasses end. The voice signal is typically a time-domain waveform signal acquired through a microphone. The text information is typically text-based (such as "turn on Bluetooth" or "recognize the image in front of you," etc.). The glasses end is a head-mounted display device integrating components such as microdisplays, sensors, and processors, and can provide voice interaction, visual perception, and information display functions in different environments (such as AR / MR / VR). The glasses end can be binocular diffractive waveguide AR glasses. The aforementioned terminals can be devices directly used by users, typically including smartphones, tablets, and personal computers (PCs). These terminals can quickly process simple tasks, ensuring multi-level data processing and rapid response. The aforementioned cloud can be a collection of remote servers and data centers, responsible for storing and processing large amounts of data. The aforementioned cloud can handle complex tasks and various files, providing high-precision intent recognition and global consistency. Both the glasses and the aforementioned terminals support operation in both offline and network-connected states. The aforementioned cloud operates with a network connection. The aforementioned glasses are suitable for high-frequency, explicit CMD (Command) voice commands. The aforementioned terminals can process simple, high-frequency voice commands from users and quickly complete intent classification and command processing without relying on a network. The aforementioned cloud can process commands through a large cloud-based language model, possessing more efficient and comprehensive voice command intent classification and task execution capabilities. In practice, the aforementioned glasses can recognize the voice data obtained after processing the user's voice signal. When the aforementioned glasses acquire any voice data, it can recognize that voice data. Simultaneously, in the absence of a network, the voice data can be transmitted to the aforementioned terminal via Bluetooth or Wi-Fi Direct; in the presence of a network, the voice data can be transmitted to the aforementioned cloud via a cloud server or message queue telemetry. Upon successful voice data recognition, user intent information can be obtained. Furthermore, the aforementioned terminal and the aforementioned cloud can also transmit data to the aforementioned glasses using the same corresponding methods. The aforementioned terminal can also receive and transmit data with the aforementioned cloud via a cloud server or message queue telemetry when a network is available.The user intent information may be one or more pieces of instruction information obtained by the glasses terminal, the terminal or the cloud through recognizing or processing the voice data (such as "turn on Bluetooth" or "start camera, take photos, send photos to the cloud, display the recognized information sent by the cloud", etc.). The instruction information may be text information corresponding to the functions of the glasses terminal. For example, the glasses terminal may use a decision tree classification method to recognize the voice data. First, hierarchical judgment rules are constructed based on more common predefined instruction words, and feature branches are set according to priority starting from the root node. For example, the first layer judges whether brightness-related words such as "bright" or "dark" are included. If matched, it is classified as a "brightness adjustment" instruction; if not matched, it enters the second layer to judge whether device operation words such as "on" or "off" are included, and if matched, it is classified as "device control"; then a third layer can be set to detect path-related words such as "navigation" or "go". For special emergency instructions such as "shutdown" or "distress", independent branches need to be set for priority recognition. It can be understood that the above priorities and corresponding feature branches are only examples. In practice, multiple priorities and feature branches corresponding to each priority can be set as needed. When the matching is successful, the instruction matched in the decision tree is output as the user intent information. When the voice data traverses the entire decision tree and still fails to match, it is determined as an unknown instruction and stored in the queue to be analyzed, that is, the user intent information is not recognized. The above glasses terminal is suitable for processing composite instructions with clear structures such as "increase brightness, turn off lights, navigate home".
[0033] In some optional implementations of some embodiments, the above execution subject may recognize the voice data through the following steps:
[0034] Step 1: perform preliminary recognition on the voice data to obtain a preliminary recognition result. The preliminary recognition may be parsing and filtering the voice data based on predefined rules. In practice, the glasses terminal may use a KV matching engine to match the predefined rules (such as various regular expressions, for example, "Leqi" can be set as a kind of user intent information corresponding to performing a certain task) with the voice data (usually in CMD format). When the voice data can be successfully matched with any regular expression in the predefined rules, the preliminary recognition result indicates success. When the voice data fails to match any rule in the predefined rules, the preliminary recognition result indicates failure.
[0035] Step two: In response to the preliminary recognition result meeting the preset preliminary recognition conditions, user intent information and a cancellation signal are generated. The preset preliminary recognition conditions indicate that the preliminary recognition result is successful. The cancellation signal can be a control signal used to notify other terminals to interrupt related tasks currently processing the same voice data. In practice, when the preliminary recognition result meets the preset preliminary recognition conditions, the glasses terminal can use the regular expression corresponding to the voice data in the predefined rules as user intent information and generate a cancellation signal. For example, the cancellation signal can be encapsulated using a structured protocol and may include a "0x55AA" frame header identifier, a CRC32 checksum of the user intent information (e.g., 0x8A3F5C2D), the glasses terminal device number (glasses terminal identifier, e.g., 0x01), a high-precision timestamp (e.g., 1718001234567890), and a checksum "0xCC". The cancellation signal can be sent by the glasses terminal to the terminal (terminal identifier, e.g., 0x02) and the cloud (cloud identifier, e.g., 0x03) via Bluetooth Low Energy or a cloud server.
[0036] Step 3: In response to the preliminary recognition result not meeting the preset preliminary recognition conditions, the speech data is subjected to secondary recognition to obtain a secondary recognition result. This secondary recognition can involve matching the speech data with preset Natural Language Understanding (NLU) rules. The preset NLU rules represent the semantic mapping relationship between speech data and user intent information (for example, adjusting brightness is associated with speech data such as "brighter," "turn on the screen," or "make the screen brighter"; switching devices is associated with speech data such as "turn on the lights," "turn off the lights," "turn on the air conditioner," or "turn off the TV," but this application does not limit this; in practical applications, any known NLU implementation method, including keyword matching, classification model inference, or large language model parsing, can be used). In practice, when the preliminary recognition result does not meet the preset preliminary recognition conditions, the executing entity can directly match the speech data with the preset NLU rules. If the speech data conforms to any of the preset NLU rules, the secondary recognition result is successfully represented; if the speech data fails to conform to any of the preset NLU rules, the secondary recognition result fails.
[0037] Step four: In response to the secondary recognition result satisfying the preset secondary recognition conditions, user intent information and a cancellation signal are generated. The preset secondary recognition conditions indicate that the secondary recognition result is successful. In practice, the glasses can generate user intent information and a cancellation signal corresponding to the association relationship of the voice data in the preset NLU rules when the secondary recognition result satisfies the preset secondary recognition conditions.
[0038] Optionally, the aforementioned implementing entity may also perform the following steps:
[0039] The first step involves activating a high-precision microphone array in response to the recognition of a speech segment matching the user's voiceprint characteristics, thereby obtaining the speech signal. The user's voiceprint characteristics can be acoustic features (such as frequency, amplitude, timbre, pitch, and rhythm) stored in a pre-set embedded security chip that identify the user. The high-precision microphone array can be a dual-microphone array. The speech signal can be a time-domain waveform signal including the user's voice input and noise. In practice, the glasses can acquire ambient audio information in real time using a low-power microphone. When a speech segment matching the user's voiceprint characteristics is recognized, a dual-microphone array can be used to acquire the time-domain waveform signal as the speech signal.
[0040] The second step involves inputting the aforementioned speech signal into the encoder of a pre-trained noise separation model to obtain feature data. This pre-trained noise separation model includes the encoder, mask generation network, and decoder. The pre-trained noise separation model can be a simplified, lightweight Conv-TasNet model structure. This model is trained to remove noise from the time-domain signal while retaining the speech signal corresponding to the user's input. In practice, the glasses can input this speech signal (dimension Batch × 1 × 160) into a one-dimensional convolutional layer (64 filters, kernel length 20, stride 10, no padding) of the encoder for local extraction, obtaining the output of the one-dimensional convolutional layer (dimension Batch × 64 × 15). Then, using GLU, the output of the one-dimensional convolutional layer is divided into two parts along the channel dimension and multiplied (from 64 to 32) for compression, yielding the compressed core features, i.e., the feature data (dimension Batch × 32 × 15).
[0041] The third step involves inputting the aforementioned feature data into the convolutional blocks of the mask generation network to obtain channel fusion information. The mask generation network comprises convolutional blocks (which can be depthwise separable convolutional blocks) and a mask output layer. Each convolutional block includes a depthwise convolutional layer and a pointwise convolutional layer. In practice, the glasses can input the feature data into four pre-set depthwise separable convolutional blocks. Each depthwise separable convolutional block includes a depthwise convolutional layer (32 groups (1 channel per group), kernel length 3, preserving dimensions) and a pointwise convolutional layer (1×1 convolution, 32 output channels). Layer normalization (LayerNorm) and parameterized ReLU (PReLU) are also introduced. Finally, channel fusion information (dimension Batch×32×15) is obtained.
[0042] The fourth step involves inputting the channel fusion information into the mask output layer to obtain a multi-channel tensor. In practice, the glasses can input this channel fusion information into the mask output layer. The mask output layer (1×1 convolution, 64 output channels (32 channels for speech and 32 for noise)) can incorporate a Sigmoid function for normalization. The first 32 output channels of the mask output layer represent the speech mask (representing the user's speech input), and the last 32 represent the noise mask; that is, the first 32 channels are trained to extract the speech mask, and the last 32 channels are trained to extract the noise mask. Finally, a multi-channel tensor (dimension Batch×64×15 (32×15 for speech mask and 32×15 for noise mask)) is obtained.
[0043] The fifth step involves segmenting the multi-channel tensor according to the pre-defined distribution of convolutional kernels in the mask output layer to obtain the speech signal mask. In practice, the glasses can use a single-slice operation to segment the multi-channel tensor. This yields the mask for the first 32 channels, i.e., the speech signal mask (dimension Batch × 32 × 15).
[0044] The sixth step is to input the aforementioned speech signal mask into the aforementioned decoder to obtain the denoised speech signal. In practice, the aforementioned execution entity can input the aforementioned speech signal mask into the transposed convolutional layer (1 filter, kernel length 20, stride 10) of the aforementioned decoder for transposed convolution (reconstructing the time domain signal) to obtain the denoised speech signal (dimension Batch×1×160).
[0045] Step 7: The denoised speech signal is input into the causal convolutional layer of the pre-trained feature extractor to obtain local feature data. The pre-trained feature extractor includes the causal convolutional layer, the encoder layer, and the dynamic pooling layer. This pre-trained feature extractor can be a lightweight CNN+Transformer hybrid architecture. It is trained to extract a speech feature matrix from the denoised speech signal. In practice, the glasses can input the denoised speech signal into the causal convolutional layer (16 channels, stride 1, left padding 79, right padding 0) to extract local features (i.e., short-term acoustic features such as pitch and formants) to obtain local feature data (dimension Batch×16×160).
[0046] Step 8: Input the aforementioned local feature data into the encoder layer to obtain global feature data. This encoder layer can be a single-layer Transformer encoder, comprising 4 attention heads (each corresponding to 4 dimensions, totaling 16 dimensions) and 32 feedforward hidden layers. In practice, the glasses can input the local feature data into the encoder layer to model global temporal dependencies (i.e., establish cross-frame associations, such as phonological changes and intonation trends), and utilize residual connections and layer normalization to stabilize training and accelerate convergence. Finally, the ARM CMSIS-DSP library is used to accelerate matrix operations to obtain global feature data (dimension Batch × 16 × 160).
[0047] Step 9: Input the global feature data into the dynamic pooling layer to obtain the speech feature matrix. In practice, the glasses can input the global feature data into the dynamic pooling layer (pooling window 2, stride 2) for average pooling, that is, only compress the time dimension to obtain the speech feature matrix (dimension Batch×16×80).
[0048] Step 10: Perform preliminary prediction on the above speech feature matrix to obtain a preliminary phoneme sequence and the phoneme probability of each preliminary phoneme in the corresponding frame. The preliminary phoneme is the phoneme with the highest predicted probability for each frame. The preliminary phoneme sequence includes each preliminary phoneme. The phoneme probability of each preliminary phoneme in the corresponding frame is the predicted probability of each preliminary phoneme in the corresponding frame. In practice, the above glasses can use a lightweight CRNN model (1D convolution, GRU) for prediction. First, perform 1D convolution on the above speech feature matrix, using 32 convolution kernels (kernel length 3, causal padding) to extract local temporal features while maintaining temporal resolution, resulting in a 1D convolution output (dimension Batch × 32 × 80). Next, model long-term dependencies using a 64-dimensional hidden state on the 1D convolution output, updating the state frame by frame to obtain context-aware features (dimension Batch × 80 × 64). Then, the aforementioned context-aware features are linearly transformed to 40 dimensions (corresponding to 40 pre-defined phonemes), and the probabilities are normalized using Softmax to obtain a phoneme probability matrix (dimension Batch×80×40). Finally, the maximum value of the 40-dimensional probability distribution for each frame is taken to obtain a preliminary phoneme sequence. For example, when a user says "turn on the light," we get: Frame 1: the probability of phoneme / k / is 0.9, and the probability of / t / is 0.1; Frame 2: the probability of phoneme / ai / is 0.85, and the probability of / ei / is 0.15. Similarly, a preliminary phoneme sequence (such as / k / / ai / / d / / eng / ) is obtained.
[0049] Step 11: Based on the aforementioned preliminary phoneme sequence, generate a candidate instruction set and the instruction probability of each candidate instruction corresponding to the preliminary phoneme sequence in the candidate instruction set. The candidate instructions are executable operation instructions selected from a predefined instruction library that match the phoneme sequence of the user's voice input. The predefined instruction library includes various predefined executable instructions. The candidate instruction set includes various candidate instructions. The instruction probability of each candidate instruction in the candidate instruction set corresponding to the preliminary phoneme sequence can be the matching confidence of the preliminary phoneme sequence and each candidate instruction, generally a normalized conditional probability value. In practice, the aforementioned glasses terminal can construct an instruction phoneme prefix tree, that is, convert the text of each instruction in the predefined instruction library into a phoneme sequence, and then construct a multi-level index tree with phonemes as nodes to obtain a prefix tree structure (supporting branch retrieval by phoneme sequence, storing instruction names and frequency of occurrence). Then, the preliminary phoneme sequence is input into this prefix tree, and the Viterbi algorithm is used to obtain each candidate instruction and its score. Finally, the scores of each candidate instruction are normalized using Softmax to obtain the instruction probability of each candidate instruction in the aforementioned candidate instruction set corresponding to the preliminary phoneme sequence. For example, if a user says "turn on the light," the following candidate instructions can be obtained: for the phoneme sequence / k / / ai / / d / / eng / , they may correspond to: "turn on the light" (probability 0.85); "kaden" (probability 0.1); "open" (probability 0.05).
[0050] The twelfth step involves filtering the candidate instructions based on their probabilities in the aforementioned set to obtain the speech data. In practice, the glasses can use the candidate instruction with the highest probability from the set as the speech data.
[0051] The first to twelfth steps described above are an inventive point of this disclosure, which solves the problem that "existing speech recognition technologies have insufficient noise resistance of speech signals, inaccurate speech feature extraction, and inability to efficiently generate accurate instructions in complex noise environments".
[0052] The current technology falls short of meeting the demands for high-precision speech recognition due to the following shortcomings: Existing methods have deficiencies in noise separation, speech feature extraction, phoneme sequence prediction, and command recognition. They struggle to adapt effectively to different noise environments, user speech characteristics, and command libraries. Furthermore, they suffer from deficiencies in model robustness and computational efficiency, resulting in low recognition accuracy and failing to fully meet the requirements for high-precision speech recognition. Addressing these factors would improve speech recognition accuracy, optimize model robustness, and achieve high-precision speech command recognition. To achieve this effect, this disclosure employs a deep learning-based speech recognition and command parsing method. In response to the recognition of a speech segment matching the user's voiceprint characteristics, a high-precision microphone array is activated to obtain a speech signal. The speech signal is then input into the encoder of a pre-trained noise separation model to obtain feature data. The pre-trained noise separation model includes the encoder, a mask generation network, and a decoder. The feature data is then input into each convolutional block of the mask generation network to obtain channel fusion information. The mask generation network includes each convolutional block and a mask output layer, and each convolutional block includes a depthwise convolutional layer and a pointwise convolutional layer. The channel fusion information is then input into the mask output layer to obtain a multi-channel tensor. Based on the pre-set distribution of convolutional kernels in the mask output layer, the multi-channel tensor is segmented to obtain a speech signal mask. The speech signal is then processed by the mask generation network. A signal mask is input into the decoder to obtain a denoised speech signal. The denoised speech signal is then input into a causal convolutional layer in a pre-trained feature extractor to obtain local feature data. The pre-trained feature extractor includes the causal convolutional layer, an encoder layer, and a dynamic pooling layer. The local feature data is input into the encoder layer to obtain global feature data. The global feature data is then input into the dynamic pooling layer to obtain a speech feature matrix. The speech feature matrix is used for preliminary prediction to obtain a preliminary phoneme sequence and the phoneme probability of each preliminary phoneme in the preliminary phoneme sequence in the corresponding frame. Based on the preliminary phoneme sequence, a candidate instruction set and the instruction probability of each candidate instruction corresponding to the preliminary phoneme sequence in the candidate instruction set are generated. Based on the instruction probability of each candidate instruction in the candidate instruction set, the candidate instructions are filtered to obtain speech data.
[0053] Specifically, the optimization of this disclosure is achieved through the following steps:
[0054] Voiceprint activation and high-quality speech signal acquisition: By recognizing the user's voiceprint features, a high-precision microphone array is activated to acquire a speech signal containing the user's voice input and noise.
[0055] Noise separation: Using a pre-trained noise separation model, noise in the speech signal is removed, preserving the clean user speech input.
[0056] Speech feature extraction: A speech feature matrix is extracted from the denoised speech signal using a lightweight CNN+Transformer hybrid architecture feature extractor.
[0057] Phoneme sequence prediction: A lightweight CRNN model is used to process the speech feature matrix to generate a preliminary phoneme sequence and phoneme probabilities.
[0058] Candidate instruction generation and selection: Combining instruction phoneme prefix trees and Viterbi algorithms, a set of candidate instructions and instruction probabilities are generated, and the final speech instructions are selected.
[0059] Through the above steps, the embodiments of this disclosure can achieve end-to-end optimization from raw speech signals to accurate speech commands. This enables effective extraction of speech features, flexible adaptation to different noise environments and user speech, optimization of each stage of speech recognition and command parsing, improved recognition accuracy and model robustness, and ultimately, high-precision speech command recognition.
[0060] Step 102: In response to receiving user intent information sent by the terminal or the cloud or identifying user intent information, execute the preset operation corresponding to the user intent information.
[0061] In some embodiments, the execution entity can, in response to receiving or recognizing user intent information sent by the terminal or the cloud, execute a preset operation corresponding to the user intent information. The user intent information sent by the terminal is obtained by the terminal recognizing received voice data. The user intent information sent by the cloud is obtained by the cloud recognizing received voice data. The received voice data is voice data sent by the glasses to the terminal and the cloud, i.e., voice data obtained by the glasses after processing the user's voice signal. The MCU (such as Nordic nRF5340) of the glasses can coordinate various sensors and peripherals to achieve real-time response to user intent information. In practice, when the glasses recognize user intent information from the voice data or receive user intent information sent by the terminal or the cloud, the glasses can execute one or more of the instructions in the user intent information in the order they appear in the glasses, corresponding to the functions in the glasses. For example, if the user intent information recognized or obtained by the glasses is "take a picture of what's in front," the glasses can control the camera to take a picture. Alternatively, the user intent information may include: "take a picture of the scene in front", "upload the picture to the cloud", "display the recognition results from the cloud", and the glasses can control the relevant processor to complete the related operations of taking pictures, uploading data, receiving data and visualization.
[0062] In some optional implementations of certain embodiments, the user intent information sent by the terminal is generated through the following steps:
[0063] Step one: Based on the terminal intent recognition model, classify and recognize the received speech data to obtain classification and recognition results. These classification and recognition results are the keywords extracted from the received speech data by the terminal intent recognition model. The terminal intent recognition model can be a lightweight large language model based on Transformer Encoder. The terminal intent recognition model has 4 attention heads, 128 hidden layer dimensions, and 256 feedforward layer dimensions. This is merely an example and not intended to limit the scope of this disclosure. Any model capable of achieving the above-mentioned "classifying and recognizing the received speech data to obtain classification and recognition results" is applicable to this disclosure. In practice, the terminal can introduce the Transformer's self-attention mechanism into the terminal intent recognition model to locate keywords (such as verbs or nouns in the speech data). Furthermore, pruning or quantization methods can be introduced to lightweight the terminal intent recognition model, ultimately obtaining at least one keyword, which is then used as the classification and recognition result.
[0064] Step two: In response to the classification and recognition results satisfying the preset classification and recognition conditions, the intent type corresponding to the received voice data is generated. The preset classification and recognition conditions can be that at least one keyword in the classification and recognition results successfully matches a reference keyword in the preset intent type reference information. The preset intent type reference information can include pre-set reference keywords (such as verbs or nouns) representing the intent type. The preset intent type reference information can support the expansion of reference keywords by updating the YAML configuration file. The intent type corresponding to the received voice data includes at least one keyword in the classification and recognition results that satisfies the preset classification and recognition conditions. In practice, the terminal can match the keywords in the classification and recognition results with each reference keyword in the preset intent type reference information. When at least one keyword successfully matches at least one reference keyword in the preset intent type reference information, the at least one keyword is determined as the intent type corresponding to the received voice data.
[0065] Step 3: Extract parameters from the voice data received by the terminal according to the aforementioned intent type to obtain parameter data. This parameter data can be structured operational parameters (such as location or time) extracted from the voice data and directly related to the intent type. In practice, the terminal first uses a lightweight word segmentation tool (such as rule-based sub-word segmentation or a pre-trained word segmenter) to convert the received voice data into a sub-word sequence. Then, the sub-word sequence is converted into a 64-dimensional word vector, and a 6×32 context feature matrix (with a 32-dimensional hidden layer) is captured using a single-layer bidirectional LSTM to obtain the score for each sub-word on different labels. Next, using a Viterbi algorithm based on dynamic programming, and combined with label transition rules (i.e., the rationality of label transitions, such as scoring 1.2 points for "time" followed by "time" and deducting 0.5 points for "location"), the sequence with the highest comprehensive score (weighted by word label matching degree and label transition rationality) is selected from all possible label paths as the label sequence (e.g., ["B-TIME", "I-TIME", "O", "B-CONTENT"]). Then, by merging consecutive labels (e.g., merging "B-TIME" and "I-TIME" into a time parameter) and standardizing the values (e.g., changing "3 PM" to 15:00), structured operational parameters directly related to the intent type are obtained, i.e., parameter data. It is understood that the above parameter extraction method is merely illustrative and this application is not limited to it; any method capable of extracting structured operational parameters from speech data can be applied here.
[0066] Step four: Based on the intent type and parameter data described above, generate user intent information and a cancellation signal. In practice, the executing entity can combine the intent type and parameter data according to a JSON Schema (converting it to a standard data structure) for structured encapsulation to obtain user intent information. Simultaneously, a cancellation signal can be generated.
[0067] In some optional implementations of certain embodiments, the user intent information sent from the cloud is generated through the following steps:
[0068] Step 1: Based on the received voice data, generate at least one initial user intent information. This initial user intent information can be the output of a large language model obtained by the cloud from analyzing the received voice data; it is the raw semantic output without structured processing. It may contain multiple intents (e.g., two independent commands, "play music" and "turn down the volume"), may contain natural language redundancy (e.g., "I want the system to turn on the living room lights"), and may contain ambiguous expressions (e.g., the word "appropriate" in "adjust to appropriate brightness" is not quantified). In practice, after receiving the voice data sent by the glasses, the cloud can replace keyword extraction by constructing a dynamic semantic graph. First, dependency parsing is performed on the voice data to generate a syntax tree structure (using Stanford Parser or UDpipe), extracting the subject-verb-object core framework as graph nodes. Next, GNN is used to model the semantic relationships between syntax tree nodes, obtaining a weighted semantic relationship matrix. Then, user behavior temporal features (feature vectors from nearly 30 minutes of operation records extracted using LSTM) are introduced and fused with the semantic graph across modalities, using an attention mechanism to calculate the context relevance score. Finally, the fused features are mapped into multi-dimensional intent vectors using a differentiable rule engine (such as Neural Logic Machines). Based on a reinforcement learning strategy (which selects the most suitable combination of large language models for intent recognition according to the characteristics and processing requirements of the multi-dimensional intent vectors), the optimal large model combination (such as BERT+GPT-3 hybrid inference) is dynamically selected to obtain initial user intent information. A confidence distribution heatmap can also be generated for subsequent verification. It should be noted that the specific semantic parsing models (such as Stanford Parser, UDpipe, GNN, LSTM, etc.) and reinforcement learning strategies mentioned above are all exemplary implementations available in this field. The core here is to generate initial user intent information in the cloud. The specific semantic parsing method used can be flexibly selected according to actual deployment needs, and this application does not limit it.
[0069] Step two: Based on at least one initial user intent information, generate user intent information. In practice, the aforementioned cloud can first construct a multimodal intent distillation layer, fusing real-time sensor data from the glasses (such as spatial orientation and ambient light intensity) with at least one initial user intent information. It then extracts core operation atoms through a lightweight network (such as compressing "shoot and recognize" into device instruction code), while dynamically adjusting the execution strategy based on device battery level and temperature. Subsequently, an adaptive DAG orchestration engine runs in the cloud, analyzing hardware characteristics (such as camera model supporting HDR) and establishing cross-modal dependencies (such as AR rendering requiring spatial positioning). For each operation, a primary / backup execution scheme is pre-configured (local NPU priority, cloud degradation). Finally, a compact instruction set is generated through a quantum coding protocol, converting natural language into binary control flow (such as 0xA1 to start 4K video recording), and injecting parallel execution optimization (dual-core task splitting) and security protection instructions (memory boundary lock). The aforementioned multimodal intent distillation layer can be a structure or functional module built in the cloud for fusing multimodal data (such as real-time sensor data from the glasses and initial user intent information). The aforementioned lightweight network can be a network structure for extracting core operational atoms. The aforementioned adaptive DAG orchestration engine can be an engine for parsing hardware characteristics and establishing cross-modal dependencies (dependencies between different modalities, such as AR rendering and spatial positioning, used to determine the execution order and conditions of operations), as well as pre-setting master / backup execution schemes for each operation. The aforementioned quantized encoding protocol can be an encoding protocol for converting natural language into a compact binary control flow. For example, when processing the "real-time translation menu" command, the cloud automatically removes translation engine calls that cannot be completed on the glasses, reconstructing it into a collaborative workflow of camera capture, cloud OCR, and AR overlay, generating a quantized instruction packet (an instruction packet generated through the quantized encoding protocol, containing sensor synchronization requirements (IMU 100Hz sampling) and service session binding (associating the generated command with a specific service session for subsequent tracking and management) as user intent information.
[0070] In some optional implementations of certain embodiments, the cloud can generate at least one initial user intent information based on the received voice data through the following steps:
[0071] Step 1: Extract intent from the received voice data to obtain a list of intent keywords. These intent keywords refer to the verbs and nouns in the voice data. In practice, the cloud-based system can use NLP tools (such as spaCy, NLTK, and jieba) to segment and tag the received voice data. Then, non-critical components (such as non-verb or non-noun parts) are filtered to obtain individual intent keywords, which are then integrated into a single intent keyword list. For example, if the voice data is "Play XXX (any singer's name)'s 'YY' (any song name) and turn down the volume," the extracted verbs include: play, turn down; the nouns include: XXX, 'YY', and volume. The resulting intent keyword list would be ("play", "XXX", "'YY'", "turn down", "volume").
[0072] Step two: Based on the pre-set complexity information, extract the complexity from the aforementioned list of intent keywords to obtain a set of complex keywords. The pre-set complexity information can be the complexity corresponding to the intent keywords defined according to domain requirements (e.g., more complex keywords can be technical terms, compound logical words, or technical phrases). This pre-set complexity information is set in a predefined regular expression for complex keywords or a predefined keyword library (such as Elasticsearch Term Query). The set of complex keywords includes all the complex keywords. These complex keywords can be the intent keywords with higher complexity from the aforementioned list of intent keywords. In practice, the cloud can use the predefined regular expression for complex keywords or a predefined keyword library to match the complexity of each intent keyword in the aforementioned list of intent keywords. After matching, the intent keywords with higher complexity are selected as complex keywords, and these complex keywords are integrated into a set of complex keywords.
[0073] Step 3: Based on the aforementioned set of complex keywords and the pre-set complexity information, generate the complexity level corresponding to the received voice data. The complexity level of the received voice data is based on pre-set voice data scoring rules. These pre-set scoring rules can calculate complexity scores based on the number and type of complex keywords (e.g., +2 points for each technical term, +1 point for each logical term; a total score >5 indicates "high complexity"). In practice, any classification model (such as SVM, BERT, or other offline pre-trained models) can be used to classify complex keywords based on their types to obtain the types of each complex keyword. Then, the scores of each complex keyword are statistically analyzed to obtain the complexity level corresponding to the received voice data. For example, if the set of complex keywords is ("if", "and", "index", "air purifier"), the type results obtained by the classification model for each complex keyword can be scored. For a complex set of keywords ("if", "and", "index", "air purifier"), technical terms (index, air purifier) can be scored 4 points, logical terms (if, and) can be scored 2 points, and the final total score is 6. According to the pre-set voice data scoring rules, the complexity of the received voice data can be determined to be high complexity.
[0074] Step four: Based on the pre-set matching information of the large language model and the complexity of the received speech data, generate model identifiers. The pre-set matching information of the large language model can be a predefined correspondence between complexity and model (e.g., low complexity corresponds to lightweight models, such as Tongyi Qianwen or Kimi; high complexity corresponds to heavyweight models, such as GPT-4 or DeepSeek). The model identifier can be a structured label (e.g., string, ID, encoding). The model identifier corresponds to different large language models (e.g., Tongyi Qianwen or DeepSeek). In practice, the cloud can adjust the model selection strategy according to the complexity of the received speech data and real-time resources (e.g., server load) to obtain the model identifier corresponding to the speech data. For example, if the received speech data has a high complexity, since high complexity corresponds to a heavyweight model, the real-time load of each heavyweight model can be obtained to generate the model identifier corresponding to the heavyweight model with a lower load (e.g., if GPT-4 has a low load, the generated model identifier is model_id="GPT-4").
[0075] Step five involves inputting the received voice data into the target large language model corresponding to the model identifier to obtain at least one initial user intent information. This initial user intent information can be the output of the large language model. The target large language model can be the large language model corresponding to the model identifier. In practice, the cloud platform can input the received voice data into the target large language model to obtain its output as at least one initial user intent information.
[0076] In some optional implementations of certain embodiments, the cloud can generate user intent information based on at least one initial user intent information through the following steps:
[0077] Step one involves semantically transforming the at least one initial user intent information to obtain at least one transformed initial user intent information. This transformed initial user intent information can be any of the information obtained after transforming the at least one initial user intent information. It can also be a structured executable instruction. The semantic transformation converts information from "what the user says" to "what the system does," transforming open-domain natural language intent into closed-domain executable instructions through integration with a large language model. In practice, the cloud platform can merge consecutive and similar initial user intent information and split different types of initial user intent information. Then, tools such as Drools and Easy Rules can be used to define the transformation logic, mapping colloquial descriptions to output structured executable instructions (including multi-terminal executable instructions), thus obtaining the at least one transformed initial user intent information. For example... When the initial user intent is "Play the latest sci-fi movie in the living room using a home theater, but keep the volume low," the cloud can merge consecutive and similar initial user intents and split different types of initial user intents. For example, it can separate "device control" and "media playback" into two dimensions. Through spatial semantic parsing, "living room" is automatically bound to the pre-stored Sonos Arc audio device (MAC address 00:1A:3F:2A:11:45), "sci-fi movie" is matched to "Dune 2" (TMDB ID 438631) through content library retrieval, and "keep it low" is converted to a 55 dB threshold using a noise model. The resulting initial user intent can be: first, wake up the TV's HDMI-CEC interface (physical address 1.0.0.0), then push the playback task via DLNA protocol, simultaneously call the audio system's DBAP (Dolby Atmos protocol) preset cinema mode, and finally embed a dynamic volume controller (adjusting the gain value in real time according to ambient noise). When the film is detected to contain Dolby Vision format, HDR metadata calibration instructions are automatically added to ensure color space synchronization.
[0078] Step two: Based on the at least one initial user intent information after the above transformation and the glasses-specific capability graph, a candidate atomic operation list is generated. The glasses-specific capability graph can be a knowledge graph describing the relationship between AR glasses hardware resources and software capabilities. Entity nodes in the glasses-specific capability graph represent nodes corresponding to hardware entities and nodes corresponding to functional modules. Edges in the glasses-specific capability graph represent hardware support relationships and functional dependencies. Each entity node corresponds to a corresponding edge relationship. The hardware support relationship can be the direct support capability of hardware components for other hardware or software functions. The functional dependency relationship can be the dependency of software modules or functions on hardware resources. The candidate atomic operation list can include various hardware-level basic operation units (operation items). These hardware-level basic operation units can be the minimum executable instructions that directly control the pre-set and runnable hardware resources of the glasses, typically involving calls to underlying hardware drivers or firmware interfaces. These operation instructions cannot be further divided and are atomic steps for building complex functions. In practice, the cloud can obtain entity nodes from the at least one initial user intent information after the above transformation through entity extraction (i.e., extracting hardware entities and functional modules). Subsequently, starting from these entity nodes, a bidirectional breadth-first search algorithm is used to traverse the edge relationships in the glasses-specific capability graph, integrating the edge relationships associated with the entity nodes into candidate atomic operations, resulting in a candidate atomic operation list. For example, the cloud extracts entities from at least one initial user intent information after the above transformation, obtaining nodes corresponding to hardware entities such as "binocular camera" and "OV9281 sensor," and nodes corresponding to functional modules such as "NPU computing unit" and "offline OCR engine." Then, a bidirectional breadth-first search algorithm is used to traverse the glasses-specific capability graph to obtain hardware support relationships such as "OV9281 - supports video stream - CSI-2 interface," and functional dependency relationships such as "OCR engine - depends on computing power - NPU." Finally, the hardware support relationships and functional dependency relationships can be integrated into a candidate atomic operation list, with each operation item in the candidate atomic operation list such as "OV9281 sensor initialization," "enable CSI-2 video stream transmission," "NPU loading," "OCR model allocation," and "DMA buffer (1080p@30)." The hardware entities (such as the OV9281 sensor) and functional modules (such as the NPU computing unit and the offline OCR engine) listed above are merely specific examples for the purpose of understanding the embodiments of this disclosure. The technical solutions disclosed herein are applicable to various types of sensors, computing units, and engine modules, and are not limited by the specific models listed.
[0079] Step 3: Add spatiotemporal constraint tags to the candidate atomic operation list to obtain an operation list with spatiotemporal dependency tags. These spatiotemporal constraint tags can be metadata labels attached to atomic operations, describing the constraints of the operation in the spatial coordinate system and time dimension. The operation list with spatiotemporal dependency tags can be a set of atomic operations (operation items) containing complete spatiotemporal constraint descriptions, reflecting the spatial correlation and temporal coordination requirements between operations. In practice, the cloud can use a dependency parsing tree (which can be a syntax analysis tree that reveals the logical relationship between core predicates and modifiers in a statement) to parse the spatial adverbial phrases in at least one initial user intent information after the transformation, obtaining the spatial relationship information in at least one initial user intent information after the transformation. Then, by combining predefined sensor and coordinate system mapping rules (which can be a set of structured logic used to map the spatial relationships described in natural language and the physical data collected by sensors to a computable spatial coordinate system and time constraints on the device side), spatiotemporal tags are added to each operation item in the candidate atomic operation list. Finally, the transformation relationship between multiple coordinate systems is pre-established through the Lie group transformation matrix to obtain the operation list with spatiotemporal dependency tags. For example, the cloud platform can extract the predicate verb "follow" and the spatial adverb "eye focus" from at least one of the transformed initial user intent information, such as "follow eye focus display," to obtain spatial relationship information such as "follow eye focus" from the transformed initial user intent information. Then, combining predefined sensor and coordinate system mapping rules, "focus" is mapped to the eye coordinate system, and "display" is associated with the world coordinate system. Spatiotemporal markers, such as "bind eye coordinate system, requires 120Hz tracking frequency," are added to the operation items in the candidate atomic operation list, resulting in a candidate atomic operation list with added spatiotemporal markers. Finally, a transformation relationship between multiple coordinate systems is established through a Lie group transformation matrix to obtain spatiotemporal dependency markers such as the required sensor type and coordinate system binding requirements. These spatiotemporal dependency markers are then added to the candidate atomic operation list with added spatiotemporal markers, resulting in an operation list with spatiotemporal dependency markers.
[0080] Step four involves verifying the aforementioned list of operations with spatiotemporal dependency markers to obtain verification results. These results indicate whether each operation item in the list passes the verification. The verification results can serve as a conclusive judgment on whether the aforementioned list of operations with spatiotemporal dependency markers meets predetermined standards or requirements. In practice, the cloud platform can first generate each key entity of the at least one user intent information after the transformation and each key entity of each operation item in the aforementioned list of operations with spatiotemporal dependency markers. Then, a matching verification is performed between each key entity of each operation item and each key entity of the at least one initial user intent information after the transformation. For each key entity of each operation item and each key entity of the at least one user intent information after the transformation, the cloud platform can calculate the similarity between the two key entities using methods such as string similarity algorithms (e.g., Levenshtein distance algorithm) or semantic similarity algorithms (e.g., cosine similarity calculated after word vectors by pre-trained language models such as Word2Vec and BERT), and set a similarity threshold (e.g., a string similarity threshold of 0.8 and a semantic similarity threshold of 0.7) to achieve matching verification. If the similarity is greater than or equal to the threshold, it indicates that the two key entities have successfully matched; otherwise, the matching has failed. If the key entity of each operation item can be successfully matched with any key entity of at least one of the initial user intent information after the above transformation, the test result indicates that the test has passed. If the key entity of any operation item fails to match, the test result indicates that the test has failed. The key entities mentioned above can be words, phrases, or structured information extracted from text data that can represent the core semantic information of the text. For example, for the transformed initial user intent information "Schedule a video conference at 10:00 AM tomorrow", the cloud first uses an entity extraction algorithm to extract the key entities "schedule", "10:00 AM tomorrow", and "video conference" from the intent. Then, it performs a test on each operation item in the operation list with spatiotemporal dependency tags. For example, for the operation item "Open the calendar app and create a new event", the extracted key entities are "calendar app" and "create a new event". These key entities match the key entity "schedule" in the transformed initial user intent information, indicating the start of the scheduling behavior, so this operation item passes the test. Next, the key entity for the operation item "Set the event time to 10:00 AM tomorrow" matches "Set the event time" and "10:00 AM tomorrow" in the transformed initial user intent information, thus passing the verification. Similarly, the key entity for the operation item "Add event type as video conference" matches "Add event type" and "Video conference" in the transformed initial user intent information, thus passing the verification. In short, each operation item is verified, and the verification result indicates that the verification has passed.If any operation fails the test, the test result indicates that the test has failed.
[0081] Step 5: In response to the above test results indicating that the test failed, generate feedback information and visualize the feedback information. The feedback information can include data from the operation list with spatiotemporal dependency markers that failed the test (e.g., the failed test item is an operation or its corresponding spatiotemporal constraint marker). In practice, the cloud can use this data as feedback information and send it to the glasses, which can then visualize it. For example, if Bluetooth is not enabled, the operation item "Connect to mobile application via Bluetooth" in the operation list with spatiotemporal dependency markers does not match the corresponding entity node. The feedback information "Failed to connect to mobile application via Bluetooth" is generated, and a blue "i" icon is displayed in the glasses' field of view, indicating that there is information to view. After clicking the icon, a transparent message box pops up displaying the feedback information.
[0082] Step Six: In response to the above verification result indicating that the verification has passed, user intent information is generated based on the operation list with spatiotemporal dependency markers. In practice, when the above verification result indicates that the verification has passed, the cloud uses a rule matching algorithm to strip cloud dependencies from each operation item in the operation list with spatiotemporal dependency markers according to an external resource whitelist (which can be a predefined set of operation items allowed to be executed on the local device), obtaining a sequence of operation items executable on the glasses (which can be operation items that can only be executed on the local device), and using this sequence of operation items executable on the glasses as user intent information. The external resource whitelist can include operation items related to the local computing module, operation items related to direct hardware connection, and operation items related to lightweight AI models. For example, the cloud-based algorithm uses a rule-matching algorithm to extract the sequence of executable operations on the glasses (e.g., "OCR detection" or "professional translation") from each operation item in the operation list marked with spatiotemporal dependencies (e.g., "calling the OV9281 camera to take pictures", "using the NPU model for analysis", "calling the GPT-4 translation engine") according to the external resource whitelist (which may include local computing module-related operations (e.g., controlling the offline OCR engine, basic SLAM positioning, etc.); hardware direct connection-related operations (e.g., sensor data preprocessing, low-latency rendering, etc.); lightweight AI model-related operations (e.g., gesture recognition, voice wake-up, etc. embedded models)). Since "calling the GPT-4 translation engine" does not involve operations in the external resource whitelist, the cloud-based dependencies (e.g., "professional translation") are removed, resulting in the sequence of executable operations on the glasses. Finally, the sequence of executable operations on the glasses is used as user intent information.
[0083] In some optional implementations of certain embodiments, the cloud can verify the above-mentioned list of operations with spatiotemporal dependency markers through the following steps to obtain the verification result:
[0084] Step one involves performing a correctness check on the aforementioned list of operations marked with spatiotemporal dependencies. This check can involve verifying whether each candidate atomic operation corresponds to the correct hardware entity or functional module, and whether the parameter settings corresponding to the operation items are reasonable (e.g., whether the device address, protocol type, etc., are correct). In practice, the cloud can use the glasses-specific capability map to perform the correctness check on the aforementioned list of operations marked with spatiotemporal dependencies. If the hardware entity or functional module corresponding to each operation item in the aforementioned list of operations marked with spatiotemporal dependencies has a corresponding entity node in the glasses-specific capability map, and the parameter settings corresponding to the operation item are reasonable, then the aforementioned list of operations marked with spatiotemporal dependencies passes the correctness check. Conversely, if any operation item fails the check, the aforementioned list of operations marked with spatiotemporal dependencies fails the correctness check, and the check result indicates that the check failed, thus interrupting the check of the aforementioned list of operations marked with spatiotemporal dependencies. For example, the aforementioned voice data could be: "While maintaining the navigation information displayed relative to the current gaze focus, activate AR navigation and synchronize the navigation information to my mobile application in real time." The operation list with spatiotemporal dependency markers obtained through the above steps may include the following operation items and related spatiotemporal constraint markers, hardware resources, and parameters: initializing the AR navigation module, activating the binocular camera, calling the NPU for environmental perception calculation, updating navigation information based on SLAM results, encoding navigation information into a transmission format, connecting to the mobile application via Bluetooth, transmitting navigation information to the mobile phone in real time, monitoring the navigation process and handling anomalies, etc. The glasses' dedicated capability map can be called to verify whether operation items such as "initializing the AR navigation module" correctly correspond to the navigation function module on the glasses. Then, the parameter settings of the operation items can be checked, such as verifying whether the mobile device address corresponding to the operation item "transmitting navigation information to the mobile phone in real time" is correct and whether the synchronization protocol meets the requirements. When the operation items such as "initializing the AR navigation module" in the above operation list with spatiotemporal dependency markers correspond to the navigation function module on the glasses, and the parameters (mobile device address) corresponding to the operation items such as "transmitting navigation information to the mobile phone in real time" are also set reasonably, then the above operation list with spatiotemporal dependency markers passes the above correctness check.
[0085] Step two: In response to the correctness check passed by the operation list marked with spatiotemporal dependencies, hardware performance status information is obtained. This hardware performance status information can be detailed data regarding the device's hardware resource operation status and performance. In practice, when each operation item in the operation list marked with spatiotemporal dependencies passes the correctness check, the executing entity obtains the current hardware performance status information (such as CPU status information, memory information, battery information, etc.) through a pre-configured hardware performance monitoring module on the glasses. This pre-configured hardware performance monitoring module on the glasses can be a software and hardware component integrated into the glasses, collecting data in real time through sensors and chips, and obtaining hardware performance status information through the operating system API or background service program.
[0086] Step 3: Based on the aforementioned hardware performance status information, perform a feasibility check on the operation list marked with spatiotemporal dependencies. This feasibility check involves comparing each operation item in the operation list with the current hardware performance status information to check whether each piece of hardware (entity node) meets the execution requirements of each operation item. The execution requirements can be that the hardware corresponding to each operation item is in a normal operating state. In practice, the executing entity can send the hardware performance status information to the cloud, where the cloud performs the feasibility check on the operation list marked with spatiotemporal dependencies. If each piece of hardware corresponding to each operation item meets the execution requirements, the operation list marked with spatiotemporal dependencies passes the feasibility check. Conversely, if any piece of hardware corresponding to an operation item fails the check (does not meet the execution requirements), the operation list marked with spatiotemporal dependencies fails the feasibility check, and the check is terminated. For example, the cloud platform can use hardware performance status information and the key entities corresponding to each operation item in the operation list with spatiotemporal dependency markers to determine whether the entity nodes corresponding to each hardware can support the startup and operation of the AR navigation function, and whether they can meet the requirements for data synchronization with the mobile application. If the entity nodes corresponding to each hardware can support the startup and operation of the AR navigation function, and can meet the requirements for data synchronization with the mobile application (e.g., normal connection between the wireless transmission ports related to information transmission between the glasses and the mobile phone), then the operation list with spatiotemporal dependency markers has passed the feasibility test.
[0087] Step four: In response to the feasibility test passing the aforementioned feasibility check of the operation list with spatiotemporal dependency markers, a conflict check is performed on the operation list based on the aforementioned hardware performance status information. This conflict check can be performed using a conflict detection algorithm to check for resource contention or operation order conflicts between operation items. The conflict detection algorithm can be a predefined algorithm for identifying resource contention or operation order conflicts. In practice, the cloud can use the conflict detection algorithm to perform conflict checks on each hardware (entity node) corresponding to each key entity in the operation list with spatiotemporal dependency markers. If no resource contention or operation order conflict occurs on the hardware corresponding to each key entity, the operation list with spatiotemporal dependency markers passes the conflict check. Conversely, if any hardware (entity node) fails the check, the operation list with spatiotemporal dependency markers fails the conflict check, and the check result indicates that the check failed, thus interrupting the check of the operation list with spatiotemporal dependency markers. For example, the cloud platform can use a conflict detection algorithm to detect, based on the key entities and corresponding hardware of each operation item in the operation list with spatiotemporal dependency markers, that no issues such as camera resource contention or operation sequence conflicts will occur when performing AR navigation and data synchronization operations. Therefore, the operation list with spatiotemporal dependency markers can be considered to have passed the aforementioned conflict check.
[0088] Step 5: In response to the conflict check passed by the aforementioned operation list with spatiotemporal dependency markers, parameter validation is performed on the operation list with spatiotemporal dependency markers. This parameter validation can be achieved by checking each parameter in each operation item individually to ensure that the parameters involved conform to a predefined range and format. In practice, the cloud platform can perform parameter validation on each parameter corresponding to each operation item in the operation list with spatiotemporal dependency markers. If all parameters corresponding to each operation item in the operation list with spatiotemporal dependency markers conform to the predefined range and format, then the operation list with spatiotemporal dependency markers has passed the parameter validation. Conversely, if any parameter corresponding to any operation item fails the validation, the operation list with spatiotemporal dependency markers has failed the parameter validation, and the validation result indicates that the validation has failed, thus interrupting the validation of the operation list with spatiotemporal dependency markers. For example, checking whether the position parameters displayed in the navigation information conform to the predefined coordinate system requirements and whether the navigation update frequency is within a reasonable range. If the format and range of the parameters corresponding to each operation item meet the predefined range and format, then the operation list with spatiotemporal dependency markers has passed the parameter validation.
[0089] Step six: In response to the operation list with spatiotemporal dependency markers passing the parameter verification, the preset information indicating that the verification has passed is determined as the verification result. The preset information indicating that the verification has passed can be a preset data information (such as the words "passed verification"). In practice, when the operation list with spatiotemporal dependency markers passes the parameter verification, the cloud can determine the preset information indicating that the verification has passed as the verification result. Therefore, the current verification result indicates that the operation list with spatiotemporal dependency markers has passed the verification.
[0090] Optionally, the glasses can send the acquired multimodal data information corresponding to the aforementioned voice data to the aforementioned cloud. This multimodal data information is used by the cloud to generate user intent information based on at least one converted initial user intent information. The multimodal data information can be an image or video. In practice, the voice data might be "recognize an image or video in front of you," and the user intent information sent from the cloud to the glasses might be "take a photo and upload it to the cloud" or "take a video and upload it to the cloud." After capturing the image or video, the glasses can send it to the cloud. Since the at least one converted initial user intent information includes multi-device executable instructions, for the voice data possibly being "recognize an image or video in front of you," the cloud-executable instructions in the at least one converted initial user intent information might include "recognize the multimodal data information uploaded by the glasses," "analyze the multimodal data information," and "send the recognition result to the glasses." When the cloud obtains the recognition result for the image or video through the above steps, the resulting user intent information might be "visualize the cloud's recognition result."
[0091] Step 103: In response to the recognition of user intent information, a cancellation signal is sent to the terminal and the cloud.
[0092] In some embodiments, the aforementioned execution entity can send a cancellation signal to the terminal and the cloud in response to recognizing user intent information. The cancellation signal is used to interrupt tasks related to the voice data in the terminal and the cloud. In practice, the glasses can process offline commands and determine simple intents through regular expressions. Since the glasses have the fastest recognition speed among the three devices, they can simultaneously send a cancellation signal to both the terminal and the cloud upon recognizing user intent information. The terminal uses a terminal intent recognition model to perform edge-side judgment on more fragmented but higher-frequency explicit commands. Upon recognizing the cancellation signal sent by the glasses, the terminal can interrupt all tasks related to the voice data in the terminal. Simultaneously, the cloud can invoke existing large language models for deep analysis and recognition of more complex information. Upon recognizing a cancellation signal sent by either the glasses or the terminal, the cloud can interrupt all tasks related to the voice data in the cloud.
[0093] The above-described embodiments of this disclosure have the following beneficial effects: The voice command processing methods of some embodiments of this disclosure can achieve more efficient, lower-latency, and more robust voice interaction processing, thereby improving user experience and system usability to a certain extent. Specifically, traditional voice interaction architectures, such as single-end and dual-end architectures, may cause functional failures in weak or no-network environments, high latency in processing complex intents (typically ≥2 seconds), and high computational and communication costs due to frequent cloud calls. Based on this, the voice command processing methods of some embodiments of this disclosure first recognize the voice data through the glasses and simultaneously send the voice data to the terminal and the cloud, ensuring multi-level data processing and rapid response. This provides a foundation for multi-end collaboration in the efficient processing of complex intents, ensuring data diversity and timely processing. Then, the glasses respond to receiving or recognizing user intent information sent by the terminal or cloud, and execute the preset operation corresponding to the user intent information. Thus, by combining localized processing and recognition, latency is significantly reduced, and the system's response speed is improved. Simultaneously, after receiving voice data from the glasses, the terminal can also recognize the voice data and generate user intent information, further optimizing task allocation and resource utilization. Thus, through the terminal's lightweight processing, efficient recognition and rapid feedback of more complex intents are ensured. Furthermore, the cloud can also analyze the voice data received from the glasses and generate user intent information. Therefore, deep processing in the cloud significantly improves the processing accuracy and system robustness for more complex intents. In addition, in response to the recognition of user intent information, the glasses send a cancellation signal to both the terminal and the cloud, interrupting the corresponding voice data tasks in both the terminal and the cloud, avoiding unnecessary waste of computing and communication resources, improving system efficiency, and reducing energy consumption. Thus, through multi-terminal collaboration and dynamic task allocation, efficient processing and low-latency response of voice interaction are achieved, and the generated interaction results have high accuracy and reliability, effectively handling complex voice interaction scenarios. This provides a more reliable and practical solution for augmented reality, smart devices, and other fields.
[0094] Referring now to FIG2, a schematic diagram of a head-mounted display device 200 suitable for implementing some embodiments of the present disclosure is shown. The head-mounted display device shown in FIG2 is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present disclosure.
[0095] As shown in Figure 2, the head-mounted display device 200 may include a processing unit 201 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 202 or a program loaded from storage device 208 into random access memory (RAM) 203. The RAM 203 also stores various programs and data required for the operation of the head-mounted display device 200. The processing unit 201, ROM 202, and RAM 203 are interconnected via bus 204. An input / output (I / O) interface 205 is also connected to bus 204.
[0096] Typically, the following devices can be connected to I / O interface 205: input devices 206 including, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 207 including, for example, a display, speaker, vibrator, etc.; and communication devices 209. Communication device 209 allows head-mounted display device 200 to communicate wirelessly or wiredly with other devices to exchange data. Head-mounted display device 200 may include at least one display screen (such as Micro OLED or Micro LED) for imaging in front of the user's eyes. Although Figure 2 illustrates a head-mounted display device 200 with various devices, it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed alternatively. Each box shown in Figure 2 may represent one device, or multiple devices may be represented as needed.
[0097] In particular, according to some embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, some embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 309, or installed from storage device 308, or installed from ROM 302. When the computer program is executed by processing device 301, it performs the functions defined in the methods of some embodiments of this disclosure.
[0098] It should be noted that, in some embodiments of this disclosure, the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In some embodiments of this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In some embodiments of this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0099] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.
[0100] The aforementioned computer-readable medium may be included in the aforementioned head-mounted display device; or it may exist independently and not assembled into the head-mounted display device. The aforementioned computer-readable medium carries one or more programs, which, when executed by the head-mounted display device, cause the head-mounted display device to: recognize voice data and synchronously send the voice data to a terminal and the cloud; and, in response to receiving or recognizing user intent information, execute a preset operation corresponding to the user intent information.
[0101] Computer program code for performing operations of some embodiments of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0102] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0103] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0104] Figure 3 is a schematic diagram of some embodiments of the instruction processing system 300 based on a multi-terminal architecture according to the present disclosure. Figure 3 includes a head-mounted display device, a terminal, and a cloud.
[0105] In some embodiments, the instruction processing system 300 based on a multi-terminal architecture may include:
[0106] The head-mounted display device 301 is configured to recognize voice data and simultaneously send the voice data to a terminal and a cloud; in response to receiving or recognizing user intent information, to execute a preset operation corresponding to the user intent information; and in response to recognizing user intent information, to send a cancellation signal to the terminal and the cloud.
[0107] Terminal 302 is configured to recognize received voice data; in response to recognizing user intent information, it sends the recognized user intent information to the head-mounted display device 301.
[0108] The cloud 303 is configured to generate at least one initial user intent information based on the received voice data; generate user intent information based on the at least one initial user intent information; and send the generated user intent information to the head-mounted display device 301.
[0109] The operations, features, and beneficial effects described in the embodiments corresponding to Figure 1 for the head-mounted display device, terminal, and cloud are also applicable to the instruction processing system 300 based on a multi-terminal architecture and the head-mounted display device, terminal, and cloud included therein, and will not be repeated here.
[0110] The above description is merely a selection of preferred embodiments of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the embodiments of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features with similar functions disclosed in the embodiments of this disclosure.
Claims
1. A voice command processing method, applied to a head-mounted display device, comprising: The voice data is recognized, and the voice data is simultaneously sent to the terminal and the cloud. In response to receiving or identifying user intent information sent by the terminal or the cloud, a preset operation corresponding to the user intent information is executed, wherein the user intent information sent by the terminal is obtained by the terminal recognizing the received voice data, and the user intent information sent by the cloud is obtained by the cloud recognizing the received voice data. In response to the recognition of user intent information, a cancellation signal is sent to the terminal and the cloud, wherein the cancellation signal is used to interrupt the task corresponding to the voice data in the terminal and the cloud.
2. The method according to claim 1, wherein, The process of recognizing voice data includes: The voice data is initially identified to obtain preliminary identification results; In response to the preliminary identification result meeting the preset preliminary identification conditions, user intent information and a cancellation signal are generated; In response to the fact that the preliminary recognition result does not meet the preset preliminary recognition conditions, the voice data is subjected to secondary recognition to obtain a secondary recognition result; In response to the secondary recognition result satisfying the preset secondary recognition conditions, user intent information and cancellation signal are generated.
3. The method according to claim 1, wherein, The user intent information sent by the terminal is generated through the following steps: Based on the terminal intent recognition model, the received voice data is classified and recognized to obtain the classification and recognition results; In response to the classification and recognition result satisfying the preset classification and recognition conditions, the intent type corresponding to the received voice data is generated; Based on the intent type, parameters are extracted from the voice data received by the terminal to obtain parameter data; Based on the intent type and the parameter data, user intent information and a cancellation signal are generated, wherein the cancellation signal is used to interrupt the task corresponding to the voice data in the cloud.
4. The method according to claim 1, wherein, The user intent information sent from the cloud is generated through the following steps: Based on the received voice data, at least one initial user intent information is generated; User intent information is generated based on the at least one initial user intent information.
5. The method according to claim 4, wherein, The step of generating at least one initial user intent information based on the received voice data includes: The received voice data is subjected to intent extraction to obtain a list of intent keywords; Based on the pre-set complexity information, the complexity of the intent keyword list is extracted to obtain a complex keyword set; Based on the complex keyword set and the pre-set complexity information, the complexity level corresponding to the received voice data is generated; A model identifier is generated based on the matching information of a pre-set large language model and the complexity of the received speech data. The received voice data is input into the target large language model corresponding to the model identifier to obtain at least one initial user intent information.
6. The method according to claim 4, wherein, The method further includes: The acquired multimodal data information corresponding to the voice data is sent to the cloud, wherein the multimodal data information is used by the cloud to generate user intent information based on the at least one initial user intent information.
7. The method according to claim 4, wherein, The step of generating user intent information based on the at least one initial user intent information includes: The at least one initial user intent information is semantically transformed to obtain at least one transformed initial user intent information; Based on the transformed initial user intent information and the head-mounted display device-specific capability map, a candidate atomic operation list is generated; Add spatiotemporal constraint tags to the candidate atomic operation list to obtain an operation list with spatiotemporal dependency tags; The operation list with spatiotemporal dependency markers is examined to obtain the examination results; In response to the test result indicating that the test failed, feedback information is generated and the feedback information is visualized; In response to the test result indicating that the test has passed, user intent information is generated based on the operation list with spatiotemporal dependency markers.
8. The method according to claim 7, wherein, The process of verifying the operation list with spatiotemporal dependency markers and obtaining the verification results includes: Perform a correctness check on the operation list with spatiotemporal dependency markers; In response to the correctness check of the operation list with spatiotemporal dependency markers, hardware performance status information is obtained; Based on the hardware performance status information, the feasibility of the operation list with spatiotemporal dependency markers is verified. In response to the feasibility check being passed by the operation list with spatiotemporal dependency marker, a conflict check is performed on the operation list with spatiotemporal dependency marker based on the hardware performance status information; In response to the conflict check passing the operation list with spatiotemporal dependency marker, parameter validation is performed on the operation list with spatiotemporal dependency marker; In response to the operation list with spatiotemporal dependency markers being validated through the parameters, the preset information representing the successful validation is determined as the validation result.
9. A head-mounted display device, comprising: At least one display screen for displaying an image in front of the user; One or more processors; Storage device, on which one or more programs are stored, When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-8.
10. An instruction processing system based on a multi-terminal architecture, comprising: A head-mounted display device is configured to recognize voice data and simultaneously transmit the voice data to a terminal and a cloud. In response to receiving or recognizing user intent information, a preset operation corresponding to the user intent information is executed; in response to recognizing user intent information, a cancellation signal is sent to the terminal and the cloud. The terminal is configured to recognize the received voice data; In response to recognizing user intent information, the recognized user intent information is sent to the head-mounted display device; The cloud-based device is configured to generate at least one initial user intent information based on the received voice data; generate user intent information based on the at least one initial user intent information; and send the generated user intent information to the head-mounted display device.
