Vehicle control method and apparatus, and device and storage medium

Through the application of text serialization model in the field of vehicle control, the instruction text is directly converted into abstract semantic serialized text and parsed, which solves the problem of low semantic understanding accuracy in the existing technology and improves the accuracy and efficiency of vehicle control. .

WO2024199450A1PCT designated stage expired Publication Date: 2024-10-03BEIJING CO WHEELS TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/084843
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2024-03-29
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

In the field of vehicle control, existing semantic understanding methods use complex algorithms, resulting in low semantic understanding accuracy, a corresponding decrease in vehicle control accuracy, and error conduction problems.

Method used

A text serialization model is used to convert instruction text to abstract semantic serialized text. The conversion relationship is obtained through sequence-to-sequence conversion relationship training of the pre-trained model, and the target abstract semantic serialized text is semantically parsed to directly perform vehicle control operations.

Benefits of technology

It reduces error conduction in algorithm steps, improves the accuracy of semantic understanding and vehicle control, simplifies the semantic understanding process, and reduces the overall system delay overhead and module development costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024084843_03102024_PF_FP_ABST
    Figure CN2024084843_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present disclosure are a vehicle control method and apparatus, and a device and a storage medium. The embodiments of the present disclosure relate to the technical field of natural language processing. In some embodiments of the present disclosure, the method comprises: acquiring target instruction text; and performing a text conversion operation on the target instruction text by using an instruction text-to-abstract semantic serialization text conversion relationship of a text serialization model, so as to obtain target abstract semantic serialization text.
Need to check novelty before this filing date? Find Prior Art

Description

Vehicle control method, device, equipment and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is based on the Chinese patent application with application number 202310340810.0 and application date of March 31, 2023, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference. Technical Field

[0003] The present disclosure relates to the field of natural language processing technology, and in particular to a vehicle control method, device, equipment, and storage medium. Background Art

[0004] Natural language understanding, also known as semantic understanding, is a branch of artificial intelligence. It studies the use of computers to simulate human language communication processes, enabling computers to understand and use human natural language, enabling natural language communication between humans and machines, and replacing some of human mental labor.

[0005] At present, in the field of vehicle control, semantic understanding mostly adopts domain intent classification and slot filling methods. These two methods use relatively complex algorithms for semantic understanding. If errors occur in the intermediate processing steps of the algorithm, the errors will be transmitted to subsequent processing steps, resulting in low accuracy of semantic understanding and low vehicle control accuracy.

[0006] Summary of the Invention

[0007] The present disclosure provides a vehicle control method, apparatus, device, and storage medium to at least solve the technical problems of low semantic understanding accuracy and low vehicle control accuracy in related technologies.

[0008] An embodiment of the present disclosure provides a vehicle control method, including:

[0009] An embodiment of the present disclosure provides a vehicle control method, including:

[0010] Get the target instruction text;

[0011] Utilizing the conversion relationship from instruction text to abstract semantic serialized text possessed by the text serialization model, a text conversion operation is performed on the target instruction text to obtain a target abstract semantic serialized text; wherein the conversion relationship from instruction text to abstract semantic serialized text is a conversion relationship obtained by training the sequence-to-sequence conversion relationship possessed by the pre-trained model;

[0012] Performing semantic parsing on the target abstract semantic serialization text to obtain target semantic information corresponding to the target instruction text;

[0013] Execute a vehicle control operation corresponding to the target semantic information.

[0014] Optionally, executing a vehicle control operation corresponding to the target semantic information includes:

[0015] According to the target semantic information, query the mapping relationship table between the semantic information and the control instruction to obtain the target control instruction;

[0016] The vehicle control operation corresponding to the target control instruction is executed.

[0017] Optionally, the training process of the text serialization model includes:

[0018] Collect multiple sample instruction texts;

[0019] Producing a sample abstract semantic serialization text corresponding to the sample instruction text;

[0020] The pre-training model is trained according to the plurality of sample instruction texts and the plurality of sample abstract semantic serialization texts to obtain the text serialization model.

[0021] Optionally, inputting the instruction text into a text serialization model to obtain a target abstract semantic serialization text includes:

[0022] Inputting the instruction text into the text serialization model to obtain a candidate abstract semantic serialization text;

[0023] A correction operation is performed on the candidate abstract semantic serialization text to obtain the target abstract semantic serialization text, wherein the correction operation is an operation initiated by a user when there is a text error in the candidate abstract semantic serialization text, and the correction operation is used to correct the erroneous candidate abstract semantic serialization text to the correct target abstract semantic serialization text.

[0024] Optionally, the performing a correction operation on the candidate abstract semantic serialized text to obtain the target abstract semantic serialized text includes:

[0025] Performing semantic parsing on the candidate abstract semantic serialized text to obtain a semantic relationship between the first semantic object and the first semantic object;

[0026] According to the semantic relationship between the first semantic objects, taking the first semantic objects as nodes, adding directed edges between the nodes corresponding to the first semantic objects to obtain a semantic relationship graph;

[0027] Displaying the semantic relationship graph so that the user can check whether there is any error in the semantic relationship between the first semantic object and the first semantic object in the semantic relationship graph;

[0028] In response to a triggering operation on the target semantic object and / or target semantic relationship having an error, the target semantic object and / or target semantic relationship is corrected to obtain a corrected semantic object and a corrected semantic relationship; wherein the target semantic object is at least part of the semantic objects in the first semantic objects, and the target semantic relationship is at least part of the semantic relationships between the first semantic objects;

[0029] The revised semantic objects and the revised semantic relationships constitute a revised semantic relationship graph and the target abstract semantic serialized text corresponding to the revised semantic relationship graph.

[0030] Optionally, the target semantic information includes: a second semantic object and a semantic relationship between the second semantic objects; and performing semantic parsing on the target abstract semantic serialized text to obtain the target semantic information corresponding to the instruction text includes:

[0031] Performing object recognition on the target abstract semantic serialized text according to the semantic object identifier in the preset parsing rule to obtain the second semantic object;

[0032] According to the semantic relationship identifier in the preset parsing rule, the relationship between any two semantic objects in the second semantic objects is identified to obtain the semantic relationship between the second semantic objects.

[0033] The present disclosure also provides a vehicle control device, including:

[0034] Acquisition module, used to obtain target instruction text;

[0035] A model processing module is used to perform a text conversion operation on the target instruction text using the conversion relationship from instruction text to abstract semantic serialized text possessed by the text serialization model to obtain a target abstract semantic serialized text; wherein the conversion relationship from instruction text to abstract semantic serialized text is a conversion relationship obtained by training the sequence-to-sequence conversion relationship possessed by the pre-trained model;

[0036] A semantic parsing module, configured to perform semantic parsing on the target abstract semantic serialized text to obtain target semantic information corresponding to the target instruction text;

[0037] An execution module is used to execute a vehicle control operation corresponding to the target semantic information.

[0038] An embodiment of the present disclosure further provides an electronic device, comprising: a memory and a processor;

[0039] The memory is used to store computer programs;

[0040] The processor is used to execute the computer program to implement each step in the above method.

[0041] The disclosed embodiment further provides a vehicle, comprising: a memory and a processor;

[0042] The memory is used to store computer programs;

[0043] The processor is used to execute the computer program to implement each step in the above method.

[0044] The embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each step in the above method is implemented.

[0045] The embodiment of the present disclosure further provides a computer program, which, when executed on a computer, enables the computer to execute the steps of the method described above.

[0046] The technical solutions provided by the embodiments of the present disclosure bring at least the following beneficial effects:

[0047] In some embodiments of the present disclosure, a target instruction text is obtained; a text conversion operation is performed on the target instruction text using the conversion relationship from instruction text to abstract semantic serialized text possessed by a text serialization model to obtain a target abstract semantic serialized text; wherein, the conversion relationship from instruction text to abstract semantic serialized text is a conversion relationship obtained by training the sequence-to-sequence conversion relationship possessed by a pre-trained model; the embodiment of the present disclosure directly performs the conversion from instruction text to abstract semantic serialized text through a text serialization model, which can reduce the transmission of errors in the algorithm steps and improve the accuracy of semantic understanding compared to existing complex semantic understanding algorithms; thereafter, semantic parsing is performed on the target abstract semantic serialized text to obtain relatively accurate target semantic information; and vehicle control operations corresponding to the target semantic information are executed, thereby improving the accuracy of vehicle control. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] FIG1 is a flow chart of a vehicle control method provided by an exemplary embodiment of the present disclosure;

[0049] FIG2 is a flow chart of a model training method provided by an embodiment of the present disclosure;

[0050] FIG3 is a schematic diagram of a semantic relationship diagram provided by an embodiment of the present disclosure;

[0051] FIG4 is a flow chart of another vehicle control method provided by an embodiment of the present disclosure;

[0052] FIG5 is a schematic structural diagram of a vehicle control device provided by an exemplary embodiment of the present disclosure;

[0053] FIG6 is a schematic structural diagram of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0054] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other in the absence of conflict.

[0055] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0056] It should be noted that the terms "first," "second," and the like in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the numbers used in this manner are interchangeable where appropriate so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure as detailed in the appended claims.

[0057] It should be noted that the user information involved in this disclosure includes but is not limited to: user device information and user personal information; the collection, storage, use, processing, transmission, provision and disclosure of user information in this disclosure comply with the relevant laws and regulations and do not violate public order and good morals.

[0058] Currently, the field of in-vehicle voice assistant dialogue interaction has covered multiple segmented vertical functions, such as vehicle control and settings, navigation, music, video, question and answer, etc. Semantic analysis of the user's rich and natural expression of commands is an important goal that needs to be processed.

[0059] Currently, semantic understanding tasks are performed using domain intent classification and slot filling technology based on pre-trained models, which has a good effect on the semantic representation and understanding of simple instructions. For complex instruction tasks, such as single-sentence multi-intent, semantic understanding is performed by combining semantic segmentation, coreference resolution, and other methods based on the semantic understanding tasks mentioned above. The semantic representation structure lacks semantic representation and analysis for complex scenario instructions, resulting in low semantic understanding accuracy. The single-sentence multi-intent understanding solution combined with semantic segmentation has a high algorithm complexity and complex intermediate processing steps, which increases system overhead and maintenance costs, and may also cause error propagation problems.

