CN115967580B - Vehicle service message pushing method, device, computer equipment and storage medium - Google Patents
Vehicle service message pushing method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN115967580B CN115967580B CN202310016654.2A CN202310016654A CN115967580B CN 115967580 B CN115967580 B CN 115967580B CN 202310016654 A CN202310016654 A CN 202310016654A CN 115967580 B CN115967580 B CN 115967580B
- Authority
- CN
- China
- Prior art keywords
- user
- vehicle service
- target user
- vehicle
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000004590 computer program Methods 0.000 claims abstract description 41
- 238000013507 mapping Methods 0.000 claims description 21
- 238000012549 training Methods 0.000 claims description 18
- 230000008569 process Effects 0.000 abstract description 5
- 238000004891 communication Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 7
- 238000013500 data storage Methods 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 4
- 230000006399 behavior Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000012935 Averaging Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000010438 heat treatment Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011478 gradient descent method Methods 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The present application relates to a vehicle service message pushing method, apparatus, computer device, storage medium and computer program product. The method comprises the following steps: acquiring historical data and current data of a target user when driving a vehicle; constructing a user portrait of the target user according to the historical data, and updating the user portrait according to a preset period based on federal learning; acquiring a current user portrait, determining the user type of a target user according to current data and the current user portrait, and generating a vehicle service message according to the user type; and pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user. The whole vehicle service message pushing process prevents user data from being transmitted outside the vehicle, and simultaneously pushes the vehicle service message to the user at a proper time.
Description
Technical Field
The present application relates to the field of automotive technology, and in particular, to a vehicle service message pushing method, apparatus, computer device, storage medium, and computer program product.
Background
With the continuous development of intelligent internet-connected automobiles, automobiles become an important channel for people to acquire information. In order to facilitate users to obtain effective information and provide personalized services for users, more and more vehicle enterprises begin to accurately identify users by constructing user portraits, and push vehicle service messages for users according to user preferences or demands.
The traditional vehicle service message pushing method uploads the user privacy data and the vehicle key data to the cloud server outside the vehicle, and modeling analysis of the user portrait is realized by means of strong calculation power of the cloud server, so that personalized vehicle service messages are pushed to the user. However, the vehicle service message pushing method is very easy to cause the problems of disclosure of user privacy, malicious modification of information and the like, and has the defect that user privacy data cannot be effectively protected.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a vehicle service message pushing method, apparatus, computer device, computer readable storage medium, and computer program product that can effectively protect user privacy data.
In a first aspect, the present application provides a vehicle service message pushing method, the method comprising:
acquiring historical data and current data of a target user when driving a vehicle;
constructing a user portrait of the target user according to the historical data, and updating the user portrait according to a preset period based on federal learning;
acquiring a current user portrait, determining the user type of a target user according to current data and the current user portrait, and generating a vehicle service message according to the user type;
And pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user.
In one embodiment, the target users are multiple, and the user portraits are updated according to a preset period based on federal learning, including:
Acquiring user portrait model parameters of each target user, and uploading the user portrait model parameters of each target user to a cloud server according to a preset period;
And receiving the updating parameters returned by the cloud server according to a preset period, and updating the user portraits of all target users according to the updating parameters.
In one embodiment, determining the user type of the target user based on the current data and the current user profile includes:
Acquiring a user portrait tag of a target user according to the current data and the current user portrait;
and determining the user type of the target user according to the user portrait tag.
In one embodiment, generating a vehicle service message according to a user type includes:
Acquiring a vehicle service policy of a target user, wherein the vehicle service policy comprises a mapping relation between a user type and vehicle service;
and generating a vehicle service message according to the mapping relation between the user type and the vehicle service.
In one embodiment, pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user includes:
acquiring the current running situation of the vehicle driven by the target user according to the current data;
under the condition that the current driving situation is not a safety situation, suspending pushing the vehicle service message;
And pushing the vehicle service message to the target user under the condition that the current driving situation is a safety situation.
In one embodiment, after pushing the vehicle service message to the target user, the method further comprises:
obtaining a feedback result of a target user on the vehicle service message;
And under the condition that the target user receives the vehicle service, providing the corresponding vehicle service for the target user according to the feedback result of the target user on the vehicle service message.
In a second aspect, the present application also provides a vehicle service message pushing device, which includes:
The data acquisition module is used for acquiring historical data and current data when a target user drives the vehicle;
The model training module is used for constructing a user portrait of the target user according to the historical data, and updating the user portrait according to a preset period based on federal learning;
The message generation module is used for acquiring the current user portrait, determining the user type of the target user according to the current data and the current user portrait, and generating a vehicle service message according to the user type;
and the message pushing module is used for pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
acquiring historical data and current data of a target user when driving a vehicle;
constructing a user portrait of the target user according to the historical data, and updating the user portrait according to a preset period based on federal learning;
acquiring a current user portrait, determining the user type of a target user according to current data and the current user portrait, and generating a vehicle service message according to the user type;
And pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
acquiring historical data and current data of a target user when driving a vehicle;
constructing a user portrait of the target user according to the historical data, and updating the user portrait according to a preset period based on federal learning;
acquiring a current user portrait, determining the user type of a target user according to current data and the current user portrait, and generating a vehicle service message according to the user type;
And pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
acquiring historical data and current data of a target user when driving a vehicle;
constructing a user portrait of the target user according to the historical data, and updating the user portrait according to a preset period based on federal learning;
acquiring a current user portrait, determining the user type of a target user according to current data and the current user portrait, and generating a vehicle service message according to the user type;
And pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user.
The vehicle service message pushing method, the device, the computer equipment, the storage medium and the computer program product acquire historical data and current data when a target user drives a vehicle; constructing a user portrait of the target user according to the historical data, and updating the user portrait according to a preset period based on federal learning; acquiring a current user portrait, determining the user type of a target user according to current data and the current user portrait, and generating a vehicle service message according to the user type; and pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user. The whole vehicle service message pushing process prevents user data from being transmitted to the outside of the vehicle by constructing a user portrait at the vehicle-mounted terminal of a target user and updating the user portrait based on federal learning, and pushes the vehicle service message to the user at a proper time by judging the current situation of the vehicle, thereby realizing vehicle service message pushing capable of effectively protecting user privacy data.
Drawings
FIG. 1 is an application environment diagram of a vehicle service message push method in one embodiment;
FIG. 2 is a flow diagram of a vehicle service message push method in one embodiment;
FIG. 3 is a schematic diagram of another embodiment for implementing vehicle service message pushing based on vehicle cloud integration;
FIG. 4 is a schematic diagram of a vehicle service message push implementation based on vehicle cloud integration in one embodiment;
FIG. 5 is an internal structural view of a vehicle terminal in one embodiment;
FIG. 6 is a flowchart of a vehicle service message pushing method according to another embodiment;
FIG. 7 is a flowchart of a vehicle service message pushing method according to another embodiment;
FIG. 8 is a block diagram of a vehicle service message pushing device in one embodiment;
fig. 9 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The vehicle service message pushing method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. The vehicle-mounted terminal 102 communicates with the cloud server 104 through a network, so that vehicle service message pushing capable of effectively protecting user privacy data is realized. The data storage system may store data that the cloud server 104 needs to process. The cloud server 104 may be implemented as a stand-alone server or as a server cluster composed of a plurality of servers. The vehicle-mounted terminal 102 acquires historical data and current data when a target user drives a vehicle; constructing a user portrait of the target user according to the historical data, communicating with the cloud server 104 based on federal learning, and updating the user portrait according to a preset period; acquiring a current user portrait, determining the user type of a target user according to current data and the current user portrait, and generating a vehicle service message according to the user type; and pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user.
In one embodiment, as shown in fig. 2, a vehicle service message pushing method is provided, and the method is applied to the vehicle-mounted terminal 102 in fig. 1 for illustration, and includes the following steps:
s202: historical data and current data of a target user when driving a vehicle are obtained.
Wherein, the historical data refers to data collected and detected when a target user drives a vehicle before the current moment; the current data refers to data collected and detected by the target user while driving the vehicle at the current time. Both the history data and the current data include user data of the target user, and vehicle data when the target user drives the vehicle.
Alternatively, the vehicle may refer to a commercial vehicle, and the user of each commercial vehicle may be plural, and the target user refers to all users of all commercial vehicles. The vehicle-mounted terminal 102 is internally provided with a data acquisition module and an SOA service interface module. Acquiring data such as attribute, behavior habit and the like of a target user through a data acquisition module; meanwhile, the SOA service interface module acquires key data used for judging the current working condition scene and the running state of the vehicle in the intelligent cabin unit and the intelligent driving unit through interaction of the CAN bus and the Ethernet protocol in the vehicle.
Specifically, the data acquisition module further comprises a historical data storage sub-module and a real-time data acquisition sub-module, wherein the historical data storage sub-module is used for storing historical data, and the real-time data acquisition sub-module is used for storing current data.
S204: and constructing a user portrait of the target user according to the historical data, and updating the user portrait according to a preset period based on federal learning.
The construction of the user portrait of the target user means that a labeled user model is built locally on the target user according to historical data; updating the user portraits according to a preset period based on federation learning refers to uploading user portrait model parameters of a plurality of target users to a cloud server based on a federation learning framework, and receiving a return result of the cloud server according to the preset period to update the user portraits.
Federal learning is a distributed machine learning framework, which can realize data sharing and common modeling on the basis of ensuring the security of private data of users. The method has the core concept that when a plurality of data sources participate in model training together, model joint training is carried out only through interaction model intermediate parameters on the premise that original data circulation is not needed, and original data can not be output locally. This approach achieves a balance of data privacy protection and data sharing analysis, i.e., a data application mode of "data available invisible".
Optionally, a model training module and a policy updating module are built in the vehicle-mounted terminal 102, the model training module is used for constructing a user portrait of the target user according to the historical data in the historical data storage sub-module, and model parameters of the user portrait are input to the policy updating module; the policy updating module is communicated with the cloud server by calling the SOA service interface module, the user portrait model parameters input by the model training module are uploaded to the cloud server for updating, the returned updating parameters are received according to a preset period, and the returned updating parameters are returned to the model training module again for new model training.
S206: and acquiring the current user portrait, determining the user type of the target user according to the current data and the current user portrait, and generating a vehicle service message according to the user type.
Wherein, the current user portrait refers to the user portrait acquired after the latest update based on federation learning; the user type of the target user refers to a type obtained after classifying the target user according to the current data.
Optionally, a policy matching module and a vehicle service policy database are built in the vehicle-mounted terminal 102. And the strategy updating module receives the vehicle service strategy returned by the cloud server according to a preset period and stores the vehicle service strategy into the vehicle service strategy database. The policy matching module matches the user type of the target user in the vehicle service policy database, and generates a vehicle service message pushed to the target user according to the user type of the target user.
S208: and pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user.
The current situation of the vehicle refers to the current state of the vehicle driven by the target user, and the current situation comprises a safe situation and an unsafe situation.
Optionally, the vehicle-mounted terminal 102 determines, through the push service module, a current situation of the vehicle driven by the target user, and pushes the vehicle service message to the target user only if the current situation of the vehicle driven by the target user is a safe situation.
According to the vehicle service message pushing method, historical data and current data of a target user when driving a vehicle are obtained; constructing a user portrait of the target user according to the historical data, and updating the user portrait according to a preset period based on federal learning; acquiring a current user portrait, determining the user type of a target user according to current data and the current user portrait, and generating a vehicle service message according to the user type; and pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user. The whole vehicle service message pushing process prevents user data from being transmitted to the outside of the vehicle by constructing a user portrait at the vehicle-mounted terminal of a target user and updating the user portrait based on federal learning, and pushes the vehicle service message to the user at a proper time by judging the current situation of the vehicle, thereby realizing vehicle service message pushing capable of effectively protecting user privacy data.
In one embodiment, the target users are a plurality of, and the user portraits are updated according to a preset period based on federal learning, including:
Acquiring user portrait model parameters of each target user, and uploading the user portrait model parameters of each target user to a cloud server according to a preset period;
And receiving the updating parameters returned by the cloud server according to a preset period, and updating the user portraits of all target users according to the updating parameters.
The user portrait model parameters can be the weight of each user label in the user portrait, and can also be the model gradient of the user portrait.
Alternatively, the present embodiment may update the user representation model parameters using a federal averaging Algorithm (FEDERATED AVERAGING Algorithm, fedAvg). Referring to fig. 3, the specific flow of updating the user image model parameters based on the federal average algorithm in this embodiment is as follows: and each vehicle terminal locally calculates the gradient according to the initial model parameters, then locally performs gradient descent and updates the model parameters, the updated parameters are sent to the cloud server, the cloud server obtains an average or weighted average of all the received model parameters after receiving the model parameters returned by each user terminal, and the obtained average value is returned to each vehicle terminal as a new model parameter, so that the next iteration is started.
In the embodiment, the user portrait model parameters are uploaded to the cloud server, so that data sharing of a plurality of target users is realized, the training effect of the model is ensured, and meanwhile, the user data is not required to be uploaded to the cloud server for analysis, so that the privacy of the users is effectively protected.
In one embodiment, determining the user type of the target user based on the current data and the current user profile includes:
Acquiring a user portrait tag of a target user according to the current data and the current user portrait;
and determining the user type of the target user according to the user portrait tag.
The user representation is a tagged user model that is abstracted from feature data collected when the user drives the vehicle. These feature data include user data of the target user and vehicle data when the target user drives the vehicle. The user data includes user attribute data and user behavior data, where the user attribute data is personal information of the user, for example: sex, age, drive age, etc.; the user behavior data is the behavior habit of the user when driving the vehicle. The vehicle data of the target user when driving the vehicle refers to key data for judging the running situation and the current working condition scene of the vehicle, and the key data CAN be acquired by communication between the vehicle and an electronic control unit in the vehicle through CAN bus and Ethernet protocol interaction.
After the feature data acquired when the user drives the vehicle are acquired, the feature data are labeled to obtain a set of labels with different dimensions, and the user is classified by the user portrait labels, so that the user type of the target user is determined.
In the embodiment, the user data and the vehicle data when the user drives the vehicle are used as the user feature data, the user feature data is labeled to obtain the set of labels with different dimensions, the user is classified through the user portrait label, so that the user type of the target user is determined, personalized vehicle service information is pushed for the user aiming at the user type of the target user, and effective and accurate vehicle service information pushing is realized.
In one embodiment, generating a vehicle service message according to a user type includes:
Acquiring a vehicle service policy of a target user, wherein the vehicle service policy comprises a mapping relation between a user type and vehicle service;
and generating a vehicle service message according to the mapping relation between the user type and the vehicle service.
Alternatively, the vehicle service policy may be a vehicle service mapping list generated according to a mapping relationship between a user type and a vehicle service. The vehicle service strategies are updated by the cloud server according to a preset period, updated results are returned to the vehicle terminals, and the vehicle terminals store the received vehicle service strategies into a vehicle service strategy database. The different user types can correspond to one or more vehicle services, and the vehicle terminal generates a vehicle service message pushed to the target user according to the latest vehicle service strategy, wherein the vehicle service message comprises one or more vehicle services available for the target user to select.
In this embodiment, an appropriate vehicle service message is generated according to the mapping relationship between the user type and the vehicle service, and the target user can select a corresponding vehicle service according to the vehicle service message as required, and meanwhile, the vehicle service policy is updated by the cloud server according to a preset period, so that effective and accurate pushing of the vehicle service message is realized.
In one embodiment, pushing a vehicle service message to a target user based on a current situation of a vehicle driven by the target user includes:
acquiring the current running situation of the vehicle driven by the target user according to the current data;
under the condition that the current driving situation is not a safety situation, suspending pushing the vehicle service message;
And pushing the vehicle service message to the target user under the condition that the current driving situation is a safety situation.
Alternatively, the vehicle driving situation may be a safe situation or an unsafe situation, and after the vehicle service message is generated according to the mapping relationship between the user type and the vehicle service, the push service module does not directly push the vehicle service message to the user, but determines the current situation of the vehicle according to the current vehicle data, and pushes the vehicle service message to the target user only when the current situation of the vehicle is the safe situation.
Specifically, the service message may be pushed to the target user through the in-vehicle display screen or the target user's smart phone. Referring to fig. 4, in the case of pushing a vehicle service message to a target user through a smart phone of the target user, the pushing service module invokes the service interface module, and realizes communication with an enterprise internet of vehicles service platform through a communication unit built in the vehicle terminal, and the enterprise internet of vehicles service platform interacts with the smart phone of the target user to push the vehicle service message to the target user.
In this embodiment, in order to ensure the driving safety of the user, after the vehicle service message is generated, the vehicle service message is not pushed to the user immediately, but the current situation of the vehicle is obtained according to the current data, and the vehicle service message is pushed to the user only when the current situation of the vehicle is a safe situation. The vehicle service message may be displayed on a vehicle display screen or on a smart phone. Under the condition that the vehicle service message is pushed to the target user through the smart phone of the target user, the communication unit arranged in the vehicle terminal is communicated with the enterprise Internet of vehicles service platform, and meanwhile the enterprise Internet of vehicles service platform is interacted with the smart phone of the target user, so that the vehicle service message is pushed to the target user, the safety of the user is ensured, and the user experience is improved. Safe and effective pushing of the vehicle service message is realized.
In one embodiment, after pushing the vehicle service message to the target user, further comprising:
obtaining a feedback result of a target user on the vehicle service message;
And under the condition that the target user receives the vehicle service, providing the corresponding vehicle service for the target user according to the feedback result of the target user on the vehicle service message.
The feedback result of the target user on the vehicle service message comprises whether the user receives the vehicle service or not, and specifically which vehicle service is received under the condition that the user receives the vehicle service.
Optionally, in this embodiment, the vehicle Service is provided to each target user based on an SOA (Service-Oriented Architecture) architecture. The vehicle-mounted terminal of each target user provides vehicle service for the target user through the push service module and the SOA service interface module. The push service module acquires a feedback result of the target user on the vehicle service message, judges a module related to the vehicle service under the condition that the target user receives the vehicle service, and invokes the SOA service interface module to acquire corresponding vehicle service functions from the inside or the outside of the vehicle. For example, the intelligent cabin unit may be invoked to implement heating of seats in a vehicle, the intelligent driving unit may be invoked to turn on an automatic parking function of the vehicle, or the communication unit may be invoked to obtain third party ecological services, such as location services, music services, and the like. The pushing service module receives feedback results of service pushing from the user returned by the in-vehicle unit or the out-vehicle cloud server, and returns the feedback results to the strategy matching module, and the strategy matching module updates the vehicle service strategy in the vehicle service strategy database so as to optimize pushing service to the user.
In the embodiment, vehicle services are provided for each target user based on the SOA service architecture, and personalized vehicle services are provided for the target users through the push service module and the SOA service interface module, so that accurate and effective vehicle service message push is realized.
In order to describe the technical solution of the vehicle service message pushing method of the present application in detail, a specific example of applying the vehicle service message pushing method to a vehicle terminal will be described below, and the whole processing procedure will be described in detail with reference to fig. 5, which specifically includes the following steps:
1. The data acquisition module 501 acquires feature data of a user (including user data of a target user and vehicle data when the target user drives a vehicle), and stores the history feature data of the target user as history data into the history data storage sub-module; and storing the current characteristic data of the target user as current data to a real-time data acquisition sub-module.
2. The model training module 502 constructs a user portrait of the target user according to the historical data, inputs model parameters of the user portrait to the strategy updating module 503, the strategy updating module 503 communicates with the cloud server by calling the SOA service interface module, uploads the model parameters of the user portrait input by the model training module to the cloud server for updating based on the federal learning framework, receives the returned updated parameters according to a preset period, and returns the returned updated parameters to the model training module for new model training.
3. The policy updating module 503 receives the vehicle service policy returned by the cloud server according to a preset period, and stores the vehicle service policy into the vehicle service policy database 504.
4. The policy matching module 505 obtains the user portrait tag of the target user according to the current data and the current user portrait of the target user, and classifies the user through the user portrait tag, thereby determining the user type of the target user. The user type of the target user is matched in the vehicle service policy database 504, and a vehicle service message suitable for the current target user is generated according to the mapping relation between the user type and the vehicle service.
5. The push service module 506 determines a current situation of the vehicle driven by the target user, and pushes the vehicle service message generated by the policy matching module to the target user only if the current situation of the vehicle driven by the target user is a security situation. The vehicle service message pushing manner may be displayed on a vehicle-mounted display screen or may be displayed on a smart phone of the target user, where the communication unit 508 communicates with the enterprise internet of vehicles service platform while the enterprise internet of vehicles service platform interacts with the smart phone of the target user, so as to push the vehicle service message to the target user.
6. The push service module 506 obtains a feedback result of the target user on the vehicle service message, determines a module related to the vehicle service when the target user receives the vehicle service, and invokes the SOA service interface module 507 to obtain a corresponding vehicle service function from inside or outside the vehicle. The communication unit 508 can be used for acquiring third-party ecological services such as positioning services, music services and the like; the heating of the seats in the vehicle can be achieved by means of the intelligent cabin unit 509; the functions of automatic parking of the vehicle, etc. can also be started by the intelligent driving unit 510.
7. The push service module 506 receives the feedback result of the service push from the user returned by the in-vehicle unit or the out-vehicle cloud server, and returns the feedback result to the push service module 506 to optimize the push service to the user.
Referring to fig. 6, in this embodiment, the specific flow of updating the user portrait model parameters and generating the vehicle service policy through the cloud server is as follows: the method comprises the steps of collecting historical characteristic data of a target user, constructing a user portrait according to the historical characteristic data of the user, extracting user portrait model parameters after updating model parameters of the user portrait at a vehicle end based on a gradient descent method, uploading the user portrait model parameters to a cloud end, updating the user portrait model parameters by a cloud end server according to an aggregation model established by the cloud end, generating a vehicle service strategy, transmitting the user portrait model parameters back to a model training module at the vehicle end, and transmitting the vehicle service strategy back to a vehicle service strategy database.
Referring to fig. 7, in the case that the vehicle situation is a safety situation, a specific flow of pushing a vehicle service message for a target user and providing the vehicle service for the target user according to a feedback result of the target user on the vehicle service message is as follows: the method comprises the steps of collecting current characteristic data of a target user, determining a user type according to the current characteristic data of the user and a current portrait, determining vehicle service matched with the user type of the target user according to a vehicle service policy, generating a vehicle service message suitable for the current target user, and pushing the vehicle service message to the target user under the condition that the current situation is a safety situation. Under the condition that a user receives vehicle service, an SOA service interface module is called to provide corresponding vehicle service for the user; in the case where the user refuses the vehicle service, the vehicle service is not provided.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, as shown in fig. 8, the embodiment of the application further provides a vehicle service message pushing device for implementing the above-mentioned vehicle service message pushing method. The device comprises:
the data acquisition module 802 is configured to acquire historical data and current data when the target user drives the vehicle;
The model training module 804 is configured to construct a user portrait of the target user according to the historical data, and update the user portrait according to a preset period based on federal learning;
A message generating module 806, configured to obtain the current user portrait, determine a user type of the target user according to the current data and the current user portrait, and generate a vehicle service message according to the user type;
And the message pushing module 808 is configured to push a vehicle service message to the target user according to the current situation of the vehicle driven by the target user.
The vehicle service message pushing device acquires historical data and current data when a target user drives a vehicle; constructing a user portrait of the target user according to the historical data, and updating the user portrait according to a preset period based on federal learning; acquiring a current user portrait, determining the user type of a target user according to current data and the current user portrait, and generating a vehicle service message according to the user type; and pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user. The whole vehicle service message pushing process prevents user data from being transmitted to the outside of the vehicle by constructing a user portrait at the vehicle-mounted terminal of a target user and updating the user portrait based on federal learning, and pushes the vehicle service message to the user at a proper time by judging the current situation of the vehicle, thereby realizing vehicle service message pushing capable of effectively protecting user privacy data.
In one embodiment, the model training module 804 is further configured to obtain user portrait model parameters of each target user, and upload the user portrait model parameters of each target user to the cloud server according to a preset period; and receiving the updating parameters returned by the cloud server according to a preset period, and updating the user portraits of all target users according to the updating parameters.
In one embodiment, the model training module 804 is further configured to obtain a user portrait tag of the target user according to the current data and the current user portrait; and determining the user type of the target user according to the user portrait tag.
In one embodiment, the message generating module 806 is further configured to obtain a vehicle service policy of the target user, where the vehicle service policy includes a mapping relationship between a user type and a vehicle service; and generating a vehicle service message according to the mapping relation between the user type and the vehicle service.
In one embodiment, the message pushing module 808 is further configured to obtain, according to the current data, a current driving situation of the vehicle driven by the target user; under the condition that the current driving situation is not a safety situation, suspending pushing the vehicle service message; and pushing the vehicle service message to the target user under the condition that the current driving situation is a safety situation.
In one embodiment, the message pushing module 808 is further configured to obtain a feedback result of the vehicle service message from the target user; and under the condition that the target user receives the vehicle service, providing the corresponding vehicle service for the target user according to the feedback result of the target user on the vehicle service message.
The various modules in the vehicle service message pushing device described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 9. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program when executed by a processor implements a vehicle service message pushing method. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, and can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment.
It will be appreciated by persons skilled in the art that the architecture shown in fig. 9 is merely a block diagram of some of the architecture relevant to the present inventive arrangements and is not limiting as to the computer device to which the present inventive arrangements are applicable, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
acquiring historical data and current data of a target user when driving a vehicle;
constructing a user portrait of the target user according to the historical data, and updating the user portrait according to a preset period based on federal learning;
acquiring a current user portrait, determining the user type of a target user according to current data and the current user portrait, and generating a vehicle service message according to the user type;
And pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring user portrait model parameters of each target user, and uploading the user portrait model parameters of each target user to a cloud server according to a preset period; and receiving the updating parameters returned by the cloud server according to a preset period, and updating the user portraits of all target users according to the updating parameters.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring a user portrait tag of a target user according to the current data and the current user portrait; and determining the user type of the target user according to the user portrait tag.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring a vehicle service policy of a target user, wherein the vehicle service policy comprises a mapping relation between a user type and vehicle service; and generating a vehicle service message according to the mapping relation between the user type and the vehicle service.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring the current running situation of the vehicle driven by the target user according to the current data; under the condition that the current driving situation is not a safety situation, suspending pushing the vehicle service message; and pushing the vehicle service message to the target user under the condition that the current driving situation is a safety situation.
In one embodiment, the processor when executing the computer program further performs the steps of: obtaining a feedback result of a target user on the vehicle service message; and under the condition that the target user receives the vehicle service, providing the corresponding vehicle service for the target user according to the feedback result of the target user on the vehicle service message.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring historical data and current data of a target user when driving a vehicle;
constructing a user portrait of the target user according to the historical data, and updating the user portrait according to a preset period based on federal learning;
acquiring a current user portrait, determining the user type of a target user according to current data and the current user portrait, and generating a vehicle service message according to the user type;
And pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring user portrait model parameters of each target user, and uploading the user portrait model parameters of each target user to a cloud server according to a preset period; and receiving the updating parameters returned by the cloud server according to a preset period, and updating the user portraits of all target users according to the updating parameters.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a user portrait tag of a target user according to the current data and the current user portrait; and determining the user type of the target user according to the user portrait tag.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a vehicle service policy of a target user, wherein the vehicle service policy comprises a mapping relation between a user type and vehicle service; and generating a vehicle service message according to the mapping relation between the user type and the vehicle service.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the current running situation of the vehicle driven by the target user according to the current data; under the condition that the current driving situation is not a safety situation, suspending pushing the vehicle service message; and pushing the vehicle service message to the target user under the condition that the current driving situation is a safety situation.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining a feedback result of a target user on the vehicle service message; and under the condition that the target user receives the vehicle service, providing the corresponding vehicle service for the target user according to the feedback result of the target user on the vehicle service message.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
acquiring historical data and current data of a target user when driving a vehicle;
constructing a user portrait of the target user according to the historical data, and updating the user portrait according to a preset period based on federal learning;
acquiring a current user portrait, determining the user type of a target user according to current data and the current user portrait, and generating a vehicle service message according to the user type;
And pushing the vehicle service message to the target user according to the current situation of the vehicle driven by the target user.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring user portrait model parameters of each target user, and uploading the user portrait model parameters of each target user to a cloud server according to a preset period; and receiving the updating parameters returned by the cloud server according to a preset period, and updating the user portraits of all target users according to the updating parameters.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a user portrait tag of a target user according to the current data and the current user portrait; and determining the user type of the target user according to the user portrait tag.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a vehicle service policy of a target user, wherein the vehicle service policy comprises a mapping relation between a user type and vehicle service; and generating a vehicle service message according to the mapping relation between the user type and the vehicle service.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the current running situation of the vehicle driven by the target user according to the current data; under the condition that the current driving situation is not a safety situation, suspending pushing the vehicle service message; and pushing the vehicle service message to the target user under the condition that the current driving situation is a safety situation.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining a feedback result of a target user on the vehicle service message; and under the condition that the target user receives the vehicle service, providing the corresponding vehicle service for the target user according to the feedback result of the target user on the vehicle service message.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magneto-resistive random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.
Claims (6)
1. A vehicle service message pushing method, the method comprising:
acquiring historical data and current data of a target user when driving a vehicle;
constructing a user portrait of the target user according to the historical data, wherein the target users are multiple;
Acquiring user portrait model parameters of each target user, and uploading the user portrait model parameters of each target user to a cloud server according to a preset period;
receiving updating parameters returned by the cloud server according to a preset period, and updating user figures of all target users according to the updating parameters;
Acquiring a current user portrait, and acquiring a user portrait tag of the target user according to the current data and the current user portrait;
determining the user type of the target user according to the user portrait tag;
Acquiring a vehicle service policy of the target user, wherein the vehicle service policy comprises a mapping relation between the user type and vehicle service;
Generating a vehicle service message according to the mapping relation between the user type and the vehicle service;
acquiring the current running situation of the vehicle driven by the target user according to the current data;
under the condition that the current running situation is not a safety situation, suspending pushing the vehicle service message;
And pushing the vehicle service message to the target user under the condition that the current running situation is a safety situation.
2. The method of claim 1, wherein after pushing the vehicle service message to the target user, further comprising:
acquiring a feedback result of the target user on the vehicle service message;
And under the condition that the target user receives the vehicle service, providing corresponding vehicle service for the target user according to a feedback result of the target user on the vehicle service message.
3. A vehicle service message pushing device, the device comprising:
The data acquisition module is used for acquiring historical data and current data when a target user drives the vehicle;
The model training module is used for constructing user portraits of the target users according to the historical data, wherein the target users are multiple; acquiring user portrait model parameters of each target user, and uploading the user portrait model parameters of each target user to a cloud server according to a preset period; receiving updating parameters returned by the cloud server according to a preset period, and updating user figures of all target users according to the updating parameters;
The message generation module is used for acquiring a current user portrait, and acquiring a user portrait tag of the target user according to the current data and the current user portrait; determining the user type of the target user according to the user portrait tag; acquiring a vehicle service policy of the target user, wherein the vehicle service policy comprises a mapping relation between the user type and vehicle service; generating a vehicle service message according to the mapping relation between the user type and the vehicle service;
The message pushing module is used for acquiring the current running situation of the vehicle driven by the target user according to the current data; under the condition that the current running situation is not a safety situation, suspending pushing the vehicle service message; and pushing the vehicle service message to the target user under the condition that the current running situation is a safety situation.
4. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 2 when the computer program is executed.
5. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 2.
6. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the method of any one of claims 1 to 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310016654.2A CN115967580B (en) | 2023-01-06 | 2023-01-06 | Vehicle service message pushing method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310016654.2A CN115967580B (en) | 2023-01-06 | 2023-01-06 | Vehicle service message pushing method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115967580A CN115967580A (en) | 2023-04-14 |
CN115967580B true CN115967580B (en) | 2024-06-04 |
Family
ID=87360050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310016654.2A Active CN115967580B (en) | 2023-01-06 | 2023-01-06 | Vehicle service message pushing method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115967580B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109948057A (en) * | 2019-03-21 | 2019-06-28 | 北京地平线机器人技术研发有限公司 | Content of interest method for pushing, device and electronic equipment and medium |
CN110300175A (en) * | 2019-07-02 | 2019-10-01 | 腾讯科技(深圳)有限公司 | Information push method, device, storage medium and server |
WO2022127339A1 (en) * | 2020-12-15 | 2022-06-23 | 深圳壹账通智能科技有限公司 | Website registration-based user portrait generating method and apparatus, device and medium |
CN115048583A (en) * | 2022-06-29 | 2022-09-13 | 中国平安财产保险股份有限公司 | Information pushing method, system, equipment and storage medium based on user portrait |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108875682A (en) * | 2018-06-29 | 2018-11-23 | 百度在线网络技术(北京)有限公司 | Information-pushing method and device |
-
2023
- 2023-01-06 CN CN202310016654.2A patent/CN115967580B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109948057A (en) * | 2019-03-21 | 2019-06-28 | 北京地平线机器人技术研发有限公司 | Content of interest method for pushing, device and electronic equipment and medium |
CN110300175A (en) * | 2019-07-02 | 2019-10-01 | 腾讯科技(深圳)有限公司 | Information push method, device, storage medium and server |
WO2022127339A1 (en) * | 2020-12-15 | 2022-06-23 | 深圳壹账通智能科技有限公司 | Website registration-based user portrait generating method and apparatus, device and medium |
CN115048583A (en) * | 2022-06-29 | 2022-09-13 | 中国平安财产保险股份有限公司 | Information pushing method, system, equipment and storage medium based on user portrait |
Also Published As
Publication number | Publication date |
---|---|
CN115967580A (en) | 2023-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110084377B (en) | Method and device for constructing decision tree | |
CN103875277B (en) | A kind of method and computer-readable recording medium for automatic upload multimedia object | |
CN104937590B (en) | With interested third party application content augment search results | |
CN109919316A (en) | The method, apparatus and equipment and storage medium of acquisition network representation study vector | |
CN111353092B (en) | Service pushing method, device, server and readable storage medium | |
CN113505882B (en) | Data processing method based on federal neural network model, related equipment and medium | |
CN111368789B (en) | Image recognition method, device, computer equipment and storage medium | |
CN106471543A (en) | The user mutual association of the multiple applications on client device | |
CN105488366A (en) | Data permission control method and system | |
WO2023000261A1 (en) | Regional traffic prediction method and device | |
CN116579460A (en) | Information prediction method, apparatus, computer device and storage medium | |
CN113806375A (en) | Data processing method and device and related equipment | |
CN115967580B (en) | Vehicle service message pushing method, device, computer equipment and storage medium | |
CN116800671A (en) | Data transmission method, apparatus, computer device, storage medium, and program product | |
CN117033766A (en) | Service processing behavior prediction method, device, computer equipment and storage medium | |
CN116681470A (en) | Store location method, store location device, computer equipment, storage medium and product | |
CN116861107A (en) | Business content display method, device, equipment, medium and product | |
CN116303657A (en) | Group image generation method, group image generation device, computer device, and storage medium | |
CN114677584A (en) | Water immersion identification method and system for power distribution station of double-attention power system | |
CN117454185B (en) | Federal model training method, federal model training device, federal model training computer device, and federal model training storage medium | |
CN116881575B (en) | Content pushing method, device, computer equipment and storage medium | |
CN116600020B (en) | Protocol generation method, terminal cloud collaborative recommendation method and device | |
CN111352927B (en) | Short domain name management method, device, server and readable storage medium | |
CN116628666A (en) | Interaction method, interaction device, computer equipment and storage medium | |
CN118447604A (en) | Vehicle starting method, device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |