Motorcycle remote control method, device, system and equipment and storage medium
Through the cloud-based text recognition and intent recognition model, the problem of poor motorcycle remote control effect is solved, more accurate and flexible vehicle control is achieved, and a large language model is used to generate synonym slots, which improves the overall effect of motorcycle remote control.
Patent Information
- Application Number
- CN202410568366.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-08-27
AI Technical Summary
The existing motorcycle remote control method has the problem of poor control effect, especially when it is inconvenient to operate a mobile phone.
A cloud-based text recognition model is used to identify the speech to be recognized, the speech intent is determined through semantic recognition and intent recognition models, and the target vehicle is controlled based on the intent recognition results, and a large language model is used to generate synonym slots of various expressions to improve intent Recognition accuracy.
It improves the accuracy and flexibility of motorcycle remote control and enhances the control effect of the vehicle. Through the cloud computing power and the word slot training model of multiple synonymous expressions, the cleaning and statistical processing in the recognition process are optimized to prevent errors. operate.
Smart Images

Figure CN118553240A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and in particular to a motorcycle remote control method, device, system, equipment and storage medium. Background Art
[0002] People have long dreamed of communicating with machines by voice and letting them understand what you say. Speech recognition is an interdisciplinary subject. In the past two decades, speech recognition technology has made significant progress and has begun to move from the laboratory to the market. In recent years, speech recognition technology will enter various fields such as industry, home appliances, communications, automotive electronics, medical care, home services, and consumer electronics. The application of speech recognition dictation machines in some fields was rated as one of the ten major events in computer development in 1997 by the American press. Many experts believe that speech recognition technology is one of the ten most important scientific and technological developments in the field of information technology between 2000 and 2010. The fields involved in speech recognition technology include: signal processing, pattern recognition, probability theory and information theory, vocalization mechanism and hearing mechanism, artificial intelligence, etc.
[0003] Existing remote control methods for motorcycles all use a method of manually clicking a button on a mobile phone APP interface to start the remote control operation. In some special working conditions, such as when it is inconvenient to operate a mobile phone, it is not conducive to users to perform remote control operations on motorcycles.
[0004] Therefore, when a motorcycle is currently remotely controlled, there is a technical problem of poor control effect. Summary of the invention
[0005] In view of this, an object of the present invention is to provide a motorcycle remote control method, device, system, equipment and storage medium, which solves the technical problem of poor control effect in the prior art.
[0006] In order to solve the above technical problems, the present invention provides a motorcycle remote control method, comprising:
[0007] Recognize the speech to be recognized using a text recognition model based on the cloud to obtain a text recognition result; wherein the text recognition model is a model trained using speech training data;
[0008] Performing semantic recognition on the text recognition result based on the cloud to determine the semantic recognition result;
[0009] Based on the cloud, the semantic recognition result is recognized by using an intention recognition model to obtain an intention recognition result; wherein the intention recognition model is a model trained by using various word slots and their combinations, and their corresponding intentions; the generation process of the various word slots includes using a large language model to obtain synonymous expressions in multiple forms according to the text semantics of each word slot;
[0010] The target vehicle is controlled based on the intention recognition result.
[0011] Optionally, performing semantic recognition on the text recognition result based on the cloud to determine the semantic recognition result includes:
[0012] Performing data cleaning on the text recognition result to obtain cleaned data;
[0013] Performing word segmentation processing on the cleaned data to obtain a word segmentation result;
[0014] Extracting statistical text features reflecting text information according to the word segmentation results;
[0015] The statistical text features are identified to determine the semantic recognition result.
[0016] Optionally, after the text recognition result is obtained by recognizing the speech to be recognized using the text recognition model based on the cloud, the method further includes:
[0017] The text recognition result is modified based on a text algorithm and a corpus to obtain a modified text recognition result; wherein the text algorithm is an algorithm for correcting, optimizing or reconstructing the text.
[0018] Optionally, the training process of the intent recognition model includes:
[0019] Acquire synonyms of various types of word slots using the large language model; wherein the word slots are parameters that reflect control;
[0020] The intention recognition model is trained according to various word slots and their combinations, and their corresponding intention templates; wherein the intention template is a parameter representing the control intention.
[0021] Optionally, after identifying the semantic recognition result by using the intent recognition model based on the cloud, the method further includes:
[0022] When the semantic recognition result is unrecognizable content, it is determined to select to reconfigure the intent template or to add a specific sample set for training.
[0023] Optionally, the cloud-based recognition of the speech to be recognized using a text recognition model to obtain a text recognition result includes:
[0024] Based on the cloud, the text recognition model is used to recognize the speech to be recognized and the lip movement image to be recognized to obtain the text recognition result; wherein, the text recognition model is a model trained by using the speech training data and the lip movement image sequence training data; the lip movement image sequence training data is the lip movement information captured by visual data.
[0025] The present application also provides a motorcycle remote control device, comprising:
[0026] A text recognition module is used to recognize the speech to be recognized using a text recognition model based on the cloud to obtain a text recognition result; wherein the text recognition model is a model trained using speech training data;
[0027] A semantic recognition module, used to perform semantic recognition on the text recognition result based on the cloud, and determine the semantic recognition result;
[0028] An intention recognition module is used to recognize the semantic recognition result based on the cloud using an intention recognition model to obtain an intention recognition result; wherein the intention recognition model is a model trained using various word slots and their combinations, and their corresponding intentions; the generation process of the various word slots includes using a large language model to obtain synonymous expressions in multiple forms according to the text semantics of each word slot;
[0029] A vehicle control module is used to control the target vehicle based on the intention recognition result.
[0030] The present application also provides a motorcycle remote control system, comprising a transceiver and the above-mentioned motorcycle remote control device, wherein the transceiver comprises:
[0031] A voice receiving module is used to collect the voice to be recognized issued by the user;
[0032] A voice sending module, used for transmitting the voice to be recognized to a text recognition module in the motorcycle remote control device;
[0033] A semantic recognition result receiving module, used for receiving the semantic recognition result of the semantic recognition module in the motorcycle remote control device;
[0034] The semantic recognition result sending module is used to transmit the semantic recognition result to the intention recognition module in the motorcycle remote control device.
[0035] The present application also provides a motorcycle remote control device, comprising:
[0036] Memory for storing computer programs;
[0037] A processor is used to implement the steps of the above-mentioned motorcycle remote control method when executing the computer program.
[0038] The present application also provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned motorcycle remote control method are implemented.
[0039] It can be seen that the present invention obtains text recognition results by recognizing the speech to be recognized using a text recognition model based on the cloud; wherein the text recognition model is a model obtained by training using speech training data; semantic recognition is performed on the text recognition results based on the cloud to determine the semantic recognition results; the semantic recognition results are recognized using an intention recognition model based on the cloud to obtain intention recognition results; wherein the intention recognition model is a model obtained by training using various word slots and their combinations, and their corresponding intentions; the generation process of various word slots includes obtaining synonymous expressions in various forms of expression based on the text semantics of each word slot using a large language model; and the target vehicle is controlled based on the intention recognition results. Since the present application can have efficient computing capabilities for speech recognition and intent recognition in the cloud, and at the same time, text recognition is performed based on speech during the recognition process, and intention recognition is performed based on the intention recognition model obtained by training using word slots using multiple synonymous expressions, the overall accuracy of intention control can be improved, thereby improving the effect of controlling the vehicle.
[0040] In addition, the present invention also provides a motorcycle remote control device, system, equipment and storage medium, which also have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0042] Figure 1 A flowchart of a motorcycle remote control method provided by an embodiment of the present invention;
[0043] Figure 2 A flowchart of another motorcycle remote control method provided by an embodiment of the present invention;
[0044] Figure 3 A flowchart of a motorcycle remote control method provided by an embodiment of the present invention;
[0045] Figure 4 An example flow chart of a recognition process of a speech to be recognized provided by an embodiment of the present invention;
[0046] Figure 5 An example diagram of a process of intent recognition provided by an embodiment of the present invention;
[0047] Figure 6 An example flow chart of an intent recognition model training method provided in an embodiment of the present invention;
[0048] Figure 7 A schematic structural diagram of a motorcycle remote control device provided by an embodiment of the present invention;
[0049] Figure 8 A schematic structural diagram of a motorcycle remote control device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] Please refer to Figure 1 , Figure 1 A flowchart of a motorcycle remote control method provided by an embodiment of the present invention. The method may include:
[0052] S101, using a text recognition model based on the cloud to recognize the speech to be recognized, and obtaining a text recognition result; wherein the text recognition model is a model trained using speech training data.
[0053] This embodiment does not limit the specific cloud. For example, the cloud in this embodiment may be a private cloud; or the cloud in this embodiment may also be a community cloud; or the cloud in this embodiment may also be a public cloud; or the cloud in this embodiment may also be a hybrid cloud. The voice to be recognized in this embodiment is a voice used to control the target vehicle. It is understandable that in order to improve the accuracy of controlling the target vehicle, the voice to be recognized may include a safety control voice and a control voice instruction. Only when it is determined that there is a safety control voice in the voice to be recognized can the subsequent steps be performed. For example, the safety control voice may be a voice set by the owner of the target vehicle to turn on the voice control, or the safety control voice may be a special voice set by the owner of the target vehicle to turn on the voice control. The training process of the text recognition model in this embodiment is to use a large amount of voice data and corresponding text labels in the cloud to train its deep learning model. These models use structures such as recurrent neural networks (RNN), long short-term memory networks (LSTM) or convolutional neural networks (CNN). During the training process, the model will learn how to map voice features to corresponding text labels. By continuously adjusting the model parameters, the recognition accuracy is optimized. It can be understood that when the user speaks, the voice data after preprocessing and feature extraction is input into the trained model, and the text recognition model recognizes each frame of voice data and outputs the corresponding text result.
[0054] S102, performing semantic recognition on the text recognition result based on the cloud to determine the semantic recognition result.
[0055] This embodiment performs semantic recognition on the text recognition results, which usually involves natural language processing (NLP) technology, and its purpose is to understand and interpret the recognized text content. This process includes multiple steps such as part-of-speech tagging, syntactic analysis, sentiment analysis, and entity recognition, and ultimately the meaning and intent of the text can be determined. Because semantic recognition is performed, the resulting text is more in line with the user's intent.
[0056] It should be further explained that, in order to improve the accuracy of semantic recognition, the above-mentioned cloud-based semantic recognition of text recognition results and determination of semantic recognition results may include: data cleaning of text recognition results to obtain cleaned data; word segmentation of cleaned data to obtain word segmentation results; extracting statistical text features reflecting text information based on the word segmentation results; and identifying statistical text features to determine semantic recognition results. This embodiment performs cleaning and statistical processing during the semantic recognition process to make the semantic recognition results more accurate.
[0057] It should be further explained that in order to correct the text recognition results in a timely manner, after the above-mentioned cloud-based text recognition model is used to recognize the speech to be recognized and the lip movement image to be recognized to obtain the text recognition results, it can also include: correcting the text recognition results based on the text algorithm and corpus to obtain the corrected text recognition results; wherein the text algorithm is an algorithm for correcting, optimizing or reconstructing the text. The corpus in this embodiment can be a corpus covering the field corresponding to the target vehicle, as well as corpora in different languages. This embodiment improves the accuracy of the text recognition results by correcting the text recognition results based on the text algorithm and corpus, so that the dialect can be converted into Mandarin, and incorrect expressions can be modified.
[0058] S103, using the intent recognition model based on the cloud to recognize the semantic recognition result, and obtain the intent recognition result; wherein the intent recognition model is a model trained by using various word slots and their combinations, and their corresponding intents; the generation process of various word slots includes using a large language model to obtain synonymous expressions in multiple forms according to the text semantics of each word slot.
[0059] It should be further explained that in order to improve the accuracy of the intent recognition model, the training process of the above-mentioned intent recognition model may include: using a large language model to obtain synonyms of various types of word slots; wherein the word slots are parameters that reflect control; training the intent recognition model according to various word slots and their combinations, and their corresponding intent templates; wherein the intent templates are parameters that represent control intent. This embodiment uses a large language model to obtain synonyms of each word slot to adapt to various questioning methods as much as possible, such as query / view / find / search, etc., so that the intent recognition model can recognize various semantic recognition results.
[0060] It should be further explained that in order to improve the efficiency of intent recognition model optimization, after the semantic recognition result is recognized by the intent recognition model based on the cloud, it can also include: when the semantic recognition result is unrecognizable content, determining to reconfigure the intent template or add a specific sample set for training. This embodiment will re-match the intent when it is determined that the intent has not been successfully recognized, or train the intent recognition model based on the unrecognized result, thereby improving the efficiency of model optimization.
[0061] It should be further explained that, in order to prevent misoperation, the above-mentioned cloud-based use of the intent recognition model to identify the semantic recognition results to obtain the intent recognition results may include: determining a keyword blacklist corresponding to the semantic recognition results; based on the keyword blacklist, the cloud-based use of the intent recognition model to identify the semantic recognition results to obtain the intent recognition results. It is understandable that in the case of specific keywords, blacklist management can be done separately. For example, engine temperature / tire temperature, etc., for example, adding a blacklist such as "tire" to the engine temperature to avoid recognizing the tire temperature intent when asking about the engine temperature. This embodiment will process specific word slots in combination with the blacklist to prevent misoperation and improve the accuracy of control.
[0062] S104, controlling the target vehicle based on the intention recognition result.
[0063] When training the intent recognition model, this embodiment uses a large language model to obtain synonymous expressions in multiple forms according to the text semantics of each word slot, making the word slot more comprehensive, thereby improving the accuracy of using the intent recognition model to recognize the semantic recognition results. The target vehicle in this embodiment can be a motorcycle, a bicycle, etc.
[0064] A motorcycle remote control method provided by an embodiment of the present invention may include: S101, based on the cloud, using a text recognition model to recognize the speech to be recognized, and obtaining a text recognition result; wherein the text recognition model is a model obtained by training using speech training data; S102, based on the cloud, semantic recognition is performed on the text recognition result to determine the semantic recognition result; S103, based on the cloud, using an intention recognition model to recognize the semantic recognition result, and obtaining an intention recognition result; wherein the intention recognition model is a model obtained by training using various word slots and their combinations, and their corresponding intentions; the generation process of various word slots includes using a large language model to obtain synonymous expressions in various forms of expression according to the text semantics of each word slot; S104, controlling the target vehicle based on the intention recognition result. Compared with the current method of controlling the vehicle only through a mobile phone, the present application can recognize the speech through a text recognition model, thereby improving the flexibility of controlling the vehicle, and based on the intention recognition model obtained by training using word slots using multiple synonymous expressions, the overall accuracy of the intention control can be improved, thereby improving the effect of controlling the vehicle. In addition, this embodiment performs cleaning and statistical processing during the semantic recognition process to make the semantic recognition results more accurate; in addition, this embodiment corrects the text recognition results based on text algorithms and corpora, so that dialects can be converted into Mandarin and incorrect expressions can be modified, thereby improving the accuracy of text recognition results; in addition, this embodiment obtains synonyms for each word slot by utilizing a large language model to adapt to various question methods as much as possible, such as query / view / find / search, etc., so that the intent recognition model can recognize various semantic recognition results; in addition, this embodiment will re-match the intent when it is determined that the intent has not been successfully recognized, or train the intent recognition model based on the unrecognized results, thereby improving the efficiency of model optimization; in addition, this embodiment will process specific word slots in conjunction with blacklists to prevent misoperation and improve control accuracy.
[0065] Please refer to Figure 2 , Figure 2 A flowchart of another motorcycle remote control method provided by an embodiment of the present invention. The method may include:
[0066] S201, using a text recognition model on the cloud to recognize the speech to be recognized and the lip movement image to be recognized, to obtain a text recognition result; wherein the text recognition model is a model trained using speech training data and lip movement image sequence training data.
[0067] The lip movement image sequence training data in this embodiment is the lip movement information captured by visual data. The lip movement image to be recognized in this embodiment generally refers to the lip movement image that needs to be analyzed and interpreted by a specific technology, and its purpose is to recognize the lip movement in the image and convert it into corresponding language or instructions. This embodiment will obtain the lip movement image to be recognized while obtaining the voice to be recognized. The text recognition model in this embodiment is a model trained using voice training data and lip movement image sequence training data. It can be understood that the text recognition model can be a convolutional neural network (CNN), a recurrent neural network (RNN) or a long short-term memory network (LSTM) based on deep learning. These models can process complex images and time series data and are suitable for extracting text information from images. When training the text recognition model in this embodiment, by combining voice and lip movement image sequence data, the model can learn richer feature representations, which helps to improve the accuracy of recognition in complex environments. For example, in a noisy environment, lip reading technology can assist speech recognition and improve the overall recognition rate. This embodiment preprocesses the data before training the text recognition model, such as denoising, normalization, enhancement, etc., to improve the generalization ability of the model.
[0068] S202, performing semantic recognition on the text recognition result based on the cloud to determine the semantic recognition result.
[0069] S203, using the intent recognition model based on the cloud to recognize the semantic recognition result, and obtain the intent recognition result; wherein the intent recognition model is a model trained by using various word slots and their combinations, and their corresponding intentions; the generation process of various word slots includes using a large language model to obtain synonymous expressions in multiple forms according to the text semantics of each word slot.
[0070] S204: Control the target vehicle based on the intention recognition result.
[0071] A motorcycle remote control method provided by an embodiment of the present invention may include: S201, based on the cloud, using a text recognition model to recognize a speech to be recognized and a lip movement image to be recognized, to obtain a text recognition result; wherein the text recognition model is a model trained using speech training data and lip movement image sequence training data; S202, based on the cloud, performing semantic recognition on the text recognition result to determine the semantic recognition result; S203, based on the cloud, using an intention recognition model to recognize the semantic recognition result to obtain an intention recognition result; wherein the intention recognition model is a model trained using various word slots and their combinations, and their corresponding intentions; the generation process of various word slots includes using a large language model to obtain synonymous expressions in multiple forms according to the text semantics of each word slot; S204, controlling the target vehicle based on the intention recognition result. Compared with the current situation where only the vehicle can be controlled locally by controlling the mobile phone, the present application uses the cloud to perform feature extraction on the speech to be recognized, obtains the key feature speech, and then uses the text recognition model based on the cloud to recognize the speech to be recognized and the lip movement image to be recognized to obtain the text recognition result, and performs semantic recognition on the text recognition result, and uses the intention recognition model based on the cloud to recognize the semantic recognition result to obtain the intention recognition result, and controls the vehicle based on the intention recognition result. Since the present application can have efficient computing power for text recognition and intent recognition in the cloud, recognizing the speech to be recognized and the lip movement image to be recognized during the recognition process can improve the accuracy of text recognition, and the intention recognition model can recognize multiple synonymous expressions, thereby improving the overall control effect.
[0072] In order to make the present invention easier to understand, please refer to Figure 3 , Figure 3 A flowchart of a motorcycle remote control method provided by an embodiment of the present invention may specifically include:
[0073] S301, the AI cloud platform uses a text recognition model to perform text recognition on the speech to be recognized and the lip movement image to be recognized to obtain recognized text.
[0074] This embodiment corresponds to the above-mentioned cloud-based use of a text recognition model to recognize the voice to be recognized and the lip movement image to be recognized, and obtain a text recognition result. The text recognition model in this embodiment corresponds to the text recognition code model in the above. The AI cloud platform in this embodiment is generally referred to as an artificial intelligence cloud service platform. This embodiment can collect the voice to be recognized and the lip movement image to be recognized through a mobile phone APP (application), and perform voice recognition and lip movement image recognition through the AI cloud platform, or this embodiment can collect the lip movement image to be recognized through a vehicle. It can be understood that in order to improve the security of controlling the device, technical solutions can be formulated from the following aspects: First: verification is performed each time a voice control attempt is made based on the voiceprint features. Second: Analyze the user's voice behavior pattern, and predict and identify normal and abnormal voice control behaviors through a machine learning model. If abnormal behavior is detected, the system may require additional authentication steps.
[0075] S302, the AI cloud platform sends the recognized text to the mobile phone APP.
[0076] S303, the mobile phone APP sends the recognized text to the Internet of Vehicles backend.
[0077] S304, the Internet of Vehicles backend sends a request for text recognition intention to the AI cloud platform.
[0078] S305, the AI cloud platform uses the intent recognition model to recognize the text intent and returns the recognized vehicle control intent to the Internet of Vehicles backend.
[0079] The intention recognition model in this embodiment is the intention recognition model mentioned above, and the accuracy of intention recognition can be improved by adjusting model parameters and optimizing algorithms. During the training process, various loss functions and regularization methods can be used to prevent overfitting.
[0080] S306, the IoV backend converts the vehicle control intention into a vehicle control command and sends it to the cloud IOT service.
[0081] The IOT service in this embodiment is an Internet of Things service.
[0082] S307, the cloud IOT service sends the vehicle control command to the vehicle-mounted TBOX, and the vehicle-mounted TBOX sends the command to the vehicle controller through CAN communication to execute the relevant vehicle control command.
[0083] The vehicle-mounted TBOX in this embodiment is a vehicle information and positioning transmission system. The CAN bus in this embodiment, which is called Controller Area Network, is a serial communication protocol bus used for real-time applications.
[0084] S308, the vehicle controller drives the vehicle components to execute the relevant vehicle control commands, and returns the execution results to the vehicle-mounted TBOX.
[0085] S309, the vehicle-mounted TBOX returns to the cloud IOT service, the cloud IOT service returns to the Internet of Vehicles backend, and the Internet of Vehicles backend returns to the mobile phone APP to inform it of the execution result.
[0086] S310, if it is returned that the vehicle control intention is not recognized, the Internet of Vehicles background sends the text to the database of the AI cloud platform to query the relevant recognition text knowledge, and returns the query related text knowledge results to the Internet of Vehicles background, and then the Internet of Vehicles background returns the knowledge to the mobile phone APP.
[0087] In order to make the present invention easier to understand, please refer to Figure 4 , Figure 4 An example flow chart of a recognition process of a speech to be recognized provided in an embodiment of the present invention may specifically include:
[0088] S401, pre-processing the collected speech to obtain initial speech.
[0089] This embodiment can perform a series of processing on the collected speech signal, including denoising (eliminating background noise), standardization (adjusting volume and sound quality), framing (dividing continuous speech signals into short segments, usually called frames), etc., to improve the accuracy of subsequent speech recognition.
[0090] S402, extracting features from the initial speech to obtain key feature speech.
[0091] This embodiment can extract key features, such as Mel-frequency cepstral coefficients (MFCC), from the preprocessed speech signal. These features can capture key information in the speech signal, making it easier for the model to recognize it.
[0092] S403, using the text recognition model to identify the key feature speech and the lip movement image to be identified, and obtain the corresponding text result; wherein the training process of the text recognition model is to train a deep learning model using speech training data, lip movement image sequence training data and corresponding text labels to obtain a model.
[0093] The text result in this embodiment is the text recognition result in the above text. This embodiment can use a large amount of speech data and text labels corresponding to lip movement images to train its deep learning model using a cloud platform. These models use structures such as recurrent neural networks (RNN), long short-term memory networks (LSTM) or convolutional neural networks (CNN). During the training process, the model will learn how to map speech features and corresponding lip movement image features to corresponding text labels. By continuously adjusting the model parameters, the recognition accuracy is optimized.
[0094] S404, modifying the text result through the algorithm and corpus to obtain the target text.
[0095] This embodiment can correct the recognition results output by the model, such as homophones, typos, etc., by using algorithms and corpora. The model is continuously optimized based on feedback and new voice data to improve recognition performance.
[0096] In order to make the present invention easier to understand, please refer to Figure 5 , Figure 5 An example flow chart of an intent recognition process provided by an embodiment of the present invention may specifically include:
[0097] S501, obtaining text results, performing data cleaning on the text results, and obtaining cleaned data.
[0098] The text result in this embodiment is the text recognition result mentioned above.
[0099] S502, performing word segmentation processing on the cleaned data to obtain a word segmentation result.
[0100] S503: extract statistical text features reflecting text information based on the word segmentation results.
[0101] This embodiment can extract various statistical features according to the word segmentation results, such as word frequency, TF-IDF value (TF-IDF (Term Frequency-Inverse Document Frequency) is a weighting technology widely used in information retrieval and text mining), etc. These features can reflect some basic information of the text.
[0102] S504, extracting semantic features of statistical text features using deep learning technology.
[0103] This embodiment can use deep learning technology to extract the semantic features of the text. Use word embedding (such as Word2Vec, BERT, etc.) and sentence embedding technologies to convert the text into a high-dimensional vector representation.
[0104] S505, inputting the semantic features into the intent recognition model to obtain the intent recognition result; wherein the intent recognition model uses a loss function and a regularization method to prevent overfitting.
[0105] S506, when unrecognizable content is found, choose to reconfigure the template or add a specific sample set for training.
[0106] This embodiment can input the processed text into the trained model, and the model will infer the input based on the learned knowledge and patterns, and output the result of intent recognition. Use of intent recognition: 1. Mainly match the intent through templates and word slots, such as unlocking, turning on seat heating, etc. For example: word slot: car = "car" "motorcycle" "vehicle"; word slot unlock = "unlock" "unlock"; template: vehicle unlock = [car][unlock]; then as long as the intent matches any combination of words in the above car and unlock, it can be recognized as the vehicle unlock intent. Figure 2 1. Use sample sets to train and match intents for some specific words, for example, "flash the light", add it to controlLampLight (flash intent), then when training, "flash the light" or similar sentences will be automatically matched to the flash intent. To achieve the accuracy of intent; 3. Use large language models to obtain synonyms of each word slot to adapt to various questions as much as possible, such as query / view / find / search, etc.; 4. Make statistics on recognized intents. When unrecognizable content is found, you can choose to reconfigure the template or add specific sample sets for training; 5. In the case of specific keywords, blacklist management can be done separately. For example, engine temperature / tire temperature, for example, add "tire" and other blacklists to the engine temperature to avoid recognizing the tire temperature intent when asking about the engine temperature; 6. When multiple word slots appear in the intent, continuous instructions can be implemented. For example, "turn on the low beam / position light" can turn on both lights at the same time; 7. For specific user questions, such as "flash the light" and "light up", separate training can also achieve the purpose of turning on the double flash.
[0107] In order to make the present invention easier to understand, please refer to Figure 6 , Figure 6 An example flow chart of an intent recognition model training method provided by an embodiment of the present invention may specifically include:
[0108] Use the large model language to obtain synonyms corresponding to various word slots, and combine them to obtain word slot training data;
[0109] The initial intent recognition model is trained according to the word slot training data and its corresponding intent template to obtain the intent recognition model.
[0110] This embodiment uses a large language model to obtain synonyms for each word slot to adapt to various questions as much as possible.
[0111] A motorcycle remote control device provided by an embodiment of the present invention is introduced below. The motorcycle remote control device described below and the motorcycle remote control method described above can be referred to each other.
[0112] Please refer to Figure 7 , Figure 7 A schematic structural diagram of a motorcycle remote control device provided by an embodiment of the present invention may include:
[0113] The text recognition module 100 is used to recognize the speech to be recognized by using a text recognition model based on the cloud to obtain a text recognition result; wherein the text recognition model is a model trained by using speech training data;
[0114] A semantic recognition module 200, configured to perform semantic recognition on the text recognition result based on the cloud, and determine a semantic recognition result;
[0115] The intention recognition module 300 is used to recognize the semantic recognition result based on the cloud using the intention recognition model to obtain the intention recognition result; wherein the intention recognition model is a model trained using various word slots and their combinations, and their corresponding intentions; the generation process of the various word slots includes using a large language model to obtain synonymous expressions in multiple forms according to the text semantics of each word slot;
[0116] The vehicle control module 400 is used to control the target vehicle based on the intention recognition result.
[0117] Further, based on the above embodiment, the above semantic recognition module 200 may include:
[0118] A data cleaning unit, used for performing data cleaning on the text recognition result to obtain cleaned data;
[0119] A word segmentation unit, used to perform word segmentation processing on the cleaned data to obtain a word segmentation result;
[0120] A statistical text feature determination unit, used to extract statistical text features reflecting text information according to the word segmentation result;
[0121] The semantic recognition unit is used to recognize the statistical text features and determine the semantic recognition result.
[0122] Further, based on any of the above embodiments, the above motorcycle remote control device may further include:
[0123] The correction module is used to correct the text recognition result based on the text algorithm and the corpus to obtain a corrected text recognition result; wherein the text algorithm is an algorithm for correcting, optimizing or reconstructing the text.
[0124] Further, based on any of the above embodiments, the training process of the intent recognition model includes:
[0125] A synonym acquisition module, used to acquire synonyms of various types of word slots using the large language model; wherein the word slot is a parameter that reflects control;
[0126] The intention recognition model training module is used to train the intention recognition model according to various word slots and their combinations, and their corresponding intention templates; wherein the intention template is a parameter representing the control intention.
[0127] Further, based on the above embodiment, the above motorcycle remote control device may further include:
[0128] The unrecognizable content processing module is used to determine whether to reconfigure the intent template or add a specific sample set for training when the semantic recognition result is unrecognizable content.
[0129] Further, based on any of the above embodiments, the text recognition module 100 may include:
[0130] A text recognition unit is used to recognize the speech to be recognized and the lip movement image to be recognized based on the cloud using the text recognition model to obtain the text recognition result; wherein the text recognition model is a model trained using the speech training data and the lip movement image sequence training data; the lip movement image sequence training data is lip movement information captured by visual data.
[0131] It should be noted that the order of the modules and units in the above motorcycle remote control device can be changed without affecting the logic. It is not necessary to perform text recognition on the lip movement image to be recognized, and the purpose of the invention can be achieved by only performing relevant processing on the recognized voice.
[0132] A motorcycle remote control device provided by an embodiment of the present invention may include: a text recognition module 100, which is used to recognize the speech to be recognized based on the cloud using a text recognition model to obtain a text recognition result; wherein the text recognition model is a model obtained by training using speech training data; a semantic recognition module 200, which is used to perform semantic recognition on the text recognition result based on the cloud to determine the semantic recognition result; an intention recognition module 300, which is used to recognize the semantic recognition result based on the cloud using an intention recognition model to obtain an intention recognition result; wherein the intention recognition model is a model obtained by training using various word slots and their combinations and their corresponding intentions; the generation process of the various word slots includes using a large language model to obtain synonymous expressions in multiple forms according to the text semantics of each word slot; a vehicle control module 400, which is used to control the target vehicle based on the intention recognition result. Compared with the current local control of the vehicle by only controlling the mobile phone, the present application can recognize the speech through the text recognition model, improve the flexibility of controlling the vehicle, and based on the intention recognition model obtained by training using the word slots of multiple synonymous expressions to perform intention recognition, the overall accuracy of the intention control can be improved, thereby improving the effect of controlling the vehicle. In addition, the embodiment performs cleaning and statistical processing during the semantic recognition process to make the semantic recognition result more accurate; and, by correcting the text recognition result based on the text algorithm and corpus, the embodiment can convert the dialect into Mandarin, and modify the wrong expression, etc., thereby improving the accuracy of the text recognition result; and, by using a large language model to obtain synonyms of each word slot to adapt to various question methods as much as possible, such as query / view / find / search, etc., so that the intention recognition model can recognize various semantic recognition results; and, when it is determined that the intention is not successfully recognized, the embodiment will re-match the intention, or train the intention recognition model based on the unrecognized result, thereby improving the efficiency of model optimization; and, the embodiment will process specific word slots in combination with a blacklist to prevent misoperation and improve the accuracy of control; and, since text recognition and intention recognition in the cloud can have efficient computing power, recognizing the speech to be recognized and the lip movement image to be recognized during the recognition process can improve the accuracy of text recognition, and the intention recognition model can recognize multiple synonymous expressions, thereby improving the overall control effect.
[0133] The present application also provides a motorcycle remote control system, comprising a transceiver and the above-mentioned motorcycle remote control device, the transceiver comprising:
[0134] A voice receiving module is used to collect the voice to be recognized issued by the user;
[0135] A voice sending module, used for transmitting the voice to be recognized to a text recognition module in the motorcycle remote control device;
[0136] A semantic recognition result receiving module, used for receiving the semantic recognition result of the semantic recognition module in the motorcycle remote control device;
[0137] The semantic recognition result sending module is used to transmit the semantic recognition result to the intention recognition module in the motorcycle remote control device.
[0138] In one embodiment, the voice transceiver is a mobile phone, which can collect the voice of the user through the APP application on the mobile phone, and then transmit the voice to the text recognition module in the remote control device through wireless LAN, cellular network and other communication methods. After text recognition and semantic recognition, the semantic recognition result is transmitted to the mobile phone APP, and the mobile phone APP transmits the semantic recognition result to the intention recognition module. In one embodiment, the remote control device can be composed of an AI platform, a vehicle network background, a cloud IOT service, and a vehicle-mounted TBOX.
[0139] A motorcycle remote control device provided by an embodiment of the present invention is introduced below. The motorcycle remote control device described below and the motorcycle remote control method described above can be referred to each other.
[0140] Please refer to Figure 8 , Figure 8 A schematic structural diagram of a motorcycle remote control device provided by an embodiment of the present invention may include:
[0141] A memory 10, used for storing computer programs;
[0142] The processor 20 is used to execute a computer program to implement the above-mentioned motorcycle remote control method.
[0143] The memory 10 , the processor 20 , and the communication interface 30 all communicate with each other via a communication bus 40 .
[0144] In the embodiment of the present invention, the memory 10 is used to store one or more programs, and the program may include program code, and the program code includes computer operation instructions. In the embodiment of the present invention, the memory 10 may store programs for implementing the following functions:
[0145] Based on the cloud, the text recognition model is used to recognize the speech to be recognized to obtain a text recognition result; wherein the text recognition model is a model trained using speech training data;
[0146] Perform semantic recognition on the text recognition results based on the cloud to determine the semantic recognition results;
[0147] The semantic recognition results are recognized by using the intent recognition model based on the cloud to obtain the intent recognition results; wherein the intent recognition model is a model trained by using various word slots and their combinations and their corresponding intents; the generation process of various word slots includes using a large language model to obtain synonymous expressions in various forms according to the text semantics of each word slot;
[0148] The target vehicle is controlled based on the intention recognition results.
[0149] In a possible implementation, the memory 10 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function, etc.; the data storage area may store data created during use.
[0150] In addition, the memory 10 may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include an NVRAM. The memory stores an operating system and operating instructions, executable modules or data structures, or a subset thereof, or an extended set thereof, wherein the operating instructions may include various operating instructions for implementing various operations. The operating system may include various system programs for implementing various basic tasks and processing hardware-based tasks.
[0151] The processor 20 may be a central processing unit (CPU), an application specific integrated circuit, a digital signal processor, a field programmable gate array or other programmable logic device, a microprocessor or any conventional processor, etc. The processor 20 may call a program stored in the memory 10 .
[0152] The communication interface 30 may be an interface of a communication module, and is used to connect to other devices or systems.
[0153] Of course, it should be noted that Figure 8 The structure shown does not constitute a limitation on the motorcycle remote control device in the embodiment of the present invention. In actual applications, the motorcycle remote control device may include Figure 8 More or fewer components than shown, or combinations of certain components.
[0154] A storage medium provided by an embodiment of the present invention is introduced below. The storage medium described below and the motorcycle remote control method described above can be referenced to each other.
[0155] The present invention also provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned motorcycle remote control method are implemented.
[0156] The storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0157] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0158] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0159] Finally, it should be noted that, in this article, relationships such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variations are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0160] The above is a detailed introduction to a motorcycle remote control method, device, system, equipment and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for a general technician in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A motorcycle remote control method, characterized in that: include: Recognize the speech to be recognized using a text recognition model based on the cloud to obtain a text recognition result; wherein the text recognition model is a model trained using speech training data; Performing semantic recognition on the text recognition result based on the cloud to determine the semantic recognition result; Based on the cloud, the semantic recognition result is recognized by using an intention recognition model to obtain an intention recognition result; wherein the intention recognition model is a model trained by using various word slots and their combinations, and their corresponding intentions; the generation process of the various word slots includes using a large language model to obtain synonymous expressions in multiple forms according to the text semantics of each word slot; The target vehicle is controlled based on the intention recognition result.
2. The motorcycle remote control method according to claim 1, characterized in that: The performing semantic recognition on the text recognition result based on the cloud to determine the semantic recognition result includes: Performing data cleaning on the text recognition result to obtain cleaned data; Performing word segmentation processing on the cleaned data to obtain a word segmentation result; Extracting statistical text features reflecting text information according to the word segmentation results; The statistical text features are identified to determine the semantic recognition result.
3. The motorcycle remote control method according to claim 1, characterized in that: After the text recognition model is used to recognize the speech to be recognized based on the cloud to obtain the text recognition result, the following steps are also included: The text recognition result is modified based on a text algorithm and a corpus to obtain a modified text recognition result; wherein the text algorithm is an algorithm for correcting, optimizing or reconstructing the text.
4. The motorcycle remote control method according to claim 1, characterized in that: The training process of the intent recognition model includes: Using the large language model to obtain synonyms of various types of word slots; wherein the word slots are parameters that reflect control; The intention recognition model is trained according to various word slots and their combinations, and their corresponding intention templates; wherein the intention template is a parameter representing the control intention.
5. The motorcycle remote control method according to claim 4, characterized in that: After the semantic recognition result is recognized by using the intention recognition model based on the cloud, the method further includes: When the semantic recognition result is unrecognizable content, it is determined to select to reconfigure the intent template or to add a specific sample set for training.
6. The motorcycle remote control method according to any one of claims 1 to 5, characterized in that: The cloud-based method of using a text recognition model to recognize the speech to be recognized and obtaining a text recognition result includes: Based on the cloud, the text recognition model is used to recognize the speech to be recognized and the lip movement image to be recognized to obtain the text recognition result; wherein, the text recognition model is a model trained by using the speech training data and the lip movement image sequence training data; the lip movement image sequence training data is the lip movement information captured by visual data.
7. A motorcycle remote control device, characterized in that: include: A text recognition module is used to recognize the speech to be recognized using a text recognition model based on the cloud to obtain a text recognition result; wherein the text recognition model is a model trained using speech training data; A semantic recognition module, used to perform semantic recognition on the text recognition result based on the cloud, and determine the semantic recognition result; An intention recognition module is used to recognize the semantic recognition result based on the cloud using an intention recognition model to obtain an intention recognition result; wherein the intention recognition model is a model trained using various word slots and their combinations, and their corresponding intentions; the generation process of the various word slots includes using a large language model to obtain synonymous expressions in multiple forms according to the text semantics of each word slot; A vehicle control module is used to control the target vehicle based on the intention recognition result.
8. A motorcycle remote control system, characterized in that: The invention comprises a transceiver and a motorcycle remote control device according to claim 7, wherein the transceiver comprises: A voice receiving module is used to collect the voice to be recognized issued by the user; A voice sending module, used for transmitting the voice to be recognized to a text recognition module in the motorcycle remote control device; A semantic recognition result receiving module, used for receiving the semantic recognition result of the semantic recognition module in the motorcycle remote control device; The semantic recognition result sending module is used to transmit the semantic recognition result to the intention recognition module in the motorcycle remote control device.
9. A motorcycle remote control device, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the motorcycle remote control method as claimed in any one of claims 1 to 6 when executing the computer program.
10. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, implements the steps of the motorcycle remote control method according to any one of claims 1 to 6.