[0060] In response to the above-mentioned technical problems, in some embodiments of the present disclosure, a target instruction text is obtained; the conversion relationship from instruction text to abstract semantic serialized text possessed by a text serialization model is used to perform a text conversion operation on the target instruction text to obtain a target abstract semantic serialized text; wherein, the conversion relationship from instruction text to abstract semantic serialized text is a conversion relationship obtained by training the sequence-to-sequence conversion relationship possessed by a pre-trained model; the embodiment of the present disclosure directly performs the conversion from instruction text to abstract semantic serialized text through a text serialization model, which can reduce the transmission of errors in the algorithm steps and improve the accuracy of semantic understanding compared to the existing complex semantic understanding algorithm; thereafter, the target abstract semantic serialized text is semantically parsed to obtain more accurate target semantic information; and vehicle control operations corresponding to the target semantic information are executed to thereby improve the accuracy of vehicle control.

[0061] The technical solutions provided by various embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0062] FIG1 is a flow chart of a vehicle control method provided by an exemplary embodiment of the present disclosure. As shown in FIG1 , the method includes:

[0063] S101: Obtain target instruction text;

[0064] S102: Using the conversion relationship from instruction text to abstract semantic serialized text possessed by the text serialization model, perform a text conversion operation on the target instruction text to obtain a target abstract semantic serialized text; wherein the conversion relationship from instruction text to abstract semantic serialized text is a conversion relationship obtained by training the sequence-to-sequence conversion relationship possessed by the pre-trained model;

[0065] S103: performing semantic parsing on the target abstract semantic serialization text to obtain target semantic information corresponding to the target instruction text;

[0066] S104: Execute a vehicle control operation corresponding to the target semantic information.

[0067] In this embodiment, the execution subject of the above method may be a terminal device or a server.

[0068] When the execution subject is a terminal device, the specific implementation form of the terminal device is not limited. Terminal devices include, but are not limited to, any of the following: vehicles, desktop computers, tablet computers, smartphones, and smart wearable devices. The present disclosure does not limit the type of vehicle, but includes, but is not limited to, any of the following: electric vehicles, gasoline-powered vehicles, gasoline-electric hybrid vehicles, hydrogen-powered vehicles, and new energy and gasoline-powered hybrid vehicles.

[0069] When the execution subject is a server, for example, the server can be a conventional server, a cloud server, a cloud host, a virtual center, or other server devices. The server is mainly composed of a processor, a hard disk, a memory, a system bus, etc., and a general computer architecture type.

[0070] In this embodiment, a target instruction text is obtained; a text conversion operation is performed on the target instruction text using the conversion relationship from instruction text to abstract semantic serialized text possessed by a text serialization model to obtain a target abstract semantic serialized text; wherein, the conversion relationship from instruction text to abstract semantic serialized text is a conversion relationship obtained by training the sequence-to-sequence conversion relationship possessed by a pre-trained model; the disclosed embodiment directly performs conversion from instruction text to abstract semantic serialized text through a text serialization model, which can reduce the transmission of errors in the algorithm steps and improve the accuracy of semantic understanding compared to existing complex semantic understanding algorithms; thereafter, semantic parsing is performed on the target abstract semantic serialized text to obtain relatively accurate target semantic information; and vehicle control operations corresponding to the target semantic information are executed, thereby improving the accuracy of vehicle control.

[0071] In some embodiments of the present disclosure, obtaining the instruction text includes but is not limited to the following methods:

[0072] Acquisition method 1: Collect the command voice input by the user in voice mode; perform voice recognition on the command voice to obtain the command text.

[0073] Acquisition method two: in response to the user's input operation on the display screen, acquire the input instruction text.

[0074] In the above-mentioned acquisition method 1, for example, the vehicle collects the command voice input by the user in voice mode, performs voice recognition on the command voice, and obtains the command text "open the left window".

[0075] In the second acquisition method described above, for example, a text input item is displayed on the central control screen of the vehicle, and the vehicle obtains the input instruction text in response to the input operation in the text input item.

[0076] It should be noted that the abstract semantic serialized text is a text that complies with the abstract semantic representation specification and is set corresponding to the instruction text.

[0077] In this embodiment, based on the Abstract Semantic Representation Specification, this disclosure develops a unified and complete semantic representation system suitable for the conversational domain. This semantic representation system is capable of representing the semantic concepts and semantic logical relationships of complex sentences, such as hierarchical nesting, semantic relationship constraints, and complex sentence relationships. The Abstract Semantic Representation Specification defines semantic relationships, including core semantic relationships, non-core semantic relationships, domain-specific semantic relationships, and domain-specific semantic concepts.

[0078] In some embodiments of the present disclosure, the semantic relationship identifiers in the vehicle control field are shown in Table 1 below:

[0079] Table 1. Semantic relationship identifiers in the vehicle control domain

[0080] It should be noted that the embodiments of the present disclosure utilize the sequence-to-sequence conversion relationship of the pre-trained model and use training data in the vehicle control field to train the pre-trained model to obtain a text serialization model in the vehicle control field that has a conversion relationship from instruction text to abstract semantic serialized text. The pre-trained model can be a BART model. The embodiments of the present disclosure use a model pre-training method to improve the training efficiency of the model.

[0081] In some embodiments of the present disclosure, before using the text serialization model, it is necessary to train the initial model to obtain the text serialization model. Figure 2 is a flow chart of a model training method provided by an embodiment of the present disclosure. As shown in Figure 2, the model training method includes:

[0082] S201: Collect multiple sample instruction texts;

[0083] S202: Producing a sample abstract semantic serialization text corresponding to the sample instruction text;

[0084] S203: Training a pre-trained model according to the plurality of sample instruction texts and the plurality of sample abstract semantic serialization texts to obtain a text serialization model.

[0085] In this embodiment, multiple sample instruction texts can be screened from a large number of instruction texts for model training. The instruction texts may contain typos, etc., and these poor-quality instruction texts need to be filtered to obtain multiple sample instruction texts for model training. This screening of the sample instruction texts can be done manually or automatically by formulating corresponding screening logic.

[0086] In the above embodiment, a sample abstract semantic serialization text corresponding to the sample instruction text is generated according to the abstract semantic representation specification. The format of the sample abstract semantic serialization text is shown in Table 2 below.

[0087] Table 2. Form of sample abstract semantic serialization text

[0088] Abstract semantic serialization text is a linear serialization text containing node information, abstract semantic concepts, abstract semantic relationships, and a directed logical hierarchy of subgraphs. Referring to the examples in Table 2, it should be noted that node information includes node index numbers and abstract semantic concepts, such as x0 / turnon and x0 / play, which represent nodes. The text preceding the / symbol, such as x0, x1, and x2, represents the node index number, which can serve as a unique ID for the node within the entire directed graph. The text following the / symbol represents the abstract semantic concept of the current node and can include intentional action words such as turnon and play; it can also include semantic relationship operators such as coordinal relations (CoordinalOperator) and temporal relations (OrdinalOperator). The colon and the text following the colon represent directed edges in the semantic graph. The colon and the text following the colon can contain semantic attributes or directed semantic relationships, and directed semantic relationships carry the directionality of the edge. For example, locations and mediaType represent semantic attributes, while ARG0, ARG1, and ARG2 represent directed semantic relationships. ARG0 indicates that the node after ARG0 points to the node before ARG0, ARG1 indicates that the node before ARG1 points to the node after ARG1, and ARG2 indicates that the node before ARG2 points to the node after ARG2. The brackets represent the logical hierarchy of the subgraphs. All subgraphs can form a complete single-rooted directed graph, representing the unique semantic representation of the user command text.

[0089] The labeled training samples are input into a neural network model. Within the neural network model, feature extraction and computation are performed on the training samples based on the model parameters. The output layer of the neural network model outputs abstract semantic serialized text. Next, the neural network's loss function layer calculates a loss function based on the difference between the abstract semantic serialized text output by the output layer and the sample abstract semantic serialized text. If the loss function does not meet the set requirements, the model parameters are adjusted and iterative training continues. When the neural network model's loss function meets the set requirements, a trained text serialization model is obtained.

[0090] The present disclosure is based on the abstract semantic representation specification and has developed a unified and complete semantic representation system suitable for the dialogue field. The present disclosure proposes an abstract semantic parsing task based on a text serialization model to realize an end-to-end abstract semantic serialization text, which can directly generate the instruction text into an abstract semantic serialization text representation. The model in the embodiment of the present disclosure adopts the BART model, uses a standard Transformer-based sequence-to-sequence structure, replaces the activation function in the original structure with the GeLU (Gaussian Error Linerar Units) activation function, and initializes the model parameters according to the normal distribution (0, 0.02). BART combines a bidirectional Transformer encoder with a unidirectional autoregressive Transformer decoder, and is a denoising autoencoder by pre-training the denoising reconstruction of the noisy input text. The BART model has both text representation and generation capabilities, so it is very useful for different types of downstream tasks such as language understanding and text generation. The BART model can be directly used for conditional text generation tasks, such as abstract semantic representation, text summarization or text translation. Therefore, we use the BART model fine-tuning approach to achieve the end-to-end abstract semantic parsing task from input text to abstract semantic serialized text. The encoder input is the conditional input text, namely the user instruction text, and the decoder generates the corresponding target text, namely the abstract semantic serialized text, through autoregression. After model training, the end-to-end model is obtained. Based on the input of the user instruction text, it outputs the corresponding abstract semantic serialized text.

[0091] In some embodiments of the present disclosure, the instruction text is input into the text serialization model to obtain the target abstract semantic serialization text. One achievable method is to input the instruction text into the text serialization model to obtain the candidate abstract semantic serialization text; and perform a correction operation on the candidate abstract semantic serialization text to obtain the target abstract semantic serialization text. The correction operation is an operation initiated by the user when there is a text error in the candidate abstract semantic serialization text. The correction operation is used to correct the erroneous candidate abstract semantic serialization text to the correct target abstract semantic serialization text. Among them, the embodiment of the present disclosure can perform a correction operation on the candidate abstract semantic serialization text to obtain the correct target abstract semantic serialization text, thereby improving the accuracy of semantic understanding.

