Semantic distribution method and device, vehicle and storage medium

By recognizing the semantics of user input, obtaining a list of applications, their startup status, and performance index, and selecting the optimal application for semantic distribution, the problem of low voice interaction efficiency when multiple similar applications are used is solved, thus improving the user experience.

CN118964562APending Publication Date: 2024-11-15CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411023827.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

When multiple similar applications coexist, voice interaction cannot distinguish semantic distribution objects, resulting in reduced efficiency and affecting user experience.

Method used

By recognizing the semantics to be executed by the user input, determining the application type, obtaining the application list and its startup status, and evaluating the application's performance index or running status, the optimal target application is selected for semantic distribution.

Benefits of technology

When multiple similar applications exist, the system selects the optimal application for semantic distribution based on the application's running status and performance index, ensuring smooth semantic distribution and improving user experience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964562A_ABST
    Figure CN118964562A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle-mounted semantic execution, and discloses a semantic distribution method and device, a vehicle and a storage medium, and the method comprises the steps: identifying to-be-executed semantics input by a user, determining application types capable of executing the to-be-executed semantics, obtaining an application list corresponding to the application types and the starting state of each application in the application list, and sending the to-be-executed semantics to the application list; and evaluating the running performance index of each application based on the starting state of each application, or obtaining the running state of each application, screening a target application from an application list corresponding to the application type based on the evaluation result of the performance index of each application or the running state of each application, and issuing the to-be-executed semantics to the target application for execution. When a plurality of applications of the same type exist at the same time, the optimal application can be selected to issue semantic execution based on the running states and the performance indexes of the applications in the application list, and smooth semantic distribution is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle-mounted semantic execution technology, and in particular to a semantic distribution method, device, vehicle and storage medium. Background Art

[0002] There are more and more applications that require voice control in daily life. Multiple applications of the same type and with the same service may be installed on the same device. For example, in the mobile application market, there are at least dozens of music applications. Different music application manufacturers have different copyrights, so different music applications have different music resources. Therefore, in order to obtain more music resources, users generally install multiple music applications on one device.

[0003] In the existing technology, voice control must first perform semantic recognition on the acquired voice, and then send the recognized semantics to the corresponding applications. However, in the natural semantic environment, after the user's voice semantics are recognized, they usually only contain the type of business and control instructions, such as music pause. When multiple applications of the same type exist at the same time, the distribution object of the semantics cannot be distinguished, and the customer needs to specify the object of semantic distribution in the voice. This reduces the efficiency of voice interaction and affects the user experience. Summary of the invention

[0004] In view of this, the present invention provides a semantic distribution method, device, vehicle and storage medium to solve the problem that when multiple applications of the same type exist at the same time, the semantic distribution objects cannot be distinguished and the customer needs to specify the semantic distribution objects in the voice, which reduces the efficiency of voice interaction and affects the user experience.

[0005] In a first aspect, the present invention provides a semantic distribution method, the method comprising: identifying the semantics to be executed input by a user, and determining the application type that can execute the semantics to be executed; obtaining a pre-stored application list corresponding to the application type and the startup status of each application in the application list; based on the startup status of each application, evaluating the performance index of each application, or obtaining the running status of each application; based on the performance index evaluation result of each application, or the running status of each application, screening the target application from the application list corresponding to the application type, and sending the semantics to be executed to the target application for execution.

[0006] The semantic distribution method provided by the present invention identifies the to-be-executed semantics input by the user, determines the application type that can execute the to-be-executed semantics, obtains the application list corresponding to the application type and the startup status of each application in the application list, and evaluates the performance index of each application based on the startup status of each application, or obtains the running status of each application, and based on the performance index evaluation result of each application or the running status of each application, screens the target application from the application list corresponding to the application type, and sends the to-be-executed semantics to the target application for execution. This achieves the situation that when multiple applications of the same type exist at the same time, the optimal application can be selected based on the running status and performance index of the application in the application list to send the semantics for execution, thereby ensuring the smooth progress of semantic distribution.

[0007] In an optional implementation, the performance index of each application is evaluated based on the startup status of each application, or the running status of each application is obtained, including: if all applications in the application list are in a closed state, the performance index of each application is evaluated; if at least one application in the application list is in a startup state, the running status of the application in the startup state is obtained.

[0008] The present invention determines the startup status of each application in the application list. If all applications in the application list are in a closed state, the optimal application can be selected according to the performance index. If there are applications in the application list that are in a startup state, the optimal application can be selected according to the running state, thereby ensuring the smooth implementation of semantic distribution.

[0009] In an optional implementation, based on the running status of each application, the target application is filtered from the application list corresponding to the application type, including: based on the preset correspondence between different running statuses and different priorities, and the running status corresponding to each application, determining the priority of each application in the startup state in the application list; and selecting the application with the highest priority as the target application.

[0010] The present invention determines the priority of applications in the startup state, selects the application with the highest priority for semantic distribution, ensures smooth execution of semantic execution, and improves user application experience.

[0011] In an optional embodiment, before evaluating the performance index of each application based on the startup status of each application, or obtaining the running status of each application, the method also includes: determining whether the application list includes at least two applications; if the application list includes at least two applications, executing the step of evaluating the performance index of each application based on the startup status of each application, or obtaining the running status of each application; if the application list includes only one application, directly sending the to-be-executed semantics to the application for execution.

[0012] If the present invention determines that there is only one application in the application list, the semantics are directly sent to the application without calculating the performance index and priority, thus saving computing resources and improving the efficiency of semantic execution.

[0013] In an optional embodiment, the performance index of each application running is evaluated, including: obtaining the historical performance data of the current application during runtime; performing data cleaning on the obtained performance data of the current application, and extracting feature data related to the application running performance, wherein the feature data related to the application running performance includes at least memory usage, response time, CPU utilization and running time; and calculating the performance index of the current application running based on the feature data related to the application running performance.

[0014] The present invention obtains the historical performance data of the application during runtime, pre-processes the performance data, extracts feature data related to the application performance, and calculates the performance index of the application operation based on the extracted feature data. It can accurately calculate the performance of the application, and then select the application with the best performance for semantic distribution, ensuring smooth and successful semantic execution.

[0015] In an optional embodiment, the performance index of the current application operation is calculated based on the characteristic data related to the application operation performance, including: normalizing the characteristic data related to the application operation performance; based on preset weight values ​​corresponding to different characteristic data, multiplying each normalized characteristic data with its corresponding weight value to obtain each characteristic data product value, wherein the weight value is adjusted and set based on the application operation requirements and the semantic execution environment; summing up all the characteristic data product values ​​to obtain a sum value, and dividing the sum value by the application operation time to obtain the performance index of the current application operation.

[0016] The present invention calculates the performance index of the application by multiplying each feature data with a weight, wherein the weight corresponding to each feature data can be adjusted accordingly according to the application requirement characteristics, thereby improving the flexibility of performance index evaluation and then improving the accuracy of performance index evaluation.

[0017] In an optional implementation, based on the performance index evaluation results of each application, the target application is screened from the application list corresponding to the application type, including: based on the performance index evaluation results of each application, selecting the application with the best performance index from the application list as the target application.

[0018] The present invention obtains the application with the least device resources and the best performance among the current applications of the same type according to the corresponding performance index, and then sends down the semantics to execute the action, which can reduce device jams and increase fluency.

[0019] In a second aspect, the present invention provides a semantic distribution device, which includes: an application type determination module, which is used to identify the semantics to be executed input by a user and determine the application type that can execute the semantics to be executed; an application list acquisition module, which is used to obtain a pre-stored application list corresponding to the application type and the startup status of each application in the application list; an application evaluation module, which is used to evaluate the performance index of each application based on the startup status of each application, or to obtain the running status of each application; a semantic distribution module, which is used to filter the target application from the application list corresponding to the application type based on the performance index evaluation results of each application or the running status of each application, and send the semantics to be executed to the target application for execution.

[0020] In a third aspect, the present invention provides a vehicle, comprising: a controller, the controller comprising a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the semantic distribution method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0021] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the semantic distribution method of the first aspect or any corresponding embodiment thereof.

[0022] The semantic distribution method provided by the present invention identifies the to-be-executed semantics input by the user, determines the application type that can execute the to-be-executed semantics, obtains the application list corresponding to the application type and the startup status of each application in the application list, and evaluates the performance index of each application based on the startup status of each application, or obtains the running status of each application, and based on the performance index evaluation result of each application or the running status of each application, screens the target application from the application list corresponding to the application type, and sends the to-be-executed semantics to the target application for execution. This achieves the situation that when multiple applications of the same type exist at the same time, the optimal application can be selected based on the running status and performance index of the application in the application list to send the semantics for execution, thereby ensuring the smooth progress of semantic distribution. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0024] Figure 1 is a flowchart of a semantic distribution method according to an embodiment of the present invention;

[0025] Figure 2 is a flow chart of another semantic distribution method according to an embodiment of the present invention;

[0026] Figure 3 is a flowchart of a performance index algorithm module according to an embodiment of the present invention;

[0027] Figure 4 is an example flowchart of a target application selection method according to an embodiment of the present invention;

[0028] Figure 5 is a flowchart of a semantic distribution method according to an embodiment of the present invention;

[0029] Figure 6 is a structural block diagram of a semantic distribution device according to an embodiment of the present invention;

[0030] Figure 7 is a structural block diagram of a vehicle according to an embodiment of the present invention;

[0031] Figure 8 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0033] Voice control must first perform semantic recognition on the acquired voice, and then assign the recognized semantics to the corresponding applications. However, in a natural semantic environment, after the user's voice semantics are recognized, they usually only contain the type of business and control instructions, such as music pause. When multiple applications of the same type exist at the same time, the distribution object of the semantics cannot be distinguished, and the customer needs to specify the object of semantic distribution in the voice. This leads to reduced voice interaction efficiency and affects the user's perception. The existing technology is to pre-set the priority of each application, obtain the application business status, including activation, foreground and background, and issue semantics according to the priority, so that the application can execute the action. When distributing semantics to multiple applications of the same type and with the same business, it is necessary to preset the priority of each application and issue semantics according to the priority. However, if the current car computer has a low running memory, this preset high-priority application occupies a large amount of memory. At this time, if the semantics are sent to this application, it will cause the device to run slowly, the execution efficiency of the semantics sent to the application will be reduced, and the user experience will become very poor.

[0034] According to an embodiment of the present invention, an embodiment of a semantic distribution method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0035] In this embodiment, a semantic distribution method is provided, which can be used for the above-mentioned controller. The application field of the semantic distribution method is not limited. As long as the device can be operated by voice, the method can be applied, such as home appliance voice control and vehicle application control. As an example only, the embodiment of the present invention takes vehicle application control as an example. Figure 1 is a flowchart of a semantic distribution method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0036] Step S101 : identifying the semantics to be executed input by the user, and determining the application type that can execute the semantics to be executed.

[0037] The embodiment of the present invention obtains voice command information input by a user, such as "play music", and can transcribe the voice command into text information, i.e., semantics to be executed, through a speech recognition engine, identify key field feature information in the semantics to be executed, and then determine the domain and intention contained in the semantics, that is, who needs to execute the command output by the user and what the action to be executed is. For example, the "play music" command belongs to the music field, and the intention is to play songs. Finally, it can be determined that the application type that can execute the semantics to be executed is the music type, as an example only.

[0038] The semantic distribution system designed in the specific embodiment includes a semantic recognition module, which may include but is not limited to a microphone, a recording module, a noise reduction module and a speech recognition engine. The microphone is used to collect the voice input by the user and transmit the collected voice to the recording module. The recording module can convert the voice collected by the microphone into semantic data. The noise reduction module performs noise reduction on the voice data, and the noise-reduced voice data is transmitted to the speech recognition engine. The speech recognition engine converts the voice data into natural language understanding to obtain the semantics to be executed, which is just an example.

[0039] Step S102: Obtain a pre-stored application list corresponding to the application type and the startup status of each application in the application list.

[0040] After determining the application type that has completed the executable semantics, the embodiment of the present invention can obtain an application list corresponding to the determined application type from the current vehicle local application installation market, and can read the startup status of all applications in the application list, that is, whether they are in the startup state or the shutdown state, for example only.

[0041] Step S103: Based on the startup status of each application, the performance index of each application is evaluated, or the running status of each application is obtained.

[0042] An embodiment of the present invention reads the startup status of all applications in an application list to determine whether there are any applications that are currently in the startup status. If there are applications in the startup status, the running status of these applications can be obtained, wherein different application types involve different running statuses. For example, the running status involved in music-type applications may include but is not limited to foreground, background, play or pause, and the running status involved in navigation-type applications may include but is not limited to foreground, background, navigation or search status, as examples only.

