User intention clarification method, device and equipment, medium and vehicle

By constructing event graphs and utilizing in-vehicle device status information, the problem of deep learning models ignoring contextual information in dialogue clarification is solved, improving the accuracy of user intentions and dialogue clarification effects.

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

Patent Information

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

AI Technical Summary

Technical Problem

In the existing technology, dialogue clarification methods based on deep learning models ignore situational information at the current moment, resulting in inaccurate user true intentions and poor clarification effects.

Method used

By counting the user's car usage events within the preset time period, the event map is constructed, the user's control instructions are received, the prefix and complete feature sample group are constructed, and the user's true intention is obtained by removing erroneous samples based on the in-car equipment status information.

Benefits of technology

It improves the accuracy of dialogue clarification, improves the clarification effect, and solves the problem of inaccurate user intentions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733720A_ABST
    Figure CN118733720A_ABST
Patent Text Reader

Abstract

The invention relates to a user intention clarification method, device and equipment, a medium and a vehicle, and the method comprises the steps: constructing an event atlas, receiving a current control instruction, and constructing a prefix feature sample group and a complete feature sample group for the current control instruction; calculating a probability value corresponding to each prefix feature sample and a probability value corresponding to each complete feature sample from the event graph, further obtaining a user intention probability table, removing error samples in the user intention probability table by using state information of the in-vehicle equipment, obtaining a target user intention probability table, and obtaining a target user intention probability table; and taking the feature sample corresponding to the maximum probability value in the target user intention probability table as the clarified user real intention. According to the method, the event atlas is obtained by counting the vehicle using events, the event atlas is compatible with different attributes for different events, good expansibility is achieved, the feature samples are constructed for the current control instruction, the in-vehicle equipment state is combined, error samples are removed, the dialogue clarification accuracy can be improved, and therefore the dialogue clarification effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, equipment, medium and vehicle for clarifying user intention. Background Art

[0002] Conversation clarification has a long history. In the early research work, most of them used manually designed rules to track the state of the conversation and conduct clarification questions. However, due to the continuous changes in the form of conversation, manually defined rules are difficult to cover all situations in the conversation, and it requires high manpower costs to maintain the rule table. Therefore, rule-based methods have many limitations, such as limited generalization performance, high error rate, poor domain adaptation ability, etc.

[0003] With the rise of deep learning models, researchers have begun to consider introducing various deep learning neural network models into conversation clarification. In some car use scenarios, when the user says "turn on", this type of model-based approach will combine the context of the user's current conversation and may predict that the user wants to turn on the air conditioner. However, the hardware signal shows that the air conditioner is already on at this time, so the user's true intention should not be to turn on the air conditioner.

[0004] Since the above model-based methods mostly focus on the text content of the user's current conversation and ignore the contextual information at the current moment, the user's true intention after clarification is inaccurate, resulting in poor conversation clarification effect. Summary of the invention

[0005] In order to solve the above technical problems, the present disclosure provides a user intent clarification method, device, equipment, medium and vehicle.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for clarifying user intention, including:

[0007] Counting the vehicle use events of users within a preset time period, arranging the vehicle use events in chronological order, and obtaining an event map, wherein the vehicle use events include control commands issued by users to the vehicle and changes in status information of in-vehicle equipment;

[0008] receiving a current control instruction issued by a user, and constructing a prefix feature sample group and a complete feature sample group for the current control instruction respectively;

[0009] Counting the probability value corresponding to each prefix feature sample in the prefix feature sample group and the probability value corresponding to each complete feature sample in the complete feature sample group from the event map;

[0010] The probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample are combined to obtain a user intention probability table;

[0011] The state information of the in-vehicle device is used to remove the erroneous samples in the user intention probability table to obtain the target user intention probability table, and the feature sample corresponding to the maximum probability value in the target user intention probability table is used as the clarified user's true intention.

[0012] In some embodiments, the counting of vehicle usage events of users within a preset time period includes:

[0013] Obtaining a vehicle usage log within a preset time period, wherein the vehicle usage log includes a conversation log between the user and the vehicle computer and a change log of status information of the in-vehicle equipment;

[0014] The vehicle usage events are counted from the vehicle usage log.

[0015] In some embodiments, the step of calculating vehicle usage events from the vehicle usage log includes:

[0016] Extracting voice event attribute information from the conversation log between the user and the vehicle computer, and arranging the voice event attribute information according to a preset format to obtain a voice event;

[0017] Extracting hardware event attribute information from the change log of the status information of the in-vehicle device, and arranging the hardware event attribute information according to the preset format to obtain a hardware event;

[0018] The voice event is combined with the hardware event to obtain a vehicle use event.

[0019] In some embodiments, the receiving of the current control instruction issued by the user and constructing a prefix feature sample group and a complete feature sample group for the current control instruction respectively include:

[0020] Monitoring the voice information sent by the user, wherein the voice information includes a wake-up word and a current control instruction;

[0021] Acquiring the current control instruction from the voice information;

[0022] The current control instruction is divided into at least one prefix word, for each prefix word, a vehicle use event containing the prefix word is found from the event map, the prefix word is combined with the vehicle use event containing the prefix word to obtain a prefix feature sample, and all prefix feature samples are summarized as a prefix feature sample group;

[0023] Take the current control instruction as an incomplete instruction, find out the vehicle use event corresponding to the complete instruction based on the incomplete instruction from the event map, combine the incomplete instruction with the vehicle use event corresponding to the complete instruction to obtain a complete feature sample, and summarize all the complete feature samples into a complete feature sample group.

[0024] In some embodiments, the step of calculating from the event graph the probability value corresponding to each prefix feature sample in the prefix feature sample group and the probability value corresponding to each complete feature sample in the complete feature sample group includes:

