Vehicle control method, device and equipment and storage medium

The text serialization model is used to convert the instruction text into abstract semantic serialized text and perform semantic analysis, which solves the problem of low accuracy of semantic understanding in vehicle control and improves the accuracy and system efficiency of vehicle control.

CN118734796APending Publication Date: 2024-10-01BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310340810.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01

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 the sequence-to-sequence conversion relationship training of the pre-trained model, and the target abstract semantic serialized text is semantically parsed, and the target semantic information is directly executed. Corresponding vehicle control operations.

Benefits of technology

It reduces the conduction of errors 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 CN118734796A_ABST
    Figure CN118734796A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a vehicle control method and device, equipment and a storage medium. The embodiment of the invention relates to the technical field of natural language processing. In some embodiments of the invention, a target instruction text is obtained; performing text conversion operation on the target instruction text by utilizing a conversion relationship from the instruction text to the abstract semantic serialized text of the text serialization model to obtain a target abstract semantic serialized text; according to the embodiment of the invention, conversion from the instruction text to the abstract semantic serialization text is directly carried out through the text serialization model, and compared with an existing complex semantic understanding algorithm, conduction of errors in algorithm steps can be reduced, and the accuracy of semantic understanding can be improved; thirdly, semantic analysis is conducted on the target abstract semantic serialized text, and accurate target semantic information is obtained; and executing the vehicle control operation corresponding to the target semantic information, thereby improving the accuracy of vehicle control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Natural language understanding, also known as semantic understanding, is a branch of artificial intelligence. It studies the use of electronic computers to simulate the human language communication process, so that computers can understand and use the natural language of human society, realize natural language communication between humans and computers, and replace part of human mental labor.

[0003] 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. Summary of the invention

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

[0005] The present disclosure provides a vehicle control method, including:

[0006] The present disclosure provides a vehicle control method, including:

[0007] Get the target instruction text;

[0008] 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;

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

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

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

[0012] 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;

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

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

[0015] Collect multiple sample instruction texts;

[0016] Produce a sample abstract semantic serialization text corresponding to the sample instruction text;

[0017] 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.

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

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

[0020] 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.

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

[0022] 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;

[0023] 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;

[0024] 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;

[0025] 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;

[0026] 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.

[0027] Optionally, the target semantic information includes: a second semantic object and a 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 instruction text includes:

[0028] 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;

[0029] 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.

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

[0031] An acquisition module is used to acquire the target instruction text;

[0032] 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;

[0033] 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;

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

[0035] The present disclosure also provides an electronic device, including: a memory and a processor;

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

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

[0038] The disclosed embodiment also provides a vehicle, including: 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 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.

[0042] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0043] In some embodiments of the present disclosure, a target instruction text is obtained; a 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 a sequence-to-sequence conversion relationship possessed by a pre-trained model; the embodiments of the present disclosure directly perform conversion from instruction text to abstract semantic serialized text through a text serialization model, which can reduce the transmission of errors in algorithm steps and improve the accuracy of semantic understanding compared to existing complex semantic understanding algorithms; thereafter, semantic analysis is performed on the target abstract semantic serialized text to obtain relatively accurate target semantic information; and a vehicle control operation corresponding to the target semantic information is executed to thereby improve the accuracy of vehicle control. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A flow chart of a vehicle control method provided for an exemplary embodiment of the present disclosure;

[0046] Figure 2 A flowchart of a model training method provided in an embodiment of the present disclosure;

[0047] Figure 3 A schematic diagram of a semantic relationship graph provided in an embodiment of the present disclosure;

[0048] Figure 4 A flow chart of another vehicle control method provided by an embodiment of the present disclosure;

[0049] Figure 5 A schematic structural diagram of a vehicle control device provided for an exemplary embodiment of the present disclosure;

[0050] Figure 6 A schematic structural diagram of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0051] 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 in the embodiments can be combined with each other without conflict.

[0052] 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.

[0053] It should be noted that the terms "first", "second", etc. 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 sequence. It should be understood that the data used in this way can be interchanged 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 devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0054] 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.

[0055] 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 natural expression of commands is an important goal that needs to be processed.

