Driving behavior induction method and electronic device
By implementing a reward mechanism based on driving data in electronic devices and dynamically adjusting points and reward points, the problem of difficulty in inducing safe, energy-saving and environmentally friendly driving behaviors with existing technology is solved, and the effect of improving driving safety and efficiency is achieved.
Patent Information
- Application Number
- CN202410855910.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-06-28
AI Technical Summary
Existing technologies are difficult to effectively induce drivers to adopt safe, energy-saving and environmentally friendly driving behaviors, resulting in serious traffic safety and environmental pollution problems.
By implementing driving behavior induction methods in electronic devices, rewards are provided based on the user's driving data and reward mechanisms, including random reward mechanisms and along-the-way reward mechanisms, dynamically adjusting the generation of points and reward points, and cultivating drivers' good driving habits in real time.
It improves driving safety and efficiency, reduces driving behavior induction costs, enhances road usage efficiency, and increases user engagement and continuous improvement of driving behavior.
Smart Images

Figure CN118408568B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile technology, and in particular to a driving behavior induction method and an electronic device. Background Art
[0002] As traffic congestion, frequent traffic accidents and environmental pollution become increasingly serious, guiding drivers to adopt safer, energy-saving and environmentally friendly driving behaviors has become an important goal of intelligent transportation systems. At present, driving behavior is mainly induced through education and publicity, fines, etc., but this induction method is not effective and difficult to implement. Summary of the invention
[0003] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, the purpose of the present invention is to provide a driving behavior induction method and electronic device to improve driving safety and efficiency.
[0004] To achieve the above-mentioned purpose, an embodiment of the first aspect of the present invention proposes a driving behavior induction method, which includes: planning a navigation route according to a destination selected by a user; the user travels to the destination according to the navigation route planning, and recording the user's driving data; rewarding the user according to the user's driving data and a reward mechanism; wherein the reward mechanism is one of a random reward mechanism or an along-the-way reward mechanism.
[0005] In addition, the driving behavior induction method of the embodiment of the present invention may also have the following additional technical features:
[0006] According to one embodiment of the present invention, when the reward mechanism is a random reward mechanism, the step of rewarding the user according to the user's driving data and the reward mechanism includes: determining the user's current points according to the user's driving data and the points reward model; when the current points are greater than or equal to the points threshold, performing a simulated dice throw according to a dice model; when the throwing result is a winning, issuing a corresponding reward according to the winning result; clearing the current points, and returning to the step of determining the user's current points according to the user's driving data and the points reward model.
[0007] According to one embodiment of the present invention, the point reward model is:
[0008]
[0009] Among them, S represents the current score, , , Represents the preset weight coefficient, Indicates the corresponding value of accumulated mileage. Indicates the corresponding value of the accumulated duration. Indicates the numerical value corresponding to driving behavior.
[0010] According to one embodiment of the present invention, the process of generating the integral threshold includes: generating an integral random value; generating an integral mean and an integral standard deviation based on the integral random value; defining a Gaussian distribution based on the integral mean and the integral standard deviation; and randomly generating the integral threshold based on the Gaussian distribution.
[0011] According to one embodiment of the present invention, the dice model includes N rewards and one missed prize, and the missed prize and each reward correspond to an interval between 0 and 1 that increases in sequence, and each interval corresponds to a probability; wherein, when simulating dice throwing, a random number between 0 and 1 is generated, and the corresponding reward is determined based on the random number, and the sum of N+1 probabilities is 1.
[0012] According to one embodiment of the present invention, after distributing the corresponding reward according to the winning result, it also includes: accumulating consecutive rewards as the number of times of not winning, when the number of consecutive times of not winning is greater than or equal to the preset number of times, reducing the probability corresponding to not winning, and increasing the probability of N rewards proportionally; wherein the sum of the adjusted N+1 probabilities is 1.
[0013] According to one embodiment of the present invention, when the reward mechanism is a reward mechanism along the way, the step of rewarding the user based on the user's driving data and the reward mechanism includes: setting a standard deviation of reward points; generating multiple reward point coordinates based on the reward point standard deviation, the user's starting position coordinates, and based on a two-dimensional Gaussian distribution; when the user drives to a reward point area, issuing a corresponding reward, and eliminating the reward point area where the reward has been received; obtaining the number of reward points within a preset radius of the user in real time; when the number of reward points is less than the preset number of reward points, adding reward points within the preset radius; wherein each of the reward point coordinates corresponds to one of the reward point areas.
[0014] According to one embodiment of the present invention, after generating a plurality of reward point coordinates, it also includes: checking the plurality of reward point coordinates according to preset distribution conditions; compensating and adjusting the reward point coordinates that do not meet the distribution conditions; wherein the preset distribution conditions include at least one of the following: the distance between any two reward points is greater than a first preset distance, the reward points are evenly distributed, and the distance between the reward point position and the user's current position is less than a second preset distance.
[0015] According to one embodiment of the present invention, when the user drives to the reward point area, the corresponding reward is issued, including: when the distance between the user's starting position coordinates and the reward point coordinates corresponding to the reward point area is less than a preset distance threshold, the corresponding reward is issued.
[0016] To achieve the above-mentioned purpose, a second aspect of the present invention proposes an electronic device, comprising a memory, a processor and a computer program stored in the memory, wherein when the computer program is executed by the processor, the above-mentioned driving behavior induction method is implemented.
[0017] The driving behavior induction method and electronic device of the embodiment of the present invention can cultivate good driving habits of drivers in real time and dynamically during driving, improve driving safety and efficiency, and reduce the cost of inducing drivers to a certain place. It can also improve the efficiency of road use. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a flow chart of a driving behavior induction method according to an embodiment of the present invention;
[0019] Figure 2 It is a flow chart of rewarding a user according to the user's driving data and reward mechanism according to an embodiment of the present invention;
[0020] Figure 3 is a schematic diagram of the number of intervals and probability distribution of an embodiment of the present invention;
[0021] Figure 4 is a flow chart of rewarding a user according to the user's driving data and reward mechanism according to another embodiment of the present invention;
[0022] Figure 5 It is a schematic structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0024] The driving behavior induction method and electronic device according to the embodiments of the present invention will be described below with reference to the accompanying drawings.
[0025] Figure 1 4 is a flow chart of a driving behavior induction method according to an embodiment of the present invention.
[0026] like Figure 1 As shown, the driving behavior induction method includes:
[0027] S1, planning the navigation route according to the destination selected by the user.
[0028] As an example, the optimal route can be planned through navigation software. You can also use pre-built map data, which contains information such as roads, traffic signals, obstacles, etc., combined with real-time traffic information, to avoid congested sections, ensure the efficiency and timeliness of the route, and apply different route planning algorithms to select the route that best suits the current traffic conditions.
[0029] S2, the user goes to the destination according to the navigation route planning, and the user's driving data is recorded.
[0030] It should be noted that driving data may include driving time, driving mileage and driving behavior.
[0031] S3, rewards users based on their driving data and reward mechanism.
[0032] The reward mechanism is a random reward mechanism or an on-the-way reward mechanism.
[0033] As an example, rewards may include points, gold coins, red envelopes, coupons, blind boxes, etc. Among them, the parameters of the difficulty of obtaining rewards and the amount of rewards can be dynamically adjusted in the background, which is convenient for operators to optimize parameters and control costs.
[0034] The driving behavior induction method of the embodiment of the present invention can cultivate good driving habits of drivers in real time and dynamically during driving, improve driving safety and efficiency, and reduce the cost of inducing drivers to a certain place. It can also improve the efficiency of road use.
[0035] In some embodiments of the present invention, Figure 2 As shown, when the reward mechanism is a random reward mechanism, the step of rewarding the user according to the user's driving data and the reward mechanism includes:
[0036] S311, determining the current points of the user according to the user's driving data and the points reward model.
[0037] It should be noted that the point reward model can be a mathematical or logical model that can give different numbers of points based on the user's driving data.
[0038] It is worth mentioning that the point reward model can be a linear model or a nonlinear model.
[0039] S312: When the current integral is greater than or equal to the integral threshold, a simulated dice throw is performed according to the dice model.
[0040] It should be noted that the dice model is a random number generator that simulates the throwing process of a real dice and produces a random throwing result, which will determine whether the user wins the prize.
[0041] It is worth mentioning that the integral threshold Smin can be a fixed value according to actual conditions, or a randomly generated random value.
[0042] S313, when the throwing result is a winning prize, a corresponding reward is issued according to the winning result.
[0043] As an example, when the toss result is a non-winning result, no award is made.
[0044] S314, clear the current points and return to step S311.
[0045] In this embodiment, the random reward mechanism can increase user participation and interest, promote continuous improvement of user driving behavior, and thus improve driving safety and efficiency.
[0046] In some embodiments of the present invention, the points reward model is:
[0047]
[0048] Among them, S represents the current score, , , Represents the preset weight coefficient, Indicates the corresponding value of accumulated mileage. Indicates the corresponding value of the accumulated duration. Indicates the numerical value corresponding to driving behavior.
[0049] Specifically, you can increase When the threshold is not met, the current integral is zero.
[0050] As an example, the point reward model can be modified according to actual operational needs, such as adding other influencing factors (such as user level, etc.).
[0051] As another example, as shown in Table 1, the values of the relevant influencing factors of the point reward model can be set according to the actual situation:
[0052] Table 1 Factors affecting the point reward model
[0053]
[0054] In some embodiments of the present invention, the process of generating the integral threshold includes:
[0055] S3121, generate a random integral value.
[0056] S3122, generating an integral mean and an integral standard deviation according to the integral random value.
[0057] S3123, define a Gaussian distribution based on the integrated mean and the integrated standard deviation.
[0058] S3124, randomly generate an integral threshold according to Gaussian distribution.
[0059] As an example, the randomly generated integration threshold uses a Gaussian distribution, namely:
[0060]
[0061] in, , are the mean and standard deviation of the Gaussian distribution. At the same time, in order to avoid unreasonable values, its value range can be limited, and when the generated value exceeds the value range, it will be regenerated.
[0062] The score threshold uses a random value to increase the fun, for example The mean is 500, The standard deviation is 100, so the random numbers generated The proportion of The proportion in The proportion within is about 99.7%. , then regenerate.
[0063] In this embodiment, by randomly generating a score threshold, the user's curiosity can be stimulated and the playability can be increased, thereby making the reward mechanism for inducing driving behavior more effective and reasonable.
[0064] In some embodiments of the present invention, the dice model includes N rewards and one missed prize, and the missed prize and each reward correspond to an interval between 0 and 1 that increases in sequence, and each interval corresponds to a probability.
[0065] Among them, when simulating dice throwing, a random number between 0 and 1 is generated, and the corresponding reward is determined based on the random number. The sum of N+1 probabilities is 1.
[0066] As an example, when simulating dice rolling, a random number p is generated, and p is uniformly distributed between 0 and 1, that is: ; Get the result of throwing according to the interval of p value.
[0067] Assume that the possible rewards are: R1, R2, ..., RN, a total of N, and the result of not getting the reward is recorded as R0. Set the probabilities of these N+1 results to: P0, P1, P2, ..., PN, and the total probability is 1:
[0068]
[0069] if , the result is no prize; otherwise, if p falls into the interval corresponding to the kth prize:
[0070]
[0071] The result is a reward Rk.
[0072] As an example, Figure 3 As shown, the number of intervals can be 10, and the probability corresponding to each interval is 0.1.
[0073] Preferably, if the reward is a blind box, the blind box model can be the same as the dice model.
[0074] In some embodiments of the present invention, after issuing corresponding rewards according to the winning results, it also includes: accumulating consecutive rewards as the number of times of not winning. When the number of consecutive times of not winning is greater than or equal to the preset number of times, the probability corresponding to not winning is reduced, and the probability of N rewards is increased proportionally.
[0075] Among them, the sum of the adjusted N+1 probabilities is 1.
[0076] As an example, the dice throwing result can be compensated by adjusting the probability of each result. For example, when the user fails to win the prize for M consecutive times, the probability of not winning the prize is reduced by a coefficient s, that is:
[0077]
[0078] At this time, the probability of other rewards increases to:
[0079]
[0080] in , if s is 0, it means that the winning number is adjusted to a certainty.
[0081] In this embodiment, by accumulating the number of consecutive missed prizes and adjusting the reward probability based on the number, the user experience and satisfaction can be improved, and the user's motivation for continued participation can be increased, thereby improving user stickiness and better inducing the user's driving behavior.
[0082] Specifically, the relevant parameters in the random reward mechanism can be dynamically adjusted, such as: 1) the weight coefficients corresponding to the accumulated mileage, accumulated time and driving behavior in the point reward model. 2) the relevant parameters in generating the point threshold (mean value and standard deviation of points, etc.). 3) the probability of winning, the probability of not winning, and the preset number of consecutive times of not winning.
[0083] In some embodiments of the present invention, Figure 4As shown, when the reward mechanism is a reward mechanism along the way, the steps of rewarding the user according to the user's driving data and the reward mechanism include:
[0084] S321, set the standard deviation of reward points.
[0085] S322, generating multiple reward point coordinates according to the reward point standard deviation, the user's starting position coordinates, and based on a two-dimensional Gaussian distribution.
[0086] It should be noted that the locations that users are induced to go to can be set as fixed reward points, such as maintenance and repair stations, energy recharging stations, etc.
[0087] S323, when the user drives to the reward point area, the corresponding reward is issued, and the reward point area where the reward has been received is eliminated.
[0088] S324, obtaining the number of reward points within the user's preset radius in real time.
[0089] S325, when the number of bonus points is less than the preset number of bonus points, adding bonus points within the preset radius.
[0090] Among them, each reward point coordinate corresponds to a reward point area respectively.
[0091] As an example, the user's current location is the mean, σ is the standard deviation, and N reward point coordinates are generated according to the two-dimensional Gaussian distribution, that is, the coordinates of the i-th point:
[0092]
[0093] The rewards corresponding to the bonus points can be set to a fixed type or a random type using simulated dice.
[0094] As another example, for the X coordinate, from For the Y coordinate, we draw a random value from a one-dimensional normal distribution with a mean of , a random value is drawn from a one-dimensional normal distribution with a standard deviation of σ. Pair these two random values to form a two-dimensional coordinate point .
[0095] In addition, since vehicles can only travel on roads, it is best to set the reward point location near the road, otherwise there may be rewards that are impossible to obtain, so the location of the reward point needs to be adjusted. Two methods can be considered for adjustment based on road network matching: one is to move the randomly generated coordinates to the nearest road, and the other is to calculate the distance between the reward point and the nearest road, and regenerate it if it is too large.
[0096] In this embodiment, the along-the-way reward mechanism can improve user participation, enhance user experience, and promote the optimization of user driving behavior by setting the standard deviation of reward points and generating reward point coordinates based on a two-dimensional Gaussian distribution.
[0097] Specifically, the reward point position update mechanism includes: 1) when a user receives a certain reward point, the reward point is deleted; 2) when the user's position changes, the number of reward points n with a distance D from it is calculated; 3) when the above number of reward points is less than a given threshold m, Mn new reward points are generated to make the number of reward points reach M.
[0098] In some embodiments of the present invention, after generating a plurality of reward point coordinates, the method further includes: checking the plurality of reward point coordinates according to preset distribution conditions; and compensating and adjusting the reward point coordinates that do not meet the distribution conditions.
[0099] The preset distribution condition includes at least one of the following:
[0100] The distance between any two reward points is greater than a first preset distance, the reward points are evenly distributed, and the distance between the reward point position and the user's current position is less than a second preset distance.
[0101] It should be noted that the completely randomly generated reward point coordinates may generate some unreasonable distributions, which require compensatory adjustments. The adjustment method is to check whether the generated i-th point position meets the set distribution conditions. If not, the point coordinates are regenerated until the conditions are met.
[0102] As an example, a uniform distribution of bonus points can be represented by dividing the nearby space into fan-shaped or square grids, with the number of points in each grid not exceeding a given maximum value.
[0103] In this embodiment, the generated bonus point coordinates are checked and adjusted, and compensation adjustments are made according to preset distribution conditions, which can ensure the rationality of the bonus point distribution and improve the accessibility of the bonus points.
[0104] In some embodiments of the present invention, when a user drives to a reward point area, a corresponding reward is issued, including:
[0105] When the distance between the user's starting position coordinates and the reward point coordinates corresponding to the reward point area is less than the preset distance threshold, the corresponding reward is issued.
[0106] As an example, when the user location Distance to reward points When the distance is less than a certain threshold R, that is,
[0107]
[0108] You can receive the reward corresponding to the reward point i.
[0109] Specifically, the relevant parameters in the reward mechanism along the way can be dynamically adjusted, such as: 1) the number of reward points generated. 2) the minimum distance between two points, the maximum distance from the user, the uniformity parameters (grid division parameters and the maximum number of points), etc. 3) the preset distance threshold. 4) the threshold m and the number of reward points n when the user is at a distance D from it.
[0110] Corresponding to the above embodiment, the present invention further provides an electronic device.
[0111] Figure 5 It is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
[0112] like Figure 5 As shown, the electronic device 500 includes: a processor 501 and a memory 503. The processor 501 and the memory 503 are connected, such as through a bus 502. Optionally, the electronic device 500 may also include a transceiver 504. It should be noted that in actual applications, the transceiver 504 is not limited to one, and the structure of the electronic device 500 does not constitute a limitation on the embodiments of the present invention.
[0113] The processor 501 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. The processor 501 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0114] The bus 502 may include a path to transmit information between the above components. The bus 502 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 502 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0115] The memory 503 is used to store a computer program corresponding to the driving behavior induction method of the above embodiment of the present invention, and the computer program is controlled and executed by the processor 501. The processor 501 is used to execute the computer program stored in the memory 503 to implement the content shown in the above method embodiment.
[0116] The electronic device 500 includes, but is not limited to, mobile terminals such as laptop computers, PADs (tablet computers), and fixed terminals such as desktop computers. Figure 5 The electronic device 500 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0117] The electronic device 500 of the embodiment of the present invention can cultivate good driving habits of the driver in real time and dynamically during driving, improve driving safety and efficiency, and reduce the cost of guiding the driver to a certain place. It can also improve the efficiency of road use.
[0118] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.
[0119] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0120] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0121] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0122] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A driving behavior induction method, characterized in that: The method comprises: Plan navigation routes based on the destination selected by the user; The user travels to the destination according to the navigation route planning, and the driving data of the user is recorded; Rewarding the user according to the user's driving data and a reward mechanism; Wherein, the reward mechanism is a reward mechanism along the way; The step of rewarding the user according to the user's driving data and the reward mechanism comprises: Set the standard deviation of reward points; Generate multiple reward point coordinates according to the reward point standard deviation, the user's starting position coordinates, and based on a two-dimensional Gaussian distribution; When the user drives to a reward point area, a corresponding reward is issued, and the reward point area where the reward has been received is removed; Obtain the number of reward points within the user's preset radius in real time; When the number of bonus points is less than the preset number of bonus points, bonus points are added within the preset radius; Wherein, each of the reward point coordinates corresponds to a reward point area respectively.
2. The driving behavior induction method according to claim 1, characterized in that: After generating the plurality of reward point coordinates, the method further includes: According to a preset distribution condition, checking the coordinates of a plurality of the bonus points; Make compensatory adjustments to the coordinates of reward points that do not meet the distribution conditions; The preset distribution condition includes at least one of the following: The distance between any two reward points is greater than a first preset distance, the reward points are evenly distributed, and the distance between the reward point position and the user's current position is less than a second preset distance.
3. The driving behavior induction method according to claim 1, characterized in that: When the user drives to a reward point area, a corresponding reward is issued, including: When the distance between the user's starting position coordinates and the reward point coordinates corresponding to the reward point area is less than the preset distance threshold, the corresponding reward is issued.
4. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory, wherein when the computer program is executed by the processor, the driving behavior induction method as claimed in any one of claims 1 to 3 is implemented.