[0025] Counting the number of times each prefix feature sample in the prefix feature sample group appears in the event graph;

[0026] Calculate a first ratio of the number of times each prefix feature sample appears in the event graph to the total number of vehicle use events in the event graph, and use the first ratio as a probability value corresponding to each prefix feature sample;

[0027] Counting the number of times each complete feature sample in the complete feature sample group appears in the event graph;

[0028] A second ratio of the number of times each complete feature sample appears in the event graph to the total number of vehicle use events in the event graph is calculated, and the second ratio is used as the probability value corresponding to each complete feature sample.

[0029] In some embodiments, the probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample are combined to obtain a user intention probability table, including:

[0030] Obtaining a first probability weight corresponding to the prefix feature sample and a second probability weight corresponding to the complete feature sample;

[0031] Multiply the probability value corresponding to each prefix feature sample by the first probability weight to obtain the intention probability of each prefix feature sample;

[0032] Multiply the probability value corresponding to each complete feature sample by the second probability weight to obtain the intention probability of each complete feature sample;

[0033] The intention probability of each prefix feature sample is combined with the intention probability of each complete feature sample to obtain a user intention probability table.

[0034] In some embodiments, the using the state information of the in-vehicle device to remove the erroneous samples in the user intention probability table to obtain the target user intention probability table includes:

[0035] Get status information of in-vehicle devices;

[0036] For each feature sample in the user intention probability table, if the state information of the in-vehicle device is the same as the intention state of the in-vehicle device corresponding to the feature sample, determining that the feature sample is an error sample;

[0037] The erroneous samples in the user intention probability table are removed to obtain a target user intention probability table.

[0038] In a second aspect, an embodiment of the present disclosure provides a user intention clarification device, including:

[0039] The first obtaining module is used to count the vehicle use events of the user within a preset time period, arrange the vehicle use events in chronological order, and obtain an event map, wherein the vehicle use events include control commands issued by the user to the vehicle and changes in status information of the in-vehicle equipment;

[0040] A construction module, used for receiving a current control instruction issued by a user, and constructing a prefix feature sample group and a complete feature sample group for the current control instruction respectively;

[0041] A calculation module, used to calculate from the event map the probability value corresponding to each prefix feature sample in the prefix feature sample group and the probability value corresponding to each complete feature sample in the complete feature sample group;

[0042] The second obtaining module is used to merge the probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample to obtain a user intention probability table;

[0043] The intention clarification module is used to use the status information of the in-vehicle device to remove the erroneous samples in the user intention probability table, obtain the target user intention probability table, and use the feature sample corresponding to the maximum probability value in the target user intention probability table as the clarified user's true intention.

[0044] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:

[0045] Memory;

[0046] Processor; and

[0047] Computer programs;

[0048] The computer program is stored in the memory and is configured to be executed by the processor to implement the method as described in the first aspect.

[0049] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the method as described in the first aspect.

[0050] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the user intent clarification method as described above is implemented.

[0051] In a sixth aspect, an embodiment of the present disclosure further provides a vehicle, including:

[0052] Memory;

[0053] Processor; and

[0054] Computer programs;

[0055] The computer program is stored in the memory and is configured to be executed by the processor to implement the user intention clarification method as described above.

[0056] The user intention clarification method, device, equipment, medium and vehicle provided by the embodiments of the present disclosure count the user's vehicle use events within a preset time period, arrange the vehicle use events in chronological order, and obtain an event map. The vehicle use events include control instructions issued by the user to the vehicle and changes in status information of in-vehicle equipment. The current control instruction issued by the user is received, and a prefix feature sample group and a complete feature sample group are constructed for the current control instruction respectively. The probability value corresponding to each prefix feature sample in the prefix feature sample group and the probability value corresponding to each complete feature sample in the complete feature sample group are counted from the event map. The probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample are merged to obtain a user intention probability table. The status information of the in-vehicle equipment is used to remove erroneous samples in the user intention probability table to obtain a target user intention probability table. The feature sample corresponding to the maximum probability value in the target user intention probability table is used as the clarified user's true intention. Compared with the prior art, the present invention solves the problem that the true intention of the user after clarification is inaccurate and the effect of dialogue clarification is poor. An event graph is obtained by counting vehicle use events. The event graph is compatible with different attributes for different events and has good scalability. Feature samples are further constructed for the current control instructions. Combined with the status of the in-vehicle equipment, erroneous samples are removed, which can improve the accuracy of dialogue clarification and thus improve the effect of dialogue clarification. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0058] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0059] Figure 1 A flow chart of a method for clarifying user intention provided by an embodiment of the present disclosure;

[0060] Figure 2 A flow chart of a method for clarifying user intention provided by another embodiment of the present disclosure;

[0061] Figure 3 A flow chart of a method for clarifying user intention provided by another embodiment of the present disclosure;

[0062] Figure 4 A schematic diagram of the structure of a device for clarifying user intention provided by an embodiment of the present disclosure;

[0063] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

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

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

[0066] The disclosed embodiment provides a method for clarifying user intention, which is introduced below in conjunction with a specific embodiment.

[0067] Figure 1 A flow chart of the user intention clarification method provided in the embodiment of the present disclosure. The method can be applied to vehicle-mounted terminals, which can be portable mobile devices such as smart phones, tablet computers, laptops, vehicle-mounted navigation devices, and smart sports equipment; they can also be fixed devices such as personal computers and smart home appliances. The method can be applied to scenarios where user intentions are clarified. The method solves the problem that the true intentions of users after clarification in the prior art are inaccurate and the effect of dialogue clarification is poor. An event map is obtained by counting vehicle use events. The event map is compatible with different attributes for different events and has good scalability. A feature sample intention is further constructed for the current control instruction. Combined with the status of the in-vehicle equipment, the impossible intentions are filtered out, which can improve the accuracy of dialogue clarification and thus improve the dialogue clarification effect. It can be understood that the user intention clarification method provided in the embodiment of the present disclosure can also be applied in other scenarios.