[0043] If there are applications in the startup state in the application list, the performance index of only the applications in the startup state can be evaluated. If there are no applications in the startup state in the application list, the performance index of all applications in the application list can be evaluated. This is just an example. The method for evaluating the application performance index is not limited. For example, the application performance index can be evaluated based on data such as the application's response time, throughput, network evaluation or resource utilization. The form of the performance index is not limited and can be a performance score value or a level. This is just an example.

[0044] Step S104, based on the performance index evaluation results of each application or the running status of each application, the target application is screened from the application list corresponding to the application type, and the semantics to be executed are sent to the target application for execution.

[0045] The embodiment of the present invention determines that if there is an application in the startup state, it can first determine whether there is an application in the playing state or the foreground state based on the running state of the application in the startup state. If there is an application in the foreground state or the playing state, the application is used as the target application. If there are at least two applications in the playing state or the foreground state, the application with the best performance index evaluation result can be selected as the target application based on the calculated performance index evaluation result of the application; it can also be directly based on the calculated performance index evaluation results of each application, filter out applications whose performance score value is greater than a preset score threshold, or whose performance level is greater than a preset level threshold from the application list. If at least two applications are filtered out, the application with the largest performance score value or the highest performance level can be selected as the target application, or the application in the playing state or the foreground state can be selected as the target application based on the running state of the application, just as an example.

[0046] If an embodiment of the present invention determines that all applications are in a closed state, applications whose performance score values ​​are greater than a preset score threshold, or whose performance levels are greater than a preset level threshold, can be screened from the application list. If at least two applications are screened out, the application with the largest performance score value or the highest performance level can be selected as the target application. As an example only, the semantics to be executed can finally be sent to the determined target application to perform the corresponding operation.

[0047] The semantic distribution method provided in this embodiment identifies the semantics to be executed input by the user, determines the application type that can execute the semantics to be executed, obtains the application list corresponding to the application type and the startup status of each application in the application list, and evaluates the performance index of each application based on the startup status of each application, or obtains the running status of each application, and based on the performance index evaluation result of each application or the running status of each application, filters the target application from the application list corresponding to the application type, and sends the semantics to be executed to the target application for execution. When multiple applications of the same type exist at the same time, the optimal application can be selected to send the semantics for execution based on the running status and performance index of the application in the application list, thereby ensuring the smooth progress of semantic distribution.

[0048] In this embodiment, a semantic distribution method is provided, which can be used for the above-mentioned controller. Figure 2 is a flowchart of a semantic distribution method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0049] Step S201, identifying the semantics to be executed input by the user, and determining the application type that can execute the semantics to be executed. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0050] Step S202: Obtain a pre-stored application list corresponding to the application type and the startup status of each application in the application list.

[0051] Step S203: Based on the startup status of each application, the performance index of each application is evaluated, or the running status of each application is obtained.

[0052] Specifically, the above step S203 includes:

[0053] Step S2031: If all applications in the application list are in a closed state, the performance index of each application is evaluated.

[0054] After obtaining an application list corresponding to an application type and reading the startup status of all applications in the application list, if it is determined that all applications in the application list are in a closed state, the performance index of each application in the application list can be evaluated.

[0055] Specifically, the above step S2031 includes:

[0056] Step a1, obtaining historical runtime performance data of the current application;

[0057] Step a2, performing data cleaning processing on the acquired performance data of the current application, and extracting feature data related to the application running performance, wherein the feature data related to the application running performance at least includes memory usage, response time, CPU utilization and running time;

[0058] Step a3: Calculate the performance index of the current application operation based on the characteristic data related to the application operation performance.

[0059] The embodiments of the present invention may use the API provided by the operating system or a third-party performance monitoring library to collect performance data of applications in different environments, wherein the performance data may include but is not limited to indicators such as startup time, memory usage, CPU usage and running time, and the collected performance data of the application at each run or when a specific event occurs may be stored in a database or log file on the local device, or uploaded to the cloud for storage. When evaluating the performance index of the current application, the performance data of the current application during runtime may be obtained from the database stored in the local device. Since the obtained performance data may contain noise or redundant information, the obtained performance running data of the current application may be cleaned. The data cleaning process may include operations such as data cleaning, removal of outliers, data sampling and averaging, normalization, etc., and feature data related to the application running performance may be extracted from the data after the data cleaning process, such as the average startup time, the fluctuation degree of memory usage, the peak value of CPU usage, etc.

