WO2020215690A1 - Driving data analysis method and apparatus, and computer device and storage medium - Google Patents

Driving data analysis method and apparatus, and computer device and storage medium Download PDF

Info

Publication number
WO2020215690A1
WO2020215690A1 PCT/CN2019/118075 CN2019118075W WO2020215690A1 WO 2020215690 A1 WO2020215690 A1 WO 2020215690A1 CN 2019118075 W CN2019118075 W CN 2019118075W WO 2020215690 A1 WO2020215690 A1 WO 2020215690A1
Authority
WO
WIPO (PCT)
Prior art keywords
driving
vehicle
frequency
target vehicle
overtaking
Prior art date
Application number
PCT/CN2019/118075
Other languages
French (fr)
Chinese (zh)
Inventor
李红伟
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020215690A1 publication Critical patent/WO2020215690A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/58Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
    • G06V20/584Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads of vehicle lights or traffic lights
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Definitions

  • This application relates to a driving data analysis method, device, computer equipment and storage medium.
  • UBI User Based Insurance
  • a driving data analysis method is provided.
  • a driving data analysis method executed by a computer device, the method comprising: acquiring driving data of a target vehicle; the driving data including a driving image; determining a recognition area in the driving image; identifying the presence of a vehicle identifier in the recognition area Nearby vehicles, record the vehicle position of the nearby vehicles; determine whether the target vehicle has overtaking behavior by comparing the changes in the vehicle positions of nearby vehicles in the adjacent multi-frame driving images; the overtaking frequency of the target vehicle according to the judgment result Performing statistics; and calculating the auto insurance cost corresponding to the target vehicle according to the overtaking frequency.
  • the determining the recognition area in the driving image includes: recognizing the recognition starting point and the lane edge in the driving image; obtaining the following distance between the target vehicle and the preceding vehicle in the same lane, according to the The following distance determines the recognition distance; and the recognition area is determined based on the recognition starting point and the recognition distance.
  • the recording the vehicle position of the nearby vehicles includes: generating a uniform edge line according to the identification distance; dividing the identification area into a plurality of sub-areas based on the uniform edge line and the lane edge; And determine the corresponding vehicle location according to the location of the nearby vehicle in the sub-region.
  • determining whether the target vehicle has overtaking behavior by comparing changes in the vehicle position of nearby vehicles in adjacent multiple frames of driving images includes: generating according to the vehicle position in adjacent multiple frames of driving images The driving feature vector of nearby vehicles; calculating the first attribute value of the driving feature vector, and comparing whether the first attribute value reaches a threshold; if it reaches the threshold, calculating the second attribute value of the driving feature vector; judging the first attribute value Whether the second attribute value is a target attribute value; and if it is a target attribute value, marking the target vehicle has an overtaking behavior.
  • the driving data further includes vehicle sensing data;
  • the calculating the car insurance cost corresponding to the target vehicle according to the overtaking frequency includes: identifying the lane departure frequency and collision of the target vehicle based on the driving image Early warning frequency; based on the vehicle induction data, count the speeding frequency and sharp turning frequency of the target vehicle; crawl the bad driving record of the target vehicle, and count the drunk driving frequency and responsible accident of the target vehicle based on the bad driving record Frequency; Determine the driving safety level of the target vehicle based on the frequency of overtaking, lane departure, collision warning, speeding, sharp turning, drunk driving, and responsible accident frequency during the statistical period; and according to the driving safety level Adjust the auto insurance cost of the target vehicle.
  • a driving data analysis device comprising: a driving image processing module for acquiring driving data of a target vehicle; the driving data includes a driving image; identifying a recognition area in the driving image; identifying a vehicle identifier that appears in the recognition
  • the nearby vehicles in the area record the vehicle position of the nearby vehicles; the overtaking behavior analysis module is used to judge whether the target vehicle has overtaking behavior by comparing the changes in the vehicle position of nearby vehicles in adjacent multiple frames of driving images; As a result, statistics are made on the overtaking frequency of the target vehicle; and an auto insurance cost calculation module for calculating the auto insurance cost corresponding to the target vehicle according to the overtaking frequency.
  • the driving image processing module is also used to identify the recognition starting point and lane edges in the driving image; obtain the following distance between the target vehicle and the preceding vehicle in the same lane, and determine the recognition based on the following distance Distance; and the recognition area is determined based on the recognition starting point and the recognition distance.
  • a computer device includes a memory and one or more processors.
  • the memory stores computer readable instructions.
  • the steps of the driving data analysis method provided in any embodiment of the present application are implemented.
  • One or more non-volatile computer-readable storage media storing computer-readable instructions.
  • the one or more processors implement any one of the embodiments of the present application. Provide the steps of the driving data analysis method.
  • Fig. 1 is an application scenario diagram of a driving data analysis method according to one or more embodiments.
  • Fig. 2 is a schematic flowchart of a method for analyzing driving data according to one or more embodiments.
  • Fig. 3A is a schematic diagram of a process of driving image processing according to one or more embodiments.
  • 3B is a schematic diagram of another process of driving image processing according to one or more embodiments.
  • 3C is a schematic diagram of another process of driving image processing according to one or more embodiments.
  • Fig. 4 is a schematic flowchart of the steps of determining overtaking behavior in one or more embodiments.
  • Fig. 5 is a structural block diagram of a driving data analysis device according to one or more embodiments.
  • Figure 6 is a block diagram of a computer device according to one or more embodiments.
  • the driving data analysis method provided in this application can be applied to the application environment as shown in FIG. 1.
  • the terminal 102 and the server 104 communicate through the network.
  • the terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices.
  • the terminal 102 can be a terminal corresponding to the target vehicle owner, or an insurance company that the target vehicle owner wants to handle auto insurance business.
  • the server 104 may be implemented as an independent server or a server cluster composed of multiple servers.
  • the user can send a request for auto insurance handling to the server based on the terminal 102.
  • the vehicle insurance application request carries the target vehicle identification.
  • the server 104 obtains driving data corresponding to the target vehicle according to the target vehicle identifier.
  • the driving data includes multiple frames of driving images.
  • the server 104 determines the recognition area in the driving image, recognizes the vehicle whose vehicle identifier appears in the recognition area, and marks the recognized vehicle as a nearby vehicle.
  • the server 104 records the vehicle positions of nearby vehicles in adjacent multiple frames of driving images, and compares the changes of the vehicle positions, and can determine whether the target vehicle has overtaking behavior according to the comparison result.
  • the server 104 counts the overtaking frequency of the target vehicle according to the judgment result, and can judge the safety of the driving behavior of the user of the target vehicle according to the overtaking frequency, and further calculates the auto insurance cost corresponding to the target vehicle according to the overtaking frequency.
  • the server 104 returns the calculated car insurance cost to the terminal 102.
  • the above-mentioned auto insurance cost calculation process automatically collects and analyzes the driving data, and directly adjusts the auto insurance cost according to the analysis result, which greatly reduces the labor burden. It not only improves the efficiency of auto insurance cost calculation, but also improves the objectivity and accuracy of auto insurance cost calculation.
  • a method for analyzing traffic data is provided. Taking the method applied to the server in FIG. 1 as an example, the method includes the following steps:
  • Step 202 Acquire driving data of the target vehicle; the driving data includes driving images.
  • the server makes full use of the driving data collected and recorded by the driving recorder, and collects driving data of the target vehicle according to the preset time frequency.
  • the driving data includes multiple frames of driving images and the driving time corresponding to each frame of driving images.
  • Step 204 Determine the recognition area in the driving image.
  • the server determines a certain area around the target vehicle as the recognition area in the driving image. For example, an area with a preset area on at least one of the front, rear, left, or right side of the target vehicle may be used as the recognition area.
  • the preset area may also be a fixed value or a dynamic value such as a preset ratio of the driving image.
  • Step 206 Recognize nearby vehicles whose vehicle identifiers appear in the recognition area, and record the vehicle positions of nearby vehicles.
  • the vehicle identification can be a license plate number or the like.
  • the recognition area includes a plurality of sub-areas.
  • the server determines the vehicle location of each nearby vehicle according to which sub-area of the recognition area the accessory vehicle is located.
  • Step 208 Determine whether the target vehicle has an overtaking behavior by comparing changes in the vehicle position of nearby vehicles in adjacent multiple frames of driving images.
  • the adjacent multi-frames may be the preset number of frames acquired recently, such as 3 frames. It is easy to understand that the number of frames of the comparison driving image can be set freely as needed, and there is no restriction on this.
  • the license plate mark of some nearby vehicles may only appear in some frames of the driving image in the preset number of frames of the driving image.
  • Each nearby vehicle is recognized for the first time with only one vehicle position. As the number of driving image frames increases, the stored vehicle positions gradually increase, but only a preset number of driving positions can be stored at most. In other words, the number of stored vehicle positions of each nearby vehicle is less than or equal to the preset number.
  • the server obtains the change trend of the vehicle position of each nearby vehicle in the multi-frame driving image, and determines whether the change trend is the preset first trend. If yes, the server determines that the target vehicle has overtaking behavior during the corresponding driving time.
  • Step 210 Count the overtaking frequency of the target vehicle according to the judgment result.
  • the server counts the overtaking frequency of the target vehicle during the statistical period.
  • the statistical period may be a period of time before the owner of the target vehicle initiates the auto insurance application request, such as half a year.
  • the frequency of overtaking can be the ratio of the number of overtakings to the length of the statistical period.
  • Step 212 Calculate the auto insurance cost corresponding to the target vehicle according to the frequency of overtaking.
  • the server can preset multiple overtaking frequency intervals and the auto insurance cost adjustment ratio corresponding to each overtaking frequency interval.
  • the server determines the overtaking frequency interval to which the overtaking frequency of the target vehicle belongs, and increases or decreases the basic auto insurance expense according to the auto insurance cost adjustment ratio corresponding to the overtaking frequency interval to obtain the vehicle expense corresponding to the target vehicle.
  • the recognition area in the driving image can be determined; according to whether the license plate mark appears in the recognition area, the nearby vehicles corresponding to the target vehicle can be identified;
  • the vehicle position in adjacent multiple frames of driving images can be compared to the changes in the vehicle position; according to the changes in the vehicle position, it can be judged whether the target vehicle has overtaking behavior; according to the judgment result, the overtaking frequency of the target vehicle can be calculated; according to the overtaking frequency, you can Calculate the auto insurance cost corresponding to the target vehicle.
  • the step of determining the recognition area in the driving image includes: recognizing the recognition starting point and the lane edge in the driving image; obtaining the following distance between the target vehicle and the preceding vehicle in the same lane, and determining the recognition distance according to the following distance ; Determine the recognition area based on the recognition starting point and the recognition distance.
  • the driving recorder usually collects the vehicle conditions and road conditions around the target vehicle with the target vehicle as the center, so that the server can mark the lower position in the middle of the driving image (that is, the location of the target vehicle) as the identification starting point.
  • the lane edge refers to the line dividing the lane by the user on the road where the target vehicle is located.
  • the server obtains the image distance of the target vehicle from the preceding vehicle in the same lane, and calculates the following distance of the target distance based on the image distance and the image shooting ratio. If the target vehicle does not exist in the same lane in the driving image, the server obtains the image shooting distance, and calculates the following distance of the target distance according to the image shooting distance and the image shooting ratio.
  • the recognition distance can be dynamically determined by a preset ratio of the driving image, or it can be a fixed value, which is not limited.
  • the recognition area may be a quadrilateral whose side length is determined according to the preset length and the recognition distance. Among them, the identification starting point is the midpoint of one side of the quadrilateral.
  • Fig. 3A is one frame of driving image taken by the driving recorder of the target vehicle.
  • the recognition area corresponding to the driving image may be an isosceles trapezoid with the recognition starting point as the lower end point, wherein the lower side length and the upper side length may be the image lane width * 3, and the height may be the recognition distance.
  • the image lane width may be the width of a lane in the driving image. It is easy to understand that in different image heights of the driving image, the corresponding image lane width is different. For example, the width of the image lane with the image height at the bottom side can be 5 cm; the width of the image lane with the image height at the top side can be 3 cm.
  • the server identifies nearby vehicles of the target vehicle in the driving image.
  • vehicle E can recognize its license plate, it is not in the recognition area, so the target
  • the nearby vehicles of the vehicle include A, B, C, and D.
  • image processing is performed on the driving image to dynamically determine the recognition area of the target vehicle in each driving image.
  • the accuracy of the area division can be improved; the recognition area can be dynamically limited to further Precisely limiting the content of detailed image processing not only improves the recognition accuracy, but also improves the efficiency of recognition because the amount of data that needs image processing is limited.
  • recording the vehicle position of nearby vehicles includes: generating an even sideline based on the recognition distance; dividing the recognition area into multiple sub-areas based on the average sideline and lane sideline; and determining the correspondence based on the location of the sub-areas of nearby vehicles The location of the vehicle.
  • the number of equally divided edges varies according to the number of copies to be evenly divided into the recognition area.
  • the number of equally divided edges may be the number of copies to be divided into the recognition area -1.
  • the length of the different equally divided sides can be different.
  • the length of the even sideline can also be an integer multiple of the image lane width*3.
  • the server divides the recognition area into three equal parts according to the recognition distance. Specifically, the server generates three equally-divided edges according to the recognition distance and the number of copies to be evenly divided into the recognition area.
  • the length of the divided sideline 1 may be the width of the image lane*3
  • the lengths of the divided sideline 2 and the divided sideline 3 may be the width of the image lane*1, respectively.
  • the server may construct a coordinate system based on the recognition area, and then determine the image coordinates of the dividing edge and the lane edge respectively in the driving image.
  • the server splices the multiple equally divided edges and lane edges in the recognition area according to the image coordinates, and then divides the recognition area into multiple sub-areas, and marks the multiple as upper area and the upper area according to the coordinate position of the sub-areas in the coordinate system.
  • Middle area or lower area As shown in Figure 3C, in the above example, the server divides the recognition area into 6 sub-areas, marks the sub-areas 1 with the largest ordinate as the upper area, and marks the sub-areas 2 and 3 with the second highest and the same ordinate as the upper area.
  • the sub-area 5 and the sub-area 6 with the lowest ordinate and the same are marked as the lower area. It is easy to understand that if the number of copies of the recognition area is less than 3 copies, a certain sub-area can be further divided into multiple intermediate areas with different ordinates, and then divided into upper, middle, and lower according to the above method area. If the number of copies of the recognition area is more than 3 copies, multiple sub-areas adjacent to the ordinate can be merged into a middle area and then divided into the upper, middle and lower areas according to the above method.
  • the server can determine the corresponding vehicle location. For example, if the vehicle identifier of nearby vehicle A appears in the upper area, the vehicle position of nearby vehicles can be recorded as up. In another embodiment, the vehicle position of the nearby vehicle may be the specific coordinates of the coordinate system corresponding to the vehicle identifier of the nearby vehicle A in the recognition area, which is not limited.
  • This embodiment only provides an exemplary method that can determine the vehicle position change of nearby vehicles relative to the target vehicle.
  • the recognition area is further divided into multiple sub-areas that facilitate the determination of the position changes of nearby vehicles relative to the target vehicle. Based on the multiple sub-areas divided in this way, the recognition algorithm for recognizing the change trend of nearby vehicles relative to the target vehicle position can be simplified. And then improve the efficiency of overtaking behavior analysis.
  • the step of determining overtaking behavior includes:
  • Step 402 Generate driving feature vectors of nearby vehicles according to the vehicle positions in adjacent multiple frames of driving images.
  • the driving data includes the driving time; according to the vehicle position in the adjacent multiple frames of driving images, generating the driving feature vector of nearby vehicles includes: determining the traversal sequence of the multiple frames of driving images according to the driving time; Traversal sequence, traverse each frame of the driving image in turn whether there are nearby vehicles; mark the vehicle position of the accessory vehicle in one or more frames of the driving image as vector elements in different orders; for the adjacent vector elements of each accessory vehicle Perform deduplication processing. Based on the multiple vector elements after deduplication, the driving feature vectors of the corresponding nearby vehicles are generated.
  • the server traverses the collected multiple frames of driving images in the order of driving time. It is easy to understand that some nearby vehicles may only appear in some frames of the traffic images in the recently collected multi-frame traffic images. Therefore, during the traversal process, the server judges whether the license plate identifiers of nearby vehicles exist in the first frame of traffic images collected. If it exists in the first frame of driving image, the server marks the vehicle position of the accessory vehicle in the first frame of driving image as a vector element in the first order. The server continues to determine whether the license plate identifiers of nearby vehicles are present in the next frame of traffic images collected.
  • the server marks the vehicle position of the accessory vehicle in the next frame of driving image as the next sequential vector element, and continues to traverse to determine whether the license plate mark of nearby vehicles exists in the next frame of driving image. Repeat the traversal until the last frame of driving image, and obtain multiple vector elements corresponding to each nearby vehicle. If the next frame of traffic image does not exist, the server continues to traverse the next frame of traffic image in the above-mentioned manner.
  • the server sorts multiple vector elements to form an element queue.
  • the server determines whether each vector element in the element queue is duplicated with the previous vector element. If repetition occurs, the server deletes the corresponding vector element from the element queue, and generates the driving feature vector of the corresponding nearby vehicle based on the deduplicated element queue.
  • the driving feature vector corresponding to nearby vehicle A can be [up, middle, down]
  • the driving feature vector corresponding to nearby vehicle B can be [down, middle, up]
  • the vector can be [up, middle]
  • the driving feature vector corresponding to the nearby vehicle D can be [middle, bottom]. It is easy to understand that there is no such as [middle, down, down] and similar traffic feature vectors with repeated adjacent vector elements.
  • Step 404 Calculate the first attribute value of the driving feature vector, and compare whether the first attribute value reaches the threshold.
  • the first attribute value may be the number of vector elements contained in the driving feature vector.
  • the threshold can be a fixed value, such as 3.
  • the threshold value may also be a value dynamically determined according to the number of copies of the driving image to be divided equally.
  • Step 406 If the threshold is reached, calculate the second attribute value of the driving feature vector.
  • the server does not determine whether the target vehicle overtakes the corresponding nearby vehicle. For example, in the above example, the first attribute value of nearby vehicle C and nearby vehicle D is 2, which is less than the threshold value 3.
  • the server further calculates the second attribute value of the driving feature vector.
  • the second attribute value may be an attribute value used to characterize the change trend of the vehicle position of nearby vehicles relative to the target vehicle.
  • Step 408 Determine whether the second attribute value is the target attribute value.
  • step 410 if it is the target attribute value, mark that the target vehicle has an overtaking behavior.
  • the server presets multiple target attribute values and determination results associated with each target attribute value.
  • the second attribute value corresponding to nearby vehicle A is the target attribute value 3, indicating that the target vehicle is moving forward relative to nearby vehicle A, and it can be determined that the target vehicle has overtaken relative to nearby vehicle A.
  • the overtaking behavior analysis algorithm is simplified. By determining whether the first attribute value and the second attribute value of the driving feature vector meet the corresponding preset conditions respectively, it can be judged whether the target vehicle has overtaking behavior, and the overtaking behavior can be improved. Analyze efficiency.
  • calculating the car insurance cost corresponding to the target vehicle based on the frequency of overtaking includes: recognizing the lane departure frequency and collision warning frequency of the target vehicle based on driving images; and counting the frequency of overspeeding and sharp turning of the target vehicle based on vehicle sensing data; Crawl the bad driving record of the target vehicle, and calculate the frequency of drunk driving and responsible accident frequency of the target vehicle based on the bad driving record; according to the frequency of overtaking, lane departure, collision warning frequency, speeding frequency, sharp turn frequency, drunk driving frequency and liability during the statistical period Accident frequency, determine the driving safety level of the target vehicle; adjust the auto insurance cost of the target vehicle according to the driving safety level.
  • the server determines whether the target vehicle has lane departure behavior by comparing the position changes of the target vehicle relative to the lane edge in the adjacent multiple frames of driving images. When there is lane departure behavior, the server counts the lane departure frequency of the target vehicle. The server determines whether the target vehicle has collision warning behavior by comparing whether the following distance is less than a preset value. When there is a collision warning behavior, the server counts the collision warning frequency of the target vehicle.
  • Driving data also includes vehicle sensing data.
  • Vehicle sensing data includes speed change data and direction change data.
  • the server obtains the corresponding speed limit data of the driving section according to the driving image, and determines whether the target vehicle has speeding behavior based on the speed limit data and the speed change data of the driving section. If there is speeding behavior, the server will make statistics on the speeding frequency of the target vehicle. The server determines whether the target vehicle has a sharp turn based on the direction change data. If there is a sharp turn, the server will make statistics on the frequency of sharp turns of the target vehicle.
  • the server crawls the poor driving record of the target vehicle on the traffic management website. Poor driving records include drunk driving records, and traffic accident records with full or partial responsibility. The server counts the frequency of drunk driving and the frequency of responsible accidents of the target vehicle based on the bad driving record.
  • the server corresponds to multiple dimensions of safety evaluation indicators based on the target vehicle's overtaking frequency, lane departure frequency, collision warning frequency, speeding frequency, sharp turning frequency, drunk driving frequency, and responsible accident frequency during the statistical period of the target vehicle, as well as the preset safety evaluation indicators of different dimensions
  • the index weight of can comprehensively determine the driving safety level of the target vehicle. According to the safety level of driving behavior, the auto insurance cost of the target vehicle can be adjusted. For example, setting corresponding different premium discount rates based on different overtaking frequency.
  • the safety level of driving behavior of the target vehicle is determined, which can improve driving The accuracy of the calculation of behavioral safety levels, thereby improving the accuracy of the calculation of auto insurance costs.
  • a driving data analysis device which includes a driving image processing module 502, an overtaking behavior analysis module 504, and a car insurance cost calculation module 506, wherein:
  • the driving image processing module 502 is used to obtain driving data of the target vehicle; the driving data includes driving images; identifying the recognition area in the driving image; identifying nearby vehicles with vehicle identifiers in the recognition area, and recording the vehicle positions of nearby vehicles.
  • the overtaking behavior analysis module 504 is used for judging whether the target vehicle has overtaking behavior by comparing changes in the vehicle position of nearby vehicles in the adjacent multiple frames of driving images; and counting the overtaking frequency of the target vehicle according to the judgment result.
  • the auto insurance cost calculation module 506 is used to calculate the auto insurance cost corresponding to the target vehicle according to the frequency of overtaking.
  • the driving image processing module 502 is also used to identify the recognition starting point and the lane edge in the driving image; obtain the following distance between the target vehicle and the preceding vehicle in the same lane, and determine the recognition distance based on the following distance; And the recognition distance to determine the recognition area.
  • the driving image processing module 502 is also used to generate an even sideline based on the recognition distance; divide the recognition area into multiple sub-areas based on the average sideline and lane sidelines; determine the corresponding sub-areas based on the location of the nearby vehicle Vehicle location.
  • the overtaking behavior analysis module 504 is further configured to generate driving feature vectors of nearby vehicles according to the vehicle positions in the adjacent multiple frames of driving images; calculate the first attribute value of the driving feature vector, and compare the first attributes Whether the value reaches the threshold; if it reaches the threshold, calculate the second attribute value of the driving feature vector; determine whether the second attribute value is the target attribute value; if it is the target attribute value, mark the target vehicle as overtaking.
  • the driving data includes driving time; the overtaking behavior analysis module 504 is also used to determine the traversal sequence of multiple frames of driving images according to the driving time; according to the traversal order, sequentially traverse whether each frame of driving image appears nearby vehicles ; Mark the vehicle position of the accessory vehicle in one or more frames of driving images as vector elements in different sequences; de-duplicate the adjacent vector elements of each accessory vehicle; generate based on multiple vector elements after de-duplication Corresponding to the driving feature vector of nearby vehicles.
  • the driving data further includes vehicle sensing data; the car insurance cost calculation module 506 is also used for identifying the lane departure frequency and collision warning frequency of the target vehicle based on the driving image; and counting the speeding frequency and emergency of the target vehicle based on the vehicle sensing data.
  • Turning frequency crawl the bad driving record of the target vehicle, and calculate the frequency of drunk driving and responsible accident frequency of the target vehicle based on the bad driving record; according to the frequency of overtaking, lane departure, collision warning frequency, speeding frequency, sharp turning frequency, drunk driving during the statistical period
  • the frequency and frequency of responsible accidents determine the driving safety level of the target vehicle; adjust the auto insurance cost of the target vehicle according to the driving safety level.
  • Each module in the above-mentioned driving data analysis device can be implemented in whole or in part by software, hardware and a combination thereof.
  • the foregoing modules may be embedded in the form of hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the foregoing modules.
  • a computer device is provided.
  • the computer device may be a server, and its internal structure diagram may be as shown in FIG. 6.
  • the computer equipment includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation 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, computer readable instructions, and a database.
  • the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium.
  • the database of the computer equipment is used to store the driving data of the target vehicle.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer readable instruction is executed by the processor to realize a driving data analysis method.
  • FIG. 6 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
  • One or more non-volatile storage media storing computer-readable instructions.
  • the one or more processors implement the driving provided in any one of the embodiments of the present application. Steps of data analysis method.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Marketing (AREA)
  • Artificial Intelligence (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Traffic Control Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

A driving data analysis method based on big data, comprising: obtaining driving data of a target vehicle, the driving data comprising a driving image; determining an identification area in the driving image; identifying a nearby vehicle with a vehicle identifier appearing in the identification area, and recording the vehicle position of the nearby vehicle; determining whether the target vehicle has an overtaking behavior or not by comparing changes in the vehicle positions of nearby vehicles in a plurality of adjacent frames of driving images; collecting statistics about the overtaking frequency of the target vehicle according to the determining result; and calculating the vehicle insurance cost corresponding to the target vehicle according to the overtaking frequency.

Description

行车数据分析方法、装置、计算机设备和存储介质Driving data analysis method, device, computer equipment and storage medium
本申请要求于2019年04月23日提交中国专利局,申请号为201910326600X,申请名称为“行车数据分析方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on April 23, 2019. The application number is 201910326600X, and the application name is "Driving Data Analysis Method, Device, Computer Equipment, and Storage Medium". The entire content is by reference Incorporated in this application.
技术领域Technical field
本申请涉及一种行车数据分析方法、装置、计算机设备和存储介质。This application relates to a driving data analysis method, device, computer equipment and storage medium.
背景技术Background technique
随着汽车逐渐成为普遍的代步工具,车险市场也得到了快速发展,车险业务呈明显增多的趋势。为了推送车险业务发展,新兴起一种UBI(Usage Based Insurance)保险。UBI可以结合驾驶行车数据对保险费用进行调整,理论上驾驶行为表现较安全的用户应该获得保费优惠。然而,对于车辆用户的驾驶行为数据却依赖人工花费大量时间收集和分析,使得车险费用计算效率降低。As automobiles have gradually become a common means of transportation, the auto insurance market has also developed rapidly, and the auto insurance business has shown a significant increase. In order to promote the development of auto insurance business, a UBI (Usage Based Insurance) insurance is emerging. UBI can adjust insurance premiums based on driving data. In theory, users with safer driving behavior should receive premium discounts. However, the driving behavior data of vehicle users relies on manual labor to spend a lot of time collecting and analyzing, which reduces the efficiency of car insurance cost calculation.
发明内容Summary of the invention
根据本申请公开的各种实施例,提供一种行车数据分析方法、装置、计算机设备和存储介质。According to various embodiments disclosed in the present application, a driving data analysis method, device, computer equipment, and storage medium are provided.
一种行车数据分析方法,由计算机设备执行,所述方法包括:获取目标车辆的行车数据;所述行车数据包括行车图像;在所述行车图像中确定识别区域;识别车辆标识出现在识别区域的附近车辆,记录所述附近车辆的车辆位置;通过比较相邻多帧行车图像中附近车辆的车辆位置的变化,判断所述目标车辆是否存在超车行为;根据判断结果对所述目标车辆的超车频次进行统计;及根据所述超车频次计算所述目标车辆对应的车险费用。A driving data analysis method, executed by a computer device, the method comprising: acquiring driving data of a target vehicle; the driving data including a driving image; determining a recognition area in the driving image; identifying the presence of a vehicle identifier in the recognition area Nearby vehicles, record the vehicle position of the nearby vehicles; determine whether the target vehicle has overtaking behavior by comparing the changes in the vehicle positions of nearby vehicles in the adjacent multi-frame driving images; the overtaking frequency of the target vehicle according to the judgment result Performing statistics; and calculating the auto insurance cost corresponding to the target vehicle according to the overtaking frequency.
在其中一个实施例中,所述在所述行车图像中确定识别区域,包括:识别所述行车图像中的识别起点和车道边线;获取目标车辆与同车道前车的跟车距离,根据所述跟车距离确定识别距离;及基于识别起点和识别距离确定识别区域。In one of the embodiments, the determining the recognition area in the driving image includes: recognizing the recognition starting point and the lane edge in the driving image; obtaining the following distance between the target vehicle and the preceding vehicle in the same lane, according to the The following distance determines the recognition distance; and the recognition area is determined based on the recognition starting point and the recognition distance.
在其中一个实施例中,所述记录所述附近车辆的车辆位置,包括:根据所述识别距离生成均分边线;基于所述均分边线及所述车道边线将识别区域划分为多个子区域;及根据附近车辆所在子区域的位置确定对应的车辆位置。In one of the embodiments, the recording the vehicle position of the nearby vehicles includes: generating a uniform edge line according to the identification distance; dividing the identification area into a plurality of sub-areas based on the uniform edge line and the lane edge; And determine the corresponding vehicle location according to the location of the nearby vehicle in the sub-region.
在其中一个实施例中,通过比较相邻多帧行车图像中附近车辆的车辆位置的变化,判断所述目标车辆是否存在超车行为,包括:根据在相邻多帧行 车图像中的车辆位置,生成附近车辆的行车特征向量;计算所述行车特征向量的第一属性值,比较所述第一属性值是否达到阈值;若达到阈值,计算所述行车特征向量的第二属性值;判断所述第二属性值是否为目标属性值;及若为目标属性值,标记所述目标车辆存在超车行为。In one of the embodiments, determining whether the target vehicle has overtaking behavior by comparing changes in the vehicle position of nearby vehicles in adjacent multiple frames of driving images includes: generating according to the vehicle position in adjacent multiple frames of driving images The driving feature vector of nearby vehicles; calculating the first attribute value of the driving feature vector, and comparing whether the first attribute value reaches a threshold; if it reaches the threshold, calculating the second attribute value of the driving feature vector; judging the first attribute value Whether the second attribute value is a target attribute value; and if it is a target attribute value, marking the target vehicle has an overtaking behavior.
在其中一个实施例中,所述行车数据包括行车时间;根据在相邻多帧行车图像中的车辆位置,生成附近车辆的行车特征向量,包括:根据所述行车时间,确定多帧行车图像的遍历顺序;根据所述遍历顺序,依次对每帧行车图像是否出现附近车辆进行遍历;将附件车辆在一帧或多帧行车图像中的车辆位置分别标记为不同顺序的向量元素;对每个附件车辆的相邻向量元素进行去重处理;及基于去重后的多个向量元素生成相应附近车辆的行车特征向量。In one of the embodiments, the driving data includes driving time; generating driving feature vectors of nearby vehicles according to the position of the vehicle in the adjacent multiple frames of driving images includes: determining the driving time of the multi-frame driving image according to the driving time Traversal sequence; according to the traversal sequence, traverse each frame of traffic image in turn whether there are nearby vehicles; mark the vehicle position of the accessory vehicle in one or more frames of traffic image as vector elements in different sequences; for each accessory The adjacent vector elements of the vehicles are deduplicated; and based on the deduplicated multiple vector elements, the driving feature vectors of the corresponding nearby vehicles are generated.
在其中一个实施例中,所述行车数据还包括车辆感应数据;所述根据超车频次计算所述目标车辆对应的车险费用,包括:基于所述行车图像识别所述目标车辆的车道偏离频次和碰撞预警频次;基于所述车辆感应数据统计所述目标车辆的超速频次和急转弯频次;爬取所述目标车辆的不良驾驶记录,基于所述不良驾驶记录统计所述目标车辆的酒驾频次和责任事故频次;根据统计时段的超车频次、车道偏离频次、碰撞预警频次、超速频次、急转弯频次、酒驾频次及责任事故频次,确定所述目标车辆的驾驶行为安全等级;及根据所述驾驶行为安全等级调整所述目标车辆的车险费用。In one of the embodiments, the driving data further includes vehicle sensing data; the calculating the car insurance cost corresponding to the target vehicle according to the overtaking frequency includes: identifying the lane departure frequency and collision of the target vehicle based on the driving image Early warning frequency; based on the vehicle induction data, count the speeding frequency and sharp turning frequency of the target vehicle; crawl the bad driving record of the target vehicle, and count the drunk driving frequency and responsible accident of the target vehicle based on the bad driving record Frequency; Determine the driving safety level of the target vehicle based on the frequency of overtaking, lane departure, collision warning, speeding, sharp turning, drunk driving, and responsible accident frequency during the statistical period; and according to the driving safety level Adjust the auto insurance cost of the target vehicle.
一种行车数据分析装置,所述装置包括:行车图像处理模块,用于获取目标车辆的行车数据;所述行车数据包括行车图像;在所述行车图像中确定识别区域;识别车辆标识出现在识别区域的附近车辆,记录所述附近车辆的车辆位置;超车行为分析模块,用于通过比较相邻多帧行车图像中附近车辆的车辆位置的变化,判断所述目标车辆是否存在超车行为;根据判断结果对所述目标车辆的超车频次进行统计;及车险费用计算模块,用于根据所述超车频次计算所述目标车辆对应的车险费用。A driving data analysis device, the device comprising: a driving image processing module for acquiring driving data of a target vehicle; the driving data includes a driving image; identifying a recognition area in the driving image; identifying a vehicle identifier that appears in the recognition The nearby vehicles in the area record the vehicle position of the nearby vehicles; the overtaking behavior analysis module is used to judge whether the target vehicle has overtaking behavior by comparing the changes in the vehicle position of nearby vehicles in adjacent multiple frames of driving images; As a result, statistics are made on the overtaking frequency of the target vehicle; and an auto insurance cost calculation module for calculating the auto insurance cost corresponding to the target vehicle according to the overtaking frequency.
在其中一个实施例中,所述行车图像处理模块还用于识别所述行车图像中的识别起点和车道边线;获取目标车辆与同车道前车的跟车距离,根据所述跟车距离确定识别距离;及基于识别起点和识别距离确定识别区域。In one of the embodiments, the driving image processing module is also used to identify the recognition starting point and lane edges in the driving image; obtain the following distance between the target vehicle and the preceding vehicle in the same lane, and determine the recognition based on the following distance Distance; and the recognition area is determined based on the recognition starting point and the recognition distance.
一种计算机设备,包括存储器和一个或多个处理器,存储器中存储有计算机可读指令,计算机可读指令被处理器执行时实现本申请任意一个实施例中提供的行车数据分析方法的步骤。A computer device includes a memory and one or more processors. The memory stores computer readable instructions. When the computer readable instructions are executed by the processor, the steps of the driving data analysis method provided in any embodiment of the present application are implemented.
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申 请任意一个实施例中提供的行车数据分析方法的步骤。One or more non-volatile computer-readable storage media storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors implement any one of the embodiments of the present application. Provide the steps of the driving data analysis method.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the following drawings and description. Other features and advantages of this application will become apparent from the description, drawings and claims.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1为根据一个或多个实施例中行车数据分析方法的应用场景图。Fig. 1 is an application scenario diagram of a driving data analysis method according to one or more embodiments.
图2为根据一个或多个实施例中行车数据分析方法的流程示意图。Fig. 2 is a schematic flowchart of a method for analyzing driving data according to one or more embodiments.
图3A为根据一个或多个实施例中行车图像处理的一个过程示意图。Fig. 3A is a schematic diagram of a process of driving image processing according to one or more embodiments.
图3B为根据一个或多个实施例中行车图像处理的另一过程示意图。3B is a schematic diagram of another process of driving image processing according to one or more embodiments.
图3C为根据一个或多个实施例中行车图像处理的又一过程示意图。3C is a schematic diagram of another process of driving image processing according to one or more embodiments.
图4为根据一个或多个实施例中超车行为判定的步骤的流程示意图。Fig. 4 is a schematic flowchart of the steps of determining overtaking behavior in one or more embodiments.
图5为根据一个或多个实施例中行车数据分析装置的结构框图。Fig. 5 is a structural block diagram of a driving data analysis device according to one or more embodiments.
图6为根据一个或多个实施例中计算机设备的框图。Figure 6 is a block diagram of a computer device according to one or more embodiments.
具体实施方式Detailed ways
为了使本申请的技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the technical solutions and advantages of the present application clearer, the following further describes the present application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the application, and not used to limit the application.
本申请提供的行车数据分析方法,可以应用于如图1所示的应用环境中。终端102与服务器104通过网络进行通信。终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,终端102可以是目标车辆车主对应的终端,也可以是目标车辆车主欲办理车险业务的保险公司对应的终端。服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。当期望基于目标车辆办理车险业务时,用户可以基于终端102向服务器发送车险办理请求。车险办理请求携带了目标车辆标识。服务器104根据目标车辆标识获取对应目标车辆的行车数据。行车数据包括多帧行车图像。服务器104在行车图像中确定识别区域,并识别车辆标识出现在识别区域的车辆,将识别到的车辆标记为附近车辆。服务器104记录附近车辆在相邻多帧行车图像中的车辆位置,并比较车辆位置的变化,根据比较结果可以判断目标车辆是否存在超车行为。服务器104根据判断结果对目标车辆的超车频次进行统计,根据超车频次可以判断目标车辆用户的驾驶行 为习惯安全性,进一步根据超车频次计算目标车辆对应的车险费用。服务器104将计算得到的车险费用返回至终端102。上述车险费用计算过程,自动进行行车数据的采集和分析,并根据分析结果直接调整车险费用,大大减少人工负担,不仅可以提高车险费用计算效率,也可以提高车险费用计算客观性和准确性。The driving data analysis method provided in this application can be applied to the application environment as shown in FIG. 1. The terminal 102 and the server 104 communicate through the network. The terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The terminal 102 can be a terminal corresponding to the target vehicle owner, or an insurance company that the target vehicle owner wants to handle auto insurance business. The corresponding terminal. The server 104 may be implemented as an independent server or a server cluster composed of multiple servers. When it is desired to handle auto insurance business based on the target vehicle, the user can send a request for auto insurance handling to the server based on the terminal 102. The vehicle insurance application request carries the target vehicle identification. The server 104 obtains driving data corresponding to the target vehicle according to the target vehicle identifier. The driving data includes multiple frames of driving images. The server 104 determines the recognition area in the driving image, recognizes the vehicle whose vehicle identifier appears in the recognition area, and marks the recognized vehicle as a nearby vehicle. The server 104 records the vehicle positions of nearby vehicles in adjacent multiple frames of driving images, and compares the changes of the vehicle positions, and can determine whether the target vehicle has overtaking behavior according to the comparison result. The server 104 counts the overtaking frequency of the target vehicle according to the judgment result, and can judge the safety of the driving behavior of the user of the target vehicle according to the overtaking frequency, and further calculates the auto insurance cost corresponding to the target vehicle according to the overtaking frequency. The server 104 returns the calculated car insurance cost to the terminal 102. The above-mentioned auto insurance cost calculation process automatically collects and analyzes the driving data, and directly adjusts the auto insurance cost according to the analysis result, which greatly reduces the labor burden. It not only improves the efficiency of auto insurance cost calculation, but also improves the objectivity and accuracy of auto insurance cost calculation.
在其中一个实施例中,如图2所示,提供了一种行车数据分析方法,以该方法应用于图1中的服务器为例进行说明,包括以下步骤:In one of the embodiments, as shown in FIG. 2, a method for analyzing traffic data is provided. Taking the method applied to the server in FIG. 1 as an example, the method includes the following steps:
步骤202,获取目标车辆的行车数据;行车数据包括行车图像。Step 202: Acquire driving data of the target vehicle; the driving data includes driving images.
服务器充分利用行车记录仪采集记录的行车数据,按照预设时间频率采集目标车辆的行车数据。行车数据包括多帧行车图像以及每帧行车图像对应的行车时间。The server makes full use of the driving data collected and recorded by the driving recorder, and collects driving data of the target vehicle according to the preset time frequency. The driving data includes multiple frames of driving images and the driving time corresponding to each frame of driving images.
步骤204,在行车图像中确定识别区域。Step 204: Determine the recognition area in the driving image.
服务器在行车图像中将目标车辆周围一定区域确定为识别区域。例如,可以将目标车辆正前方、正后方、左侧或右侧中至少一侧的预设面积的区域为识别区域。预设面积也可以是固定值,也可以是行车图像的预设比例等动态值。The server determines a certain area around the target vehicle as the recognition area in the driving image. For example, an area with a preset area on at least one of the front, rear, left, or right side of the target vehicle may be used as the recognition area. The preset area may also be a fixed value or a dynamic value such as a preset ratio of the driving image.
步骤206,识别车辆标识出现在识别区域的附近车辆,记录附近车辆的车辆位置。Step 206: Recognize nearby vehicles whose vehicle identifiers appear in the recognition area, and record the vehicle positions of nearby vehicles.
车辆标识可以是车牌号等。识别区域包括多个子区域。服务器根据附件车辆处于识别区域的哪一子区域,确定每辆附近车辆的车辆位置。The vehicle identification can be a license plate number or the like. The recognition area includes a plurality of sub-areas. The server determines the vehicle location of each nearby vehicle according to which sub-area of the recognition area the accessory vehicle is located.
步骤208,通过比较相邻多帧行车图像中附近车辆的车辆位置的变化,判断目标车辆是否存在超车行为。Step 208: Determine whether the target vehicle has an overtaking behavior by comparing changes in the vehicle position of nearby vehicles in adjacent multiple frames of driving images.
相邻多帧可以是最近采集的预设数量帧数,如3帧。容易理解,对比行车图像的帧数可以根据需要自由设置,对此不做限制。有些附近车辆车牌标识在预设数量帧行车图像中可能仅在其中部分帧行车图像中出现。每个附近车辆首次被识别到均只有一个车辆位置,随着行车图像帧数增加,存储的车辆位置逐渐增加,但最多只存预设数量个行车位置。换言之,存储的每个附近车辆的车辆位置的数量小于或等于预设数量。The adjacent multi-frames may be the preset number of frames acquired recently, such as 3 frames. It is easy to understand that the number of frames of the comparison driving image can be set freely as needed, and there is no restriction on this. The license plate mark of some nearby vehicles may only appear in some frames of the driving image in the preset number of frames of the driving image. Each nearby vehicle is recognized for the first time with only one vehicle position. As the number of driving image frames increases, the stored vehicle positions gradually increase, but only a preset number of driving positions can be stored at most. In other words, the number of stored vehicle positions of each nearby vehicle is less than or equal to the preset number.
服务器获取每个附近车辆在多帧行车图像中车辆位置的变化趋势,判断该变化趋势是否为预设的第一种趋势。若是,服务器判定目标车辆在对应行车时间存在超车行为。The server obtains the change trend of the vehicle position of each nearby vehicle in the multi-frame driving image, and determines whether the change trend is the preset first trend. If yes, the server determines that the target vehicle has overtaking behavior during the corresponding driving time.
步骤210,根据判断结果对目标车辆的超车频次进行统计。Step 210: Count the overtaking frequency of the target vehicle according to the judgment result.
根据判断结果,服务器对目标车辆在统计时段的超车频次进行统计。统计时段可以是目标车辆车主发起车险办理请求之前的一段时间,如半年等。 超车频次可以是超车次数与统计时段时间长度的比值。According to the judgment result, the server counts the overtaking frequency of the target vehicle during the statistical period. The statistical period may be a period of time before the owner of the target vehicle initiates the auto insurance application request, such as half a year. The frequency of overtaking can be the ratio of the number of overtakings to the length of the statistical period.
在另一个实施例中,服务器对目标车辆在统计时段被超车的次数(记作被超车次数)进行统计。例如,服务器判断附近车辆在多帧行车图像中车辆位置的变化趋势是否为预设的第二种趋势。若是,服务器判定目标车辆在对应行车时间存在被超车行为。此时,超车频次的计算可以是:超车频次=超车次数/(超车次数+被超车次数)。In another embodiment, the server counts the number of times the target vehicle has been overtaken during the statistical period (denoted as the number of overtakes). For example, the server determines whether the changing trend of the vehicle position of nearby vehicles in the multiple frames of driving images is a preset second trend. If yes, the server determines that the target vehicle has been overtaken during the corresponding driving time. At this time, the calculation of the overtaking frequency may be: overtaking frequency=number of overtaking/(number of overtaking+number of overtaking).
步骤212,根据超车频次计算目标车辆对应的车险费用。Step 212: Calculate the auto insurance cost corresponding to the target vehicle according to the frequency of overtaking.
服务器可以预设多种超车频次区间以及每种超车频次区间对应的车险费用调整比例。服务器确定目标车辆超车频次所属的超车频次区间,根据该超车频次区间对应的车险费用调整比例增大或减小基础车险费用,得到目标车辆对应的车辆费用。The server can preset multiple overtaking frequency intervals and the auto insurance cost adjustment ratio corresponding to each overtaking frequency interval. The server determines the overtaking frequency interval to which the overtaking frequency of the target vehicle belongs, and increases or decreases the basic auto insurance expense according to the auto insurance cost adjustment ratio corresponding to the overtaking frequency interval to obtain the vehicle expense corresponding to the target vehicle.
本实施例中,根据获取的目标车辆的多帧行车图像,可以确定行车图像中的识别区域;根据车牌标识是否出现在识别区域,可以识别目标车辆对应的附近车辆;根据记录的附近车辆在相邻多帧行车图像中的车辆位置,可以比较车辆位置的变化;根据车辆位置的变化,可以判断目标车辆是否存在超车行为;根据判断结果,可以统计得到目标车辆的超车频次;根据超车频次,可以计算目标车辆对应的车险费用。由于自动进行行车数据的采集和分析,并根据分析结果直接计算车险费用,不仅可以提高车险费用计算效率,也可以提高计算结果客观性和准确性。此外,通过对行车图像进行识别区域划分,并基于识别区域对附近车辆进行位置统计,根据附近车辆相对目标车辆的位置变化来判断目标车辆是否存在超车行为,相比笼统的比较图像相似度可以提高超车行为判断准确性,进而提高车险费用计算准确性。In this embodiment, according to the acquired multiple frames of driving images of the target vehicle, the recognition area in the driving image can be determined; according to whether the license plate mark appears in the recognition area, the nearby vehicles corresponding to the target vehicle can be identified; The vehicle position in adjacent multiple frames of driving images can be compared to the changes in the vehicle position; according to the changes in the vehicle position, it can be judged whether the target vehicle has overtaking behavior; according to the judgment result, the overtaking frequency of the target vehicle can be calculated; according to the overtaking frequency, you can Calculate the auto insurance cost corresponding to the target vehicle. Since the collection and analysis of driving data are automatically performed, and the auto insurance costs are directly calculated based on the analysis results, not only the efficiency of calculating the auto insurance costs can be improved, but the objectivity and accuracy of the calculation results can also be improved. In addition, by dividing the recognition area of the driving image, and performing position statistics of nearby vehicles based on the recognition area, judging whether the target vehicle has overtaking behavior according to the position change of the nearby vehicle relative to the target vehicle, which can improve the similarity of the image compared to the general comparison. The accuracy of judging overtaking behaviors improves the accuracy of car insurance calculations.
在其中一个实施例中,在行车图像中确定识别区域的步骤,包括:识别行车图像中的识别起点和车道边线;获取目标车辆与同车道前车的跟车距离,根据跟车距离确定识别距离;基于识别起点和识别距离确定识别区域。In one of the embodiments, the step of determining the recognition area in the driving image includes: recognizing the recognition starting point and the lane edge in the driving image; obtaining the following distance between the target vehicle and the preceding vehicle in the same lane, and determining the recognition distance according to the following distance ; Determine the recognition area based on the recognition starting point and the recognition distance.
行车记录仪通常是以目标车辆为中心采集目标车辆周围的车况和路况,由此服务器可以将行车图像中间偏下方的位置(即目标车辆所在位置)标记为识别起点。道路路面上通常会有线条、箭头、文字、立面标记、突起路标和轮廓标等用于向交通参与者传递引导、限制、警告等交通信息的交通标线。其中,车道边线是指在目标车辆所在道路上的用户划分车道的线条。The driving recorder usually collects the vehicle conditions and road conditions around the target vehicle with the target vehicle as the center, so that the server can mark the lower position in the middle of the driving image (that is, the location of the target vehicle) as the identification starting point. There are usually lines, arrows, text, facade markings, raised road signs and outline signs on the road surface that are used to convey traffic information such as guidance, restrictions, and warnings to traffic participants. Among them, the lane edge refers to the line dividing the lane by the user on the road where the target vehicle is located.
若行车图像中目标车辆存在同车道前车,服务器获取目标车辆距离同车道前车的图像距离,根据图像距离以及图像拍摄比例,计算目标距离的跟车距离。若行车图像中目标车辆不存在同车道前车,则服务器获取图像拍摄距离,根据图像拍摄距离以及图像拍摄比例,计算目标距离的跟车距离。服务器对跟车距离进行预设逻辑运算,得到识别距离。例如,跟车距离*3/2=识别 距离。在另一个实施例中,识别距离可以行车图像的预设比例进行动态确定,也可以是固定值,对此不做限制。If the target vehicle has a preceding vehicle in the same lane in the driving image, the server obtains the image distance of the target vehicle from the preceding vehicle in the same lane, and calculates the following distance of the target distance based on the image distance and the image shooting ratio. If the target vehicle does not exist in the same lane in the driving image, the server obtains the image shooting distance, and calculates the following distance of the target distance according to the image shooting distance and the image shooting ratio. The server performs a preset logical operation on the following distance to obtain the recognition distance. For example, following distance *3/2 = recognition distance. In another embodiment, the recognition distance can be dynamically determined by a preset ratio of the driving image, or it can be a fixed value, which is not limited.
识别区域可以是根据预设长度及识别距离确定边长的四边形。其中,识别起点为四边形中一个边的中点。图3A为目标车辆的行车记录仪拍摄的其中1帧行车图像。如图3A所示,该行车图像对应的识别区域可以是以识别起点为下边终点的等腰梯形,其中,下边长度与上边长度分别可以是图像车道宽度*3,高度可以是识别距离。图像车道宽度可以是一个车道在行车图像中的宽度。容易理解,在行车图像的不同图像高度,对应的图像车道宽度不同。例如,下边所在图像高度的图像车道宽度可以是5cm;上边所在图像高度的图像车道宽度可以是3cm。The recognition area may be a quadrilateral whose side length is determined according to the preset length and the recognition distance. Among them, the identification starting point is the midpoint of one side of the quadrilateral. Fig. 3A is one frame of driving image taken by the driving recorder of the target vehicle. As shown in FIG. 3A, the recognition area corresponding to the driving image may be an isosceles trapezoid with the recognition starting point as the lower end point, wherein the lower side length and the upper side length may be the image lane width * 3, and the height may be the recognition distance. The image lane width may be the width of a lane in the driving image. It is easy to understand that in different image heights of the driving image, the corresponding image lane width is different. For example, the width of the image lane with the image height at the bottom side can be 5 cm; the width of the image lane with the image height at the top side can be 3 cm.
服务器在行车图像中识别目标车辆的附近车辆。在上述举例中,在识别区域存在五辆车辆,其中能够识别到车牌标识的有A、B、C和D四辆,虽然车辆E可以识别到其车牌标识,但其不在识别区域内,从而目标车辆的附近车辆包括A、B、C和D。The server identifies nearby vehicles of the target vehicle in the driving image. In the above example, there are five vehicles in the recognition area. Among them, four vehicles A, B, C, and D can be recognized. Although vehicle E can recognize its license plate, it is not in the recognition area, so the target The nearby vehicles of the vehicle include A, B, C, and D.
本实施例中,对行车图像进行图像处理,动态确定目标车辆在每个行车图像的识别区域,相比笼统的框选方式可以提高区域划分准确性;对识别区域进行动态限定,可以对需要进一步详细图像处理的内容进行精准限定,不仅提高识别精度,由于限缩了需要图像处理的数据量,也可以提高识别效率。In this embodiment, image processing is performed on the driving image to dynamically determine the recognition area of the target vehicle in each driving image. Compared with the general frame selection method, the accuracy of the area division can be improved; the recognition area can be dynamically limited to further Precisely limiting the content of detailed image processing not only improves the recognition accuracy, but also improves the efficiency of recognition because the amount of data that needs image processing is limited.
在其中一个实施例中,记录附近车辆的车辆位置,包括:根据识别距离生成均分边线;基于均分边线及车道边线将识别区域划分为多个子区域;根据附近车辆所在子区域的位置确定对应的车辆位置。In one of the embodiments, recording the vehicle position of nearby vehicles includes: generating an even sideline based on the recognition distance; dividing the recognition area into multiple sub-areas based on the average sideline and lane sideline; and determining the correspondence based on the location of the sub-areas of nearby vehicles The location of the vehicle.
根据要将识别区域均分的份数不同,均分边线的数量不同。例如,均分边线的数量可以是要将识别区域均分的份数-1。不同均分边线的长度可以不同。均分边线的长度也可以是图像车道宽度*3的整数倍。例如,对上述举例的行车图像进行区域划分后,可以得到如图3B所示的图像。在图3B中,服务器根据识别距离将识别区域三等分。具体的,服务器根据识别距离以及要将识别区域均分的份数,生成三条均分边线。其中,均分边线1的长度可以是图像车道宽度*3,均分边线2与均分边线3的长度分别可以是图像车道宽度*1。The number of equally divided edges varies according to the number of copies to be evenly divided into the recognition area. For example, the number of equally divided edges may be the number of copies to be divided into the recognition area -1. The length of the different equally divided sides can be different. The length of the even sideline can also be an integer multiple of the image lane width*3. For example, after performing area division on the driving image in the above example, an image as shown in FIG. 3B can be obtained. In FIG. 3B, the server divides the recognition area into three equal parts according to the recognition distance. Specifically, the server generates three equally-divided edges according to the recognition distance and the number of copies to be evenly divided into the recognition area. Wherein, the length of the divided sideline 1 may be the width of the image lane*3, and the lengths of the divided sideline 2 and the divided sideline 3 may be the width of the image lane*1, respectively.
服务器可以基于识别区域构建坐标系,进而确定均分边线以及车道边线分别在行车图像的图像坐标。服务器根据图像坐标在识别区域对多条均分边线和车道边线进行拼接,进而将识别区域划分为多个子区域,并根据子区域在坐标系中的坐标位置,将多个分别标记为上区域、中区域或下区域。如图3C所示,上述举例中,服务器将识别区域划分为6个子区域,将纵坐标最大的子区域1标记为上区域,将纵坐标次高且相同的子区域2和子区域3分别 标记为中区域,将纵坐标最低且相同的子区域5和子区域6分别标记为下区域。容易理解,若要将识别区域均分的份数低于3份,则可以将某个子区域进一步拆分为多个纵坐标不同的中间区域后再按照上述方式划分为上、中、下三种区域。若要将识别区域均分的份数超过3份,则可以多个纵坐标相邻的子区域合并为一个中间区域后再按照上述方式划分为上、中、下三种区域。The server may construct a coordinate system based on the recognition area, and then determine the image coordinates of the dividing edge and the lane edge respectively in the driving image. The server splices the multiple equally divided edges and lane edges in the recognition area according to the image coordinates, and then divides the recognition area into multiple sub-areas, and marks the multiple as upper area and the upper area according to the coordinate position of the sub-areas in the coordinate system. Middle area or lower area. As shown in Figure 3C, in the above example, the server divides the recognition area into 6 sub-areas, marks the sub-areas 1 with the largest ordinate as the upper area, and marks the sub-areas 2 and 3 with the second highest and the same ordinate as the upper area. In the middle area, the sub-area 5 and the sub-area 6 with the lowest ordinate and the same are marked as the lower area. It is easy to understand that if the number of copies of the recognition area is less than 3 copies, a certain sub-area can be further divided into multiple intermediate areas with different ordinates, and then divided into upper, middle, and lower according to the above method area. If the number of copies of the recognition area is more than 3 copies, multiple sub-areas adjacent to the ordinate can be merged into a middle area and then divided into the upper, middle and lower areas according to the above method.
根据附近车辆所在子区域的位置,服务器可以确定对应的车辆位置。例如,附近车辆A的车辆标识出现在上区域,则可以记录附近车辆的车辆位置为上。在另一个实施例中,附近车辆的车辆位置可以是附近车辆A的车辆标识在识别区域对应坐标系的具体坐标,对此不作限制。According to the location of the nearby vehicle in the sub-area, the server can determine the corresponding vehicle location. For example, if the vehicle identifier of nearby vehicle A appears in the upper area, the vehicle position of nearby vehicles can be recorded as up. In another embodiment, the vehicle position of the nearby vehicle may be the specific coordinates of the coordinate system corresponding to the vehicle identifier of the nearby vehicle A in the recognition area, which is not limited.
值得注意的是,也可以采用其他的方式确定识别区域,也可以采用其他方式对识别区域进行划分,本实施例只是给出能够确定附近车辆相对目标车辆的车辆位置变化的一种示例性手段。It is worth noting that other methods can also be used to determine the recognition area, and other methods can also be used to divide the recognition area. This embodiment only provides an exemplary method that can determine the vehicle position change of nearby vehicles relative to the target vehicle.
本实施例中,将识别区域进一步划分为便于确定附近车辆相对目标车辆位置变化的多个子区域,基于这种方式划分的多个子区域,可以简化识别附近车辆相对目标车辆位置变化趋势的识别算法,进而提高超车行为分析效率。In this embodiment, the recognition area is further divided into multiple sub-areas that facilitate the determination of the position changes of nearby vehicles relative to the target vehicle. Based on the multiple sub-areas divided in this way, the recognition algorithm for recognizing the change trend of nearby vehicles relative to the target vehicle position can be simplified. And then improve the efficiency of overtaking behavior analysis.
在其中一个实施例中,如图4所示,通过比较相邻多帧行车图像中附近车辆的车辆位置的变化,判断目标车辆是否存在超车行为,即超车行为判定的步骤,包括:In one of the embodiments, as shown in FIG. 4, by comparing the changes in the vehicle positions of nearby vehicles in adjacent frames of driving images, it is determined whether the target vehicle has overtaking behavior, that is, the step of determining overtaking behavior includes:
步骤402,根据在相邻多帧行车图像中的车辆位置,生成附近车辆的行车特征向量。Step 402: Generate driving feature vectors of nearby vehicles according to the vehicle positions in adjacent multiple frames of driving images.
在其中一个实施例中,行车数据包括行车时间;根据在相邻多帧行车图像中的车辆位置,生成附近车辆的行车特征向量,包括:根据行车时间,确定多帧行车图像的遍历顺序;根据遍历顺序,依次对每帧行车图像是否出现附近车辆进行遍历;将附件车辆在一帧或多帧行车图像中的车辆位置分别标记为不同顺序的向量元素;对每个附件车辆的相邻向量元素进行去重处理。基于去重后的多个向量元素生成相应附近车辆的行车特征向量。In one of the embodiments, the driving data includes the driving time; according to the vehicle position in the adjacent multiple frames of driving images, generating the driving feature vector of nearby vehicles includes: determining the traversal sequence of the multiple frames of driving images according to the driving time; Traversal sequence, traverse each frame of the driving image in turn whether there are nearby vehicles; mark the vehicle position of the accessory vehicle in one or more frames of the driving image as vector elements in different orders; for the adjacent vector elements of each accessory vehicle Perform deduplication processing. Based on the multiple vector elements after deduplication, the driving feature vectors of the corresponding nearby vehicles are generated.
服务器按照行车时间的先后顺序对采集到的多帧行车图像进行遍历。容易理解,有些附近车辆在最近采集的多帧行车图像中可能仅在其中部分帧行车图像中出现。因此,服务器在遍历过程中,判断附近车辆的车牌标识在采集的第一帧行车图像中是否存在。若在第一帧行车图像中存在,服务器将附件车辆在第一帧行车图像中的车辆位置标记为第一顺序的向量元素。服务器继续判断附近车辆的车牌标识在采集的下一帧行车图像中是否存在。若下一帧行车图像中存在,服务器将附件车辆在下一帧行车图像中的车辆位置标记为下一顺序的向量元素,继续遍历判断附近车辆的车牌标识在再下一帧行车图像中是否存在,如此重复遍历,直至最后一帧行车图像,得到每个附近车 辆对应的多个向量元素。若下一帧行车图像中不存在,服务器按照上述方式继续遍历再下一帧行车图像。The server traverses the collected multiple frames of driving images in the order of driving time. It is easy to understand that some nearby vehicles may only appear in some frames of the traffic images in the recently collected multi-frame traffic images. Therefore, during the traversal process, the server judges whether the license plate identifiers of nearby vehicles exist in the first frame of traffic images collected. If it exists in the first frame of driving image, the server marks the vehicle position of the accessory vehicle in the first frame of driving image as a vector element in the first order. The server continues to determine whether the license plate identifiers of nearby vehicles are present in the next frame of traffic images collected. If it exists in the next frame of driving image, the server marks the vehicle position of the accessory vehicle in the next frame of driving image as the next sequential vector element, and continues to traverse to determine whether the license plate mark of nearby vehicles exists in the next frame of driving image. Repeat the traversal until the last frame of driving image, and obtain multiple vector elements corresponding to each nearby vehicle. If the next frame of traffic image does not exist, the server continues to traverse the next frame of traffic image in the above-mentioned manner.
根据向量元素的获取顺序,服务器将多个向量元素进行排序,形成元素队列。服务器判断元素队列中每个向量元素是否与前一向量元素重复。若发生重复,则服务器将对应的向量元素从元素队列中删除,基于去重后的元素队列生成相应附近车辆的行车特征向量。例如,在上述举例中,附近车辆A对应的行车特征向量可以是[上,中,下],附近车辆B对应的行车特征向量可以是[下,中,上],附近车辆C对应的行车特征向量可以是[上,中],附近车辆D对应的行车特征向量可以是[中,下]。容易理解,不存在[中,下,下]等类似的存在相邻向量元素重复的行车特征向量。According to the order of obtaining vector elements, the server sorts multiple vector elements to form an element queue. The server determines whether each vector element in the element queue is duplicated with the previous vector element. If repetition occurs, the server deletes the corresponding vector element from the element queue, and generates the driving feature vector of the corresponding nearby vehicle based on the deduplicated element queue. For example, in the above example, the driving feature vector corresponding to nearby vehicle A can be [up, middle, down], the driving feature vector corresponding to nearby vehicle B can be [down, middle, up], and the driving feature corresponding to nearby vehicle C The vector can be [up, middle], and the driving feature vector corresponding to the nearby vehicle D can be [middle, bottom]. It is easy to understand that there is no such as [middle, down, down] and similar traffic feature vectors with repeated adjacent vector elements.
步骤404,计算行车特征向量的第一属性值,比较第一属性值是否达到阈值。Step 404: Calculate the first attribute value of the driving feature vector, and compare whether the first attribute value reaches the threshold.
第一属性值可以是行车特征向量包含向量元素的数量。阈值可以是固定值,如3。阈值也可以是根据要将行车图像均分的份数动态确定的数值。The first attribute value may be the number of vector elements contained in the driving feature vector. The threshold can be a fixed value, such as 3. The threshold value may also be a value dynamically determined according to the number of copies of the driving image to be divided equally.
步骤406,若达到阈值,计算行车特征向量的第二属性值。Step 406: If the threshold is reached, calculate the second attribute value of the driving feature vector.
若行车特征向量的第一属性值小于阈值,服务器目标车辆相对相应附近车辆是否发生超车行为不做判定。例如,在上述举例中,附近车辆C和附近车辆D的第一属性值为2,小于阈值3。If the first attribute value of the driving feature vector is less than the threshold, the server does not determine whether the target vehicle overtakes the corresponding nearby vehicle. For example, in the above example, the first attribute value of nearby vehicle C and nearby vehicle D is 2, which is less than the threshold value 3.
若行车特征向量的第一属性值等于阈值,服务器进一步的计算行车特征向量的第二属性值。第二属性值可以是用于表征附近车辆相对目标车辆的车辆位置的变化趋势的属性值。If the first attribute value of the driving feature vector is equal to the threshold, the server further calculates the second attribute value of the driving feature vector. The second attribute value may be an attribute value used to characterize the change trend of the vehicle position of nearby vehicles relative to the target vehicle.
步骤408,判断第二属性值是否为目标属性值。Step 408: Determine whether the second attribute value is the target attribute value.
步骤410,若为目标属性值,标记目标车辆存在超车行为。In step 410, if it is the target attribute value, mark that the target vehicle has an overtaking behavior.
服务器预设了多种目标属性值以及每种目标属性值关联的判定结果。例如,在上述举例中,附近车辆A对应的第二属性值为目标属性值3,表示目标车辆相对附近车辆A在前进,可以判定目标车辆相对附近车辆A发生超车行为。The server presets multiple target attribute values and determination results associated with each target attribute value. For example, in the above example, the second attribute value corresponding to nearby vehicle A is the target attribute value 3, indicating that the target vehicle is moving forward relative to nearby vehicle A, and it can be determined that the target vehicle has overtaken relative to nearby vehicle A.
本实施例中,对超车行为分析算法进行简化,通过对行车特征向量的第一属性值和第二属性值是否分别满足对应的预设条件,即可判断目标车辆是否发生超车行为,提高超车行为分析效率。In this embodiment, the overtaking behavior analysis algorithm is simplified. By determining whether the first attribute value and the second attribute value of the driving feature vector meet the corresponding preset conditions respectively, it can be judged whether the target vehicle has overtaking behavior, and the overtaking behavior can be improved. Analyze efficiency.
在其中一个实施例中,根据超车频次计算目标车辆对应的车险费用,包括:基于行车图像识别目标车辆的车道偏离频次和碰撞预警频次;基于车辆感应数据统计目标车辆的超速频次和急转弯频次;爬取目标车辆的不良驾驶记录,基于不良驾驶记录统计目标车辆的酒驾频次和责任事故频次;根据统计时段的超车频次、车道偏离频次、碰撞预警频次、超速频次、急转弯频次、 酒驾频次及责任事故频次,确定目标车辆的驾驶行为安全等级;根据驾驶行为安全等级调整目标车辆的车险费用。In one of the embodiments, calculating the car insurance cost corresponding to the target vehicle based on the frequency of overtaking includes: recognizing the lane departure frequency and collision warning frequency of the target vehicle based on driving images; and counting the frequency of overspeeding and sharp turning of the target vehicle based on vehicle sensing data; Crawl the bad driving record of the target vehicle, and calculate the frequency of drunk driving and responsible accident frequency of the target vehicle based on the bad driving record; according to the frequency of overtaking, lane departure, collision warning frequency, speeding frequency, sharp turn frequency, drunk driving frequency and liability during the statistical period Accident frequency, determine the driving safety level of the target vehicle; adjust the auto insurance cost of the target vehicle according to the driving safety level.
服务器通过比较相邻多帧行车图像中目标车辆相对车道边线的位置变化,判断目标车辆是否存在车道偏离行为。当存在车道偏离行为时,服务器对目标车辆的车道偏离频次进行统计。服务器通过比较跟车距离是否小于预设值,判断目标车辆是否存在碰撞预警行为,当存在碰撞预警行为时,服务器对目标车辆的碰撞预警频次进行统计。The server determines whether the target vehicle has lane departure behavior by comparing the position changes of the target vehicle relative to the lane edge in the adjacent multiple frames of driving images. When there is lane departure behavior, the server counts the lane departure frequency of the target vehicle. The server determines whether the target vehicle has collision warning behavior by comparing whether the following distance is less than a preset value. When there is a collision warning behavior, the server counts the collision warning frequency of the target vehicle.
行车数据还包括车辆感应数据。车辆感应数据包括速度变化数据和方向变化数据。服务器根据行车图像获取对应的行车路段限速数据,基于行车路段限速数据及速度变化数据,判断目标车辆是否存在超速行为。若存在超速行为,服务器对目标车辆的超速频次进行统计。服务器根据方向变化数据判断目标车辆是否存在急转弯行为。若存在急转弯行为,服务器对目标车辆的急转弯频次进行统计。Driving data also includes vehicle sensing data. Vehicle sensing data includes speed change data and direction change data. The server obtains the corresponding speed limit data of the driving section according to the driving image, and determines whether the target vehicle has speeding behavior based on the speed limit data and the speed change data of the driving section. If there is speeding behavior, the server will make statistics on the speeding frequency of the target vehicle. The server determines whether the target vehicle has a sharp turn based on the direction change data. If there is a sharp turn, the server will make statistics on the frequency of sharp turns of the target vehicle.
服务器在交通管理网站等爬取目标车辆的不良驾驶记录。不良驾驶记录包括酒驾记录、负全责或部分责任的交通事故记录等。服务器基于不良驾驶记录统计目标车辆的酒驾频次和责任事故频次。The server crawls the poor driving record of the target vehicle on the traffic management website. Poor driving records include drunk driving records, and traffic accident records with full or partial responsibility. The server counts the frequency of drunk driving and the frequency of responsible accidents of the target vehicle based on the bad driving record.
服务器根据目标车辆在统计时段的超车频次、车道偏离频次、碰撞预警频次、超速频次、急转弯频次、酒驾频次及责任事故频次多个维度的安全评价指标,以及预设的不同维度安全评价指标对应的指标权重,可以综合确定目标车辆的驾驶行为安全等级。根据驾驶行为安全等级,可以调整目标车辆的车险费用。例如,基于不同超车频次设定对应不同的保费折扣率。The server corresponds to multiple dimensions of safety evaluation indicators based on the target vehicle's overtaking frequency, lane departure frequency, collision warning frequency, speeding frequency, sharp turning frequency, drunk driving frequency, and responsible accident frequency during the statistical period of the target vehicle, as well as the preset safety evaluation indicators of different dimensions The index weight of, can comprehensively determine the driving safety level of the target vehicle. According to the safety level of driving behavior, the auto insurance cost of the target vehicle can be adjusted. For example, setting corresponding different premium discount rates based on different overtaking frequency.
本实施例中,基于超车频次、车道偏离频次、碰撞预警频次、超速频次、急转弯频次、酒驾频次及责任事故频次多个维度的安全评价指标,确定目标车辆的驾驶行为安全等级,可以提高驾驶行为安全等级计算准确性,进而提高车险费用计算准确性。In this embodiment, based on multiple dimensions of safety evaluation indicators such as overtaking frequency, lane departure frequency, collision warning frequency, overspeed frequency, sharp turn frequency, drunk driving frequency, and responsible accident frequency, the safety level of driving behavior of the target vehicle is determined, which can improve driving The accuracy of the calculation of behavioral safety levels, thereby improving the accuracy of the calculation of auto insurance costs.
应该理解的是,虽然图2和图4的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2和图4中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowcharts of FIGS. 2 and 4 are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least part of the steps in Figures 2 and 4 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. These sub-steps or The order of execution of the stages is not necessarily carried out sequentially, but may be executed alternately or alternately with other steps or at least a part of the sub-steps or stages of other steps.
在其中一个实施例中,如图5所示,提供了一种行车数据分析装置,包 括:行车图像处理模块502、超车行为分析模块504和车险费用计算模块506,其中:In one of the embodiments, as shown in FIG. 5, a driving data analysis device is provided, which includes a driving image processing module 502, an overtaking behavior analysis module 504, and a car insurance cost calculation module 506, wherein:
行车图像处理模块502,用于获取目标车辆的行车数据;行车数据包括行车图像;在行车图像中确定识别区域;识别车辆标识出现在识别区域的附近车辆,记录附近车辆的车辆位置。The driving image processing module 502 is used to obtain driving data of the target vehicle; the driving data includes driving images; identifying the recognition area in the driving image; identifying nearby vehicles with vehicle identifiers in the recognition area, and recording the vehicle positions of nearby vehicles.
超车行为分析模块504,用于通过比较相邻多帧行车图像中附近车辆的车辆位置的变化,判断目标车辆是否存在超车行为;根据判断结果对目标车辆的超车频次进行统计。The overtaking behavior analysis module 504 is used for judging whether the target vehicle has overtaking behavior by comparing changes in the vehicle position of nearby vehicles in the adjacent multiple frames of driving images; and counting the overtaking frequency of the target vehicle according to the judgment result.
车险费用计算模块506,用于根据超车频次计算目标车辆对应的车险费用。The auto insurance cost calculation module 506 is used to calculate the auto insurance cost corresponding to the target vehicle according to the frequency of overtaking.
在其中一个实施例中,行车图像处理模块502还用于识别行车图像中的识别起点和车道边线;获取目标车辆与同车道前车的跟车距离,根据跟车距离确定识别距离;基于识别起点和识别距离确定识别区域。In one of the embodiments, the driving image processing module 502 is also used to identify the recognition starting point and the lane edge in the driving image; obtain the following distance between the target vehicle and the preceding vehicle in the same lane, and determine the recognition distance based on the following distance; And the recognition distance to determine the recognition area.
在其中一个实施例中,行车图像处理模块502还用于根据识别距离生成均分边线;基于均分边线及车道边线将识别区域划分为多个子区域;根据附近车辆所在子区域的位置确定对应的车辆位置。In one of the embodiments, the driving image processing module 502 is also used to generate an even sideline based on the recognition distance; divide the recognition area into multiple sub-areas based on the average sideline and lane sidelines; determine the corresponding sub-areas based on the location of the nearby vehicle Vehicle location.
在其中一个实施例中,超车行为分析模块504还用于根据在相邻多帧行车图像中的车辆位置,生成附近车辆的行车特征向量;计算行车特征向量的第一属性值,比较第一属性值是否达到阈值;若达到阈值,计算行车特征向量的第二属性值;判断第二属性值是否为目标属性值;若为目标属性值,标记目标车辆存在超车行为。In one of the embodiments, the overtaking behavior analysis module 504 is further configured to generate driving feature vectors of nearby vehicles according to the vehicle positions in the adjacent multiple frames of driving images; calculate the first attribute value of the driving feature vector, and compare the first attributes Whether the value reaches the threshold; if it reaches the threshold, calculate the second attribute value of the driving feature vector; determine whether the second attribute value is the target attribute value; if it is the target attribute value, mark the target vehicle as overtaking.
在其中一个实施例中,行车数据包括行车时间;超车行为分析模块504还用于根据行车时间,确定多帧行车图像的遍历顺序;根据遍历顺序,依次对每帧行车图像是否出现附近车辆进行遍历;将附件车辆在一帧或多帧行车图像中的车辆位置分别标记为不同顺序的向量元素;对每个附件车辆的相邻向量元素进行去重处理;基于去重后的多个向量元素生成相应附近车辆的行车特征向量。In one of the embodiments, the driving data includes driving time; the overtaking behavior analysis module 504 is also used to determine the traversal sequence of multiple frames of driving images according to the driving time; according to the traversal order, sequentially traverse whether each frame of driving image appears nearby vehicles ; Mark the vehicle position of the accessory vehicle in one or more frames of driving images as vector elements in different sequences; de-duplicate the adjacent vector elements of each accessory vehicle; generate based on multiple vector elements after de-duplication Corresponding to the driving feature vector of nearby vehicles.
在其中一个实施例中,行车数据还包括车辆感应数据;车险费用计算模块506还用于基于行车图像识别目标车辆的车道偏离频次和碰撞预警频次;基于车辆感应数据统计目标车辆的超速频次和急转弯频次;爬取目标车辆的不良驾驶记录,基于不良驾驶记录统计目标车辆的酒驾频次和责任事故频次;根据统计时段的超车频次、车道偏离频次、碰撞预警频次、超速频次、急转弯频次、酒驾频次及责任事故频次,确定目标车辆的驾驶行为安全等级;根据驾驶行为安全等级调整目标车辆的车险费用。In one of the embodiments, the driving data further includes vehicle sensing data; the car insurance cost calculation module 506 is also used for identifying the lane departure frequency and collision warning frequency of the target vehicle based on the driving image; and counting the speeding frequency and emergency of the target vehicle based on the vehicle sensing data. Turning frequency; crawl the bad driving record of the target vehicle, and calculate the frequency of drunk driving and responsible accident frequency of the target vehicle based on the bad driving record; according to the frequency of overtaking, lane departure, collision warning frequency, speeding frequency, sharp turning frequency, drunk driving during the statistical period The frequency and frequency of responsible accidents determine the driving safety level of the target vehicle; adjust the auto insurance cost of the target vehicle according to the driving safety level.
关于行车数据分析装置的具体限定可以参见上文中对于行车数据分析方法的限定,在此不再赘述。上述行车数据分析装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the driving data analysis device, please refer to the above limitation of the driving data analysis method, which will not be repeated here. Each module in the above-mentioned driving data analysis device can be implemented in whole or in part by software, hardware and a combination thereof. The foregoing modules may be embedded in the form of hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the foregoing modules.
在其中一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图6所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机可读指令和数据库。该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机设备的数据库用于存储目标车辆的行车数据。该计算机设备的网络接口用于与外部终端通过网络连接通信。该计算机可读指令被处理器执行时以实现一种行车数据分析方法。In one of the embodiments, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. 6. The computer equipment includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation 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, computer readable instructions, and a database. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium. The database of the computer equipment is used to store the driving data of the target vehicle. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer readable instruction is executed by the processor to realize a driving data analysis method.
本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 6 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
一个或多个存储有计算机可读指令的非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申请任意一个实施例中提供的行车数据分析方法的步骤。One or more non-volatile storage media storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors implement the driving provided in any one of the embodiments of the present application. Steps of data analysis method.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动 态RAM(RDRAM)等。Persons of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by computer-readable instructions to instruct relevant hardware. The computer-readable instructions can be stored in a non-volatile computer readable In the storage medium, when the computer-readable instructions are executed, they may include the procedures of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, they should It is considered as the range described in this specification.
以上实施例仅表达了本申请的几种实施方式,其描述较为具体详细,但并不能因此理解为对发明专利范围的限制。应指出的是,对本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above examples only express several implementation manners of this application, and the descriptions are more specific and detailed, but they cannot therefore be understood as limiting the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.

Claims (20)

  1. 一种行车数据分析方法,由计算机设备执行,所述方法包括:A method for analyzing driving data, which is executed by a computer device, and the method includes:
    获取目标车辆的行车数据;所述行车数据包括行车图像;Acquiring driving data of the target vehicle; the driving data includes driving images;
    在所述行车图像中确定识别区域;Determining a recognition area in the driving image;
    识别车辆标识出现在识别区域的附近车辆,记录所述附近车辆的车辆位置;Identify nearby vehicles whose vehicle identifiers appear in the identification area, and record the vehicle positions of the nearby vehicles;
    通过比较相邻多帧行车图像中附近车辆的车辆位置的变化,判断所述目标车辆是否存在超车行为;By comparing changes in the vehicle position of nearby vehicles in adjacent multiple frames of driving images, determine whether the target vehicle has overtaking behavior;
    根据判断结果对所述目标车辆的超车频次进行统计;及Count the overtaking frequency of the target vehicle according to the judgment result; and
    根据所述超车频次计算所述目标车辆对应的车险费用。Calculate the auto insurance cost corresponding to the target vehicle according to the overtaking frequency.
  2. 根据权利要求1所述的方法,其特征在于,所述在所述行车图像中确定识别区域,包括:The method according to claim 1, wherein the determining the recognition area in the driving image comprises:
    识别所述行车图像中的识别起点和车道边线;Recognizing the recognition starting point and lane edge in the driving image;
    获取目标车辆与同车道前车的跟车距离,根据所述跟车距离确定识别距离;及Obtain the following distance between the target vehicle and the preceding vehicle in the same lane, and determine the recognition distance according to the following distance; and
    基于识别起点和识别距离确定识别区域。The recognition area is determined based on the recognition starting point and the recognition distance.
  3. 根据权利要求2所述的方法,其特征在于,所述记录所述附近车辆的车辆位置,包括:The method of claim 2, wherein the recording the vehicle position of the nearby vehicle comprises:
    根据所述识别距离生成均分边线;Generating an evenly divided side line according to the identification distance;
    基于所述均分边线及所述车道边线将识别区域划分为多个子区域;及Dividing the recognition area into a plurality of sub-areas based on the equally divided sideline and the lane sideline; and
    根据附近车辆所在子区域的位置确定对应的车辆位置。Determine the corresponding vehicle location based on the location of the nearby vehicle in the sub-region.
  4. 根据权利要求1所述的方法,其特征在于,通过比较相邻多帧行车图像中附近车辆的车辆位置的变化,判断所述目标车辆是否存在超车行为,包括:The method according to claim 1, wherein the judging whether the target vehicle has an overtaking behavior by comparing changes in the vehicle position of nearby vehicles in adjacent multiple frames of driving images comprises:
    根据在相邻多帧行车图像中的车辆位置,生成附近车辆的行车特征向量;Generate the driving feature vector of nearby vehicles according to the vehicle position in the adjacent multiple frames of driving images;
    计算所述行车特征向量的第一属性值,比较所述第一属性值是否达到阈值;Calculating the first attribute value of the driving feature vector, and comparing whether the first attribute value reaches a threshold;
    若达到阈值,计算所述行车特征向量的第二属性值;If the threshold is reached, calculate the second attribute value of the driving feature vector;
    判断所述第二属性值是否为目标属性值;及Determine whether the second attribute value is the target attribute value; and
    若为目标属性值,标记所述目标车辆存在超车行为。If it is the target attribute value, mark that the target vehicle has an overtaking behavior.
  5. 根据权利要求4所述的方法,其特征在于,所述行车数据包括行车时间;根据在相邻多帧行车图像中的车辆位置,生成附近车辆的行车特征向量,包括:The method according to claim 4, wherein the driving data includes driving time; generating driving feature vectors of nearby vehicles according to the position of the vehicle in multiple adjacent frames of driving images, comprising:
    根据所述行车时间,确定多帧行车图像的遍历顺序;Determining the traversal sequence of multiple frames of driving images according to the driving time;
    根据所述遍历顺序,依次对每帧行车图像是否出现附近车辆进行遍历;According to the traversal sequence, sequentially traverse whether nearby vehicles appear in each frame of the driving image;
    将附件车辆在一帧或多帧行车图像中的车辆位置分别标记为不同顺序的向量元素;Mark the vehicle position of the accessory vehicle in one or more frames of driving images as vector elements in different sequences;
    对每个附件车辆的相邻向量元素进行去重处理;及De-duplicate the adjacent vector elements of each accessory vehicle; and
    基于去重后的多个向量元素生成相应附近车辆的行车特征向量。Based on the multiple vector elements after deduplication, the driving feature vectors of the corresponding nearby vehicles are generated.
  6. 根据权利要求1所述的方法,其特征在于,所述行车数据还包括车辆感应数据;所述根据超车频次计算所述目标车辆对应的车险费用,包括:The method according to claim 1, wherein the driving data further includes vehicle sensing data; the calculating the auto insurance cost corresponding to the target vehicle according to the frequency of overtaking includes:
    基于所述行车图像识别所述目标车辆的车道偏离频次和碰撞预警频次;Identifying the lane departure frequency and collision warning frequency of the target vehicle based on the driving image;
    基于所述车辆感应数据统计所述目标车辆的超速频次和急转弯频次;Counting the frequency of overspeed and the frequency of sharp turns of the target vehicle based on the vehicle induction data;
    爬取所述目标车辆的不良驾驶记录,基于所述不良驾驶记录统计所述目标车辆的酒驾频次和责任事故频次;Crawling the bad driving record of the target vehicle, and counting the frequency of drunk driving and the frequency of responsible accidents of the target vehicle based on the bad driving record;
    根据统计时段的超车频次、车道偏离频次、碰撞预警频次、超速频次、急转弯频次、酒驾频次及责任事故频次,确定所述目标车辆的驾驶行为安全等级;及Determine the driving safety level of the target vehicle according to the frequency of overtaking, frequency of lane departure, frequency of collision warning, frequency of overspeed, frequency of sharp turns, frequency of drunk driving, and frequency of responsible accidents during the statistical period; and
    根据所述驾驶行为安全等级调整所述目标车辆的车险费用。Adjust the auto insurance cost of the target vehicle according to the safety level of the driving behavior.
  7. 一种行车数据分析装置,所述装置包括:A driving data analysis device, the device includes:
    行车图像处理模块,用于获取目标车辆的行车数据;所述行车数据包括行车图像;在所述行车图像中确定识别区域;识别车辆标识出现在识别区域的附近车辆,记录所述附近车辆的车辆位置;The driving image processing module is used to obtain driving data of the target vehicle; the driving data includes driving images; identifying the recognition area in the driving image; identifying nearby vehicles whose vehicle identifiers appear in the recognition area, and recording the vehicles of the nearby vehicles position;
    超车行为分析模块,用于通过比较相邻多帧行车图像中附近车辆的车辆位置的变化,判断所述目标车辆是否存在超车行为;根据判断结果对所述目标车辆的超车频次进行统计;The overtaking behavior analysis module is used for judging whether the target vehicle has overtaking behavior by comparing changes in the vehicle position of nearby vehicles in adjacent multiple frames of driving images; and calculating the overtaking frequency of the target vehicle according to the judgment result;
    车险费用计算模块,用于根据所述超车频次计算所述目标车辆对应的车险费用。The auto insurance cost calculation module is used to calculate the auto insurance cost corresponding to the target vehicle according to the overtaking frequency.
  8. 根据权利要求7所述的装置,其特征在于,所述行车图像处理模块还用于识别所述行车图像中的识别起点和车道边线;获取目标车辆与同车道前车的跟车距离,根据所述跟车距离确定识别距离;基于识别起点和识别距离确定识别区域。The device according to claim 7, wherein the driving image processing module is further used to identify the recognition starting point and the lane edge in the driving image; to obtain the following distance between the target vehicle and the preceding vehicle in the same lane, according to the The following distance determines the recognition distance; the recognition area is determined based on the recognition starting point and the recognition distance.
  9. 一种计算机设备,包括存储器及一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:A computer device includes a memory and one or more processors. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the one or more processors, the one or more Each processor performs the following steps:
    获取目标车辆的行车数据;所述行车数据包括行车图像;Acquiring driving data of the target vehicle; the driving data includes driving images;
    在所述行车图像中确定识别区域;Determining a recognition area in the driving image;
    识别车辆标识出现在识别区域的附近车辆,记录所述附近车辆的车辆位置;Identify nearby vehicles whose vehicle identifiers appear in the identification area, and record the vehicle positions of the nearby vehicles;
    通过比较相邻多帧行车图像中附近车辆的车辆位置的变化,判断所述目 标车辆是否存在超车行为;By comparing changes in the vehicle position of nearby vehicles in adjacent multiple frames of driving images, determine whether the target vehicle has overtaking behavior;
    根据判断结果对所述目标车辆的超车频次进行统计;及Count the overtaking frequency of the target vehicle according to the judgment result; and
    根据所述超车频次计算所述目标车辆对应的车险费用。Calculate the auto insurance cost corresponding to the target vehicle according to the overtaking frequency.
  10. 根据权利要求9所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:The computer device according to claim 9, wherein the processor further executes the following steps when executing the computer-readable instruction:
    识别所述行车图像中的识别起点和车道边线;Recognizing the recognition starting point and lane edge in the driving image;
    获取目标车辆与同车道前车的跟车距离,根据所述跟车距离确定识别距离;及Obtain the following distance between the target vehicle and the preceding vehicle in the same lane, and determine the recognition distance according to the following distance; and
    基于识别起点和识别距离确定识别区域。The recognition area is determined based on the recognition starting point and the recognition distance.
  11. 根据权利要求10所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:The computer device according to claim 10, wherein the processor further executes the following steps when executing the computer-readable instruction:
    根据所述识别距离生成均分边线;Generating an evenly divided side line according to the identification distance;
    基于所述均分边线及所述车道边线将识别区域划分为多个子区域;及Dividing the recognition area into a plurality of sub-areas based on the equally divided sideline and the lane sideline; and
    根据附近车辆所在子区域的位置确定对应的车辆位置。Determine the corresponding vehicle location based on the location of the nearby vehicle in the sub-region.
  12. 根据权利要求9所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:The computer device according to claim 9, wherein the processor further executes the following steps when executing the computer-readable instruction:
    根据在相邻多帧行车图像中的车辆位置,生成附近车辆的行车特征向量;Generate the driving feature vector of nearby vehicles according to the vehicle position in the adjacent multiple frames of driving images;
    计算所述行车特征向量的第一属性值,比较所述第一属性值是否达到阈值;Calculating the first attribute value of the driving feature vector, and comparing whether the first attribute value reaches a threshold;
    若达到阈值,计算所述行车特征向量的第二属性值;If the threshold is reached, calculate the second attribute value of the driving feature vector;
    判断所述第二属性值是否为目标属性值;及Determine whether the second attribute value is the target attribute value; and
    若为目标属性值,标记所述目标车辆存在超车行为。If it is the target attribute value, mark that the target vehicle has an overtaking behavior.
  13. 根据权利要求12所述的计算机设备,其特征在于,所述行车数据包括行车时间;所述处理器执行所述计算机可读指令时还执行以下步骤:The computer device according to claim 12, wherein the travel data includes travel time; the processor further executes the following steps when executing the computer readable instruction:
    根据所述行车时间,确定多帧行车图像的遍历顺序;Determining the traversal sequence of multiple frames of driving images according to the driving time;
    根据所述遍历顺序,依次对每帧行车图像是否出现附近车辆进行遍历;According to the traversal sequence, sequentially traverse whether nearby vehicles appear in each frame of the driving image;
    将附件车辆在一帧或多帧行车图像中的车辆位置分别标记为不同顺序的向量元素;Mark the vehicle position of the accessory vehicle in one or more frames of driving images as vector elements in different sequences;
    对每个附件车辆的相邻向量元素进行去重处理;及De-duplicate the adjacent vector elements of each accessory vehicle; and
    基于去重后的多个向量元素生成相应附近车辆的行车特征向量。Based on the multiple vector elements after deduplication, the driving feature vectors of the corresponding nearby vehicles are generated.
  14. 根据权利要求9所述的计算机设备,其特征在于,所述行车数据还包括车辆感应数据;所述处理器执行所述计算机可读指令时还执行以下步骤:The computer device according to claim 9, wherein the driving data further includes vehicle sensing data; the processor further executes the following steps when executing the computer-readable instruction:
    基于所述行车图像识别所述目标车辆的车道偏离频次和碰撞预警频次;Identifying the lane departure frequency and collision warning frequency of the target vehicle based on the driving image;
    基于所述车辆感应数据统计所述目标车辆的超速频次和急转弯频次;Counting the frequency of overspeed and the frequency of sharp turns of the target vehicle based on the vehicle induction data;
    爬取所述目标车辆的不良驾驶记录,基于所述不良驾驶记录统计所述目 标车辆的酒驾频次和责任事故频次;Crawling the bad driving record of the target vehicle, and counting the frequency of drunk driving and the frequency of responsible accidents of the target vehicle based on the bad driving record;
    根据统计时段的超车频次、车道偏离频次、碰撞预警频次、超速频次、急转弯频次、酒驾频次及责任事故频次,确定所述目标车辆的驾驶行为安全等级;及Determine the driving safety level of the target vehicle according to the frequency of overtaking, frequency of lane departure, frequency of collision warning, frequency of overspeed, frequency of sharp turns, frequency of drunk driving, and frequency of responsible accidents during the statistical period; and
    根据所述驾驶行为安全等级调整所述目标车辆的车险费用。Adjust the auto insurance cost of the target vehicle according to the safety level of the driving behavior.
  15. 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:One or more non-volatile computer-readable storage media storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to perform the following steps:
    获取目标车辆的行车数据;所述行车数据包括行车图像;Acquiring driving data of the target vehicle; the driving data includes driving images;
    在所述行车图像中确定识别区域;Determining a recognition area in the driving image;
    识别车辆标识出现在识别区域的附近车辆,记录所述附近车辆的车辆位置;Identify nearby vehicles whose vehicle identifiers appear in the identification area, and record the vehicle positions of the nearby vehicles;
    通过比较相邻多帧行车图像中附近车辆的车辆位置的变化,判断所述目标车辆是否存在超车行为;By comparing changes in the vehicle position of nearby vehicles in adjacent multiple frames of driving images, determine whether the target vehicle has overtaking behavior;
    根据判断结果对所述目标车辆的超车频次进行统计;及Count the overtaking frequency of the target vehicle according to the judgment result; and
    根据所述超车频次计算所述目标车辆对应的车险费用。Calculate the auto insurance cost corresponding to the target vehicle according to the overtaking frequency.
  16. 根据权利要求15所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:The storage medium according to claim 15, wherein the following steps are further executed when the computer-readable instructions are executed by the processor:
    识别所述行车图像中的识别起点和车道边线;Recognizing the recognition starting point and lane edge in the driving image;
    获取目标车辆与同车道前车的跟车距离,根据所述跟车距离确定识别距离;及Obtain the following distance between the target vehicle and the preceding vehicle in the same lane, and determine the recognition distance according to the following distance; and
    基于识别起点和识别距离确定识别区域。The recognition area is determined based on the recognition starting point and the recognition distance.
  17. 根据权利要求16所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:The storage medium according to claim 16, wherein the following steps are further executed when the computer-readable instructions are executed by the processor:
    根据所述识别距离生成均分边线;Generating an evenly divided side line according to the identification distance;
    基于所述均分边线及所述车道边线将识别区域划分为多个子区域;及Dividing the recognition area into a plurality of sub-areas based on the equally divided sideline and the lane sideline; and
    根据附近车辆所在子区域的位置确定对应的车辆位置。Determine the corresponding vehicle location based on the location of the nearby vehicle in the sub-region.
  18. 根据权利要求15所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:The storage medium according to claim 15, wherein the following steps are further executed when the computer-readable instructions are executed by the processor:
    根据在相邻多帧行车图像中的车辆位置,生成附近车辆的行车特征向量;Generate the driving feature vector of nearby vehicles according to the vehicle position in the adjacent multiple frames of driving images;
    计算所述行车特征向量的第一属性值,比较所述第一属性值是否达到阈值;Calculating the first attribute value of the driving feature vector, and comparing whether the first attribute value reaches a threshold;
    若达到阈值,计算所述行车特征向量的第二属性值;If the threshold is reached, calculate the second attribute value of the driving feature vector;
    判断所述第二属性值是否为目标属性值;及Determine whether the second attribute value is the target attribute value; and
    若为目标属性值,标记所述目标车辆存在超车行为。If it is the target attribute value, mark that the target vehicle has an overtaking behavior.
  19. 根据权利要求18所述的存储介质,其特征在于,所述行车数据包括行车时间;所述计算机可读指令被所述处理器执行时还执行以下步骤:18. The storage medium according to claim 18, wherein the travel data includes travel time; and the following steps are further performed when the computer-readable instructions are executed by the processor:
    根据所述行车时间,确定多帧行车图像的遍历顺序;Determining the traversal sequence of multiple frames of driving images according to the driving time;
    根据所述遍历顺序,依次对每帧行车图像是否出现附近车辆进行遍历;According to the traversal sequence, sequentially traverse whether nearby vehicles appear in each frame of the driving image;
    将附件车辆在一帧或多帧行车图像中的车辆位置分别标记为不同顺序的向量元素;Mark the vehicle position of the accessory vehicle in one or more frames of driving images as vector elements in different sequences;
    对每个附件车辆的相邻向量元素进行去重处理;及De-duplicate the adjacent vector elements of each accessory vehicle; and
    基于去重后的多个向量元素生成相应附近车辆的行车特征向量。Based on the multiple vector elements after deduplication, the driving feature vectors of the corresponding nearby vehicles are generated.
  20. 根据权利要求15所述的存储介质,其特征在于,所述行车数据还包括车辆感应数据;所述计算机可读指令被所述处理器执行时还执行以下步骤:15. The storage medium according to claim 15, wherein the driving data further comprises vehicle sensing data; and the following steps are further executed when the computer-readable instructions are executed by the processor:
    基于所述行车图像识别所述目标车辆的车道偏离频次和碰撞预警频次;Identifying the lane departure frequency and collision warning frequency of the target vehicle based on the driving image;
    基于所述车辆感应数据统计所述目标车辆的超速频次和急转弯频次;Counting the frequency of overspeed and the frequency of sharp turns of the target vehicle based on the vehicle induction data;
    爬取所述目标车辆的不良驾驶记录,基于所述不良驾驶记录统计所述目标车辆的酒驾频次和责任事故频次;Crawling the bad driving record of the target vehicle, and counting the frequency of drunk driving and the frequency of responsible accidents of the target vehicle based on the bad driving record;
    根据统计时段的超车频次、车道偏离频次、碰撞预警频次、超速频次、急转弯频次、酒驾频次及责任事故频次,确定所述目标车辆的驾驶行为安全等级;及Determine the driving safety level of the target vehicle according to the frequency of overtaking, frequency of lane departure, frequency of collision warning, frequency of overspeed, frequency of sharp turns, frequency of drunk driving, and frequency of responsible accidents during the statistical period; and
    根据所述驾驶行为安全等级调整所述目标车辆的车险费用。Adjust the auto insurance cost of the target vehicle according to the safety level of the driving behavior.
PCT/CN2019/118075 2019-04-23 2019-11-13 Driving data analysis method and apparatus, and computer device and storage medium WO2020215690A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910326600.X 2019-04-23
CN201910326600.XA CN110197119B (en) 2019-04-23 2019-04-23 Driving data analysis method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2020215690A1 true WO2020215690A1 (en) 2020-10-29

Family

ID=67752090

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118075 WO2020215690A1 (en) 2019-04-23 2019-11-13 Driving data analysis method and apparatus, and computer device and storage medium

Country Status (2)

Country Link
CN (1) CN110197119B (en)
WO (1) WO2020215690A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112489450A (en) * 2020-12-21 2021-03-12 北京百度网讯科技有限公司 Traffic intersection vehicle flow control method, road side equipment and cloud control platform
CN114022765A (en) * 2021-11-03 2022-02-08 应急管理部国家自然灾害防治研究院 Intelligent monitoring and early warning method and system for landslide, collapse and rockfall by adopting image recognition

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110197119B (en) * 2019-04-23 2023-07-11 平安科技(深圳)有限公司 Driving data analysis method, device, computer equipment and storage medium
CN113034587B (en) * 2019-12-25 2023-06-16 沈阳美行科技股份有限公司 Vehicle positioning method, device, computer equipment and storage medium
CN111274931A (en) * 2020-01-19 2020-06-12 上海眼控科技股份有限公司 Overtaking behavior auditing method and device, computer equipment and storage medium
CN113276765A (en) 2020-01-31 2021-08-20 神达数位股份有限公司 Driving warning method and system and computer program product
TWI757964B (en) * 2020-01-31 2022-03-11 神達數位股份有限公司 Driving warning method and system and computer program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130166325A1 (en) * 2011-12-23 2013-06-27 Mohan Ganapathy Apparatuses, systems and methods for insurance quoting
CN104118380A (en) * 2013-04-26 2014-10-29 富泰华工业(深圳)有限公司 Running vehicle detection system and method
CN107618512A (en) * 2017-08-23 2018-01-23 清华大学 Driving behavior safe evaluation method based on people's car environment multi-data source
CN110197119A (en) * 2019-04-23 2019-09-03 平安科技(深圳)有限公司 Travelling data analysis method, device, computer equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9123058B2 (en) * 2011-11-16 2015-09-01 Flextronics Ap, Llc Parking space finder based on parking meter data
KR101428165B1 (en) * 2012-06-29 2014-08-07 엘지이노텍 주식회사 Lane Departure Warning System and Lane Departure Warning Method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130166325A1 (en) * 2011-12-23 2013-06-27 Mohan Ganapathy Apparatuses, systems and methods for insurance quoting
CN104118380A (en) * 2013-04-26 2014-10-29 富泰华工业(深圳)有限公司 Running vehicle detection system and method
CN107618512A (en) * 2017-08-23 2018-01-23 清华大学 Driving behavior safe evaluation method based on people's car environment multi-data source
CN110197119A (en) * 2019-04-23 2019-09-03 平安科技(深圳)有限公司 Travelling data analysis method, device, computer equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112489450A (en) * 2020-12-21 2021-03-12 北京百度网讯科技有限公司 Traffic intersection vehicle flow control method, road side equipment and cloud control platform
CN112489450B (en) * 2020-12-21 2022-07-08 阿波罗智联(北京)科技有限公司 Traffic intersection vehicle flow control method, road side equipment and cloud control platform
CN114022765A (en) * 2021-11-03 2022-02-08 应急管理部国家自然灾害防治研究院 Intelligent monitoring and early warning method and system for landslide, collapse and rockfall by adopting image recognition
CN114022765B (en) * 2021-11-03 2022-07-08 应急管理部国家自然灾害防治研究院 Intelligent monitoring and early warning method and system for landslide, collapse and rockfall by adopting image recognition

Also Published As

Publication number Publication date
CN110197119B (en) 2023-07-11
CN110197119A (en) 2019-09-03

Similar Documents

Publication Publication Date Title
WO2020215690A1 (en) Driving data analysis method and apparatus, and computer device and storage medium
US10229332B2 (en) Method and apparatus for recognizing obstacle of vehicle
US8902053B2 (en) Method and system for lane departure warning
JP2015007953A (en) Apparatus, method, and computer readable medium for monitoring the number of passengers in automobile
WO2020147391A1 (en) Driving proficiency evaluation method and apparatus, computer device and storage medium
EP3889825A1 (en) Vehicle lane line detection method, vehicle, and computing device
US20160055382A1 (en) Vehicle discrimination apparatus
CN110751012B (en) Target detection evaluation method and device, electronic equipment and storage medium
CN110232310B (en) Fatigue driving detection method based on neural network and related equipment
CN113011331B (en) Method and device for detecting whether motor vehicle gives way to pedestrians, electronic equipment and medium
CN111091215B (en) Vehicle identification method, device, computer equipment and storage medium
CN111898491A (en) Method and device for identifying reverse driving of vehicle and electronic equipment
CN111860219B (en) High-speed channel occupation judging method and device and electronic equipment
US9691196B2 (en) Data reproducing apparatus
CN108319931B (en) Image processing method and device and terminal
CN106682600A (en) Method and terminal for detecting targets
CN111091041A (en) Vehicle law violation judging method and device, computer equipment and storage medium
CN111476245A (en) Vehicle left-turn violation detection method and device, computer equipment and storage medium
CN114693722B (en) Vehicle driving behavior detection method, detection device and detection equipment
CN113095345A (en) Data matching method and device and data processing equipment
KR20150002040A (en) The way of Real-time Pedestrian Recognition and Tracking using Kalman Filter and Clustering Algorithm based on Cascade Method by HOG
CN115830559A (en) Method for identifying lane line of tire crane, storage medium and electronic equipment
CN112101139B (en) Human shape detection method, device, equipment and storage medium
CN115311630A (en) Method and device for generating distinguishing threshold, training target recognition model and recognizing target
CN108830303B (en) Vehicle identification method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19925816

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19925816

Country of ref document: EP

Kind code of ref document: A1