[0068] Below Figure 1 The user intention clarification method shown is introduced, and the specific steps of the method are as follows:

[0069] S101. Count the vehicle use events of users within a preset time period, arrange the vehicle use events in chronological order, and obtain an event map. The vehicle use events include control commands issued by users to the vehicle and changes in status information of in-vehicle equipment.

[0070] In this step, the vehicle terminal counts the vehicle use events of the user within the preset time period, arranges the vehicle use events in chronological order, and obtains an event map, wherein the vehicle use events include events of control instructions issued by the user to the vehicle and events of changes in the status information of the in-vehicle equipment. For example, the vehicle terminal can count the vehicle use events of the user within the preset time period from the log file of the preset time period. The preset time period can be the last six months, the last year, the last three years, a historical time period, etc., and this embodiment does not limit the preset time period.

[0071] S102: Receive a current control instruction issued by a user, and construct a prefix feature sample group and a complete feature sample group for the current control instruction respectively.

[0072] After obtaining the event map, the vehicle terminal can store the event map locally or in the cloud as a vehicle event database, and can update the event map. The vehicle terminal receives the current control instruction issued by the user, and constructs a prefix feature sample group and a complete feature sample group for the current control instruction. The current control instruction is an instruction to be clarified, for example, "open", "open all" and other instructions that need to be clarified.

[0073] The prefix refers to the header of the control instruction, and the length of the prefix is ​​limited to be greater than or equal to two. For example, if the control instruction is "turn on all air conditioners", the prefix can be turn on, turn on all, turn all, turn all empty, turn all air conditioners. Five prefix feature samples can be constructed, namely: (turn on, turn on all air conditioners), (turn on all, turn on all air conditioners), (turn on all, turn on all air conditioners), (turn all empty, turn all air conditioners), (turn on all air conditioners, turn on all air conditioners), these five prefix feature samples can constitute a prefix feature sample group.

[0074] Complete features refer to control instructions that have clear semantics but do not conform to the actual intention. The actual intention contains supplements to certain information in the control instructions (e.g., object entity location, object entity function, sub-object entity). For example, if the control instruction is "open the window", and the user's actual intention is to open the rear window, or open all windows, several complete feature samples can be constructed, namely: (open the window, turn on the rear air conditioner), (open the window, open all windows), and these several complete feature samples can constitute a complete feature sample group. For example, if the control instruction is "adjust the air conditioner", and the user's actual intention is to adjust the air volume of the air conditioner, or adjust the air direction of the air conditioner, or adjust the air temperature of the air conditioner, several complete feature samples can be constructed, namely: (adjust the air conditioner, adjust the air volume of the air conditioner), (adjust the air conditioner, adjust the air direction of the air conditioner), (adjust the air conditioner, adjust the air temperature of the air conditioner), and these several complete feature samples can constitute a complete feature sample group.

[0075] S103. Calculate, from the event graph, a probability value corresponding to each prefix feature sample in the prefix feature sample group and a probability value corresponding to each complete feature sample in the complete feature sample group.

[0076] After constructing the prefix feature sample group and the complete feature sample group, the vehicle terminal further calculates the probability value corresponding to each prefix feature sample in the prefix feature sample group and the probability value corresponding to each complete feature sample in the complete feature sample group from the event map. As shown in Table 1, the probability value corresponding to each prefix feature sample in the prefix feature sample group is calculated. As shown in Table 2, the probability value corresponding to each complete feature sample in the complete feature sample group is calculated.

[0077] Table 1 Probability values ​​corresponding to prefix feature samples

[0078] Prefix feature sample Prefix feature sample 1 Prefix feature sample 2 Probability value 0.6 0.2

[0079] Table 2 Probability values ​​corresponding to complete feature samples

[0080] Complete feature sample Complete feature sample 1 Complete feature sample 2 Complete feature sample 3 Probability value 0.4 0.1 0.3

[0081] S104: Combine the probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample to obtain a user intention probability table.

[0082] Further, the vehicle terminal combines the probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample to obtain a user intention probability table. In some embodiments, the data in the two tables can be combined into the same table to obtain a user intention probability table. In some embodiments, the data in the two tables can be multiplied by their respective corresponding weight values ​​to calculate the weighted probability of each feature sample, and then combined into the same table to obtain a user intention probability table.

[0083] S105. Use the status information of the in-vehicle device to remove the erroneous samples in the user intention probability table to obtain the target user intention probability table, and use the feature sample corresponding to the maximum probability value in the target user intention probability table as the clarified user's true intention.

[0084] After obtaining the user intention probability table, the vehicle terminal uses the status information of the in-vehicle device to remove the erroneous samples in the user intention probability table to obtain the target user intention probability table, and uses the feature sample corresponding to the maximum probability value in the target user intention probability table as the clarified user's true intention. For example, the air conditioner in the car is already turned on, and the user's true intention should not be to turn on the air conditioner. Remove the erroneous samples whose feature samples are "turn on the air conditioner" to obtain the target user intention probability table, compare the probability values ​​of each feature sample in the target user intention probability table, and use the feature sample corresponding to the maximum probability value in the target user intention probability table as the clarified user's true intention, thereby improving the accuracy of user intention clarification.