[0056] At present, the semantic understanding task is performed by 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-intention, semantic understanding is performed by combining semantic segmentation, coreference resolution and other methods on the basis of the semantic understanding tasks mentioned above. The semantic representation structure lacks semantic representation and analysis for complex scene instructions, and the accuracy of semantic understanding is low; the single-sentence multi-intention 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 have error propagation problems.

[0057] 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 after 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 algorithms; thereafter, the target abstract semantic serialized text is semantically parsed to obtain relatively accurate target semantic information; and a vehicle control operation corresponding to the target semantic information is executed to thereby improve the accuracy of vehicle control.

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

[0059] Figure 1 A flow chart of a vehicle control method provided by an exemplary embodiment of the present disclosure. Figure 1 As shown, the method includes:

[0060] S101: Obtain target instruction text;

[0061] S102: using the conversion relationship from instruction text to abstract semantic serialization text of the text serialization model, performing a text conversion operation on the target instruction text to obtain the 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 of the pre-trained model;

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

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

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

[0065] When the execution subject is a terminal device, the specific implementation form of the terminal device is not limited. The terminal device includes but is not limited to any of the following: vehicles, desktop computers, tablet computers, smart phones and smart wearable devices. Among them, the present disclosure does not limit the type of vehicle, including but not limited to any of the following: electric vehicles, oil-powered vehicles, oil-electric hybrid vehicles, hydrogen energy vehicles, new energy and oil-powered hybrid vehicles, etc.

[0066] 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, etc. The server mainly includes a processor, a hard disk, a memory, a system bus, etc., and a general computer architecture type.

[0067] In this embodiment, a target instruction text is obtained; a 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 a 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 algorithm steps and improve the accuracy of semantic understanding compared to existing complex semantic understanding algorithms; thereafter, semantic analysis is performed on the target abstract semantic serialized text to obtain relatively accurate target semantic information; and a vehicle control operation corresponding to the target semantic information is executed to thereby improve the accuracy of vehicle control.

[0068] In some embodiments of the present disclosure, the instruction text is obtained, including but not limited to the following acquisition methods:

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

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

[0071] 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".

[0072] In the above-mentioned second acquisition method, 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.

[0073] It should be noted that the abstract semantic serialization text is a text that complies with the specification and is produced based on the abstract semantic representation specification. The abstract semantic serialization text is set corresponding to the instruction text.

[0074] In this embodiment, the present disclosure formulates a unified and complete semantic representation system adapted to the dialogue field based on the abstract semantic representation specification, and the semantic representation system can represent the semantic concepts and semantic logical relationships of complex sentences, such as hierarchical nesting, semantic relationship constraints and complex sentence relationships, etc. Among them, the semantic relationship is defined in the abstract semantic representation specification, and the semantic relationship includes: core semantic relationship, non-core semantic relationship, domain-specific semantic relationship and domain-specific semantic concept.

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

[0076]

[0077]

[0078] Table 1

[0079] It should be noted that the disclosed embodiment utilizes the sequence-to-sequence conversion relationship of the pre-trained model, and uses the training data in the field of vehicle control to train the pre-trained model, thereby obtaining a text serialization model in the field of vehicle control that has a conversion relationship from instruction text to abstract semantic serialized text. The pre-trained model may be a BART model. The disclosed embodiment adopts a model pre-training method to improve the training efficiency of the model.

[0080] 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 A flow chart of a model training method provided in an embodiment of the present disclosure. Figure 2 As shown, the model training method includes:

[0081] S201: Collect multiple sample instruction texts;

[0082] S202: Produce a sample abstract semantic serialization text corresponding to the sample instruction text;

[0083] S203: Train the pre-trained model according to the multiple sample instruction texts and the multiple sample abstract semantic serialization texts to obtain a text serialization model.

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

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

[0086]

[0087] Table 2

[0088] Input the labeled training samples into a neural network model. Inside the neural network model, the training samples can be subjected to feature extraction and calculation operations according to the model parameters, and the output layer of the neural network model outputs the abstract semantic serialization text. Next, the loss function layer of the neural network can calculate the loss function according to the difference between the abstract semantic serialization text output by the output layer and the sample abstract semantic serialization text. If the loss function does not meet the set requirements, the model parameters can be adjusted and iterative training can be continued. When the loss function of the neural network model meets the set requirements, a trained text serialization model can be obtained.

