Processing Method, Device, Equipment and Storage Medium for Virtual Character
通过分析用户历史行驶数据生成个性化虚拟任务,解决了车载娱乐系统中虚拟角色缺乏个性化的问题,提高了用户的互动性和使用感受。
Patent Information
- Application Number
- CN202210972962.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-15
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2042-08-15
AI Technical Summary
The lack of personalization of virtual characters in the existing in-vehicle entertainment system has led to poor user experience.
By analyzing user's historical driving data, determining driving behavior characteristics, generating personalized virtual tasks, and judging the virtual task execution results based on the driving data, and configuring the status parameters of the virtual character to improve interactivity and fun.
It improves the personalization of virtual tasks, enhances the interaction and usage experience between users and virtual characters, and ensures that users drive safely.
Smart Images

Figure CN115282603B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicles, and particularly to a method, apparatus, device and storage medium for processing virtual characters. Background Art
[0002] With the continuous development of virtual reality technology, users can interact with virtual characters in the in-vehicle entertainment system during driving, effectively improving the fun of driving a car.
[0003] Currently, the in-vehicle entertainment system obtains the driving data of the user, analyzes and processes the driving data, thereby generating a voice reminder, and plays the voice reminder to the user through a virtual character acting as a voice assistant. In addition, the in-vehicle entertainment system can also provide personalized services for users. For example, users can dress up the image and voice of the virtual character, etc., so as to meet the personal preferences of users.
[0004] However, in the prior art, the virtual characters of users using the same in-vehicle entertainment system are all the same, and the personalization of the virtual characters and the user experience are poor. Summary of the Invention
[0005] The present application provides a method, apparatus, device and storage medium for processing virtual characters to solve the problem that the virtual characters of users using the same in-vehicle entertainment system are all the same, and the personalization of the virtual characters and the user experience are poor in the prior art.
[0006] In a first aspect, an embodiment of the present application provides a method for processing a virtual character, including:
[0007] Determine the driving behavior characteristics of the user according to the historical driving data generated by the user driving the vehicle in a historical time period.
[0008] Generate a virtual task for the virtual character corresponding to the user according to the driving behavior characteristics.
[0009] Output a virtual task execution result according to the driving data generated when the user drives the vehicle and the virtual task, and the virtual task execution result is used to indicate whether the user has completed the virtual task.
[0010] In a possible design of the first aspect, the driving behavior characteristics include at least one of the following: braking sub-characteristics, acceleration sub-characteristics, and selection ability sub-characteristics, and the selection ability sub-characteristics are determined according to the average driving speed of the user on a target route, and the target route is determined by the user from multiple routes.
[0011] In another possible design of the first aspect, after outputting the virtual task execution result based on the driving data generated when the user drives the vehicle and the virtual task, the method further includes:
[0012] Configuring state parameters of the virtual character according to the driving data and the virtual task execution result, where the state parameters include at least one of the following: health value, physical strength value, experience value, and health status.
[0013] In yet another possible design of the first aspect, the method further includes:
[0014] Determining target heartbeat data for each road condition environment according to the road condition environment when the user drives the vehicle in the historical time period and the historical heartbeat data under each road condition environment.
[0015] When the heartbeat data of the user driving the vehicle is not equal to the target heartbeat data, outputting a reminder message and reducing the health value of the virtual character, where the reminder message is used to remind the user to pay attention to heart health in a timely manner.
[0016] In still another possible design of the first aspect, the method further includes:
[0017] Obtaining the driving route of the user driving the vehicle according to the positioning data of the vehicle.
[0018] If the driving route is a new driving route that the user has not driven before, displaying a corresponding virtual map according to the driving route.
[0019] Optionally, the virtual task includes at least one of the following: the number of brakes is less than a preset number, the acceleration is less than a preset acceleration, and the average driving speed on the target route is greater than a preset driving speed.
[0020] In a second aspect, an embodiment of the present application provides a processing device for a virtual character, including:
[0021] A determination module, configured to determine the driving behavior characteristics of the user according to the historical driving data generated when the user drives the vehicle in a historical time period.
[0022] A generation module, configured to generate a virtual task for the virtual character corresponding to the user according to the driving behavior characteristics.
[0023] The generation module is further configured to output a virtual task execution result according to the driving data generated when the user drives the vehicle and the virtual task, where the virtual task execution result is used to indicate whether the user has completed the virtual task.
[0024] In a possible design of the second aspect, the driving behavior characteristics include at least one of the following: braking sub-characteristics, acceleration sub-characteristics, and selection ability sub-characteristics. The selection ability sub-characteristics are determined according to the average driving speed of the user on the target route, and the target route is determined by the user from multiple routes.
[0025] In another possible design of the second aspect, after outputting the virtual task execution result according to the driving data generated when the user drives the vehicle and the virtual task, the device further includes:
[0026] A configuration module, configured to configure state parameters of the virtual character according to the driving data and the virtual task execution result. The state parameters include at least one of the following: health value, physical strength value, experience value, and health value.
[0027] In yet another possible design of the second aspect, the determining module is further configured to determine target heartbeat data for each road condition environment according to the road condition environment when the user drives the vehicle in the historical time period and the historical heartbeat data under each road condition environment.
[0028] The generating module is further configured to output a reminder message and reduce the health value of the virtual character when the heartbeat data of the user driving the vehicle is not equal to the target heartbeat data. The reminder message is used to remind the user to pay attention to heart health in a timely manner.
[0029] In still another possible design of the second aspect, the device further includes:
[0030] An acquisition module, configured to acquire the driving path of the user driving the vehicle according to the positioning data of the vehicle.
[0031] A display module, configured to display a corresponding virtual map according to the driving path if the driving path is a new driving path that the user has not driven.
[0032] Optionally, the virtual task includes at least one of the following: the number of brakes is less than a preset number, the acceleration is less than a preset acceleration, and the average driving speed on the target route is greater than a preset driving speed.
[0033] In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory, and computer program instructions stored on the memory and executable on the processor. When the processor executes the computer program instructions, it is used to implement the methods provided in the first aspect and various possible designs.
[0034] Fourthly, embodiments of the present application may provide a computer-readable storage medium storing computer-executable instructions, which are used to implement the methods provided by the first aspect and all possible designs when executed by a processor.
[0035] Fifthly, embodiments of the present application provide a computer program product including a computer program, which is used to implement the methods provided by the first aspect and all possible designs when executed by a processor.
[0036] The method, device, equipment and storage medium for processing virtual characters provided by embodiments of the present application. The electronic device determines the driving behavior characteristics of the user according to the historical driving data generated by the user driving a vehicle in a historical time period, generates virtual tasks for the virtual character corresponding to the user for the driving behavior characteristics, and finally outputs the execution result of the virtual task according to the driving data and the virtual task generated when the user drives the vehicle. In this technical solution, virtual tasks that conform to the driving behavior characteristics of the user are generated through the user's historical driving data, improving the personalization degree of the virtual tasks and ensuring the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present application and used together with the specification to explain the principles of the present application.
[0038] Figure 1 It is a schematic diagram of an application scenario of the method for processing virtual characters provided by embodiments of the present application;
[0039] Figure 2 It is a schematic flowchart of Embodiment 1 of the method for processing virtual characters provided by embodiments of the present application;
[0040] Figure 3 It is a schematic flowchart of Embodiment 2 of the method for processing virtual characters provided by embodiments of the present application;
[0041] Figure 4 It is a schematic flowchart of Embodiment 3 of the method for processing virtual characters provided by embodiments of the present application;
[0042] Figure 5 It is a schematic structural diagram of the device for processing virtual characters provided by embodiments of the present application;
[0043] Figure 6 It is a schematic structural diagram of the electronic device provided by embodiments of the present application.
[0044] Through the above-mentioned drawings, specific embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. Detailed Embodiments
[0045] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0046] Before introducing the embodiments of the present application, first, the application background of the embodiments of the present application will be explained:
[0047] With the continuous development of virtual reality technology, more and more virtual avatars that can interact with users have emerged, such as virtual characters in in-vehicle entertainment systems. In practical applications, the above-mentioned virtual characters can be displayed on the touch display screen of the in-vehicle terminal of the vehicle, and the user can interact with the virtual character through the touch display screen. Specifically, the user can click on the virtual character on the touch display screen, and the in-vehicle terminal responds to the user's click operation to control the virtual character to display different actions. In addition, the in-vehicle terminal can also obtain the user's driving data and perform analysis and processing based on the driving data, so as to generate a voice reminder, so that the virtual character acting as a voice assistant plays the voice reminder to the user to actively interact with the user.
[0048] However, in the prior art, the virtual characters of users using the same in-vehicle entertainment system only have differences in external images, such as the voices, clothing styles, and hair styles of the virtual characters, etc. However, in the data processing process, the personalized differences between users are not considered, and the processing results generated for the same operation of different users are the same, resulting in poor personalization of the virtual characters and the user experience.
[0049] Therefore, for a virtual character processing method, device, equipment and storage medium provided by this application, an electronic device can determine the driving behavior characteristics of a user according to the historical driving data generated by the user driving a vehicle in a historical time period, and thus generate a virtual task of the virtual character corresponding to the user personalized according to the driving behavior characteristics. That is to say, the virtual characters of users with different driving behavior characteristics are different. In this way, when the user drives the vehicle, the electronic device can judge whether the user has completed the virtual task of the virtual character according to the driving data of the vehicle, thereby improving the personalization degree of the virtual character and the interactivity between the virtual character and the user, and ensuring the user experience.
[0050] Exemplarily, the virtual character processing method provided by the embodiments of this application can be applied to Figure 1 an application scenario schematic diagram as shown. Figure 1 This is an application scenario schematic diagram of the virtual character processing method provided by the embodiments of this application, used to solve the above technical problems. As Figure 1 shown, this application scenario may include: a vehicle 101 and an electronic device 102 communicating with the vehicle 101. Among them, the vehicle 101 includes a touch display screen 1011, and the touch display screen 1011 is used to display the virtual character corresponding to the user and the virtual task of the virtual character. Optionally, the touch display screen 1011 may also display other content, such as a map, a virtual map where the virtual character is located, status parameters of the virtual character, etc.
[0051] In Figure 1 the application scenario schematic diagram shown, take the touch display screen 1011 displaying a map, a virtual character and two virtual tasks (Task 1 and Task 2) as an example for explanation. It can be understood that the display content other than the virtual character and virtual task on the touch display screen 1011, the number of virtual tasks and the number of virtual characters can be determined according to the actual needs of the user. Therefore, the embodiments of this application do not limit the display content other than the virtual character and virtual task on the touch display screen 1011, the number of virtual tasks and the number of virtual characters, which can be limited according to the actual situation and will not be elaborated here.
[0052] Optionally, the touch display screen 1011 is located in the middle area at the front end of the vehicle 101, so that the user can conveniently view the information in the touch display screen 1011 and can also conveniently operate the touch display screen 1011 to execute related functions. It should be understood that the touch display screen 1011 can also be deployed in other areas of the vehicle 101 according to the actual needs of the user, and the embodiments of this application do not specifically limit this.
[0053] In an embodiment of the present application, when the vehicle 101 is in an operating state, the vehicle 101 can transmit the generated driving data (i.e., the above-mentioned driving data) to the electronic device 102. After receiving the driving data of the vehicle 101, the electronic device 102 can determine the driving data whose data generation time is within a preset historical time period as historical driving data, determine the virtual tasks of the user's virtual character based on the historical driving data, and send the determined virtual tasks to the vehicle 101 for display on the touch display screen 1011 of the vehicle 101. Further, the electronic device 102 can also determine whether the virtual task is executed successfully based on the driving data of the vehicle 101, and send the generated virtual task execution result to the vehicle 101 for display on the touch display screen 1011 of the vehicle 101.
[0054] In an embodiment of the present application, it can be understood that the electronic device in the above Figure 1 shown application scenario can be a terminal device, such as a computer, a tablet computer, etc., or a server, such as a background processing platform, etc., or a vehicle with computing functions that generates driving data. In this embodiment, the execution subject of the processing method of the virtual character is explained as an electronic device. Regarding whether the electronic device is specifically a terminal device, a server, or a vehicle, it can be determined according to the actual situation, and the embodiments of the present application do not specifically limit this.
[0055] Next, the technical solution of the present application will be described in detail through specific embodiments.
[0056] It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0057] Figure 2 This is a schematic flowchart of the first embodiment of the processing method of the virtual character provided by the embodiment of the present application. As Figure 2 shown, the processing method of the virtual character may include the following steps:
[0058] S201. Determine the driving behavior characteristics of the user according to the historical driving data generated by the user driving the vehicle within the historical time period.
[0059] With the rapid development of technology, various sensors are usually installed in vehicles to collect real-time driving data of the vehicles and master the real-time operating status of the vehicles. Therefore, in the embodiments of the present application, the driving data of the vehicle can be collected by the sensors installed in the vehicle, and the driving data can include wheel speed, steering wheel steering angle, etc. Optionally, the vehicle can further process the data collected by each sensor to generate driving data. Exemplarily, the driving data can also include the driving speed and driving mileage of the vehicle, etc., where the above driving speed and driving mileage can be determined according to the wheel speed and wheel circumference.
[0060] It should be understood that historical driving data is driving data whose generation time is within a preset historical time period. For example, assuming the historical time period is from the 1st to the 30th of month X, then the driving data whose generation time is within the range from the 1st to the 30th of month X is historical driving data.
[0061] In a possible implementation manner, the driving behavior characteristics include at least one of the following: braking sub-characteristics, acceleration sub-characteristics, and selection ability sub-characteristics. The selection ability sub-characteristics are determined according to the average driving speed of the user on the target route, and the target route is determined by the user from multiple routes. Exemplarily, after the user sets the departure place and the destination through the navigation module of the vehicle, the navigation module will provide the user with multiple routes for the user to select the target route from the multiple routes and drive according to the target route. In the same vehicle usage scenario (for example, in the commuting scenario, the departure place and the destination of the user are the same on weekdays), the higher the average driving speed of the vehicle, the smoother the target route and the stronger the user's selection ability; on the contrary, the lower the average driving speed of the vehicle, the more congested the target route and the weaker the user's selection ability.
[0062] Optionally, the electronic device can determine the target route in response to the user's touch operation on the touch display screen, can also determine the target route according to the real-time position of the vehicle, and can also determine the target route according to the voice command input by the user. The way to determine the target route from multiple routes can be determined according to the actual situation, and the embodiments of the present application do not specifically limit this.
[0063] Exemplarily, the braking frequency and braking speed of the user during driving can be calculated based on the historical driving data to generate braking sub-characteristics, which can be used to characterize whether the user has an emergency braking problem. For example, if the number of braking times of the user within ten kilometers is less than 10, it means that the user does not have an emergency braking problem; if the number of braking times of the user within ten kilometers is greater than 10 and less than 20, it means that the user has a certain degree of emergency braking problem; if the number of braking times of the user within ten kilometers is greater than 20, it means that the user has a serious emergency braking problem.
[0064] Exemplarily, the maximum acceleration or average acceleration of the user during driving can also be calculated based on historical driving data, so as to generate an acceleration sub-feature, which is used to indicate whether the user has a problem of sudden acceleration; the average speed of the user during driving can also be calculated based on historical driving data, so as to generate a selection ability sub-feature used to characterize the strength of the user's selection ability.
[0065] Optionally, in a scenario where the electronic device is a terminal device or a server, after the vehicle generates driving data, the vehicle can send the driving data to the electronic device in real time, and can also send the driving data to the electronic device under certain triggering conditions, for example, triggered according to a preset frequency or a preset moment. The embodiments of the present application do not limit the manner of generating driving data or the triggering conditions for sending driving data to the electronic device, which can be determined according to actual situations.
[0066] S202. Generate a virtual task for the virtual character corresponding to the user according to the driving behavior feature.
[0067] In the embodiments of the present application, since the driving behavior features of different users are different, personalized virtual tasks for the virtual characters corresponding to the users can be generated according to the driving behavior features of the users. That is to say, the virtual tasks of users with different driving behavior features are different, which improves the personalization of the virtual characters.
[0068] Optionally, in some embodiments, the virtual task includes at least one of the following: the number of brakes is less than a preset number, the acceleration is less than a preset acceleration, and the average driving speed on the target route is greater than a preset driving speed.
[0069] The following will explain and illustrate this step through three specific examples.
[0070] Example 1. Assume that the driving behavior feature is a braking sub-feature. When the braking sub-feature indicates that the user has a problem of sudden braking, a virtual task 1 can be generated according to the braking sub-feature: the number of brakes of the vehicle within ten kilometers of driving is less than a preset number of brakes. Among them, the preset number of brakes can be determined according to the severity of the braking problem of the user characterized by the braking sub-feature. For example, if the severity is relatively high, the determined preset number of brakes is relatively large; if the severity is relatively low, the determined preset number of brakes is relatively small, so as to avoid the difficulty of the generated virtual task being too high and affecting the user's interest in the virtual task.
[0071] Example 2: Assume that the driving behavior feature is the acceleration sub - feature. When this acceleration sub - feature indicates that the user has a problem of rapid acceleration, virtual task 2 can be generated based on this acceleration sub - feature: the number of rapid accelerations of the vehicle within ten kilometers of driving is less than the preset number of rapid accelerations. The method for determining the preset number of rapid accelerations based on the acceleration sub - feature can refer to Example 1, which will not be elaborated here.
[0072] Example 3: Assume that the driving behavior feature is the selection ability sub - feature. When this selection ability sub - feature indicates that the user has a weak selection ability, virtual task 3 can be generated based on this selection ability sub - feature: the average driving speed on the target route is greater than the preset driving speed. The method for determining the preset driving speed based on the selection ability sub - feature can refer to Example 1, which will not be elaborated here.
[0073] S203: Output the virtual task execution result according to the driving data generated when the user drives the vehicle and the virtual task.
[0074] In a possible implementation, the driving data generated when the user drives the vehicle can be processed to obtain the virtual task - related parameters of the vehicle. Among them, the data generation time of the above - mentioned driving data is later than the historical time period, and the virtual task - related parameters can be at least one of the number of hard brakes, the number of rapid accelerations, and the average speed. Further, it is determined whether the above - mentioned virtual task - related parameters meet the virtual task, and a virtual task execution result indicating whether the user has completed the virtual task is generated.
[0075] Exemplarily, the virtual task execution result can be any one of execution failure, execution success, and in - execution.
[0076] Optionally, in the scenario where the electronic device is a terminal device or a server, the virtual task execution result can be output by the electronic device sending the virtual task execution result to the vehicle, so that the vehicle can display the virtual task execution result through the touch display screen.
[0077] Optionally, in the scenario where the electronic device is the vehicle, the virtual task execution result can be output by displaying the virtual task execution result on the touch display screen of the vehicle.
[0078] In the method for processing the virtual character provided in the embodiments of the present application, the electronic device determines the driving behavior feature of the user according to the historical driving data generated by the user driving the vehicle in the historical time period, generates a virtual task of the virtual character corresponding to the user for the driving behavior feature, and finally outputs the virtual task execution result according to the driving data generated when the user drives the vehicle and the virtual task. In this technical solution, a virtual task that conforms to the user's driving behavior feature is generated through the user's historical driving data, which improves the personalization degree of the virtual task and ensures the user's usage experience.
[0079] Optionally, in some embodiments, after outputting the virtual task execution result based on the driving data and the virtual task generated by the user driving the vehicle, the processing method of the virtual character may further include the following steps:
[0080] Configure the state parameters of the virtual character according to the driving data and the virtual task execution result, where the state parameters include at least one of the following: health value, physical strength value, experience value, and health condition value.
[0081] In a possible implementation manner, when the virtual task execution result indicates that the user has completed the virtual task, the current experience value of the virtual character can be adjusted according to the experience value corresponding to the virtual task result. Exemplarily, assume that the current experience value of the virtual character is Experience Value 1, and the experience value corresponding to the virtual task result is Experience Value 2. Then, adjust Experience Value 2 according to the above Experience Value 1, and the adjusted experience value is the sum of Experience Value 1 and Experience Value 2. Similarly, when the virtual task execution result indicates that the user has not completed the virtual task, the current experience value of the virtual character can be lowered.
[0082] In the above implementation manner, the physical strength value of the state parameters can also be adjusted according to the driving mileage in the driving data. For example, the physical strength value corresponding to the driving mileage in the driving data can be determined according to the mapping relationship between the mileage and the physical strength value. Then, the current physical strength value of the virtual character is adjusted according to the above physical strength value, and the difference obtained by subtracting the above physical strength value from the current physical strength value of the virtual character is determined as the adjusted physical strength value; when the number of braking times determined according to the driving data is greater than the preset number of braking times, the health condition value of the virtual character is lowered. When the health condition value is lower than the preset health condition value, the virtual character will have a problem of growth deformity, that is, the appearance of the virtual character will be distorted.
[0083] In the above embodiments, configuring the state parameters of the virtual character according to the driving data and the virtual task execution result enhances the interaction between the user and the virtual character and the user's interest in the virtual task, so as to achieve the purpose of helping the user drive safely through the virtual task, thereby ensuring the personal safety and property safety of the user.
[0084] Optionally, in some embodiments, the environmental parameters of the virtual character can also be configured according to the driving data. Exemplarily, the environmental parameter can be the stability of the virtual house built by the virtual character. For example, when the number of braking times determined according to the driving data is greater than the preset number of braking times, the stability of the virtual house can be reduced. When the stability is reduced to the preset stability, the virtual house will be damaged or collapsed.
[0085] Optionally, in some embodiments, virtual rewards may also be generated based on driving data and virtual task execution results. Exemplarily, the virtual rewards may include at least one of points, virtual gold coins, virtual equipment, and virtual pets.
[0086] Optionally, in some embodiments, the status parameters and virtual rewards of the virtual characters of other users may also be adjusted according to driving data and virtual task execution results. Exemplarily, the other users may be friends or family members of the user. Further, the status parameters and virtual rewards of the virtual character of the user may also be adjusted according to the driving data of the other user and the virtual task execution results of the other user.
[0087] Optionally, in some embodiments, the calories consumed by the user while driving the car may also be obtained, and the status parameters of the virtual character may be configured according to the calories. Optionally, the calories consumed by the user while driving the car may be determined according to the steering wheel rotation angle and the steering wheel turning force.
[0088] Optionally, in some embodiments, the blood pressure of the user while driving the vehicle may also be obtained, and the status parameters of the virtual character may be configured according to the blood pressure. Optionally, the blood pressure may be calculated according to the impact force of the blood on the blood vessels.
[0089] Optionally, Figure 3 is a schematic flowchart of the second embodiment of the method for processing virtual characters provided by the embodiments of the present application. As Figure 3 shown, based on any of the above embodiments, the method for processing virtual characters may further include the following steps:
[0090] S301. Determine the target heartbeat data for each road condition environment according to the road condition environment when the user drives the vehicle in the historical time period and the historical heartbeat data in each road condition environment.
[0091] In this embodiment, the heartbeat data of the user in different road condition environments is different. Therefore, the road condition environment when the user drives the vehicle in the historical time period and the historical heartbeat data of each road condition environment may be obtained to determine the target heartbeat data, which is used to represent the normal heartbeat data of the user in this road condition environment, so as to determine whether there is a problem with the user's health according to the target heartbeat data subsequently.
[0092] Optionally, the heartbeat data may be obtained by processing the face data of the user, and the present application does not limit the method for obtaining the heartbeat data.
[0093] Optionally, the heartbeat data may be the heartbeat frequency.
[0094] It should be understood that the historical heartbeat data refers to the heartbeat data whose generation time is within the historical time period.
[0095] Among them, the target heartbeat data can be a heartbeat frequency range, which can be determined according to the average value in the historical heartbeat data, the maximum value or the minimum value of the historical heartbeat data. The embodiments of the present application do not limit the specific manner of determining the target heartbeat data.
[0096] S302. When the heartbeat data of the user driving the vehicle is not equal to the target heartbeat data, output a reminder message and reduce the health value of the virtual character.
[0097] In the embodiments of the present application, when the heartbeat data is not the same as the target heartbeat data, it indicates that the user has a heartbeat problem. Therefore, a reminder message for reminding the user to pay attention to heart health in a timely manner can be output. At the same time, the health value of the virtual character can also be reduced according to the user's heartbeat data. Optionally, an energy replenishment reminder can also be displayed on the touch display screen of the vehicle, and the energy replenishment reminder is used to indicate that the virtual character lacks energy. Among them, when the energy value is lower than the preset energy value, the functions of the virtual character will be restricted. For example, restricting upgrades, restricting obtaining rewards, and being unable to generate virtual tasks, etc.
[0098] Among them, the output of the reminder message can be achieved by sending an email, a text message, a push message to the terminal device of the pre-associated user, or by displaying it on the touch display screen of the vehicle, etc.
[0099] Optionally, when the heartbeat data is different from the target heartbeat data, an online consultation service for user medical health monitoring and a daily living habit service can also be recommended to the user, and the online consultation service for user medical health monitoring and the daily living habit service are used to help the user solve the heartbeat problem.
[0100] Optionally, when the heartbeat data is the same as the target heartbeat data, the state parameters of the virtual character can be adjusted. For example, the health value and physical strength value of the virtual character are increased. When the health value reaches the maximum health value, the virtual character can also be controlled to accelerate the upgrade and corresponding virtual rewards can be obtained.
[0101] In the above embodiments, when the heartbeat data of the user is abnormal, a reminder message is output and the health value of the virtual character is reduced, which further enhances the interaction degree between the user and the virtual character, and timely reminds the user when the user has a heartbeat problem, effectively ensuring the user's physical health.
[0102] Optionally, Figure 4 This is a schematic flowchart of the third embodiment of the method for processing a virtual character provided by the embodiments of the present application. As Figure 4 shown, based on any of the above embodiments, the method for processing the virtual character may further include the following steps:
[0103] S401. According to the positioning data of the vehicle, obtain the driving path of the user driving the vehicle.
[0104] In a possible implementation, the positioning data of the vehicle can be obtained through the vehicle's Global Positioning System (GPS), and the positioning data can be sorted in the order of the data generation time from the earliest to the latest, and the driving route can be generated according to the sorted positioning data.
[0105] Optionally, in a scenario where the electronic device is a terminal device or a server, the vehicle can send the collected positioning data to the electronic device in real time, or send the collected positioning data to the electronic device according to a preset sending frequency. This application does not limit the way of sending the positioning data to the electronic device, and it can be determined according to the actual situation.
[0106] S402. If the driving route is a new driving route that the user has not driven in the historical time period, then display the corresponding virtual map according to the driving route.
[0107] Among them, the virtual map is the map of the virtual world where the virtual character is located, and different virtual maps correspond to different virtual copy tasks. For the virtual character, each time a virtual map is unlocked, the virtual copy task corresponding to the virtual map can be unlocked, so that by controlling the virtual character to complete the virtual copy task, virtual rewards can be obtained and the status parameters of the virtual character can be configured. Optionally, configuring the status parameters of the virtual character can be to increase the experience value, energy or experience value of the virtual character, etc.
[0108] In the above embodiment, when the driving route is a new driving route, a new virtual map corresponding to the driving route is displayed for the user, which further increases the interaction and interest between the virtual character and the user, as well as the interest of the virtual character.
[0109] Optionally, in some embodiments, multiple virtual characters can also be sorted according to the driving mileage of the vehicle. Among them, the multiple virtual characters are the virtual characters corresponding to multiple users. Exemplarily, they can be sorted in the order of the driving mileage corresponding to the virtual characters from more to less. Further, when the virtual character of this user ranks among the top preset number of positions, corresponding virtual rewards are generated.
[0110] Optionally, in some embodiments, the virtual character of the user can be displayed on the touch display screen of the vehicle, and the virtual characters of other users can also be displayed. At the same time, the touch display screen of the vehicle can display all virtual tasks or partial virtual tasks. The embodiments of this application do not specifically limit the number of virtual characters and the number of virtual tasks corresponding to the virtual characters, and can be determined according to the actual situation.
[0111] Optionally, in some embodiments, relevant models may also be grown and trained based on driving data. Among them, the relevant models may be user behavior models, user body models, user thinking models, etc., and the relevant models are used to determine the driving behavior characteristics of the user according to historical driving data.
[0112] Optionally, it is also possible to infer the probability and result of an event that has not occurred based on the driving data generated when the user drives the vehicle.
[0113] The following is an embodiment of the apparatus of the present application, which can be used to execute the method embodiment of the present application. For details not disclosed in the apparatus embodiment of the present application, please refer to the method embodiment of the present application.
[0114] Figure 5 It is a schematic structural diagram of a processing device for a virtual character provided by an embodiment of the present application. As Figure 5 shown, the processing device for the virtual character includes:
[0115] A determination module 501, configured to determine the driving behavior characteristics of the user according to the historical driving data generated by the user when driving the vehicle in a historical time period.
[0116] A generation module 502, configured to generate a virtual task for the virtual character corresponding to the user for the driving behavior characteristics.
[0117] The generation module 502 is further configured to output a virtual task execution result according to the driving data generated when the user drives the vehicle and the virtual task, and the virtual task execution result is used to indicate whether the user has completed the virtual task.
[0118] In a possible design of the embodiment of the present application, the driving behavior characteristics include at least one of the following: braking sub-characteristics, acceleration sub-characteristics, and selection ability sub-characteristics, and the selection ability sub-characteristics are determined according to the average driving speed of the user on the target route, and the target route is determined by the user from multiple routes.
[0119] In another possible design of the embodiment of the present application, after outputting the virtual task execution result according to the driving data generated by the user driving the vehicle and the virtual task, the apparatus further includes:
[0120] A configuration module, configured to configure the state parameters of the virtual character according to the driving data and the virtual task execution result, and the state parameters include at least one of the following: health value, physical strength value, experience value, and health value.
[0121] In still another possible design of the embodiment of the present application, the determination module 501 is further configured to determine the target heartbeat data of the user according to the historical heartbeat data of the user when driving the vehicle in a historical time period.
[0122] The generation module 502 is further configured to output a reminder message and reduce the health value of the virtual character when the heartbeat data of the user driving the vehicle is not equal to the target heartbeat data, and the reminder message is used to remind the user to pay attention to heart health in a timely manner.
[0123] In another possible design of the embodiment of the present application, the device further includes:
[0124] An acquisition module, configured to acquire the driving path of the user driving the vehicle according to the positioning data of the vehicle.
[0125] A display module, configured to display a corresponding virtual map according to the driving path if the driving path is a new driving path that the user has not driven in a historical time period.
[0126] Optionally, the virtual task includes at least one of the following:
[0127] The number of brakes is less than a preset number, the acceleration is less than a preset acceleration, and the average driving speed on the target route is greater than a preset driving speed.
[0128] The processing device of the virtual character provided by the embodiment of the present application can be used to execute the method for processing the virtual character in any of the above embodiments, and its implementation principle and technical effects are similar, which will not be elaborated here.
[0129] It should be noted that it should be understood that the division of each module of the above device is only a logical function division. In actual implementation, it can be fully or partially integrated into a physical entity, or physically separated. And these modules can all be implemented in the form of software called by a processing element; they can also all be implemented in the form of hardware; or some modules can be implemented in the form of software called by a processing element, and some modules can be implemented in the form of hardware. In addition, all or part of these modules can be integrated together or independently implemented. Here, the processing element can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed by the integrated logic circuit in the processor element or the instruction in the form of software.
[0130] Figure 6 This is a schematic structural diagram of the electronic device provided by the embodiment of the present application. As Figure 6 shown, the electronic device may include: a processor 601, a memory 602, and computer program instructions stored in the memory 602 and executable on the processor 601. When the processor 601 executes the computer program instructions, the method for processing the virtual character provided in any of the foregoing embodiments is implemented.
[0131] Optionally, the above-mentioned various components of the electronic device may be connected through a system bus.
[0132] The memory 602 can be a separate storage unit or a storage unit integrated in the processor. The number of processors is one or more.
[0133] Optionally, the electronic device may further include an interface for interacting with other devices.
[0134] It should be understood that the processor 601 can be a Central Processing Unit (CPU), or other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in this application can be directly implemented by a hardware processor or completed by a combination of hardware and software modules in the processor.
[0135] The system bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity, only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus. The memory may include a Random Access Memory (RAM), and may also include a Non-Volatile Memory (NVM), such as at least one disk memory.
[0136] All or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a readable memory. When the program is executed, it executes the steps including the above method embodiments; and the foregoing memory (storage medium) includes: Read-Only Memory (ROM), RAM, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disc, and any combination thereof.
[0137] The electronic device provided in the embodiments of this application can be used to execute the method for processing virtual characters provided in any of the above method embodiments, and its implementation principle and technical effects are similar, which will not be elaborated here.
[0138] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, which, when running on a computer, cause the computer to execute the above-described method for processing virtual characters.
[0139] The above computer-readable storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory, electrically erasable programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, read-only memory, magnetic memory, flash memory, a magnetic disk or an optical disk. The readable storage medium may be any available medium accessible by a general-purpose or special-purpose computer.
[0140] Optionally, the readable storage medium is coupled to the processor so that the processor can read information from and write information to the readable storage medium. Of course, the readable storage medium may also be a component of the processor. The processor and the readable storage medium may be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium may also exist as discrete components in a device.
[0141] An embodiment of the present application also provides a computer program product including a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium, and when the at least one processor executes the computer program, the above-described method for processing virtual characters can be implemented.
[0142] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present application is only limited by the appended claims.
Claims
1. A method for processing virtual characters, characterized in that, including: determining driving behavior characteristics of the user according to historical driving data generated by the user driving a vehicle within a historical time period; generating a virtual task for a virtual character corresponding to the user according to the driving behavior characteristics; outputting a virtual task execution result according to the driving data generated when the user drives the vehicle and the virtual task, where the virtual task execution result is used to indicate whether the user completes the virtual task; the driving behavior characteristics include at least one of the following: a braking sub-characteristic, an acceleration sub-characteristic, and a selection ability sub-characteristic, and the selection ability sub-characteristic is determined according to the average driving speed of the user on a target route, and the target route is determined by the user from multiple routes; 2. The method according to claim 1, wherein after outputting the virtual task execution result according to the driving data generated when the user drives the vehicle and the virtual task, the method further includes: configuring state parameters of the virtual character according to the driving data and the virtual task execution result, where the state parameters include at least one of the following: health value, physical strength value, experience value, and health value; 3. The method according to claim 1, wherein the method further includes: determining target heartbeat data for each road condition environment according to the road condition environment when the user drives the vehicle within the historical time period and the historical heartbeat data under each road condition environment; when the heartbeat data of the user driving the vehicle is not equal to the target heartbeat data, outputting a reminder message and reducing the health value of the virtual character, where the reminder message is used to remind the user to pay attention to heart health in time; 4. The method according to claim 1, characterized in that the method further includes: acquiring a driving path of the user driving the vehicle according to the positioning data of the vehicle; if the driving path is a new driving path that the user has not driven, displaying a corresponding virtual map according to the driving path; 5. The method according to claim 1, wherein the virtual task includes at least one of the following: the number of brakes is less than a preset number, the acceleration is less than a preset acceleration, and the average driving speed on the target route is greater than a preset driving speed; 6. A processing device for a virtual character, characterized in that, including: a determination module, configured to determine driving behavior characteristics of the user according to historical driving data generated by the user driving a vehicle within a historical time period; a generation module, configured to generate a virtual task for a virtual character corresponding to the user according to the driving behavior characteristics; the generation module is further configured to output a virtual task execution result according to the driving data generated when the user drives the vehicle and the virtual task, where the virtual task execution result is used to indicate whether the user completes the virtual task; the driving behavior characteristics include at least one of the following: a braking sub-characteristic, an acceleration sub-characteristic, and a selection ability sub-characteristic, and the selection ability sub-characteristic is determined according to the average driving speed of the user on a target route, and the target route is determined by the user from multiple routes; 7. An electronic device, comprising: a processor, a memory, and computer program instructions stored on the memory and executable on the processor, wherein when the processor executes the computer program instructions, it is used to implement the processing method of the virtual character according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which are used to implement the processing method of the virtual character according to any one of claims 1 to 5 when executed by a processor.
9. A computer program product, comprising a computer program, characterized in that, The computer program is used to implement the processing method of the virtual character according to any one of claims 1 to 5 when executed by a processor.
Citation Information
Patent Citations
Car information processing method and device
CN104143224A
Portable terminal device, and control method and device thereof
CN106293032A
Controlling method, device and developing platform of virtual robot
CN110871445A