[0085] The disclosed embodiment obtains an event map by counting vehicle usage events of users within a preset time period and arranging the vehicle usage events in chronological order, wherein the vehicle usage events include control instructions issued by the user to the vehicle and changes in status information of in-vehicle equipment, receives a current control instruction issued by the user, constructs a prefix feature sample group and a complete feature sample group for the current control instruction respectively, counts the probability value corresponding to each prefix feature sample in the prefix feature sample group and the probability value corresponding to each complete feature sample in the complete feature sample group from the event map, merges the probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample to obtain a user intention probability table, uses the status information of in-vehicle equipment to remove erroneous samples in the user intention probability table, and obtains a target user intention probability table, and uses the feature sample corresponding to the maximum probability value in the target user intention probability table as the clarified user's true intention. Compared with the prior art, the present invention solves the problem that the true intention of the user after clarification is inaccurate and the effect of dialogue clarification is poor. An event graph is obtained by counting vehicle use events. The event graph is compatible with different attributes for different events and has good scalability. Feature samples are further constructed for the current control instructions. Combined with the status of the in-vehicle equipment, erroneous samples are removed, which can improve the accuracy of dialogue clarification and thus improve the effect of dialogue clarification.

[0086] Figure 2 A flowchart of a method for clarifying user intention provided by another embodiment of the present disclosure is shown in FIG. Figure 2 As shown, the method includes the following steps:

[0087] S201. Obtain a vehicle usage log within a preset time period, wherein the vehicle usage log includes a conversation log between a user and a vehicle computer and a change log of status information of in-vehicle equipment.

[0088] Obtain the vehicle usage log within a preset time period, which includes the conversation log between the user and the vehicle computer and the change log of the status information of the vehicle equipment. The preset time period can be the last six months, the last year, the last three years, a historical time period, etc. This embodiment does not limit the preset time period.

[0089] S202: Count the vehicle usage events from the vehicle usage log.

[0090] Furthermore, the vehicle terminal counts vehicle use events from the vehicle use log. For example, the vehicle terminal can extract vehicle use events from the vehicle use log, and the vehicle use events can be presented in a preset format, which may include event number, trigger word, object entity, date and time of event occurrence, and additional attribute information related to the object entity.

[0091] In some embodiments, S202 includes but is not limited to S2021, S2022, S2023:

[0092] S2021. Extract voice event attribute information from the conversation log between the user and the vehicle computer, and organize the voice event attribute information according to a preset format to obtain a voice event.

[0093] In some embodiments, the preset format includes at least one of the following: event number, trigger word, object entity, date and time of event occurrence, and additional attribute information related to the object entity.

[0094] Trigger words refer to the actions performed, such as open, close, adjust, etc.; object entities refer to the objects being controlled, such as air conditioning, car windows, wipers, etc.

[0095] S2022: Extract hardware event attribute information from the change log of the status information of the in-vehicle device, and organize the hardware event attribute information according to the preset format to obtain a hardware event.

[0096] S2023: Merge the voice event with the hardware event to obtain a vehicle use event.

[0097] After obtaining the voice event and the hardware event, the vehicle terminal merges the voice event with the hardware event to obtain the vehicle use event.

[0098] S203: Arrange the vehicle use events in chronological order to obtain an event graph.

[0099] After obtaining the vehicle use events, the vehicle terminal arranges the vehicle use events to obtain an event map. In this embodiment, the vehicle use events are arranged in chronological order to obtain an event map.

[0100] S204: monitoring the voice information sent by the user, where the voice information includes a wake-up word and a current control instruction.

[0101] The vehicle-mounted terminal monitors the voice information sent by the user in real time, and the voice information includes the wake-up word and the current control instruction.

[0102] S205: Acquire the current control instruction from the voice information.

[0103] After monitoring the voice information sent by the user, the vehicle-mounted terminal obtains the current control instruction from the voice information.

[0104] S206. Divide the current control instruction into at least one prefix word. For each prefix word, find the vehicle use event containing the prefix word from the event map, combine the prefix word with the vehicle use event containing the prefix word to obtain a prefix feature sample, and summarize all the prefix feature samples into a prefix feature sample group.

[0105] For example, if the current control instruction is "turn on the rain", the current control instruction can be divided into at least one prefix word, namely: turn on, turn on the rain. For the prefix word "turn on", find the car use event containing the prefix word from the event map, combine the prefix word with the car use event containing the prefix word, and obtain prefix feature samples: (turn on, turn on the air conditioner), (turn on, open the window), (turn on, turn on the wiper), etc. Similarly, for the prefix word "turn on the rain", find the car use event containing the prefix word from the event map, combine the prefix word with the car use event containing the prefix word, and obtain prefix feature samples: (turn on the rain, turn on the wiper). All prefix feature samples are summarized as prefix feature sample groups.

[0106] S207. Take the current control instruction as an incomplete instruction, find out the vehicle use event corresponding to the complete instruction based on the incomplete instruction from the event map, combine the incomplete instruction with the vehicle use event corresponding to the complete instruction to obtain a complete feature sample, and summarize all the complete feature samples into a complete feature sample group.

[0107] For example, if the current control instruction is "adjust the air conditioner", the current control instruction can be used as an incomplete instruction, and the vehicle use event corresponding to the complete instruction based on the incomplete instruction can be found from the event map. The incomplete instruction is combined with the vehicle use event corresponding to the complete instruction to obtain complete feature samples: (adjust the air conditioner, adjust the air volume of the air conditioner), (adjust the air conditioner, adjust the air temperature of the air conditioner), (adjust the air conditioner, adjust the air direction of the air conditioner), (adjust the air conditioner, adjust the air mode of the air conditioner), etc. All complete feature samples are summarized as a complete feature sample group.

[0108] This also applies if the current control instruction is a complete instruction. If the current control instruction is a complete instruction, the same process is followed. The current control instruction is regarded as an incomplete instruction. The vehicle use event corresponding to the complete instruction (that is, the current control instruction) based on the incomplete instruction is found from the event map. The incomplete instruction is combined with the vehicle use event corresponding to the complete instruction to obtain a complete feature sample.

[0109] For example, the current control instruction is "adjust the air-conditioning temperature", and the vehicle use event found is adjusting the air-conditioning temperature. The incomplete instruction is combined with the vehicle use event corresponding to the complete instruction to obtain a complete feature sample: (adjust the air-conditioning temperature, adjust the air-conditioning temperature).

[0110] S208. Calculate, from the event graph, a probability value corresponding to each prefix feature sample in the prefix feature sample group and a probability value corresponding to each complete feature sample in the complete feature sample group.

[0111] Specifically, the implementation process and principle of S208 and S103 are the same, and will not be repeated here.

[0112] In some embodiments, S208 includes but is not limited to S2081, S2082, S2083, S2084:

[0113] S2081. Count the number of times each prefix feature sample in the prefix feature sample group appears in the event graph.

[0114] The vehicle-mounted terminal counts the number of times each prefix feature sample in the prefix feature sample group appears in the event graph.

[0115] S2082. Calculate a first ratio of the number of times each prefix feature sample appears in the event graph to the total number of vehicle use events in the event graph, and use the first ratio as a probability value corresponding to each prefix feature sample.

[0116] After counting the number of times each prefix feature sample appears in the event map, the vehicle terminal calculates a first ratio of the number of times each prefix feature sample appears in the event map to the total number of vehicle use events in the event map, and uses the first ratio as the probability value corresponding to each prefix feature sample.

[0117] S2083. Count the number of times each complete feature sample in the complete feature sample group appears in the event graph.

[0118] The vehicle-mounted terminal counts the number of times each complete feature sample in the complete feature sample group appears in the event graph.

[0119] S2084. Calculate a second ratio of the number of times each complete feature sample appears in the event graph to the total number of vehicle use events in the event graph, and use the second ratio as the probability value corresponding to each complete feature sample.

[0120] After counting the number of times each complete feature sample appears in the event map, the vehicle terminal calculates a second ratio of the number of times each complete feature sample appears in the event map to the total number of vehicle use events in the event map, and uses the second ratio as the probability value corresponding to each complete feature sample.

[0121] S209: Combine the probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample to obtain a user intention probability table.

[0122] Specifically, the implementation process and principle of S209 and S104 are the same, and will not be repeated here.

[0123] S210, using the status information of the in-vehicle device to remove the erroneous samples in the user intention probability table to obtain the target user intention probability table, and taking the feature sample corresponding to the maximum probability value in the target user intention probability table as the clarified user's true intention.

[0124] Specifically, the implementation process and principle of S210 and S105 are the same, and will not be repeated here.

[0125] The disclosed embodiment obtains a vehicle usage log within a preset time period, wherein the vehicle usage log includes a conversation log between the user and the vehicle computer and a change log of the status information of the in-vehicle equipment, and counts vehicle usage events from the vehicle usage log, arranges the vehicle usage events in chronological order, and obtains an event map. Further, the voice information sent by the user is monitored, wherein the voice information includes a wake-up word and a current control instruction, and the current control instruction is obtained from the voice information, and the current control instruction is divided into at least one prefix word. For each prefix word, the vehicle usage event containing the prefix word is found from the event map, and the prefix word is combined with the vehicle usage event containing the prefix word to obtain a prefix feature sample, and all prefix feature samples are summarized into a prefix feature sample group. The current control instruction is taken as an incomplete instruction, and the vehicle usage event corresponding to the complete instruction based on the incomplete instruction is found from the event map, and the incomplete instruction is combined with the vehicle usage event corresponding to the complete instruction to obtain a complete feature sample, and all complete feature samples are summarized into a complete feature sample group. Then, the probability value corresponding to each prefix feature sample in the prefix feature sample group and the probability value corresponding to each complete feature sample in the complete feature sample group are counted from the event map, and the second ratio of the number of times each complete feature sample appears in the event map to the total number of vehicle use events in the event map is calculated. The second ratio is used as the probability value corresponding to each complete feature sample, and the probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample are merged to obtain a user intention probability table. Then, the state information of the in-vehicle device is used to remove the wrong samples in the user intention probability table to obtain a target user intention probability table, and the feature sample corresponding to the maximum probability value in the target user intention probability table is used as the clarified user's true intention. Compared with the prior art, the present invention solves the problem that the true intention of the user after clarification is inaccurate and the effect of dialogue clarification is poor. An event map is obtained by counting car use events. The event map is compatible with different attributes for different events and has good scalability. A feature sample is further constructed for the current control instruction, and the probability value of each feature sample is counted. Combined with the status of the in-vehicle equipment, samples that are impossible to appear are removed, and the feature sample corresponding to the maximum probability value in the target user intention probability table is used as the true intention of the user after clarification. This can improve the accuracy of dialogue clarification and thus improve the effect of dialogue clarification.

[0126] Figure 3 A flowchart of a method for clarifying user intention provided by another embodiment of the present disclosure is shown in FIG. Figure 3 As shown, the method includes the following steps:

[0127] S301. Count the vehicle use events of the user within a preset time period, arrange the vehicle use events in chronological order, and obtain an event map. The vehicle use events include control commands issued by the user to the vehicle and changes in status information of in-vehicle equipment.

[0128] Specifically, the implementation process and principle of S301 and S101 are the same, and will not be repeated here.

[0129] S302: Receive a current control instruction issued by a user, and construct a prefix feature sample group and a complete feature sample group for the current control instruction respectively.

[0130] Specifically, the implementation process and principle of S302 and S102 are the same, and will not be repeated here.

[0131] S303: Calculate, from the event graph, a probability value corresponding to each prefix feature sample in the prefix feature sample group and a probability value corresponding to each complete feature sample in the complete feature sample group.

[0132] Specifically, the implementation process and principle of S303 and S103 are the same, and will not be repeated here.

[0133] S304: Obtain a first probability weight corresponding to the prefix feature sample and a second probability weight corresponding to the complete feature sample.

[0134] In some embodiments, the prefix feature sample and the complete feature sample respectively correspond to probability weights, and the corresponding probability weights may be the same or different, without limitation. For example, the first probability weight is 50%, the second probability weight is 50%, or the first probability weight is 60%, the second probability weight is 40%, or the first probability weight is 40%, the second probability weight is 60%, which is only used for explanation and is not specifically limited. The vehicle terminal obtains the first probability weight corresponding to the prefix feature sample and the second probability weight corresponding to the complete feature sample.

[0135] S305: Multiply the probability value corresponding to each prefix feature sample by the first probability weight to obtain the intention probability of each prefix feature sample.

[0136] The vehicle-mounted terminal multiplies the probability value corresponding to each prefix feature sample by the first probability weight to obtain the intention probability of each prefix feature sample.

[0137] S306: Multiply the probability value corresponding to each complete feature sample by the second probability weight to obtain the intention probability of each complete feature sample.

[0138] The vehicle-mounted terminal multiplies the probability value corresponding to each complete feature sample by the second probability weight to obtain the intention probability of each complete feature sample.

[0139] S307: Combine the intention probability of each prefix feature sample with the intention probability of each complete feature sample to obtain a user intention probability table.

[0140] After obtaining the intention probability of each prefix feature sample and the intention probability of each complete feature sample, the vehicle terminal merges the intention probability of each prefix feature sample with the intention probability of each complete feature sample to obtain a user intention probability table. That is, the two tables are merged into one table. If there are identical feature samples in the two tables, the intention probabilities corresponding to the identical feature samples in the tables are added together to obtain a user intention probability table.

[0141] S308: Obtain status information of in-vehicle equipment.

[0142] In this step, the vehicle terminal obtains the status information of the in-vehicle equipment, such as the switch status of the window, the temperature of the air conditioner, the wind direction of the air conditioner, etc.

[0143] S309: For each feature sample in the user intention probability table, if the state information of the in-vehicle device is the same as the intention state of the in-vehicle device corresponding to the feature sample, determine that the feature sample is an error sample.

[0144] For each feature sample in the user intention probability table, if the state information of the in-vehicle device is the same as the intention state of the in-vehicle device corresponding to the feature sample, the vehicle terminal determines that the feature sample is an error sample.

[0145] S310: Remove erroneous samples in the user intention probability table to obtain a target user intention probability table.

[0146] After determining the error samples, the vehicle-mounted terminal removes the error samples from the user intention probability table to obtain the target user intention probability table. Removing the error samples can improve the accuracy of dialogue clarification.

[0147] S311. Taking the feature sample corresponding to the maximum probability value in the target user intention probability table as the clarified user's true intention.

[0148] After obtaining the target user intention probability table, the vehicle-mounted terminal uses the feature sample corresponding to the maximum probability value in the target user intention probability table as the clarified user's true intention.

[0149] The disclosed embodiment counts the vehicle use events of the user within a preset time period, arranges the vehicle use events in chronological order, and obtains an event map, wherein the vehicle use events include control instructions issued by the user to the vehicle, changes in the status information of the in-vehicle equipment, receives the current control instructions issued by the user, constructs a prefix feature sample group and a complete feature sample group for the current control instructions, and counts the probability value corresponding to each prefix feature sample in the prefix feature sample group and the probability value corresponding to each complete feature sample in the complete feature sample group from the event map. Further, obtain the first probability weight corresponding to the prefix feature sample and the second probability weight corresponding to the complete feature sample, multiply the probability value corresponding to each prefix feature sample by the first probability weight to obtain the intention probability of each prefix feature sample, multiply the probability value corresponding to each complete feature sample by the second probability weight to obtain the intention probability of each complete feature sample, and merge the intention probability of each prefix feature sample with the intention probability of each complete feature sample to obtain a user intention probability table. Then, the status information of the in-vehicle device is obtained. For each feature sample in the user intention probability table, if the status information of the in-vehicle device is the same as the intention state of the in-vehicle device corresponding to the feature sample, the feature sample is determined to be an error sample. Then, the error samples in the user intention probability table are removed to obtain the target user intention probability table, and the feature sample corresponding to the maximum probability value in the target user intention probability table is used as the user's true intention after clarification. Compared with the prior art, the present disclosure solves the problem that the user's true intention after clarification is inaccurate and the effect of dialogue clarification is poor. The event map is obtained by counting the car use events. The event map is compatible with different attributes for different events and has good scalability. Further, a feature sample is constructed for the current control instruction, and the probability value of each feature sample is counted. Combined with the status of the in-vehicle device, samples that cannot appear are removed. The feature sample corresponding to the maximum probability value in the target user intention probability table is used as the user's true intention after clarification, which can improve the accuracy of dialogue clarification and thus improve the dialogue clarification effect.

[0150] Figure 4 Schematic diagram of the structure of the user intention clarification device provided in the embodiment of the present disclosure. The user intention clarification device may be the vehicle-mounted terminal as described in the above embodiment, or the user intention clarification device may be a component or assembly in the vehicle-mounted terminal. The user intention clarification device provided in the embodiment of the present disclosure may execute the processing flow provided in the user intention clarification method embodiment, such as Figure 4As shown, the user intention clarification device 40 includes: a first obtaining module 41, a construction module 42, a calculation module 43, a second obtaining module 44, and an intention clarification module 45; wherein the first obtaining module 41 is used to count the user's vehicle use events within a preset time period, arrange the vehicle use events in chronological order, and obtain an event map, wherein the vehicle use events include control instructions issued by the user to the vehicle and changes in the status information of the in-vehicle equipment; the construction module 42 is used to receive the current control instruction issued by the user, and construct a prefix feature sample group and a complete feature sample group for the current control instruction respectively; the calculation module 43 is used to count the probability value corresponding to each prefix feature sample in the prefix feature sample group and the probability value corresponding to each complete feature sample in the complete feature sample group from the event map; the second obtaining module 44 is used to merge the probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample to obtain a user intention probability table; the intention clarification module 45 is used to remove the erroneous samples in the user intention probability table by using the status information of the in-vehicle equipment, obtain the target user intention probability table, and use the feature sample corresponding to the maximum probability value in the target user intention probability table as the clarified user's true intention.

[0151] Optionally, when the first obtaining module 41 counts the user's car usage events within a preset time period, it is specifically used to: obtain the car usage log within the preset time period, the car usage log including the conversation log between the user and the car computer, and the change log of the status information of the in-car equipment; and count the car usage events from the car usage log.

[0152] Optionally, when the first obtaining module 41 counts the car usage events from the car usage log, it is specifically used to: extract voice event attribute information from the conversation log between the user and the car computer, and organize the voice event attribute information according to a preset format to obtain voice events; extract hardware event attribute information from the change log of the status information of the in-vehicle equipment, and organize the hardware event attribute information according to the preset format to obtain hardware events; merge the voice events with the hardware events to obtain car usage events.

[0153] Optionally, when the construction module 42 receives a current control instruction issued by a user and constructs a prefix feature sample group and a complete feature sample group for the current control instruction respectively, it is specifically used to: monitor the voice information issued by the user, the voice information including a wake-up word and a current control instruction; obtain the current control instruction from the voice information; divide the current control instruction into at least one prefix word, and for each prefix word, find out a vehicle use event containing the prefix word from the event map, combine the prefix word with the vehicle use event containing the prefix word to obtain a prefix feature sample, and summarize all the prefix feature samples into a prefix feature sample group; treat the current control instruction as an incomplete instruction, find out a vehicle use event corresponding to a complete instruction based on the incomplete instruction from the event map, combine the incomplete instruction with the vehicle use event corresponding to the complete instruction to obtain a complete feature sample, and summarize all the complete feature samples into a complete feature sample group.

[0154] Optionally, when the calculation module 43 counts the probability value corresponding to each prefix feature sample in the prefix feature sample group and the probability value corresponding to each complete feature sample in the complete feature sample group from the event map, it is specifically used to: count the number of times each prefix feature sample in the prefix feature sample group appears in the event map; calculate a first ratio of the number of times each prefix feature sample appears in the event map to the total number of vehicle use events in the event map, and use the first ratio as the probability value corresponding to each prefix feature sample; count the number of times each complete feature sample in the complete feature sample group appears in the event map; calculate a second ratio of the number of times each complete feature sample appears in the event map to the total number of vehicle use events in the event map, and use the second ratio as the probability value corresponding to each complete feature sample.

[0155] Optionally, the second obtaining module 44 merges the probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample to obtain the user intention probability table, which is specifically used to: obtain the first probability weight corresponding to the prefix feature sample and the second probability weight corresponding to the complete feature sample; multiply the probability value corresponding to each prefix feature sample by the first probability weight to obtain the intention probability of each prefix feature sample; multiply the probability value corresponding to each complete feature sample by the second probability weight to obtain the intention probability of each complete feature sample; merge the intention probability of each prefix feature sample with the intention probability of each complete feature sample to obtain the user intention probability table.

[0156] Optionally, the intention clarification module 45 uses the status information of the in-vehicle device to remove erroneous samples in the user intention probability table to obtain the target user intention probability table, which is specifically used for: obtaining the status information of the in-vehicle device; for each feature sample in the user intention probability table, if the status information of the in-vehicle device is the same as the intention state of the in-vehicle device corresponding to the feature sample, then determining that the feature sample is an erroneous sample; removing the erroneous samples in the user intention probability table to obtain the target user intention probability table.

[0157] Optionally, the preset format includes at least one of the following: event number, trigger word, object entity, date and time of event occurrence, and additional attribute information related to the object entity.

[0158] Figure 4 The user intention clarification device of the illustrated embodiment can be used to execute the technical solution of the above-mentioned method embodiment, and its implementation principle and technical effect are similar and will not be repeated here.

[0159] Figure 5 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 5 , which shows a structural schematic diagram of an electronic device 600 suitable for implementing the embodiments of the present disclosure. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0160] like Figure 5 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 to a random access memory (RAM) 603 to implement the user intention clarification method of the embodiment described in the present disclosure. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0161] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0162] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart, thereby implementing the user intent clarification method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0163] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0164] In addition, an embodiment of the present disclosure also provides a vehicle, comprising: a memory; a processor; and a computer program; wherein the computer program is stored in the memory and is configured to be executed by the processor to implement the user intention clarification method as described above.

[0165] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0166] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0167] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0168] Counting the vehicle use events of users within a preset time period, arranging the vehicle use events in chronological order, and obtaining an event map, wherein the vehicle use events include control commands issued by users to the vehicle and changes in status information of in-vehicle equipment;

[0169] receiving a current control instruction issued by a user, and constructing a prefix feature sample group and a complete feature sample group for the current control instruction respectively;

[0170] Counting the probability value corresponding to each prefix feature sample in the prefix feature sample group and the probability value corresponding to each complete feature sample in the complete feature sample group from the event map;

[0171] The probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample are combined to obtain a user intention probability table;

[0172] The state information of the in-vehicle device is used to remove the erroneous samples in the user intention probability table to obtain the target user intention probability table, and the feature sample corresponding to the maximum probability value in the target user intention probability table is used as the clarified user's true intention.

[0173] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.