[0060] Among them, memory usage represents the memory usage of the application during operation. Lower memory usage usually means that the application makes efficient use of system resources. You can use the API or library provided by the operating system to obtain the memory usage of the current application. There is no limitation on the specific method of obtaining memory usage information, which may vary depending on the platform and programming language. For example, on the Android platform, you can use the android.os.Debug.MemoryInfo class to obtain the memory information of the application. Men_usage can be used to represent the memory usage, which is just an example.

[0061] CPU utilization indicates the CPU resource usage of an application during operation. In an application, a low CPU utilization may indicate that the application is making efficient use of system resources. You can use the API or library provided by the operating system to obtain the CPU utilization of the current application. The specific method may also vary depending on the platform and programming language. For example, on the Android platform, use the getThreadCpuTime() method of the android.os.Debug class to obtain the CPU time of the thread and calculate the CPU utilization based on the total CPU time. The CPU utilization is calculated as follows: CPU utilization = (CPU time used by the application / total running time) * 100. cpu_usage can be used to represent CPU utilization, just as an example.

[0062] Runtime Duration can be calculated by recording the start time and end time of the application. The current timestamp can be recorded when the application starts, and the current timestamp can be recorded again when the application ends. The time difference between the two timestamps can be calculated to get the runtime of the application. The calculation formula is as follows: Runtime Duration = Time when the application ends - Time when the application starts. rt_usage can be used to represent the runtime, as an example only.

[0063] Answer Duration is an important indicator for measuring user experience. A lower response time usually indicates a better user experience. This value is used as part of the formula to reflect the rapid response of the application in user interaction. The application response duration can be calculated by recording the time from when an instruction of the application is sent to when the instruction is executed. The current timestamp can be recorded when the application instruction is sent to start, and the current timestamp can be recorded again when the application finishes executing the instruction. The time difference between the two timestamps can be calculated to get the response duration of the application. The startup duration calculation formula is as follows: Response Duration = Time when the application receives the instruction – Time when the application completes the instruction. The response duration needs to be sampled multiple times and averaged to reduce the impact of random factors, which can improve the stability and accuracy of the results. t_average can be used to represent the response duration, which is just an example.

[0064] There is no limitation on the method of calculating the performance index of the current application based on the feature data related to the application running performance. It can be that after all the feature data are extracted, they are matched with a database of preset performance index scores corresponding to different feature data values ​​to obtain the scores corresponding to all the feature data respectively, and then the scores are summed up to obtain the comprehensive performance index of the current application. Among them, the performance index can be used to evaluate the efficiency and performance of the App in terms of CPU, memory, etc. A higher performance index means higher performance and efficiency, which is only used as an example.

[0065] The present invention obtains the historical performance data of the application during runtime, pre-processes the performance data, extracts feature data related to the application performance, and calculates the performance index of the application operation based on the extracted feature data. It can accurately calculate the performance of the application, and then select the application with the best performance for semantic distribution, ensuring smooth and successful semantic execution.

[0066] Specifically, the above step a3 includes:

[0067] Step b1, normalizing the characteristic data related to the application running performance.

[0068] Step b2, based on the preset weight values ​​corresponding to different feature data, each feature data after normalization is multiplied by its corresponding weight value to obtain the product value of each feature data, and the weight value is adjusted and set based on the application running requirements and the semantic execution environment.

[0069] Step b3: summing up all the product values ​​of the characteristic data to obtain a sum value, and dividing the sum value by the application running time to obtain a performance index of the current application running.

[0070] In the embodiment of the present invention, the feature data may be normalized first, and each feature data may be mapped into a standard range so that different feature data may be compared and weighted. The performance index of the current application operation may be calculated by the following formula:

[0071] Performance=(w1*men_usage+w2*cpu_usage+w3*t_average) / rt_usage

[0072] Among them, Performance represents the performance index of the current application; w1 represents the weight corresponding to the memory usage; w2 represents the weight corresponding to the CPU utilization; and w3 represents the weight corresponding to the response time.

[0073] Among them, the weight parameters corresponding to each feature data can be adjusted by the semantic distribution system according to the characteristics and needs of the application, and the weight of each factor in the formula can be adjusted. For example, if a certain factor, such as response time or CPU utilization, needs to be given more attention, the weight corresponding to the factor can be increased, and the weights of other factors can be reduced, which can more accurately reflect the key indicators of application performance. It can also provide real-time status of monitoring performance, and can also configure options and monitoring interfaces to enable developers to set and monitor weights based on needs, just as an example.

[0074] In a specific embodiment, the semantic distribution system includes a performance index algorithm module for evaluating the performance index of each application operation, such as Figure 3 As shown, the performance index algorithm module includes but is not limited to a data collection module, a data recording and storage module, a data preprocessing and feature extraction module, a performance index calculation module, a configuration and monitoring module, and an API and interface, wherein the data collection module can use the API provided by the operating system or a third-party performance monitoring library to collect performance data of applications in different environments; the data recording and storage module can store the performance data in a database or log file on the local device, or upload it to the cloud for storage; the data preprocessing and feature extraction module is used to clean the performance data and extract feature data related to the application running performance; the performance index calculation is used to calculate the performance index of the current application; the configuration and monitoring module is used to adjust the weight corresponding to each feature data; the API and interface are used to provide external API and interface, so that other modules or systems can use the functions and data of the performance calculation module by calling these interfaces. For detailed description, please refer to the above embodiment, which will not be repeated here.

[0075] The present invention calculates the performance index of the application by multiplying each feature data with a weight, wherein the weight corresponding to each feature data can be adjusted accordingly according to the application requirement characteristics, thereby improving the flexibility of performance index evaluation and then improving the accuracy of performance index evaluation.

[0076] Step S2032: If at least one application in the application list is in the startup state, the running state of the application in the startup state is obtained.

[0077] In the embodiment of the present invention, if it is determined that at least one application in the application list is in the startup state, the running state of the application in the startup state may be obtained.

[0078] The present invention determines the startup status of each application in the application list. If all applications in the application list are in a closed state, the optimal application can be selected according to the performance index. If there are applications in the application list that are in a startup state, the optimal application can be selected according to the running state, thereby ensuring the smooth implementation of semantic distribution.

[0079] Step S204, based on the performance index evaluation results of each application, or the running status of each application, the target application is screened from the application list corresponding to the application type, and the semantics to be executed are sent to the target application for execution.

[0080] Specifically, the above step S204 includes:

[0081] Step S2041, based on the preset correspondence between different running states and different priorities, and the running states corresponding to each application, the priority of each application in the application list that is in the startup state is determined.

[0082] Step S2042: Select the application with the highest priority as the target application.

[0083] The embodiment of the present invention does not limit the setting of the correspondence between different running states and different priorities, and can be set according to the needs of developers. For example, taking music type as an example, the order of priority can be set from high to low as foreground play > foreground pause > background play > background pause. Just as an example, if it is determined that there is an application in the startup state in the application list, the running state of the application in the startup state can be obtained, and the priority of each application can be determined according to the preset correspondence between the running state and the priority, and then the application with the highest priority can be selected as the target application.

[0084] The present invention determines the priority of applications in the startup state, selects the application with the highest priority for semantic distribution, ensures smooth execution of semantic execution, and improves user application experience.

[0085] In an optional implementation, before evaluating the performance index of each application based on its startup status, or obtaining the running status of each application, it is determined whether the application list includes at least two applications; if the application list includes at least two applications, the steps of evaluating the performance index of each application based on its startup status, or obtaining the running status of each application are performed; if the application list includes only one application, the semantics to be executed are directly sent to the application for execution.

[0086] If it is determined in the embodiment of the present invention that there is only one application in the application list, the semantics to be executed may be directly sent to the application for execution.

[0087] If the present invention determines that there is only one application in the application list, the semantics are directly sent to the application without calculating the performance index and priority, thus saving computing resources and improving the efficiency of semantic execution.

[0088] In an optional implementation, based on the performance index evaluation results of each application, screening the target application from the application list corresponding to the application type includes: based on the performance index evaluation results of each application, selecting the application with the best performance index from the application list as the target application.