[0092] In the above embodiment, a correction operation is performed on the candidate abstract semantic serialized text to obtain a target abstract semantic serialized text. One achievable method is to perform semantic parsing on the candidate abstract semantic serialized text to obtain a semantic relationship between a first semantic object and a first semantic object; based on the semantic relationship between the first semantic objects, with the first semantic object as a node, a directed edge is added between the nodes corresponding to the first semantic object to obtain a semantic relationship graph; the semantic relationship graph is displayed for the user to check whether there is an error in the semantic relationship between the first semantic object and the first semantic object in the semantic relationship graph; in response to a triggering operation on an erroneous target semantic object and / or target semantic relationship, the target semantic object and / or target semantic relationship is corrected to obtain a corrected semantic object and a corrected semantic relationship; wherein the target semantic object is at least part of the semantic object in the first semantic object, and the target semantic relationship is at least part of the semantic relationship between the first semantic objects; the corrected semantic object and the corrected semantic relationship constitute a corrected semantic relationship graph and the target abstract semantic serialized text corresponding to the corrected semantic relationship graph. Among them, the embodiment of the present disclosure constructs a semantic relationship graph that is easy for users to understand based on the semantic relationship between the first semantic objects. The user discovers problems in the candidate abstract semantic serialization text through the intuitive semantic relationship graph and performs correction operations on the candidate abstract semantic serialization text to obtain the correct target abstract semantic serialization text. It should be noted that there is a one-to-one mapping relationship between the semantic relationship graph and the abstract semantic serialization text in the embodiment of the present disclosure. Modifying either the semantic relationship graph or the abstract semantic serialization text will also modify the other to the correct form accordingly.

[0093] It should be noted that the semantic relationship graph is a single directed graph. A single root can uniquely represent the complex semantics of a user. The semantic relationship can represent the directed relationship between nodes and further represent complex semantic logical dependencies.

[0094] In some embodiments of the present disclosure, the candidate abstract semantic serialization text is corrected, including but not limited to the following correction methods:

[0095] Correction method 1: After viewing the semantic relationship graph, the user directly modifies the candidate abstract semantic serialization text to obtain the correct target abstract semantic serialization text.

[0096] Correction method 2: After viewing the semantic relationship graph, the user directly modifies the incorrect semantic relationship in the semantic relationship graph to obtain the correct semantic relationship graph; after parsing the correct semantic relationship graph, the correct target abstract semantic serialization text is obtained.

[0097] In some embodiments of the present disclosure, semantic parsing is performed on the target abstract semantic serialized text to obtain target semantic information corresponding to the instruction text. One achievable method is to perform object recognition on the target abstract semantic serialized text according to the semantic object identifier in the preset parsing rule to obtain a second semantic object; and to identify the relationship between any two semantic objects in the second semantic object according to the semantic relationship identifier in the preset parsing rule to obtain the semantic relationship between the second semantic objects. It should be noted that the embodiments of the present disclosure do not limit the preset parsing rules, and the preset parsing rules can be adjusted according to actual conditions.

[0098] Figure 3 is a schematic diagram of a semantic relationship graph provided by an embodiment of the present disclosure. For example, the abstract semantic serialized text corresponding to "open the left window" in Table 2 is "(x0 / turnon:ARG1(x1 / WINDOW:location(x2 / LEFT)))". According to the semantic object identifiers in the preset parsing rules: x0, x1 and x2 are parsed, and the second semantic objects obtained are: turnon, WINDOW and LEFT. Further, according to the semantic relationship identifier in the preset parsing rules, the semantic relationship between turnon and WINDOW is ARG1, that is, WINDOW is the prototype object of turnon, and LEFT is the location attribute of WINDOW, that is, the left window. Based on the semantic relationship between the above-mentioned second semantic object and the second semantic object, the semantic relationship graph shown in Figure 3 can be obtained.

[0099] In some embodiments of the present disclosure, after obtaining target semantic information with a high accuracy rate, the vehicle can be accurately controlled by executing the vehicle control operation corresponding to the target semantic information corresponding to the vehicle control instruction text. One possible implementation method is to query the mapping relationship table between semantic information and control instructions based on the target semantic information to obtain the target control instruction; and execute the vehicle control operation corresponding to the target control instruction. In the embodiment of the present disclosure, after obtaining target semantic information with a high accuracy rate, the embodiment of the present disclosure determines the target control instruction corresponding to the target semantic information, thereby improving the accuracy of vehicle control.

[0100] The disclosed embodiments propose a semantic representation system based on abstract semantic representation specifications that can effectively support both simple instructions and complex scenarios. This semantic representation system unifies the representation standards for complex semantics, expands the boundaries of diverse semantic expressions for users in the automotive field, and provides a foundation for supporting cross-domain complex semantics, multiple intents in a single sentence, implicit references, or ambiguous semantics. The disclosed embodiments also provide an end-to-end semantic understanding method that simplifies the semantic understanding process, reduces overall system latency and module development costs, and improves the accuracy of semantic understanding.

[0101] In some embodiments of the present disclosure, an instruction text is obtained; the instruction text is input into a text serialization model to obtain a target abstract semantic serialization text, and the text serialization model is used to process the instruction text to obtain a target abstract semantic serialization text; the target abstract semantic serialization text is semantically parsed to obtain target semantic information corresponding to the instruction text; the present disclosure adopts an end-to-end model processing method to obtain a target abstract semantic serialization text, and directly parses the target abstract semantic serialization text to obtain the target semantic information, thereby avoiding the use of a large number of processing modules and improving the accuracy of semantic understanding.

[0102] In combination with the description of the above embodiments, FIG4 is a flow chart of another vehicle control method provided by an embodiment of the present disclosure. As shown in FIG4 , the method includes:

[0103] S401: Get instruction text;

[0104] S402: Input the instruction text into the text serialization model to obtain the target abstract semantic serialization text;

[0105] S403: Perform semantic analysis on the target abstract semantic serialization text to obtain target semantic information corresponding to the instruction text;

[0106] S404: Execute a vehicle control operation corresponding to the target semantic information.