[0174] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0175] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0176] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0177] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0178] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0179] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0180] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0181] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A user intent clarification method, It is characterized in that include: Counting the vehicle use events of users within a preset time period, arranging the vehicle use events in chronological order, and obtaining an event map, wherein the vehicle use events include control commands issued by users to the vehicle and changes in status information of in-vehicle equipment; receiving a current control instruction issued by a user, and constructing a prefix feature sample group and a complete feature sample group for the current control instruction respectively; Counting the probability value corresponding to each prefix feature sample in the prefix feature sample group and the probability value corresponding to each complete feature sample in the complete feature sample group from the event map; The probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample are combined to obtain a user intention probability table; The state information of the in-vehicle device is used to remove the erroneous samples in the user intention probability table to obtain the target user intention probability table, and the feature sample corresponding to the maximum probability value in the target user intention probability table is used as the clarified user's true intention.

2. The method according to claim 1, It is characterized in that The counting of the user's car use events within a preset time period includes: Obtaining a vehicle usage log within a preset time period, wherein the vehicle usage log includes a conversation log between the user and the vehicle computer and a change log of status information of the in-vehicle equipment; The vehicle usage events are counted from the vehicle usage log.

3. The method according to claim 2, It is characterized in that The counting of vehicle usage events from the vehicle usage log includes: Extracting voice event attribute information from the conversation log between the user and the vehicle computer, and arranging the voice event attribute information according to a preset format to obtain a voice event; Extracting hardware event attribute information from the change log of the status information of the in-vehicle device, and arranging the hardware event attribute information according to the preset format to obtain a hardware event; The voice event is combined with the hardware event to obtain a vehicle use event.

4. The method according to claim 1, It is characterized in that The receiving of the current control instruction sent by the user and constructing a prefix feature sample group and a complete feature sample group for the current control instruction respectively include: Monitoring the voice information sent by the user, wherein the voice information includes a wake-up word and a current control instruction; Acquiring the current control instruction from the voice information; The current control instruction is divided into at least one prefix word, for each prefix word, a vehicle use event containing the prefix word is found from the event map, the prefix word is combined with the vehicle use event containing the prefix word to obtain a prefix feature sample, and all prefix feature samples are summarized as a prefix feature sample group; Take the current control instruction as an incomplete instruction, find out the vehicle use event corresponding to the complete instruction based on the incomplete instruction from the event map, combine the incomplete instruction with the vehicle use event corresponding to the complete instruction to obtain a complete feature sample, and summarize all the complete feature samples into a complete feature sample group.

5. The method according to claim 1, It is characterized in that The step of calculating from the event graph the probability value corresponding to each prefix feature sample in the prefix feature sample group and the probability value corresponding to each complete feature sample in the complete feature sample group includes: Counting the number of times each prefix feature sample in the prefix feature sample group appears in the event graph; Calculate a first ratio of the number of times each prefix feature sample appears in the event graph to the total number of vehicle use events in the event graph, and use the first ratio as a probability value corresponding to each prefix feature sample; Counting the number of times each complete feature sample in the complete feature sample group appears in the event graph; A second ratio of the number of times each complete feature sample appears in the event graph to the total number of vehicle use events in the event graph is calculated, and the second ratio is used as the probability value corresponding to each complete feature sample.

6. The method according to claim 1, It is characterized in that The probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample are combined to obtain a user intention probability table, including: Obtaining a first probability weight corresponding to the prefix feature sample and a second probability weight corresponding to the complete feature sample; Multiply the probability value corresponding to each prefix feature sample by the first probability weight to obtain the intention probability of each prefix feature sample; Multiply the probability value corresponding to each complete feature sample by the second probability weight to obtain the intention probability of each complete feature sample; The intention probability of each prefix feature sample is combined with the intention probability of each complete feature sample to obtain a user intention probability table.

7. The method according to claim 1, It is characterized in that The method of using the state information of the in-vehicle device to remove the erroneous samples in the user intention probability table to obtain the target user intention probability table includes: Get status information of in-vehicle devices; For each feature sample in the user intention probability table, if the state information of the in-vehicle device is the same as the intention state of the in-vehicle device corresponding to the feature sample, determining that the feature sample is an error sample; The erroneous samples in the user intention probability table are removed to obtain a target user intention probability table.

8. A user intention clarification device, It is characterized in that include: The first obtaining module is used to count the vehicle use events of the user within a preset time period, arrange the vehicle use events in chronological order, and obtain an event map, wherein the vehicle use events include control commands issued by the user to the vehicle and changes in status information of the in-vehicle equipment; A construction module, used for receiving a current control instruction issued by a user, and constructing a prefix feature sample group and a complete feature sample group for the current control instruction respectively; A calculation module, used to calculate from the event map the probability value corresponding to each prefix feature sample in the prefix feature sample group and the probability value corresponding to each complete feature sample in the complete feature sample group; The second obtaining module is used to merge the probability value corresponding to each prefix feature sample and the probability value corresponding to each complete feature sample to obtain a user intention probability table; The intention clarification module is used to use the status information of the in-vehicle device to remove the erroneous samples in the user intention probability table, obtain the target user intention probability table, and use the feature sample corresponding to the maximum probability value in the target user intention probability table as the clarified user's true intention.

9. An electronic device, It is characterized in that include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

11. A vehicle, It is characterized in that The method comprises the user intention clarifying device as claimed in claim 8.

Citation Information

Patent Citations

  • Dialogue intention recognition method and device

    CN111177331A

  • Voice interaction method and device, electronic equipment and storage medium

    CN114078478A

  • Compartment voice control method, device and equipment and computer readable storage medium

    CN114582340A

  • Smart home voice control method and system, electronic equipment and storage medium

    CN114863928A

  • Generating proactive reminders for assistant systems

    US11567788B1