[0089] After the embodiment of the present invention reads the startup status of all applications in the application list and determines that all applications are in a closed state, the performance index evaluation results of each application are calculated based on the method of the above embodiment, and the application corresponding to the highest performance score value or the highest performance level is selected as the target application, and the semantics to be executed are sent to the target application for execution, as an example only.

[0090] The present invention obtains the application with the least device resources and the best performance among the current applications of the same type according to the corresponding performance index, and then sends down the semantics to execute the action, which can reduce device jams and increase fluency.

[0091] like Figure 4 As shown, the semantic distribution method designed by the present invention includes obtaining semantic information and application types of executable semantics, obtaining a list of applications of the same type according to the application type, evaluating the performance index of each application in the application list, and reading the running status of all applications respectively. The optimal application can be selected as the target application according to the priority of the performance index and the running status, and the semantics to be executed can be sent to the target application for execution.

[0092] In a specific embodiment, Figure 5 As shown, the corpus input by the user is obtained, and the semantic recognition of the corpus input by the user is performed through the speech recognition module to obtain the semantics to be executed, and the key features of the semantic information to be executed are extracted to identify the domain and intention in the semantics, and then the application type that can execute the semantics to be executed is determined, and the application list corresponding to the application type and the startup status of each application in the application list are obtained. It can be determined first whether the current application list is a multi-application scenario, that is, whether it includes at least two applications. If it is determined that there is only one application in the application list, the semantics to be executed will be sent to the application for execution.

[0093] If it is determined that the application list includes at least two applications, determine whether there is an application in the startup state in the application list. If there is an application in the startup state, the running status can be judged again. The semantics are sent down based on whether the application is playing or in the foreground. The action is executed with priority given to the application in playback. According to the above logical judgment, the appropriate application is selected for semantic sending, and the application performs the corresponding operation. This is just an example.

[0094] If it is determined that there is no application in the startup state in the application list, the performance index of all applications in the application list can be calculated by the performance index algorithm module, and the application with the best performance index is selected as the target semantics, and the semantics is sent to the target application to execute the action. For detailed description, please refer to the above embodiment and will not be repeated here.

[0095] In this embodiment, a semantic distribution device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0096] This embodiment provides a semantic distribution device, such as Figure 6 As shown, it includes: an application type determination module 601, which is used to identify the to-be-executed semantics input by the user and determine the application type that can execute the to-be-executed semantics; an application list acquisition module 602, which is used to obtain the application list corresponding to the pre-stored application type and the startup status of each application in the application list; an application evaluation module 603, which is used to evaluate the performance index of each application based on the startup status of each application, or to obtain the running status of each application; a semantic distribution module 604, which is used to filter the target application from the application list corresponding to the application type based on the performance index evaluation results of each application or the running status of each application, and send the to-be-executed semantics to the target application for execution.

[0097] In some optional implementations, the application list acquisition module 602 includes: a performance evaluation unit, which is used to evaluate the performance index of each application if all applications in the application list are in a closed state; and an operation status acquisition unit, which is used to obtain the operation status of the application in the started state if at least one application in the application list is in the started state.

[0098] In some optional embodiments, the application evaluation module 603 includes: a priority determination unit, which is used to determine the priority of each application in the startup state in the application list based on the preset correspondence between different running states and different priorities, and the running states corresponding to each application; an application selection unit, which is used to select the application with the highest priority as the target application.

[0099] In some optional embodiments, before evaluating the performance index of each application based on its startup status or obtaining the running status of each application, the semantic distribution device also includes: an application quantity judgment module, used to judge whether the application list includes at least two applications; a performance evaluation execution module, used to evaluate the performance index of each application based on its startup status or obtain the running status of each application if the application list includes at least two applications; and a semantic delivery module, used to deliver the semantics to be executed directly to the application for execution if the application list includes only one application.

[0100] In some optional implementations, the application evaluation module 603 includes: a data acquisition unit, used to obtain the historical runtime performance data of the current application; a data processing unit, used to perform data cleaning on the acquired performance data of the current application, and extract feature data related to the application running performance, the feature data related to the application running performance at least includes memory usage, response time, CPU utilization and runtime; a performance index calculation unit, used to calculate the performance index of the current application running based on the feature data related to the application running performance.