[0107] In this embodiment, the execution subject of the above method may be a terminal device or a server.

[0108] When the execution subject is a terminal device, the specific implementation form of the terminal device is not limited. Terminal devices include, but are not limited to, any of the following: vehicles, desktop computers, tablet computers, smartphones, and smart wearable devices. The present disclosure does not limit the type of vehicle, but includes, but is not limited to, any of the following: electric vehicles, gasoline-powered vehicles, gasoline-electric hybrid vehicles, hydrogen-powered vehicles, and new energy and gasoline-powered hybrid vehicles.

[0109] When the execution subject is a server, for example, the server can be a conventional server, a cloud server, a cloud host, a virtual center, or other server devices. The server is mainly composed of a processor, a hard disk, a memory, a system bus, etc., and a general computer architecture type.

[0110] In this embodiment, the implementation method of each step in this embodiment can refer to the description of the above embodiments, and the technical effects of the corresponding parts of the above embodiments can also be achieved, which will not be repeated here.

[0111] In the above method embodiment of the present disclosure, a target instruction text is obtained; a text conversion operation is performed on the target instruction text using the conversion relationship from instruction text to abstract semantic serialized text possessed by a text serialization model to obtain a target abstract semantic serialized text; wherein, the conversion relationship from instruction text to abstract semantic serialized text is a conversion relationship obtained by training the sequence-to-sequence conversion relationship possessed by a pre-trained model; the embodiment of the present disclosure directly performs the conversion from instruction text to abstract semantic serialized text through a text serialization model, which can reduce the transmission of errors in the algorithm steps and improve the accuracy of semantic understanding compared to the existing complex semantic understanding algorithm; thereafter, semantic analysis is performed on the target abstract semantic serialized text to obtain relatively accurate target semantic information; and vehicle control operations corresponding to the target semantic information are executed, thereby improving the accuracy of vehicle control.

[0112] FIG5 is a schematic diagram of the structure of a vehicle control device 50 provided by an exemplary embodiment of the present disclosure. As shown in FIG5 , the vehicle control device 50 includes: an acquisition module 51 , a model processing module 52 , a semantic parsing module 53 and an execution module 54 .

[0113] Wherein, the acquisition module 51 is used to obtain the target instruction text;

[0114] The model processing module 52 is configured to perform a text conversion operation on the target instruction text using the conversion relationship from instruction text to abstract semantic serialized text possessed by the text serialization model to obtain the target abstract semantic serialized text; wherein the conversion relationship from instruction text to abstract semantic serialized text is a conversion relationship obtained by training the sequence-to-sequence conversion relationship possessed by the pre-trained model;

[0115] Semantic parsing module 53, used to perform semantic parsing on the target abstract semantic serialized text to obtain target semantic information corresponding to the target instruction text;

[0116] The execution module 54 is configured to execute the vehicle control operation corresponding to the target semantic information.

[0117] Optionally, when executing the vehicle control operation corresponding to the target semantic information, the semantic parsing module 53 is configured to:

[0118] According to the target semantic information, query the mapping relationship table between the semantic information and the control instruction to obtain the target control instruction;

[0119] Execute the vehicle control operation corresponding to the target control instruction.

[0120] Optionally, the training process of the text serialization model includes:

[0121] Collect multiple sample instruction texts;

[0122] Producing a sample abstract semantic serialization text corresponding to the sample instruction text;

[0123] The pre-training model is trained according to multiple sample instruction texts and multiple sample abstract semantic serialization texts to obtain a text serialization model.

[0124] Optionally, when inputting the instruction text into the text serialization model to obtain the target abstract semantic serialization text, the model processing module 52 is configured to:

[0125] Input the instruction text into the text serialization model to obtain the candidate abstract semantic serialization text;

[0126] A correction operation is performed on the candidate abstract semantic serialization text to obtain a target abstract semantic serialization text, wherein the correction operation is an operation initiated by the user when there is a text error in the candidate abstract semantic serialization text, and the correction operation is used to correct the erroneous candidate abstract semantic serialization text to the correct target abstract semantic serialization text.

[0127] Optionally, when the model processing module 52 performs a correction operation on the candidate abstract semantic serialized text to obtain the target abstract semantic serialized text, it is configured to:

[0128] Performing semantic parsing on the candidate abstract semantic serialized text to obtain a semantic relationship between the first semantic object and the first semantic object;

[0129] According to the semantic relationship between the first semantic objects, taking the first semantic objects as nodes, adding directed edges between the nodes corresponding to the first semantic objects to obtain a semantic relationship graph;

[0130] Displaying the semantic relationship graph so that the user can check whether there is an error in the semantic relationship between the first semantic object and the second semantic object in the semantic relationship graph;

[0131] In response to a triggering operation on an erroneous target semantic object and / or target semantic relationship, the target semantic object and / or target semantic relationship is corrected to obtain a corrected semantic object and a corrected semantic relationship; wherein the target semantic object is at least part of the semantic objects in the first semantic object, and the target semantic relationship is at least part of the semantic relationships between the first semantic objects;

[0132] The revised semantic objects and the revised semantic relations constitute a revised semantic relation graph and a target abstract semantic serialization text corresponding to the revised semantic relation graph.

[0133] Optionally, the target semantic information includes: the second semantic object and the semantic relationship between the second semantic object. When the semantic parsing module 53 performs semantic parsing on the target abstract semantic serialized text to obtain the target semantic information corresponding to the instruction text, it is used to:

[0134] According to the semantic object identifier in the preset parsing rule, object recognition is performed on the target abstract semantic serialized text to obtain a second semantic object;

[0135] According to the semantic relationship identifier in the preset parsing rule, the relationship between any two semantic objects in the second semantic object is identified to obtain the semantic relationship between the second semantic objects.

[0136] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0137] FIG6 is a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present disclosure. As shown in FIG6 , the electronic device includes a memory 61 and a processor 62. In addition, the electronic device also includes a power supply component 63 and a communication component 64.

[0138] The memory 61 is used to store computer programs and can be configured to store various other data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device.

[0139] Memory 61 can be implemented by any type of volatile or non-volatile memory device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0140] The communication component 64 is used for data transmission with other devices.

[0141] The processor 62 can execute computer instructions stored in the memory 61 to: obtain a target instruction text; use the conversion relationship from instruction text to abstract semantic serialization text possessed by the text serialization model to perform a text conversion operation on the target instruction text to obtain a target abstract semantic serialization text; wherein the conversion relationship from instruction text to abstract semantic serialization text is a conversion relationship obtained by training the sequence-to-sequence conversion relationship possessed by the pre-trained model; perform semantic analysis on the target abstract semantic serialization text to obtain target semantic information corresponding to the target instruction text; and execute a vehicle control operation corresponding to the target semantic information.

[0142] Optionally, when executing the vehicle control operation corresponding to the target semantic information, the processor 62 is configured to:

[0143] According to the target semantic information, query the mapping relationship table between the semantic information and the control instruction to obtain the target control instruction;

[0144] Execute the vehicle control operation corresponding to the target control instruction.

[0145] Optionally, the training process of the text serialization model includes:

[0146] Collect multiple sample instruction texts;

[0147] Producing a sample abstract semantic serialization text corresponding to the sample instruction text;

[0148] The initial model is trained based on multiple sample instruction texts and multiple sample abstract semantic serialization texts to obtain a text serialization model.

[0149] Optionally, when the processor 62 inputs the instruction text into the text serialization model to obtain the target abstract semantic serialization text, it is configured to:

[0150] Input the instruction text into the text serialization model to obtain the candidate abstract semantic serialization text;

[0151] A correction operation is performed on the candidate abstract semantic serialization text to obtain a target abstract semantic serialization text, wherein the correction operation is an operation initiated by the user when there is a text error in the candidate abstract semantic serialization text, and the correction operation is used to correct the erroneous candidate abstract semantic serialization text to the correct target abstract semantic serialization text.

[0152] Optionally, when the processor 62 performs a correction operation on the candidate abstract semantic serialized text to obtain the target abstract semantic serialized text, it is configured to:

[0153] Performing semantic parsing on the candidate abstract semantic serialized text to obtain a semantic relationship between the first semantic object and the first semantic object;

[0154] According to the semantic relationship between the first semantic objects, taking the first semantic objects as nodes, adding directed edges between the nodes corresponding to the first semantic objects to obtain a semantic relationship graph;

[0155] Displaying the semantic relationship graph so that the user can check whether there is an error in the semantic relationship between the first semantic object and the second semantic object in the semantic relationship graph;

[0156] In response to a triggering operation on an erroneous target semantic object and / or target semantic relationship, the target semantic object and / or target semantic relationship is corrected to obtain a corrected semantic object and a corrected semantic relationship; wherein the target semantic object is at least part of the semantic objects in the first semantic object, and the target semantic relationship is at least part of the semantic relationships between the first semantic objects;

[0157] The revised semantic objects and the revised semantic relations constitute a revised semantic relation graph and a target abstract semantic serialization text corresponding to the revised semantic relation graph.

[0158] Optionally, the target semantic information includes: the second semantic object and the semantic relationship between the second semantic object. When the processor 62 performs semantic parsing on the target abstract semantic serialized text to obtain the target semantic information corresponding to the target instruction text, it is configured to:

[0159] According to the semantic object identifier in the preset parsing rule, object recognition is performed on the target abstract semantic serialized text to obtain a second semantic object;

[0160] According to the semantic relationship identifier in the preset parsing rule, the relationship between any two semantic objects in the second semantic object is identified to obtain the semantic relationship between the second semantic objects.

[0161] Accordingly, embodiments of the present disclosure further provide a computer-readable storage medium storing a computer program. When the computer-readable storage medium stores the computer program and the computer program is executed by one or more processors, the one or more processors are caused to perform each step in the method embodiment of FIG1 .

[0162] Accordingly, an embodiment of the present disclosure further provides a computer program product, which includes a computer program / instructions. The computer program / instructions are executed by a processor to execute the steps in the method embodiment of FIG. 1 .

[0163] In the above-mentioned device, equipment, storage medium and computer program product embodiments of the present disclosure, in the above-mentioned method embodiment of the present disclosure, a target instruction text is obtained; the conversion relationship from instruction text to abstract semantic serialized text possessed by the text serialization model is used to perform a text conversion operation on the target instruction text to obtain a target abstract semantic serialized text; wherein, the conversion relationship from instruction text to abstract semantic serialized text is a conversion relationship obtained by training the sequence-to-sequence conversion relationship possessed by the pre-trained model; the embodiment of the present disclosure directly performs the conversion from instruction text to abstract semantic serialized text through the text serialization model, which can reduce the transmission of errors in the algorithm steps and improve the accuracy of semantic understanding compared to the existing complex semantic understanding algorithm; thereafter, the target abstract semantic serialized text is semantically parsed to obtain more accurate target semantic information; and the vehicle control operation corresponding to the target semantic information is executed, thereby improving the accuracy of vehicle control.

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

