Automobile service recommendation method, device, equipment and product
By analyzing historical car service characteristics and cross-features, predicting future states and recommending setting operations, it solves the problem of cumbersome manual settings for users in smart cars and improves intelligence and user experience.
Patent Information
- Application Number
- CN202410747606.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-17
AI Technical Summary
The way for users to manually select and set up car services in smart cars is too cumbersome, which affects the user experience and is not conducive to the intelligence of the car.
By obtaining the target characteristics of different car services in historical time periods, performing feature intersection to analyze correlation relationships, predicting future state characteristics, and recommending setting operations based on the prediction results, automatically adjusting the car service status and reducing user manual operations.
It improves the user experience, simplifies the car service setting process, improves the intelligence of the car, and can accurately understand user needs and provide service settings that meet their needs.
Smart Images

Figure CN118657204A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method, device, equipment and product for recommending automobile services. Background Art
[0002] With the development of intelligent automobile technology, the types of automobile services configured in automobiles are increasing, such as air conditioning settings, window settings, fragrance system settings, navigation settings, volume settings, and music playback settings. Users can select the automobile services they want to operate and set their status according to their own needs, such as closing windows or setting the set temperature of the air conditioner.
[0003] However, this method in which users manually select the car services they want to operate and set their status is too cumbersome, affects the user experience and is not conducive to the intelligence of the car. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a car service recommendation method, device, equipment and product, which can save users from the tedious operation of manually selecting the car service they want to operate and setting its status, thereby improving the user experience and enhancing the intelligence level of the car.
[0005] In order to solve the above technical problems, in a first aspect, an embodiment of the present application provides a method for recommending automobile services, the method comprising:
[0006] Acquire target features of different automobile services in a historical time period, wherein the target features at least include state features of the automobile service itself;
[0007] In the historical time period, feature crossover is performed on target features of different automobile services at the same time to obtain crossover features corresponding to different times in the historical time period, wherein the crossover features are used to characterize the correlation relationship between target features of different automobile services at the same time;
[0008] Predicting the state characteristics of the different automobile services themselves in a future time period according to the target characteristics of the different automobile services in the historical time period and the cross-characteristics corresponding to different moments in the historical time period;
[0009] According to the predicted state characteristics, the required recommended setting operations are determined, and the setting operations are used to adjust the states of the different automobile services.
[0010] In a second aspect, an embodiment of the present application further provides a car service recommendation device, the device comprising:
[0011] A feature acquisition module, used to acquire target features of different automobile services in a historical time period, wherein the target features at least include state features of the automobile service itself;
[0012] A feature crossover module is used to perform feature crossover on target features of different automobile services at the same time in the historical time period to obtain crossover features corresponding to different times in the historical time period, wherein the crossover features are used to characterize the correlation between target features of different automobile services at the same time;
[0013] A state prediction module, used to predict the state characteristics of the different automobile services themselves in a future time period according to the target characteristics of the different automobile services in the historical time period and the cross-characteristics corresponding to different moments in the historical time period;
[0014] The service recommendation module is used to determine the setting operation required to be recommended according to the predicted state characteristics, and the setting operation is used to adjust the state of the different automobile services.
[0015] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the automobile service recommendation method as described in the first aspect.
[0016] In a fourth aspect, an embodiment of the present application further provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the automobile service recommendation method as described in the first aspect.
[0017] It can be seen from the above technical scheme that the present application obtains the target characteristics of different automobile services in the historical time period to analyze the correlation between the user's demand for different automobile services and the timing factors, and obtains the cross-features between different automobile services at the same time to analyze the intrinsic connection between the user's demand for different automobile services. In this way, the real needs behind the user's automobile service operations can be accurately understood, and automobile service setting operations that meet their actual needs can be recommended to the user, thereby eliminating the tedious operation of manually selecting the automobile service they want to operate and setting its status, which can improve the user experience and enhance the intelligence level of the car. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1 A flowchart of an implementation method of a car service recommendation method provided in an embodiment of the present application;
[0020] Figure 2A schematic diagram of the structure of a neural network provided in an embodiment of the present application;
[0021] Figure 3 A schematic diagram of the structure of a car service recommendation device provided in an embodiment of the present application;
[0022] Figure 4 A schematic diagram of an electronic device provided in an embodiment of the present application;
[0023] Figure 5 A schematic diagram of a computer-readable storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0025] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may include steps or units that are not listed.
[0026] As autonomous driving technology matures, users will spend more and more time in the car independently. Therefore, it is extremely important to create a "desirable" and "comfortable" cockpit environment for users.
[0027] In terms of car services, with the increasing intelligence of cars and the support of super-powerful edge computing chips, cars can provide more and more services to users, such as air conditioning settings, window settings, fragrance system settings, navigation settings, volume settings, and music playback settings. Users can select the car services they want to operate and set their status according to their needs, such as closing windows or setting the set temperature of the air conditioner.
[0028] However, this method in which users manually select the car services they want to operate from numerous services and set their status is too cumbersome. For example, users need to manually connect to their mobile phone Bluetooth, turn on music and start navigation every time they get in the car, which greatly affects the user experience in the cockpit environment and is not conducive to the intelligence of the car.
[0029] In response to the problems existing in the above-mentioned related technologies, the present application proposes a car service recommendation solution, which is suitable for recommending any content that can be operated in a smart car, such as predicting the car settings that the user may need to operate in the future, recommending settings for the user in advance or directly helping the user to make relevant settings, such as making relevant recommendations for air conditioning settings, door lock settings, fragrance settings, door and window settings, ambient light settings, navigation settings and music settings, etc., and can provide users with care services in a timely manner in specific environments, such as recommending users to open windows for ventilation, etc., thereby eliminating the tedious operation of users manually selecting the car services they want to operate from a large number of car services and setting their status, thereby improving the user experience in the cockpit environment and enhancing the intelligence of the car.
[0030] In the following, in conjunction with the accompanying drawings, a car service recommendation method, device, equipment and product provided by the embodiments of the present application are described in detail through some embodiments and their application scenarios.
[0031] First, see Figure 1 FIG. 1 is a flowchart of an implementation method of a car service recommendation method provided in an embodiment of the present application. The method may include the following steps:
[0032] Step S101: Obtain target features of different automobile services within a historical time period.
[0033] The target characteristics at least include the state characteristics of the automobile service itself.
[0034] In specific implementation, the vehicle terminal can collect target features of different car services by means of periodic collection or variable collection, such as collecting target features such as the on or off state of music playback settings at set time intervals, or collecting target features such as the on or off state of the air conditioner, temperature setting value, and air volume setting value after the user changes the air conditioner settings. The target features collected for different car services in the recent period (such as the last half hour) are cleaned and summarized to obtain the target features of different car services in the historical period.
[0035] Step S102: In the historical time period, feature crossover is performed on target features of different automobile services at the same time to obtain crossover features corresponding to different times in the historical time period.
[0036] The cross feature is used to characterize the correlation between target features of different automobile services at the same time.
[0037] In the specific implementation, with the help of the ability of cross-features to represent the implicit meanings contained in known features, the embodiments of the present application adopt methods such as manually constructing cross-features, or automatically learning feature cross-features by models, to perform feature cross-features on the target features of different automobile services at the same time, so as to represent the correlation between the target features of different automobile services at the same time.
[0038] Step S103: predicting the state characteristics of the different automobile services themselves in the future time period according to the target characteristics of the different automobile services in the historical time period and the corresponding cross characteristics at different moments in the historical time period.
[0039] In specific implementation, by analyzing the target features of different automobile services in the historical time period, we can obtain rich time-related information such as the automobile services selected and operated by users in the past period of time and the specific operation settings, the time when users operate each automobile service, the time sequence in which users choose to operate these automobile services, and the time sequence in which users set their operations for each automobile service. This can analyze the correlation between users' demand for different automobile services and time sequence factors to capture the pattern of changes in user demand with time sequence factors.
[0040] For example, by capturing the patterns of changes in user needs over time, we can know that the car services and specific status settings that users want to operate in the morning will be different from those in the evening. For another example, we can know that the user adjusted the air volume of the air conditioner from level 1 to level 5 in the past period of time, compared with the case where the air volume of the air conditioner was adjusted from level 9 to level 5. Although both cases ultimately adjusted the air volume of the air conditioner to level 5, the car services or specific status settings that the user wants to operate subsequently in these two cases should be different.
[0041] By analyzing the cross-features corresponding to different moments, we can obtain the implicit meaning of the state combination of different car services at different moments, thereby capturing the user's combined preferences for different car services and specific state settings. For example, users usually close all windows when turning on the air conditioner, or turn on the ambient light when playing music.
[0042] Based on the captured rules of user needs changing with time series factors and the user's combined preferences for different car services and specific status settings, the status characteristics of the different car services themselves in the future time period can be accurately predicted. For example, the air volume level and temperature setting value of the air conditioner, the open or closed state of the car window, and the open or closed state of the ambient light in the future time period can be accurately predicted.
[0043] Step S104: determining the required recommended setting operation according to the predicted state characteristics, wherein the setting operation is used to adjust the states of the different automobile services.
[0044] During the specific implementation, the vehicle-mounted terminal post-processes the prediction results to obtain the corresponding setting operations, such as processing the state characteristics related to the air volume into one of the 9 gears corresponding to the air volume, and processing the temperature prediction value into a numerical value that conforms to the corresponding format, such as processing the temperature prediction value 24.507 into the executable temperature setting value 24.5 of the air conditioner.
[0045] Optionally, after determining the required recommended setting operation, the vehicle-mounted terminal executes the required recommended setting operation, i.e., automatically adjusts the status of the relevant automobile service, and / or, the vehicle-mounted terminal may also display the required recommended setting operation to the user, such as displaying a recommended setting operation list to the user for the user to adjust or confirm, and automatically adjusts the status of the relevant automobile service after the user adjusts or confirms.
[0046] It can be seen from the above technical scheme that the present application obtains the target characteristics of different automobile services in the historical time period to analyze the correlation between the user's demand for different automobile services and the timing factors, and obtains the cross-features between different automobile services at the same time to analyze the intrinsic connection between the user's demand for different automobile services. In this way, the real needs behind the user's automobile service operations can be accurately understood, and automobile service setting operations that meet their actual needs can be recommended to the user, thereby eliminating the tedious operation of manually selecting the automobile service they want to operate and setting its status, which can improve the user experience and enhance the intelligence level of the car.
[0047] In one embodiment, based on the target features of different automobile services in the historical time period and the cross features corresponding to different moments in the historical time period, predicting the state features of the different automobile services themselves in the future time period includes:
[0048] Based on the attention mechanism, according to the target features of different automobile services in the historical time period, determine the information of the target features of the different automobile services at different times changing with time sequence;
[0049] According to the information of the target features of the different automobile services at different times changing with time series and the cross features corresponding to different times in the historical time period, the state features of the different automobile services themselves in the future time period are predicted.
[0050] In specific implementation, the target features of different automobile services in the historical time period are processed based on the attention mechanism (such as using a neural network with an attention mechanism), and different parts of the input data are weighted, such as weighting the target features at different times respectively, so as to focus on analyzing the information of the target features at different times changing with time series, so as to capture the law of changes in user needs with time series factors, and then combine the cross-features corresponding to different times, so as to accurately predict the state characteristics of the different automobile services themselves in the future time period.
[0051] For example, a user will connect his mobile phone to the Bluetooth, turn on the music and start the navigation every morning when he gets in the car in winter. With the help of the attention mechanism, the neural network can accurately capture the background knowledge that "the user gets in the car in the morning in winter" and then combine the cross-features to capture the user's combined preferences for different car services and specific status settings. Then, when the user gets in the car in the morning in winter, a series of setting operations can be recommended based on his previous usage habits.
[0052] In this embodiment, the present application uses the attention mechanism to conduct targeted analysis of the time series changes in the target characteristics of different automobile services in the historical time period, and provides specific implementation technical means, thereby accurately capturing the impact of time series factors on the prediction results, thereby improving the accuracy of automobile service recommendations.
[0053] In one embodiment, the state characteristics of the different automobile services themselves in the future time period are predicted by a pre-trained neural network based on the target characteristics of the different automobile services in the historical time period. The neural network is a feature cross-self-attention network that does not use an embedding layer to process the input data.
[0054] Among them, the neural network can be deployed on a vehicle-mounted terminal or in the cloud, and this application does not impose any restrictions on this.
[0055] In the specific implementation, the Cross Temporal Attention Network (CTAN) is used to directly perform temporal change-related analysis and feature cross-talk based on the self-attention mechanism on the target features of different automobile services in the historical time period, so as to predict the state characteristics of different automobile services in the future time period.
[0056] In this embodiment, considering that the target features collected by the vehicle terminal are different from images or texts and are mainly numerical data that have physical meanings (such as electrical signal features that represent temperature setting values), the embodiment of the present application provides a CTAN suitable for the data collected by the vehicle terminal (i.e., target features). The CTAN does not use an embedding layer as the input layer of the model, but directly uses the target features collected by the vehicle terminal as input, which can avoid the conversion operation of the embedding layer from making unnecessary or erroneous adjustments to the information represented by the target features (such as adjusting the information represented explicitly to implicitly represented), thereby ensuring the model performance when CTAN is applied to automobile service recommendations.
[0057] Optionally, refer to Figure 2 The schematic diagram of the structure of the neural network shown in FIG. 1 includes an input layer, a feature cross layer network, a fully connected layer, a self-attention encoder layer, and an output layer, wherein:
[0058] The input layer is used to receive target features of different automobile services in the historical time period.
[0059] In specific implementation, the target features of different car services at different times in the historical time period can be taken as a field, and summarized in combination with the collection time and input into the input layer. For example, after summarizing the fields collected at 2:43:25 on December 23, 2023, the partial time series data required to be input into the input layer can be obtained: 9, 3, 07, 10, 100, 0, 0, 83, 1, 999, 1, 2, 0, 1, 2023, 12, 23, 2, 43, 25.
[0060] The feature cross-layer is used to perform feature cross-talk on target features of different automobile services at the same time, and obtain cross-talk features corresponding to different times in the historical time period.
[0061] In the specific implementation, considering that in car service recommendation, many setting operations are often not determined by one parameter signal (i.e., Field), but by the cross factors of multiple parameter signals, the feature cross layer is used to construct cross features between target features to capture the possible mutual influence between various car services and understand the current user's combined preferences for various car services and specific status settings, such as whether the current user will close the windows when turning on the air conditioner.
[0062] Exemplarily, the feature crossover layer may perform second-order feature crossover on each target feature at the same time by the following formula:
[0063]
[0064] Among them, y represents the cross feature corresponding to a certain moment, w0, w i 、w ij represents the set weight, n represents the number of target features at a certain moment, x i represents the i-th target feature at a certain moment, x j Represents the jth target feature at a certain moment.
[0065] The fully connected layer is used to adjust the dimensions of the cross features corresponding to different moments in the historical time period so as to align the input and output of the neural network.
[0066] In the specific implementation, the fully connected layer is used to deeply mine the output of the feature cross layer and explore the deep semantic expression of each cross feature.
[0067] Optionally, the result of the fully connected layer is residually connected to the input of the input layer in a residual manner to prevent gradient vanishing or gradient exploding, and to avoid difficulty in convergence of model training.
[0068] Exemplarily, the calculation result of the fully connected layer is residually connected to the input of the input layer by the following formula:
[0069] x l+1 =x l +F(x l , W l )
[0070] Among them, x l+1 Represents the output after residual connection, x l represents the input of the input layer, W l represents the weight of the setting, F(x l , W l ) represents the calculation result of the fully connected layer (i.e., the input of the input layer after being processed by the feature cross layer and the fully connected layer).
[0071] The self-attention encoder layer is used to determine the information of the time-series changes of the target features of the different automobile services at different times according to the target features of the different automobile services in the historical time period, so as to capture the influence of time series factors on the prediction results; and combine the cross-features corresponding to the different moments in the historical time period to predict the state features of the different automobile services themselves in the future time period in an autoregressive manner, that is, the neural network will use the state features of the automobile services predicted by itself as input to continue to predict the state features of the automobile services at subsequent moments.
[0072] Among them, the self-attention encoder layer can be constructed using the encoder module in the transformer model, and the encoder module can use the self-attention mechanism to provide timing model training capabilities.
[0073] The output layer is used to output the predicted state features of the different car services in the future time period, such as outputting the predicted state features of the different car services at the next time step (such as 5 seconds). Its output dimension is consistent with the input layer, which is similar to the autoregressive method in the text generation model.
[0074] In one embodiment, the target features further include environmental features associated with the automobile service.
[0075] In the specific implementation, the external environment and user operations may affect the car services and specific status settings that the user wants to operate later. For example, when the temperature in the car drops from 45 degrees to 30 degrees, the user's air conditioning settings should be different compared to when the temperature in the car rises from 15 degrees to 30 degrees. Therefore, the embodiment of the present application conducts a comprehensive analysis of the environmental characteristics associated with the car service and the status characteristics of the car service itself to further improve the accuracy of the car service recommendation.
[0076] Optionally, the neural network predicts the state characteristics of different automobile services themselves in a future time period in an autoregressive manner based on the environmental characteristics associated with different automobile services in a historical time period and the state characteristics of the automobile services themselves.
[0077] In the specific implementation, the neural network predicts the state characteristics of different automobile services in the future time period in an autoregressive manner. To ensure the consistency of input and output, the neural network can output the state characteristics of different automobile services in the future time period (such as the next 25 seconds) and their associated environmental characteristics. Some examples of the output results of the neural network are shown in Table 1.
[0078] Table 1 Some examples of output results of the neural network.
[0079]
[0080]
[0081] Based on the prediction values in Table 1 above, the vehicle terminal can determine the recommended setting operations required at each moment (i.e., every 5 seconds) in the next 25 seconds. For example, when the state characteristic prediction value of the internal and external circulation mode is less than 0, it is recommended to turn on the internal circulation; when the state characteristic prediction value of the internal and external circulation mode is greater than 0, it is recommended to turn on the external circulation; when the state characteristic prediction value of the steering wheel heating is less than 0, it is recommended to stop the steering wheel heating; when the state characteristic prediction value of the steering wheel heating is greater than 0, it is recommended to start the steering wheel heating, and based on the corresponding relationship between the state characteristic prediction value and the heating temperature setting value, the required heating temperature value is recommended.
[0082] It should be noted that, considering that users want to perform certain operations, it must be caused by certain preconditions. For example, when entering a vehicle in the morning in winter, users generally turn on the air conditioner and set it to warm air. In addition, some users will need to set the company's navigation and turn on the music. For another example, in spring or autumn, when the carbon dioxide concentration in the car is high, the user will feel stuffy. At this time, the user may choose to turn on the air conditioner or the window (predicted based on the user's previous operating habits). Therefore, the embodiment of the present application constructs the above-mentioned target features to capture the preconditions related to the environment or the state of the car service itself, and characterizes the change in the state of the car service as a change in the state of a certain signal. Thus, an autoregressive idea similar to a language model is proposed, and the car service recommendation is regarded as a process of predicting a subsequent signal sequence by a signal sequence, thereby realizing the recommendation function of the car service.
[0083] For example, using Figure 2 The neural network shown performs predictions based on the environmental characteristics associated with the car service and the state characteristics of the car service itself as an example.
[0084] When the user drives to a grassland with good air, the neural network can predict that the user may want to open the window based on the environmental characteristics related to the grassland, and can use the predicted content to predict the state characteristics of the subsequent music playback settings. For example, if the user has turned on the music playback before, because it is predicted that the user wants to open the window, it can be further predicted that the volume of the music playback needs to be increased. It is understandable that if the environmental characteristics are not added to the input target features, it is difficult for the neural network to derive the prediction content that the user wants to open the window, and if the predicted window state is not used as input for subsequent prediction in an autoregressive manner, it is also difficult for the neural network to derive the prediction content that the user wants to increase the volume of the music playback.
[0085] In one embodiment, the state characteristics of the different automobile services themselves are predicted by a pre-trained neural network based on target characteristics of the different automobile services in the historical time period;
[0086] The loss function value of the neural network is obtained by the following steps:
[0087] Obtaining pre-set weight values for the different automobile services, wherein the automobile service with more frequent state changes has a larger weight value set;
[0088] According to the preset weight values, the prediction error values corresponding to the different automobile services are adjusted to obtain the loss function value of the neural network.
[0089] In specific implementation, the embodiment of the present application uses weight values to pay special attention to the loss function value, so that when important signals change, the neural network can focus more on those changing signals, that is, the neural network can pay more attention to the user's operating actions, so as to capture the real reason why the user needs a certain service at a certain moment.
[0090] For example, a time series sample used for neural network training is as follows:
[0091] [[1,0,2,1,1,0,0,0,0,0,0,0,0],
[0092] [1,0,2,1,1,0,0,0,0,0,0,0,0],
[0093] [1,0,2,1,1,0,0,0,0,0,0,0,0],
[0094] [1,0,2,1,1,0,0,0,1,0,0,0,0],
[0095] [1,0,2,1,1,0,0,0,1,0,0,0,0], ]
[0097] In this time series sample, the first, second, third and fifth data are unchanged compared to the previous data. For this time series sample, the neural network can evaluate to a high accuracy as long as the output remains unchanged, but the neural network cannot actually correctly predict state changes, so that the corresponding setting operations cannot be recommended in advance. To solve the above problem, the weight value [1,1,1,10,1] can be set for the time series sample, that is, a higher weight value (i.e. 10) is set for the fourth data that has changed, so that the obtained loss function value has emphasis, that is, it focuses more on those data where the key signals have changed. Exemplarily, the loss function value of the neural network can be determined by the following formula:
[0098] loss=loss_fn(y_pred,y_true)*weight
[0099] Among them, loss represents the loss function value of the neural network, loss_fn(y_pred,y_true) represents the prediction error value determined based on the predicted value y_pred and the true value y_true (that is, the unadjusted original loss function value), and weight represents the weight value.
[0100] In this embodiment, it is considered that the status setting of the car service generally does not change for a long time, that is, in the car service scenario, "unchanged status" is the majority of the time, and only part of the time or under specific conditions will the user change the status of the car service. This situation is somewhat similar to a training data set with uneven samples. If the samples collected at each moment are divided into two types: status setting changes and status setting unchanged, then the moments when samples with unchanged status setting are collected will occupy more than 90% of the time. For example, for the settings of the internal and external circulation of the air conditioner, it will only take a very small amount of time for the user to modify the status of the internal and external circulation (i.e., the internal and external circulation changes).
[0101] This means that during the neural network training phase, the neural network training only needs to predict that all states remain unchanged, and the evaluation accuracy will be very high. That is, the neural network only needs to output the same content as the previous moment to predict accurate results most of the time, resulting in the loss function value being difficult to reflect the actual network model performance.
[0102] To solve the above problems, the embodiments of the present application set weight values so that the neural network can focus on the data prediction of certain user setting changes. That is, by setting weight values, the influence of the corresponding loss function value (loss) is increased, so that the neural network can perform reasoning and training for the moments when the user will perform operation settings, such as focusing on the prediction accuracy when the user sets the air conditioner, music, window or fragrance, etc., to evaluate the model performance of the neural network and adjust the network parameters.
[0103] In one embodiment, target features of different automobile services in a historical time period are obtained, including:
[0104] In a case where the different automobile services include a target automobile service, obtaining target features of the different automobile services at each first moment and each second moment in the historical time period;
[0105] Among them, the target automobile service is an automobile service for which the length of time required to obtain the target feature to achieve state feature prediction is greater than a set value, and each of the first moments and each of the second moments respectively include multiple continuous moments with the same interval, and the interval between two adjacent moments in each of the first moments is greater than the interval between two adjacent moments in each of the second moments.
[0106] In the specific implementation, it is considered that when the vehicle terminal cloud uploads the collected signals to the cloud, usually all signals are not collected and uploaded together at a certain time, but each signal is uploaded in a periodic or variable manner. Therefore, it is necessary to construct the signals uploaded to the cloud into equally spaced time data, that is, to process all signals into signals with the same time interval, and treat the time data within a period of time as a time series data.
[0107] If the moment data within half an hour is taken as a time series data, the time interval of the moment data can be 5 seconds, then the length of the time series data is 30*60 / 5=360 (which can be compared to the supportable text length in the large model), that is, the time series data can be regarded as containing 360 target features of different car services at the second moment, and the time interval between two adjacent second moments is 5 seconds. Then, the collected moment data with longer intervals are added to the time series data, that is, the target features of different car services at the second moment are added, and the time interval between two adjacent first moments is greater than 5 seconds, thereby obtaining the target features of different car services at each first moment and each second moment in the historical time period.
[0108] In this embodiment, the time series data used for prediction (i.e., the target characteristics of different automobile services at each first moment and each second moment in the historical time period) are constructed by combining long and short time periods. Therefore, accurate prediction and recommendation can be achieved for certain automobile services (i.e., target automobile services) that require state characteristic prediction based on data over a longer period of time, such as driving mode settings.
[0109] For example, when identifying driving style (or driving habits), it is difficult to obtain accurate recognition results using only time series data within a very short period of time. Driving operation data over a longer period of time (such as within a certain trip) is required to ensure recognition accuracy. Based on the recognition results, a driving style habit report can be integrated for the user, or accurate recommendations can be made for related car settings such as driving modes, such as recommending vehicle parameter settings such as steering assist, acceleration performance, and energy recovery that better match the user's driving habits.
[0110] Optionally, to reduce data length, the first moment and the second moment satisfy at least one of the following:
[0111] The time period in which each of the first moments is located does not overlap with the time period in which each of the second moments is located;
[0112] The number of the first moments is smaller than the number of the second moments.
[0113] In this embodiment, considering that the user's current operation is more related to changes in the environment or vehicle conditions in the short term, while some interests (such as driving style) are related to changes in the car service status over a longer period of time, the embodiment of the present application adopts a combination of long and short time to construct the time series data used for prediction, and constrains the long and short time relationship (i.e., the relationship between the first moment and the second moment). In this way, while increasing the time length covered by the data, the length of the data itself can be reasonably controlled, thereby improving its usability (such as enabling it to be efficiently processed by neural networks or other algorithms).
[0114] For example, taking the above-constructed time series data containing 360 target features of different automobile services at the second moment as an example, the first 240 moment data in the time series data are extracted, so that the moment data with an interval of 5 seconds is converted into the moment data with an interval of 20 seconds (i.e., the target features of different automobile services at each first moment), and the following 120 moment data remain unchanged, so that the time period of each first moment does not overlap with the time period of each second moment, and the number of each first moment is less than the number of each second moment. At this time, the length of the time series data is also reduced to 240 / 4+120=180.
[0115] It is understandable that the time series data used for neural network training and reasoning can also be constructed in a combination of long and short time, so as to make recommendations for any atomic operations of users (such as smart home, smart agriculture, and smart transportation related operations) by increasing the data length by a small amount, thereby saving reasoning resources and achieving rational use of signals and resources.
[0116] For example, in the neural network training stage, the signals generated by the car or the buried point signals of the user's actions are collected by changing or periodic collection to obtain target feature samples of different car services. Considering that too fast data collection frequency will lead to a sharp increase in the cost of network bandwidth usage, most signals are collected and uploaded once every 5 seconds, that is, a collection moment is generated every 5 seconds (corresponding to the second moment mentioned above), and the signals collected at multiple consecutive collection moments are constructed into a time series sample, and the maximum time range is set (such as ten minutes, that is, 120 collection moments). In order to solve the problem that some car service recommendation functions require longer data accumulation to achieve reasoning, long-interval time series samples are added to the front end of the aforementioned constructed time series samples, such as adding a small number of time series samples with an interval of 30 seconds, that is, a collection moment is generated every 30 seconds (corresponding to the first moment mentioned above), and a long-short time combined time series sample is obtained, thereby greatly increasing the time interval of the time series sample while increasing the length of a small number of time series samples. Examples of long-short time combined time series samples are shown in Table 2.
[0117] Table 2 Examples of time series samples combining long and short periods.
[0118]
[0119]
[0120] In a second aspect, the present application embodiment provides a car service recommendation device, such as Figure 3 As shown, the device comprises:
[0121] A feature acquisition module, used to acquire target features of different automobile services in a historical time period, wherein the target features at least include state features of the automobile service itself;
[0122] A feature crossover module is used to perform feature crossover on target features of different automobile services at the same time in the historical time period to obtain crossover features corresponding to different times in the historical time period, wherein the crossover features are used to characterize the correlation between target features of different automobile services at the same time;
[0123] A state prediction module, used to predict the state characteristics of the different automobile services themselves in a future time period according to the target characteristics of the different automobile services in the historical time period and the cross-characteristics corresponding to different moments in the historical time period;
[0124] The service recommendation module is used to determine the setting operation required to be recommended according to the predicted state characteristics, and the setting operation is used to adjust the state of the different automobile services.
[0125] Optionally, the state prediction module includes:
[0126] A first prediction module is used to determine information about changes in the target features of different automobile services at different times over time based on an attention mechanism and according to the target features of different automobile services in the historical time period;
[0127] The second prediction module is used to predict the state characteristics of the different automobile services themselves in the future time period based on the information of the target characteristics of the different automobile services at different times changing with time series and the cross-characteristics corresponding to different times in the historical time period.
[0128] Optionally, the state characteristics of the different automobile services themselves in the future time period are predicted by a pre-trained neural network based on the target characteristics of the different automobile services in the historical time period, and the neural network is a feature cross-self-attention network that does not use an embedding layer to process the input data.
[0129] Optionally, the neural network comprises:
[0130] An input layer, for receiving target features of different automobile services in the historical time period;
[0131] The feature cross-layer is used to perform feature cross-talk on target features of different automobile services at the same time to obtain cross-talk features corresponding to different times in the historical time period;
[0132] A fully connected layer, used to adjust the dimensions of cross-features corresponding to different moments in the historical time period so as to align the input and output of the neural network;
[0133] A self-attention encoder layer is used to determine information about the time series changes of the target features of the different automobile services at different times according to the target features of the different automobile services in the historical time period, and to predict the state features of the different automobile services themselves in the future time period in an autoregressive manner by combining the cross features corresponding to the different times in the historical time period;
[0134] The output layer is used to output the predicted state characteristics of the different automobile services themselves in the future time period.
[0135] Optionally, the state characteristics of the different automobile services themselves are predicted by a pre-trained neural network based on target characteristics of the different automobile services in the historical time period;
[0136] Wherein, the device further comprises:
[0137] A first acquisition module is used to acquire pre-set weight values for the different automobile services, wherein the automobile service with more frequent state changes has a larger weight value;
[0138] The first adjustment module is used to adjust the prediction error values corresponding to the different automobile services according to a preset weight value to obtain the loss function value of the neural network.
[0139] Optionally, the feature acquisition module includes:
[0140] A feature acquisition submodule, for acquiring target features of different automobile services at each first moment and each second moment in the historical time period, when the different automobile services include a target automobile service;
[0141] Among them, the target automobile service is an automobile service for which the length of time required to obtain the target feature to achieve state feature prediction is greater than a set value, and each of the first moments and each of the second moments respectively include multiple continuous moments with the same interval, and the interval between two adjacent moments in each of the first moments is greater than the interval between two adjacent moments in each of the second moments.
[0142] Optionally, the first moment and the second moment satisfy at least one of the following:
[0143] The time period in which each of the first moments is located does not overlap with the time period in which each of the second moments is located;
[0144] The number of the first moments is smaller than the number of the second moments.
[0145] Optionally, the target features also include environmental features associated with the automobile service.
[0146] Optionally, the device further comprises:
[0147] The data processing module is used to display the required recommended setting operations to the user and / or to execute the required recommended setting operations.
[0148] It can be seen from the above technical scheme that the present application obtains the target characteristics of different automobile services in the historical time period to analyze the correlation between the user's demand for different automobile services and the timing factors, and obtains the cross-features between different automobile services at the same time to analyze the intrinsic connection between the user's demand for different automobile services. In this way, the real needs behind the user's automobile service operations can be accurately understood, and automobile service setting operations that meet their actual needs can be recommended to the user, thereby eliminating the tedious operation of manually selecting the automobile service they want to operate and setting its status, which can improve the user experience and enhance the intelligence level of the car.
[0149] It should be noted that the device embodiment is similar to the method embodiment, so the description is relatively simple, and the relevant parts can be referred to the method embodiment.
[0150] The present application also provides an electronic device, referring to Figure 4 , Figure 4 Schematic diagram of an electronic device proposed in an embodiment of the present application. Figure 4 As shown, the electronic device 100 includes: a memory 110 and a processor 120. The memory 110 and the processor 120 are connected via a bus communication. A computer program is stored in the memory 110. The computer program can be run on the processor 120 to implement the steps in the car service recommendation disclosed in the embodiment of the present application.
[0151] The present application also provides a computer-readable storage medium. Figure 5 , Figure 5 Schematic diagram of a computer-readable storage medium proposed in an embodiment of the present application. Figure 5As shown, a computer program / instruction 210 is stored on the computer-readable storage medium 200. When the computer program / instruction 210 is executed by the processor, the steps in the automobile service recommendation method disclosed in the embodiment of the present application are implemented.
[0152] The embodiment of the present application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps in the automobile service recommendation method disclosed in the embodiment of the present application.
[0153] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0154] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0155] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, systems, devices, storage media, and program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0156] The above is a detailed introduction to the automobile service recommendation method, device, equipment and product provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for recommending automobile services, characterized in that: The method comprises: Acquire target features of different automobile services in a historical time period, wherein the target features at least include state features of the automobile service itself; In the historical time period, feature crossover is performed on target features of different automobile services at the same time to obtain crossover features corresponding to different times in the historical time period, wherein the crossover features are used to characterize the correlation relationship between target features of different automobile services at the same time; Predicting the state characteristics of the different automobile services themselves in a future time period according to the target characteristics of the different automobile services in the historical time period and the cross-characteristics corresponding to different moments in the historical time period; According to the predicted state characteristics, the required recommended setting operations are determined, and the setting operations are used to adjust the states of the different automobile services.
2. The method according to claim 1, characterized in that According to the target features of different automobile services in the historical time period and the cross-features corresponding to different moments in the historical time period, the state features of the different automobile services themselves in the future time period are predicted, including: Based on the attention mechanism, according to the target features of different automobile services in the historical time period, determine the information of the target features of the different automobile services at different times changing with time sequence; According to the information of the target features of the different automobile services at different times changing with time series and the cross features corresponding to different times in the historical time period, the state features of the different automobile services themselves in the future time period are predicted.
3. The method according to claim 2, characterized in that The state characteristics of the different automobile services themselves in the future time period are predicted by a pre-trained neural network based on the target characteristics of the different automobile services in the historical time period. The neural network is a feature cross-self-attention network that does not use an embedding layer to process input data.
4. The method according to claim 3, characterized in that The neural network comprises: An input layer, for receiving target features of different automobile services in the historical time period; The feature cross-layer is used to perform feature cross-talk on target features of different automobile services at the same time to obtain cross-talk features corresponding to different times in the historical time period; A fully connected layer, used to adjust the dimensions of cross-features corresponding to different moments in the historical time period so as to align the input and output of the neural network; A self-attention encoder layer is used to determine information about the time series changes of the target features of the different automobile services at different times according to the target features of the different automobile services in the historical time period, and to predict the state features of the different automobile services themselves in the future time period in an autoregressive manner by combining the cross features corresponding to the different times in the historical time period; The output layer is used to output the predicted state characteristics of the different automobile services themselves in the future time period.
5. The method according to claim 1, characterized in that The state characteristics of the different automobile services themselves are predicted by a pre-trained neural network based on the target characteristics of the different automobile services in the historical time period; The loss function value of the neural network is obtained by the following steps: Obtaining pre-set weight values for the different automobile services, wherein the automobile service with more frequent state changes has a larger weight value set; According to the preset weight values, the prediction error values corresponding to the different automobile services are adjusted to obtain the loss function value of the neural network.
6. The method according to claim 1, characterized in that Get the target features of different car services in the historical time period, including: In a case where the different automobile services include a target automobile service, obtaining target features of the different automobile services at each first moment and each second moment in the historical time period; Among them, the target automobile service is an automobile service for which the length of time required to obtain the target feature to achieve state feature prediction is greater than a set value, and each of the first moments and each of the second moments respectively include multiple continuous moments with the same interval, and the interval between two adjacent moments in each of the first moments is greater than the interval between two adjacent moments in each of the second moments.
7. The method according to claim 6, characterized in that The first moment and the second moment satisfy at least one of the following: The time period in which each of the first moments is located does not overlap with the time period in which each of the second moments is located; The number of the first moments is smaller than the number of the second moments.
8. The method according to any one of claims 1 to 7, characterized in that: The target features also include environmental features associated with the automobile service.
9. The method according to any one of claims 1 to 7, characterized in that: After determining the recommended setting operation to be performed according to the predicted state characteristics, the method further includes: The required recommended setting operation is displayed to the user, and / or the required recommended setting operation is performed.
10. An automobile service recommendation device, characterized in that: The device comprises: A feature acquisition module, used to acquire target features of different automobile services in a historical time period, wherein the target features at least include state features of the automobile service itself; A feature crossover module is used to perform feature crossover on target features of different automobile services at the same time in the historical time period to obtain crossover features corresponding to different times in the historical time period, wherein the crossover features are used to characterize the correlation between target features of different automobile services at the same time; A state prediction module, used to predict the state characteristics of the different automobile services themselves in a future time period according to the target characteristics of the different automobile services in the historical time period and the cross-characteristics corresponding to different moments in the historical time period; The service recommendation module is used to determine the setting operation required to be recommended according to the predicted state characteristics, and the setting operation is used to adjust the state of the different automobile services.
11. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the automobile service recommendation method according to any one of claims 1 to 9.
12. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the automobile service recommendation method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Vehicle-mounted service recommendation method and system and vehicle with vehicle-mounted service recommendation system
CN112597387A
Vehicle-mounted air conditioner control method and device and readable storage medium
CN116373536A
Cascade-based classification of network devices using multi-scale bags of network words
US20200127892A1