[0089] The present disclosure is based on the abstract semantic representation specification, and has formulated a unified and complete semantic representation system adapted to the field of dialogue. The present disclosure proposes an abstract semantic parsing task based on a text serialization model, and realizes 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 the model parameters are initialized 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 the representation and generation capabilities of text, 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, the BART model fine-tuning method is used to achieve the end-to-end abstract semantic parsing task from input text to abstract semantic serialized text. The encoder input is the input text as a condition, that is, the user instruction text, and the decoder generates the corresponding target text, that is, the abstract semantic serialized text, in an autoregressive manner. After model training, an end-to-end model is obtained, which outputs the corresponding abstract semantic serialized text through the input of the user instruction text.

[0090] In some embodiments of the present disclosure, the instruction text is input into a text serialization model to obtain a target abstract semantic serialization text. One achievable method is to input the instruction text into a text serialization model to obtain a candidate abstract semantic serialization text; and perform a correction operation on the candidate abstract semantic serialization text to obtain a target abstract semantic serialization text. 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. Among them, the embodiments 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.

[0091] In the above embodiment, the candidate abstract semantic serialization text is corrected to obtain the target abstract semantic serialization text. One achievable method is to perform semantic analysis on the candidate abstract semantic serialization text to obtain the semantic relationship between the first semantic object and the first semantic object; according to the semantic relationship between the first semantic objects, the first semantic object is used as a node, and 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 the trigger operation of the target semantic object and / or the target semantic relationship with an error, the target semantic object and / or the 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 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 serialization 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. If any one of the semantic relationship graph and the abstract semantic serialization text is modified, the other will also be modified to the correct form accordingly.

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

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

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

[0095] 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.

[0096] 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.

[0097] Figure 3 A schematic diagram of a semantic relationship graph provided for an embodiment of the present disclosure. For example, the abstract semantic serialization 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 identifiers 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 above-mentioned semantic relationship between the second semantic object and the second semantic object, it can be obtained that Figure 3 The semantic relationship diagram shown.

[0098] In some embodiments of the present disclosure, after obtaining target semantic information with a high accuracy rate, executing the vehicle control operation corresponding to the target semantic information corresponding to the vehicle control instruction text can accurately control the vehicle. One achievable method is to query the mapping relationship table between the semantic information and the control instruction according to the target semantic information to obtain the target control instruction; and execute the vehicle control operation corresponding to the target control instruction. In the embodiments of the present disclosure, after obtaining the target semantic information with a high accuracy rate, the embodiments of the present disclosure determine the target control instruction corresponding to the target semantic information to improve the accuracy of vehicle control.

[0099] The disclosed embodiment proposes a semantic representation system under an abstract semantic representation specification, which can support both simple instructions and semantic representation in complex scenarios effectively; the semantic representation system unifies the representation standards of complex semantics, expands the boundaries of the diverse semantic expressions of users in the vehicle field, and provides a basis for supporting cross-domain complex semantics, multiple intentions in a single sentence, implicit references or fuzzy semantics, etc. The disclosed embodiment also provides an end-to-end semantic understanding method, which simplifies the process of semantic understanding, reduces the overall system delay overhead and module development costs, and improves the accuracy of semantic understanding.

[0100] 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 instruction text is processed using the text serialization model to obtain the 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 the target abstract semantic serialization text, and the target abstract semantic serialization text is directly parsed to obtain the target semantic information, thereby avoiding the use of a large number of processing modules and improving the accuracy of semantic understanding.

[0101] Combined with the description of the above embodiments, Figure 4 FIG. 1 is a flow chart of another vehicle control method provided by an embodiment of the present disclosure. Figure 4 As shown, the method includes:

[0102] S401: Get instruction text;

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

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

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

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

[0107] When the execution subject is a terminal device, the specific implementation form of the terminal device is not limited. The terminal device includes but is not limited to any of the following: vehicles, desktop computers, tablet computers, smart phones and smart wearable devices. Among them, the present disclosure does not limit the type of vehicle, including but not limited to any of the following: electric vehicles, oil-powered vehicles, oil-electric hybrid vehicles, hydrogen energy vehicles, new energy and oil-powered hybrid vehicles, etc.

[0108] 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, etc. The server mainly includes a processor, a hard disk, a memory, a system bus, etc., and a general computer architecture type.

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

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

[0111] Figure 5 FIG. 5 is a schematic diagram of a vehicle control device 50 provided by an exemplary embodiment of the present disclosure. Figure 5 As shown, 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.

[0112] Wherein, the acquisition module 51 is used to acquire the target instruction text;

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

[0114] The semantic analysis module 53 is used to perform semantic analysis on the target abstract semantic serialization text to obtain the target semantic information corresponding to the target instruction text;

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

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

[0117] 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;

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

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

[0120] Collect multiple sample instruction texts;

[0121] Produce sample abstract semantic serialization text corresponding to the sample instruction text;

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

[0123] Optionally, when the model processing module 52 inputs the instruction text into the text serialization model to obtain the target abstract semantic serialization text, it is used to:

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

[0125] 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 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 the correct target abstract semantic serialization text.

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

[0127] 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;

[0128] 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;

[0129] 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;

[0130] In response to a triggering operation on a target semantic object and / or a target semantic relationship having an error, the target semantic object and / or the 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;

[0131] 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.

[0132] 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 serialization text to obtain the target semantic information corresponding to the instruction text, it is used to:

[0133] 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;

[0134] 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.

[0135] Regarding the device 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.

[0136] Figure 6 FIG. 1 is a schematic diagram of a structure of an electronic device provided by an exemplary embodiment of the present disclosure. Figure 6 As shown, 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.

[0137] 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 program or method operating on the electronic device.

[0138] Memory 61 can be implemented by any type of volatile or non-volatile storage 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.

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

[0140] 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 text conversion operations 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.

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

[0142] 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;

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

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

[0145] Collect multiple sample instruction texts;

[0146] Produce sample abstract semantic serialization text corresponding to the sample instruction text;

[0147] An initial model is trained according to multiple sample instruction texts and multiple sample abstract semantic serialization texts to obtain a text serialization model.

[0148] 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:

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

[0150] 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 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 the correct target abstract semantic serialization text.

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

[0152] 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;

[0153] 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;

[0154] 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;

[0155] In response to a triggering operation on a target semantic object and / or a target semantic relationship having an error, the target semantic object and / or the 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;

[0156] 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.

[0157] 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 serialization text to obtain the target semantic information corresponding to the target instruction text, it is used to:

[0158] 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;

[0159] 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.

[0160] Accordingly, the present disclosure also provides 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 execute Figure 1 Each step in the method embodiment.

[0161] Accordingly, the present disclosure also provides a computer program product, the computer program product includes a computer program / instruction, the computer program / instruction is executed by a processor Figure 1 Each step in the method embodiment.

[0162] In the above-mentioned device, equipment, storage medium and computer program product embodiments of the present disclosure, in the above-mentioned method embodiments 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 text conversion operation on the target instruction text 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 after training the sequence-to-sequence conversion relationship possessed by the pre-trained model; the embodiment of the present disclosure directly converts 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 relatively accurate target semantic information; and the vehicle control operation corresponding to the target semantic information is executed to thereby improve the accuracy of vehicle control.

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

[0164] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks 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 generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0165] These computer program instructions may also be stored in a computer-readable memory capable of directing 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 an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0166] 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, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

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

[0168] The 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. The memory is an example of a computer-readable medium.

[0169] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. 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 disk read-only memory (CD-ROM), digital versatile disk (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 temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0170] It should be noted that, in this article, relational terms such as "first" and "second" are only used 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", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including 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. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0171] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A vehicle control method, characterized in that: 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, characterized in that 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, characterized in that 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 claim 1, characterized in that 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, characterized in that 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 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; 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 claim 1, characterized in that 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, characterized in that: 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 to perform 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, characterized in that: 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, characterized in that: 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, characterized in that: When the computer program is executed by a processor, each step of the method according to any one of claims 1 to 6 is implemented.