[0101] In some optional embodiments, the performance index calculation unit includes: a data multiplication subunit, which is used to normalize the feature data related to the application running performance; based on the preset weight values ​​corresponding to different feature data, each feature data after normalization is multiplied by its corresponding weight value to obtain each feature data product value, and the weight value is adjusted and set based on the application running requirements and the semantic execution environment; a data calculation subunit, which is used to sum all the feature data product values ​​to obtain a sum value, and divide the sum value by the application running time to obtain the performance index of the current application running.

[0102] In some optional implementations, the semantic distribution module 604 includes: a target application selection unit, configured to select an application with the best performance index from the application list as the target application based on the performance index evaluation results of each application.

[0103] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0104] The semantic distribution device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0105] The embodiment of the present invention further provides a vehicle, such as Figure 7 As shown, with the above Figure 8 Controller shown.

[0106] See also Figure 8 , Figure 8 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 8 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.

[0107] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0108] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0109] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0110] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0111] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.

[0112] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0113] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0114] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A semantic distribution method, characterized in that: The method comprises: Identify the semantics to be executed input by the user, and determine the application type that can execute the semantics to be executed; Obtaining a pre-stored application list corresponding to the application type and a startup status of each application in the application list; Based on the startup status of each application, the performance index of each application is evaluated, or the running status of each application is obtained; Based on the performance index evaluation results of each application, or the running status of each application, a target application is screened from an application list corresponding to the application type, and the to-be-executed semantics are sent to the target application for execution.

2. The method according to claim 1, characterized in that The step of evaluating the performance index of each application based on the startup status of each application, or obtaining the running status of each application, includes: If all applications in the application list are in a closed state, evaluating the performance index of each application; If at least one application in the application list is in the startup state, the running state of the application in the startup state is obtained.

3. The method according to claim 2, characterized in that Based on the running status of each application, the target application is filtered from the application list corresponding to the application type, including: Determine the priority of each application in the application list that is in the startup state based on the preset correspondence between different running states and different priorities, and the running states corresponding to each application; Select the application with the highest priority as the target application.

4. The method according to claim 1 or 2, characterized in that: Before evaluating the performance index of each application based on the startup status of each application or obtaining the running status of each application, the method further includes: Determining whether the application list includes at least two applications; If the application list includes at least two applications, the step of evaluating the performance index of each application based on the startup status of each application, or obtaining the running status of each application is performed; If the application list includes only one application, the to-be-executed semantics are directly sent to the application for execution.

5. The method according to claim 1 or 2, characterized in that: The performance index of each application is evaluated, including: Get the historical runtime performance data of the current application; Performing data cleaning processing on the acquired performance data of the current application, and extracting feature data related to the application running performance, wherein the feature data related to the application running performance at least includes memory usage, response time, CPU utilization and running time; The performance index of the current application operation is calculated based on the characteristic data related to the application operation performance.

6. The method according to claim 5, characterized in that The calculating the performance index of the current application operation based on the characteristic data related to the application operation performance includes: Normalizing the characteristic data related to the application running performance; Based on the preset weight values ​​corresponding to different feature data, each feature data after normalization is multiplied by its corresponding weight value to obtain the product value of each feature data, wherein the weight value is adjusted and set based on the application running requirements and the semantic execution environment; The product values ​​of all feature data are summed to obtain a sum value, and the sum value is divided by the application running time to obtain the performance index of the current application running.

7. The method according to claim 6, characterized in that Based on the performance index evaluation results of each application, a target application is screened from an application list corresponding to the application type, including: Based on the performance index evaluation results of each application, an application with the best performance index is selected from the application list as a target application.

8. A semantic distribution device, characterized in that: The device comprises: An application type determination module, used to identify the semantics to be executed input by the user, and determine the application type that can execute the semantics to be executed; An application list acquisition module, used to acquire a pre-stored application list corresponding to the application type and the startup status of each application in the application list; An application evaluation module, used to evaluate the performance index of each application based on the startup status of each application, or to obtain the running status of each application; The semantic distribution module is used to filter the target application from the application list corresponding to the application type based on the performance index evaluation results of each application or the running status of each application, and send the semantics to be executed to the target application for execution.

9. A vehicle, characterized in that: The vehicle includes: a controller, the controller includes a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the semantic distribution method described in any one of claims 1 to 7 by executing the computer instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the semantic distribution method according to any one of claims 1 to 7.