[0165] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0166] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0167] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

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

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

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

[0171] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof 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 elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device that includes the element.

[0172] The above are merely specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to these embodiments, but is to be construed in the broadest manner consistent with the principles and novel features disclosed herein.

Claims

1. A vehicle control method, include: Get the target instruction text; Using the conversion relationship from instruction text to abstract semantic serialization text possessed by the text serialization model, a text conversion operation is performed on the target instruction text to obtain a target abstract semantic serialization text; wherein the conversion relationship from instruction text to abstract semantic serialization text is a conversion relationship obtained by training the sequence-to-sequence conversion relationship possessed by the pre-trained model; Performing semantic analysis on the target abstract semantic serialization text to obtain target semantic information corresponding to the target instruction text; Execute a vehicle control operation corresponding to the target semantic information.

2. The method according to claim 1, in, The executing the vehicle control operation corresponding to the target semantic information includes: According to the target semantic information, query the mapping relationship table between the semantic information and the control instruction to obtain the target control instruction; The vehicle control operation corresponding to the target control instruction is executed.

3. The method according to claim 1 or 2, in, The training process of the text serialization model includes: Collect multiple sample instruction texts; Produce a sample abstract semantic serialization text corresponding to the sample instruction text; The pre-trained model is trained according to the plurality of sample instruction texts and the plurality of sample abstract semantic serialization texts to obtain the text serialization model.

4. The method according to any one of claims 1 to 3, in, The step of inputting the instruction text into a text serialization model to obtain a target abstract semantic serialization text includes: Inputting the instruction text into the text serialization model to obtain a candidate abstract semantic serialization text; A correction operation is performed on the candidate abstract semantic serialization text to obtain the target abstract semantic serialization text, wherein the correction operation is an operation initiated by a user when there is a text error in the candidate abstract semantic serialization text, and the correction operation is used to correct the erroneous candidate abstract semantic serialization text into a correct target abstract semantic serialization text.

5. The method according to claim 4, in, The step of performing a correction operation on the candidate abstract semantic serialization text to obtain the target abstract semantic serialization text includes: Performing semantic parsing on the candidate abstract semantic serialization text to obtain a semantic relationship between the first semantic object and the first semantic object; According to the semantic relationship between the first semantic objects, taking the first semantic objects as nodes, adding directed edges between the nodes corresponding to the first semantic objects to obtain a semantic relationship graph; Displaying the semantic relationship graph so that the user can check whether there is any error in the semantic relationship between the first semantic object and the first semantic object in the semantic relationship graph; In response to a trigger operation on the target semantic object and / or target semantic relationship having an error, the target semantic object and / or target semantic relationship is The target semantic object and / or the target semantic relationship are modified to obtain a modified semantic object and a modified semantic relationship; wherein the target semantic object is at least part of the semantic objects in the first semantic objects, and the target semantic relationship is at least part of the semantic relationship between the first semantic objects; The revised semantic objects and the revised semantic relations constitute a revised semantic relation graph and the target abstract semantic serialized text corresponding to the revised semantic relation graph.

6. The method according to any one of claims 1 to 5, in, The target semantic information includes: the second semantic object and the semantic relationship between the second semantic objects, and the semantic parsing of the target abstract semantic serialized text to obtain the target semantic information corresponding to the target instruction text includes: According to the semantic object identifier in the preset parsing rule, object recognition is performed on the target abstract semantic serialized text to obtain the second semantic object; According to the semantic relationship identifier in the preset parsing rule, the relationship between any two semantic objects in the second semantic objects is identified to obtain the semantic relationship between the second semantic objects.

7. A vehicle control device, include: An acquisition module is used to acquire the target instruction text; A model processing module is used to perform a text conversion operation on the target instruction text by utilizing the conversion relationship from instruction text to abstract semantic serialization text possessed by the text serialization model to obtain a target abstract semantic serialization text; wherein the conversion relationship from instruction text to abstract semantic serialization text is a conversion relationship obtained by training the sequence-to-sequence conversion relationship possessed by the pre-trained model; A semantic parsing module, used for performing semantic parsing on the target abstract semantic serialization text to obtain target semantic information corresponding to the target instruction text; An execution module is used to execute a vehicle control operation corresponding to the target semantic information.

8. An electronic device, include: Memory and processor; The memory is used to store computer programs; The processor is configured to execute the computer program to implement each step in the method according to any one of claims 1 to 6.

9. A vehicle, include: Memory and processor; The memory is used to store computer programs; The processor is configured to execute the computer program to implement each step in the method according to any one of claims 1 to 6.

10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method according to any one of claims 1 to 6.

11. A computer program, when the computer program is run on a computer, causes the computer to execute the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Adaptive vehicle control system with driving style recognition

    CN101633359A

  • Voice interaction method and device, terminal and storage medium

    CN112397062A

  • Model training method and device, text processing method and device, equipment and storage medium

    CN115600685A

  • Robotic control using deep learning

    US20210252698A1