WO2022078353A1 - Vehicle driving state determination method and apparatus, and computer device and storage medium - Google Patents

Vehicle driving state determination method and apparatus, and computer device and storage medium Download PDF

Info

Publication number
WO2022078353A1
WO2022078353A1 PCT/CN2021/123413 CN2021123413W WO2022078353A1 WO 2022078353 A1 WO2022078353 A1 WO 2022078353A1 CN 2021123413 W CN2021123413 W CN 2021123413W WO 2022078353 A1 WO2022078353 A1 WO 2022078353A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
acceleration
key frames
key frame
key
Prior art date
Application number
PCT/CN2021/123413
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 WO2022078353A1 publication Critical patent/WO2022078353A1/en

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/052Detecting movement of traffic to be counted or controlled with provision for determining speed or overspeed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/46Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames
    • 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/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • G06V20/63Scene text, e.g. street names
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • G06V20/625License plates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/08Detecting or categorising vehicles

Definitions

  • the present application relates to the technical field of image detection of artificial intelligence, and in particular, to a method, device, computer equipment and storage medium for judging the driving state of a vehicle, which use the computer vision technology of artificial intelligence.
  • the timeliness is poor. For example, the time from the occurrence of a car accident to the successful report is precious rescue time and processing time; 2.
  • the information is inaccurate, For example, a telephone report requires the police and the reporting party to repeatedly confirm the time and location information, and the case information provided by the reporting party is often inaccurate; 3. There are cases of false reports.
  • the purpose of this application is to provide a method, device, computer equipment and storage medium for judging the driving state of a vehicle, which are used to solve the problems of poor timeliness, inaccurate information and false reporting of car accident reports in the prior art; this application can be applied to In smart traffic scenarios, to promote the construction of smart cities.
  • the present application provides a method for judging the driving state of a vehicle, including:
  • acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame
  • the present application also provides a vehicle driving state judging device, comprising:
  • the speed calculation module is used to obtain the vehicle driving video and extract the consecutive key frames, calculate the driving speed of the vehicle according to the adjacent two key frames, and mark the vehicle information and driving speed of the vehicle in the two key frames. on the next keyframe of ;
  • an acceleration calculation module configured to calculate the acceleration of the vehicle according to the vehicle speed of two adjacent key frames, and mark the acceleration on the next key frame of the two key frames;
  • a line formulating module configured to perform discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, where the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame;
  • the state judgment state is used to judge whether the slope of the acceleration line is lower than the preset abnormal threshold; if it is lower than the abnormal threshold, it is determined that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold, Then it is determined that the running state of the vehicle is normal.
  • the present application also provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, which is implemented when the processor of the computer device executes the computer program.
  • the above-mentioned method for judging the driving state of a vehicle includes:
  • acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame
  • the present application also provides a computer storage medium, where a computer program is stored on the storage medium, and when the computer program stored in the storage medium is executed by a processor, the above-mentioned vehicle driving state judgment method is realized, and the The method of judging the driving state of the vehicle, including:
  • acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame
  • the method, device, computer equipment and storage medium for judging the driving state of the vehicle provided by the present application, by calculating the driving speed of the vehicle, and obtaining the acceleration of the vehicle according to the vehicle speed of two adjacent key frames, and then for each key frame.
  • the acceleration of the frame is subjected to discrete data fitting analysis to obtain the acceleration line, which realizes the control of the acceleration change generated by the vehicle information with the passage of the key frame, and realizes by judging whether the slope of the acceleration line is lower than the preset abnormal threshold.
  • the determination of the driving state of the vehicle realizes the intelligent identification of the abnormal driving state of the vehicle, and solves the problems of poor timeliness, inaccurate information and false reporting of a car accident in the prior art.
  • FIG. 1 is a flow chart of Embodiment 1 of the method for judging the driving state of a vehicle according to the application;
  • FIG. 2 is a schematic diagram of the environmental application of the method for judging the driving state of a vehicle in Embodiment 2 of the method for judging the driving state of the vehicle;
  • FIG. 3 is a specific method flow chart of the vehicle driving state judgment method in Embodiment 2 of the vehicle driving state judgment method of the present application;
  • Embodiment 4 is a flowchart of a specific method for calculating the driving speed of a vehicle according to two adjacent key frames in Embodiment 2 of the method for judging the driving state of a vehicle of the present application, and marking the vehicle information and driving speed of the vehicle on the key frames;
  • FIG. 5 is a flowchart of a specific method for calculating the acceleration of a vehicle according to the vehicle speed of two adjacent key frames in Embodiment 2 of the method for judging the driving state of a vehicle of the present application, and marking the acceleration on the key frames;
  • FIG. 6 is a flowchart of a specific method for obtaining acceleration lines by performing discrete data fitting analysis on the acceleration of each key frame in Embodiment 2 of the vehicle driving state judgment method of the present application;
  • FIG. 7 is a schematic diagram of a program module of Embodiment 3 of the apparatus for judging the driving state of a vehicle according to the application;
  • FIG. 8 is a schematic diagram of a hardware structure of a computer device in Embodiment 4 of the computer device of the present application.
  • the vehicle driving state judgment method, device, computer equipment and storage medium provided by this application are suitable for the field of artificial intelligence image detection technology, and provide a vehicle based on a speed calculation module, an acceleration calculation module, a line drawing module and a state judgment state. Use the state judgment method.
  • the vehicle driving video is acquired and the consecutive key frames are extracted, the driving speed of the vehicle is calculated according to the adjacent two key frames, and the vehicle information and driving speed of the vehicle are marked in the latter one of the two key frames.
  • the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame; judging whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold , then it is determined that the running state of the vehicle is abnormal; if it is not lower than the abnormal threshold, it is determined that the running state of the vehicle is normal.
  • a method for judging the driving state of a vehicle in this embodiment includes:
  • S102 Acquire the video of the vehicle driving and extract the consecutive key frames therein, calculate the driving speed of the vehicle according to the adjacent two key frames, and mark the vehicle information and driving speed of the vehicle on the next key frame of the two key frames on the frame.
  • S103 Calculate the acceleration of the vehicle according to the vehicle speeds of the two adjacent key frames, and mark the acceleration on the next key frame of the two key frames.
  • S104 Perform discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, where the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame.
  • S105 Determine whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold, determine that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold, determine the The driving state of the vehicle is normal.
  • the driving speed of the vehicle is calculated by extracting consecutive key frames in the vehicle driving video, and according to the relative displacement of the vehicle in two adjacent key frames, and the vehicle information of the vehicle and the vehicle information are calculated.
  • the driving speed is marked on the next key frame of the two key frames, so as to obtain the speed of the running vehicle, so as to accurately obtain the effect of the acceleration of the vehicle;
  • the acceleration of the vehicle is obtained by calculating the vehicle speed of the vehicle in two adjacent key frames, and the acceleration is marked on the next key frame of the two key frames, so as to obtain the acceleration of the running vehicle,
  • normal such as: normal driving
  • abnormal such as: rear-end collision, collision, etc.
  • Acceleration lines are obtained by discrete data fitting analysis of the acceleration of each key frame, which can control the acceleration change of vehicle information with the passage of key frames, and then help to judge whether the driving state of the vehicle is normal or not. Effect;
  • the determination of the driving state of the vehicle is realized, the driving state of the vehicle is determined according to the acceleration line, and the technical effect of intelligently identifying the driving state of the vehicle is realized; for example: a normal vehicle
  • the maximum acceleration of the vehicle is 0.6g
  • the maximum acceleration of the vehicle's sudden braking is -1g
  • the acceleration line obtained by the least squares method will cause the slope of the acceleration line to decrease abruptly due to the sharply reduced acceleration.
  • the technical effect of intelligently identifying vehicle anomalies is realized.
  • the present application solves the problems of poor timeliness, inaccurate information, and false reports existing in the prior art by realizing intelligent identification of abnormal vehicle driving states.
  • the present application can be applied in smart traffic scenarios, thereby promoting the construction of smart cities.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • This embodiment is a specific application scenario of the above-mentioned Embodiment 1. Through this embodiment, the method provided in this application can be described more clearly and specifically.
  • the acceleration of the vehicle is calculated for the vehicle speed of two adjacent key frames, and the acceleration line of each key frame is obtained by discrete data fitting analysis.
  • the method provided by this embodiment is described in detail by taking the slope of the acceleration line as an example to determine the driving state of the vehicle. It should be noted that this embodiment is only exemplary, and does not limit the protection scope of the embodiment of this application.
  • FIG. 2 schematically shows a schematic diagram of an environmental application of the method for judging the driving state of a vehicle according to the second embodiment of the present application.
  • the authentication server 2 where the vehicle running state determination method is located is connected to the photographing device 4 through a network 3, the server 2 may provide services through one or more networks 3, and the network 3 may include various network devices, For example routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices and/or the like.
  • the network 3 may include physical links such as coaxial cable links, twisted pair cable links, fiber optic links, combinations thereof, and/or the like.
  • the network 3 may include wireless links, such as cellular links, satellite links, Wi-Fi links and/or the like; the shooting device 4 is a video shooting system, such as a sky-eye system, CCTV and other computer equipment.
  • FIG. 3 is a flowchart of a specific method of a method for judging a driving state of a vehicle provided by an embodiment of the present application, and the method specifically includes steps S201 to S205.
  • S201 Establish a communication connection with a preset photographing device to acquire in real time the driving video of the vehicle photographed by the photographing device.
  • the Sky Eye system can be used as the shooting device.
  • the Sky Eye system is a kind of network video system, which usually refers to the IP surveillance system used for specific applications in the field of security monitoring and remote monitoring.
  • IP network LAN/WAN/Internet
  • the sky-eye system is used to shoot a driving video of a moving vehicle.
  • S202 Acquire a video of the vehicle driving and extract consecutive key frames therein, calculate the driving speed of the vehicle according to two adjacent key frames, and mark the vehicle information and driving speed of the vehicle on the next key frame of the two key frames on the frame.
  • the continuous key frames in the vehicle driving video are extracted, and the relative displacement of the vehicle in two adjacent key frames is calculated.
  • the driving speed of the vehicle, and the vehicle information and driving speed of the vehicle are marked on the next key frame of the two key frames.
  • this step passes The key frames are continuously extracted from the vehicle driving video according to the preset extraction interval and extraction quantity.
  • the extraction interval and extraction quantity can be set as required. For example, if the extraction interval is 40ms and the extraction quantity is 1000, then 1000 key frames are extracted from the vehicle driving video at an interval of 40ms.
  • the driving speed of the vehicle is calculated according to two adjacent key frames, and the vehicle information and driving speed of the vehicle are marked in the next key frame of the two key frames. steps above, including:
  • S21 Identify vehicles appearing in each key frame, and mark the vehicle information of the vehicle on the key frame.
  • the license plate of the vehicle that appears in each key is identified by the vehicle license plate recognition technology, so as to realize the purpose of identifying the vehicle that appears; The purpose of marking the vehicle.
  • image vehicle recognition can be converted into image license plate recognition, and the acceleration of the vehicle motion trajectory is obtained through the acceleration of the license plate.
  • vehicle license plate recognition There are many algorithms for vehicle license plate recognition, such as OCR technology. In this solution, the algorithm is only applied without in-depth analysis.
  • S22 Calculate the traveling speed of each vehicle according to the relative displacement of the vehicle in two adjacent key frames.
  • the relative displacement is obtained by measuring the position of the vehicle in the two key frames by a distance metric method, which is a mathematical law used to measure the distance along the curve and
  • the angle between the curves includes the information of the curvature of the space where the curves are located; since the technical problem to be solved in this step is how to obtain the acceleration of the vehicle according to the speed of the vehicle, which is helpful to judge the driving state of the vehicle; therefore, the distance measurement The specific technical principle is not repeated here.
  • S23 Mark the traveling speed in the next key frame of the two adjacent key frames, and associate the traveling speed with the vehicle information of the vehicle.
  • S203 Calculate the acceleration of the vehicle according to the vehicle speeds of the two adjacent key frames, and mark the acceleration on the next key frame of the two key frames.
  • the vehicle speed of the two key frames is used to obtain the acceleration of the vehicle, and the acceleration is marked on the next key frame of the two key frames.
  • the acceleration of the vehicle is calculated according to the vehicle speed of two adjacent key frames, and the acceleration is marked on the next key frame of the two key frames, include:
  • S32 Mark the acceleration in the next key frame of the two adjacent key frames, and associate the acceleration with the vehicle information.
  • two adjacent key frames include key frame B and key frame C, wherein key frame C is located after key frame B; key frame B is marked with vehicle information: "Shanghai A* ****” , travel speed: 25m/s; key frame C is marked with vehicle information: "Shanghai A*****", travel speed: 24.9m/s; and the extraction interval is 40m/s, then the obtained acceleration is -2.5m /s2.
  • S204 Perform discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, where the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame.
  • this step is performed by discrete data fitting of the acceleration of each key frame.
  • the acceleration line is obtained by analysis; wherein, the discrete data fitting analysis is a representation method in which existing data is substituted into a mathematical formula through a mathematical method.
  • the discrete data fitting analysis is a representation method in which existing data is substituted into a mathematical formula through a mathematical method.
  • several discrete data can be obtained through methods such as sampling and experiments. According to these data, we often hope to obtain a continuous function (that is, a curve) or a denser discrete equation that is consistent with the known data. This process It's called fitting.
  • the least squares method is used to linearly fit the acceleration of each key frame as discrete data, so as to perform discrete data fitting analysis on the acceleration of each key frame and obtain the acceleration line.
  • the least squares method is a mathematical optimization technique that finds the best functional match for the data by minimizing the sum of squared errors.
  • the unknown data can be easily obtained by the least squares method, and the sum of squares of the errors between the obtained data and the actual data can be minimized.
  • the Matlab module implements the least squares method to perform discrete data fitting analysis on the acceleration of each key frame.
  • the steps of performing discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line include:
  • S42 Formulate discrete points of the vehicle information on the key frame according to the order of the key frame in the sequence and the acceleration of the key frame.
  • any key frame in the continuous key frames is used as the target frame, the order of the target frame in the continuous key frames is used as the abscissa, and the acceleration of the target frame is used as the ordinate , to obtain discrete points of the vehicle information on the target frame.
  • the obtained consecutive key frames include: key frame 1, key frame 2, key frame 3, key frame 4, and key frame 5;
  • the method further includes:
  • the corresponding summary information is obtained based on the acceleration lines.
  • the summary information is obtained by hashing the acceleration lines, for example, by using the sha256s algorithm.
  • Uploading summary information to the blockchain ensures its security and fairness and transparency to users.
  • the user equipment can download the summary information from the blockchain to verify whether the acceleration line has been tampered with.
  • the blockchain referred to in this example is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
  • S205 Determine whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold, determine that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold, determine the The driving state of the vehicle is normal.
  • this step realizes the judgment of the driving state of the vehicle by judging whether the slope of the acceleration line is lower than the preset abnormal threshold; usually
  • the maximum acceleration of the vehicle is 0.6g
  • the maximum acceleration of the vehicle sudden braking is -1g
  • the acceleration line obtained by the least squares method will cause the slope of the acceleration line to decrease abruptly due to the sharply reduced acceleration. Therefore, by comparing the slope with the preset abnormal threshold, it can be determined that Whether the vehicle has an abnormal situation such as collision or rear-end collision, it realizes the technical effect of intelligently identifying vehicle anomalies (collision, rear-end collision, etc.).
  • a vehicle driving state judging device 1 of the present embodiment includes:
  • the speed calculation module 12 is used for acquiring the vehicle driving video and extracting consecutive key frames therein, calculating the driving speed of the vehicle according to the adjacent two key frames, and marking the vehicle information and driving speed of the vehicle in the two key frames. on the next keyframe of the frame;
  • the acceleration calculation module 13 is used to calculate the acceleration of the vehicle according to the vehicle speed of the two adjacent key frames, and mark the acceleration on the next key frame of the two key frames;
  • the line formulating module 14 is used to perform discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, and the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame;
  • the state judgment state 15 is used to judge whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold, it is determined that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold , then it is determined that the running state of the vehicle is normal.
  • the vehicle driving state judging device 1 further includes:
  • the communication connection module 11 is configured to establish a communication connection with a preset photographing device, so as to obtain the driving video of the vehicle photographed by the photographing device in real time.
  • the technical solution relates to the technical field of artificial intelligence image detection.
  • the distance measurement method in the image matching technology is used to obtain the vehicle driving video and extract the continuous key frames.
  • the driving speed of the vehicle is calculated according to the adjacent two key frames.
  • Calculate the acceleration of the vehicle from the vehicle speed of the two keyframes Discrete data fitting analysis is performed on the acceleration of each key frame to obtain an acceleration line, and it is determined whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold, it is determined that the driving state of the vehicle is abnormal.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • the present application also provides a computer device 5.
  • the components of the vehicle driving state judging device 1 of the third embodiment can be dispersed in different computer devices, and the computer device 5 can be a smart phone or a tablet computer that executes programs. , notebook computers, desktop computers, rack servers, blade servers, tower servers or rack servers (including independent servers, or server clusters composed of multiple application servers), etc.
  • the computer device in this embodiment at least includes, but is not limited to, a memory 51 and a processor 52 that can be communicatively connected to each other through a system bus, as shown in FIG. 8 . It should be pointed out that FIG. 8 only shows a computer device having a component -, but it should be understood that it is not required to implement all the shown components, and more or less components may be implemented instead.
  • the memory 51 (ie, the storage medium) includes flash memory, hard disk, multimedia card, card-type memory (eg, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disc, etc.
  • the memory 51 may be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device.
  • the memory 51 may also be an external storage device of a computer device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), Secure Digital (SD) card, Flash Card (Flash Card), etc.
  • the memory 51 may also include both the internal storage unit of the computer device and its external storage device.
  • the memory 51 is generally used to store the operating system and various application software installed on the computer equipment, such as the program code of the vehicle driving state judging device of the third embodiment.
  • the memory 51 can also be used to temporarily store various types of data that have been output or will be output.
  • the processor 52 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments.
  • the processor 52 is typically used to control the overall operation of the computer device.
  • the processor 52 is used for running the program code or processing data stored in the memory 51 , for example, running the vehicle running state judging device, so as to realize the vehicle running state judging methods of the first and second embodiments.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • the present application also provides a computer storage medium
  • the computer-readable storage medium may be non-volatile or volatile, such as flash memory, hard disk, multimedia card, card-type storage (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), Magnetic storage, magnetic disk, optical disk, server, App application mall, etc., on which computer programs are stored, and when the programs are executed by the processor 52, corresponding functions are realized.
  • the computer storage medium of this embodiment is used to store the vehicle running state judging device, and when executed by the processor 52, implements the vehicle running state judging methods of the first and second embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Traffic Control Systems (AREA)

Abstract

A vehicle driving state determination method and apparatus, and a computer device and a storage medium, which relate to the technical field of image detection by using artificial intelligence. The method comprises: acquiring a vehicle driving video, extracting continuous key frames therefrom, and calculating driving speeds of a vehicle according to two adjacent key frames (S102); calculating accelerations of the vehicle according to the vehicle speeds of the two adjacent key frames (S103); performing discrete data fitting analysis on the accelerations of the key frames, so as to obtain an acceleration line (S104); determining whether the slope of the acceleration line is less than a preset abnormal threshold value (S51); and if the slope is less than the abnormal threshold value, determining that a driving state of the vehicle is abnormal (S52). The present invention also relates to blockchain technology, and information can be stored in a blockchain node. An abnormal driving state of a vehicle is intelligently identified, and the situations in the prior art of poor timeliness and inaccurate information of a traffic accident case report, and false case reports are solved.

Description

车辆行使状态判断方法、装置、计算机设备及存储介质Vehicle driving state judgment method, device, computer equipment and storage medium
本申请要求于2020年10月14日递交的申请号为CN202011096024.3、名称为“车辆行使状态判断方法、装置、计算机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on October 14, 2020 with the application number CN202011096024.3 and the title of “Method, Device, Computer Equipment and Storage Medium for Judging Vehicle Running State”, the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及人工智能的图像检测技术领域,尤其涉及一种车辆行使状态判断方法、装置、计算机设备及存储介质,其使用到人工智能的计算机视觉技术。The present application relates to the technical field of image detection of artificial intelligence, and in particular, to a method, device, computer equipment and storage medium for judging the driving state of a vehicle, which use the computer vision technology of artificial intelligence.
背景技术Background technique
目前国内重点道路、区域均已覆盖天眼系统监控,拍摄记录了车流数据。但是此监控拍摄视频数据并没有用于自动判断是否有车祸发生,而是通过车祸当事方或者路人主动上报车祸警情。At present, the key roads and areas in China have been covered by the Sky Eye system monitoring, and the traffic flow data has been photographed and recorded. However, this surveillance video data is not used to automatically determine whether there is a car accident, but to actively report the accident alarm through the parties to the accident or passers-by.
然而,发明人意识到,通过当事方主动上报,会有多个方面的不足:1、时效性差,如车祸发生到成功报案的时间是宝贵的救援时间和处理时间;2、信息不准确,如电话报案需要警员和报案方反复确认时间、地点信息,报案方提供的案件信息往往不够精确;3、存在虚假报案的情况。However, the inventor realizes that through the active reporting of the parties, there will be several deficiencies: 1. The timeliness is poor. For example, the time from the occurrence of a car accident to the successful report is precious rescue time and processing time; 2. The information is inaccurate, For example, a telephone report requires the police and the reporting party to repeatedly confirm the time and location information, and the case information provided by the reporting party is often inaccurate; 3. There are cases of false reports.
发明内容SUMMARY OF THE INVENTION
本申请的目的是提供一种车辆行使状态判断方法、装置、计算机设备及存储介质,用于解决现有技术存在的车祸报案时效性差、信息不准确以及虚假报案情况的问题;本申请可应用于智慧交通场景中,从而推动智慧城市的建设。The purpose of this application is to provide a method, device, computer equipment and storage medium for judging the driving state of a vehicle, which are used to solve the problems of poor timeliness, inaccurate information and false reporting of car accident reports in the prior art; this application can be applied to In smart traffic scenarios, to promote the construction of smart cities.
为实现上述目的,本申请提供一种车辆行使状态判断方法,包括:In order to achieve the above purpose, the present application provides a method for judging the driving state of a vehicle, including:
获取车辆行驶视频并提取其中连续的关键帧,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上;Obtain the vehicle driving video and extract the consecutive key frames, calculate the driving speed of the vehicle according to the adjacent two key frames, and mark the vehicle information and driving speed of the vehicle on the next key frame of the two key frames. ;
根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上;Calculate the acceleration of the vehicle according to the vehicle speed of the two adjacent key frames, and mark the acceleration on the next key frame of the two key frames;
对各关键帧的加速度进行离散数据拟合分析得到加速度线条,所述加速线条是根据所述各关键帧的加速度所制定的离散数据拟合线条;Performing discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, where the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame;
判断所述加速度线条的斜率是否低于预设的异常阈值;若低于所述异常阈值,则判定所述车辆的行使状态为异常;若不低于所述异常阈值,则判定所述车辆的行驶状态为正常。Determine whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold, determine that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold, determine that the vehicle The driving state is normal.
为实现上述目的,本申请还提供一种车辆行使状态判断装置,包括:In order to achieve the above purpose, the present application also provides a vehicle driving state judging device, comprising:
速度计算模块,用于获取车辆行驶视频并提取其中连续的关键帧,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上;The speed calculation module is used to obtain the vehicle driving video and extract the consecutive key frames, calculate the driving speed of the vehicle according to the adjacent two key frames, and mark the vehicle information and driving speed of the vehicle in the two key frames. on the next keyframe of ;
加速度计算模块,用于根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上;an acceleration calculation module, configured to calculate the acceleration of the vehicle according to the vehicle speed of two adjacent key frames, and mark the acceleration on the next key frame of the two key frames;
线条制定模块,用于对各关键帧的加速度进行离散数据拟合分析得到加速度线条,所述加速线条是根据所述各关键帧的加速度所制定的离散数据拟合线条;a line formulating module, configured to perform discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, where the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame;
状态判断状态,用于判断所述加速度线条的斜率是否低于预设的异常阈值;若低于所述异常阈值,则判定所述车辆的行使状态为异常;若不低于所述异常阈值,则判定所述车辆的行驶状态为正常。The state judgment state is used to judge whether the slope of the acceleration line is lower than the preset abnormal threshold; if it is lower than the abnormal threshold, it is determined that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold, Then it is determined that the running state of the vehicle is normal.
为实现上述目的,本申请还提供一种计算机设备,其包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,所述计算机设备的处理器执行所述计算机程序时实现上述车辆行使状态判断方法,所述车辆行使状态判断方法,包括:In order to achieve the above object, the present application also provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, which is implemented when the processor of the computer device executes the computer program. The above-mentioned method for judging the driving state of a vehicle, the method for judging the driving state of the vehicle includes:
获取车辆行驶视频并提取其中连续的关键帧,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上;Obtain the vehicle driving video and extract the consecutive key frames, calculate the driving speed of the vehicle according to the adjacent two key frames, and mark the vehicle information and driving speed of the vehicle on the next key frame of the two key frames. ;
根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上;Calculate the acceleration of the vehicle according to the vehicle speed of the two adjacent key frames, and mark the acceleration on the next key frame of the two key frames;
对各关键帧的加速度进行离散数据拟合分析得到加速度线条,所述加速线条是根据所述各关键帧的加速度所制定的离散数据拟合线条;Performing discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, where the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame;
判断所述加速度线条的斜率是否低于预设的异常阈值;若低于所述异常阈值,则判定所述车辆的行使状态为异常;若不低于所述异常阈值,则判定所述车辆的行驶状态为正常。Determine whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold, determine that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold, determine that the vehicle The driving state is normal.
为实现上述目的,本申请还提供一种计算机存储介质,所述存储介质上存储有计算机程序,所述存储介质存储的所述计算机程序被处理器执行时实现上述车辆行使状态判断方法,所述车辆行使状态判断方法,包括:In order to achieve the above object, the present application also provides a computer storage medium, where a computer program is stored on the storage medium, and when the computer program stored in the storage medium is executed by a processor, the above-mentioned vehicle driving state judgment method is realized, and the The method of judging the driving state of the vehicle, including:
获取车辆行驶视频并提取其中连续的关键帧,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上;Obtain the vehicle driving video and extract the consecutive key frames, calculate the driving speed of the vehicle according to the adjacent two key frames, and mark the vehicle information and driving speed of the vehicle on the next key frame of the two key frames. ;
根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上;Calculate the acceleration of the vehicle according to the vehicle speed of the two adjacent key frames, and mark the acceleration on the next key frame of the two key frames;
对各关键帧的加速度进行离散数据拟合分析得到加速度线条,所述加速线条是根据所述各关键帧的加速度所制定的离散数据拟合线条;Performing discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, where the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame;
判断所述加速度线条的斜率是否低于预设的异常阈值;若低于所述异常阈值,则判定所述车辆的行使状态为异常;若不低于所述异常阈值,则判定所述车辆的行驶状态为正常。Determine whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold, determine that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold, determine that the vehicle The driving state is normal.
本申请提供的车辆行使状态判断方法、装置、计算机设备及存储介质,通过计算所述车辆的行驶速度,并根据相邻的两个关键帧的车辆速度得到所述车辆的加速度,再对各关键帧的加速度进行离散数据拟合分析得到加速度线条,实现对车辆信息随着关键帧的推移而产生的加速度变化进行把控,通过判断所述加速度线条的斜率是否低于预设的异常阈值来实现对车辆行驶状态的判定,实现智能识别车辆异常的行驶状态,解决了现有技术中存在的车祸报案时效性差、信息不准确以及虚假报案情况的发生。The method, device, computer equipment and storage medium for judging the driving state of the vehicle provided by the present application, by calculating the driving speed of the vehicle, and obtaining the acceleration of the vehicle according to the vehicle speed of two adjacent key frames, and then for each key frame. The acceleration of the frame is subjected to discrete data fitting analysis to obtain the acceleration line, which realizes the control of the acceleration change generated by the vehicle information with the passage of the key frame, and realizes by judging whether the slope of the acceleration line is lower than the preset abnormal threshold. The determination of the driving state of the vehicle realizes the intelligent identification of the abnormal driving state of the vehicle, and solves the problems of poor timeliness, inaccurate information and false reporting of a car accident in the prior art.
附图说明Description of drawings
图1为本申请车辆行使状态判断方法实施例一的流程图;FIG. 1 is a flow chart of Embodiment 1 of the method for judging the driving state of a vehicle according to the application;
图2为本申请车辆行使状态判断方法实施例二中车辆行使状态判断方法的环境应用示意图;2 is a schematic diagram of the environmental application of the method for judging the driving state of a vehicle in Embodiment 2 of the method for judging the driving state of the vehicle;
图3是本申请车辆行使状态判断方法实施例二中车辆行使状态判断方法的具体方法流程图;FIG. 3 is a specific method flow chart of the vehicle driving state judgment method in Embodiment 2 of the vehicle driving state judgment method of the present application;
图4是本申请车辆行使状态判断方法实施例二中根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在关键帧上的具体方法流程图;4 is a flowchart of a specific method for calculating the driving speed of a vehicle according to two adjacent key frames in Embodiment 2 of the method for judging the driving state of a vehicle of the present application, and marking the vehicle information and driving speed of the vehicle on the key frames;
图5是本申请车辆行使状态判断方法实施例二中根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在关键帧上具体方法流程图;5 is a flowchart of a specific method for calculating the acceleration of a vehicle according to the vehicle speed of two adjacent key frames in Embodiment 2 of the method for judging the driving state of a vehicle of the present application, and marking the acceleration on the key frames;
图6是本申请车辆行使状态判断方法实施例二中对各关键帧的加速度进行离散数据拟合分析得到加速度线条具体方法流程图;6 is a flowchart of a specific method for obtaining acceleration lines by performing discrete data fitting analysis on the acceleration of each key frame in Embodiment 2 of the vehicle driving state judgment method of the present application;
图7为本申请车辆行使状态判断装置实施例三的程序模块示意图;FIG. 7 is a schematic diagram of a program module of Embodiment 3 of the apparatus for judging the driving state of a vehicle according to the application;
图8为本申请计算机设备实施例四中计算机设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of a computer device in Embodiment 4 of the computer device of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
本申请提供的车辆行使状态判断方法、装置、计算机设备及存储介质,适用于人工智能的图像检测技术领域,为提供一种基于速度计算模块、加速度计算模块、线条制定模块和状态判断状态的车辆行使状态判断方法。本申请通过获取车辆行驶视频并提取其中连续的关键帧,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上;根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上;对各关键帧的加速度进行离散数据拟合分析得到加速度线条,所述加速线条是根据所述各关键帧的加速度所制定的离散数据拟合线条;判断所述加速度线条的斜率是否低于预设的异常阈值;若低于所述异常阈值,则判定所述车辆的行使状态为异常;若不低于所述异常阈值,则判定所述车辆的行驶状态为正常。The vehicle driving state judgment method, device, computer equipment and storage medium provided by this application are suitable for the field of artificial intelligence image detection technology, and provide a vehicle based on a speed calculation module, an acceleration calculation module, a line drawing module and a state judgment state. Use the state judgment method. In the present application, the vehicle driving video is acquired and the consecutive key frames are extracted, the driving speed of the vehicle is calculated according to the adjacent two key frames, and the vehicle information and driving speed of the vehicle are marked in the latter one of the two key frames. On the key frame; calculate the acceleration of the vehicle according to the vehicle speed of the two adjacent key frames, and mark the acceleration on the next key frame of the two key frames; perform discrete data fitting on the acceleration of each key frame Analyzing and obtaining an acceleration line, the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame; judging whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold , then it is determined that the running state of the vehicle is abnormal; if it is not lower than the abnormal threshold, it is determined that the running state of the vehicle is normal.
实施例一:Example 1:
请参阅图1,本实施例的一种车辆行使状态判断方法,包括:Referring to FIG. 1 , a method for judging the driving state of a vehicle in this embodiment includes:
S102:获取车辆行驶视频并提取其中连续的关键帧,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上。S102: Acquire the video of the vehicle driving and extract the consecutive key frames therein, calculate the driving speed of the vehicle according to the adjacent two key frames, and mark the vehicle information and driving speed of the vehicle on the next key frame of the two key frames on the frame.
S103:根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上。S103 : Calculate the acceleration of the vehicle according to the vehicle speeds of the two adjacent key frames, and mark the acceleration on the next key frame of the two key frames.
S104:对各关键帧的加速度进行离散数据拟合分析得到加速度线条,所述加速线条是根据所述各关键帧的加速度所制定的离散数据拟合线条。S104: Perform discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, where the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame.
S105:判断所述加速度线条的斜率是否低于预设的异常阈值;若低于所述异常阈值,则判定所述车辆的行使状态为异常;若不低于所述异常阈值,则判定所述车辆的行驶状态为正常。S105: Determine whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold, determine that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold, determine the The driving state of the vehicle is normal.
在示例性的实施例中,通过提取车辆行驶视频中连续的关键帧,并根据车辆在相邻两个关键帧中的相对位移,计算所述车辆的行驶速度,并将该车辆的车辆信息和行驶速度标注在两个关键帧的后一关键帧上,以实现得到行驶中车辆的速度,以便于准确的获得所述车辆的加速度的效果;In an exemplary embodiment, the driving speed of the vehicle is calculated by extracting consecutive key frames in the vehicle driving video, and according to the relative displacement of the vehicle in two adjacent key frames, and the vehicle information of the vehicle and the vehicle information are calculated. The driving speed is marked on the next key frame of the two key frames, so as to obtain the speed of the running vehicle, so as to accurately obtain the effect of the acceleration of the vehicle;
通过计算车辆在相邻的两个关键帧的车辆速度得到所述车辆的加速度,并将所述加速度标注在所述两个关键帧的后一关键帧上,以实现得到行驶中车辆的加速度,以便于准确的把握所述车辆的行驶状态,即:正常(如:正常行驶)或异常(如:追尾、对撞等)的效果;The acceleration of the vehicle is obtained by calculating the vehicle speed of the vehicle in two adjacent key frames, and the acceleration is marked on the next key frame of the two key frames, so as to obtain the acceleration of the running vehicle, In order to accurately grasp the driving state of the vehicle, that is, the effect of normal (such as: normal driving) or abnormal (such as: rear-end collision, collision, etc.);
通过对各关键帧的加速度进行离散数据拟合分析得到加速度线条,实现对车辆信息随着关键帧的推移而产生的加速度变化进行把控,进而有助于判断该车辆的行驶状态是否正常的技术效果;Acceleration lines are obtained by discrete data fitting analysis of the acceleration of each key frame, which can control the acceleration change of vehicle information with the passage of key frames, and then help to judge whether the driving state of the vehicle is normal or not. Effect;
通过判断所述加速度线条的斜率是否低于预设的异常阈值来实现对车辆行驶状态的判定,实现根据加速度线条判定车辆的行驶状态,进而实现智能识别车辆行驶状态的技术效果;例如:通常车辆的最大加速度为0.6g,车辆急刹车的最大加速度为-1g,而车辆在发生对撞或追尾时,其加速度在20ms之内即可达到-30g,甚至-50g以下,因此,一旦出现对撞或追尾的情况时,采用最小二乘法得到的加速度线条将因出现的急剧降低的加速度,导致加速度线条的斜率陡然降低,因此,通过将所述斜率与预设的异常阈值,即可判断出车辆是否出现对撞或追尾等异常情况,实现了智能识别车辆异常(对撞、追尾等)的技术效果。By judging whether the slope of the acceleration line is lower than a preset abnormal threshold, the determination of the driving state of the vehicle is realized, the driving state of the vehicle is determined according to the acceleration line, and the technical effect of intelligently identifying the driving state of the vehicle is realized; for example: a normal vehicle The maximum acceleration of the vehicle is 0.6g, the maximum acceleration of the vehicle's sudden braking is -1g, and when the vehicle collides or rear-ends, its acceleration can reach -30g or even -50g within 20ms. Therefore, once a collision occurs Or in the case of rear-end collision, the acceleration line obtained by the least squares method will cause the slope of the acceleration line to decrease abruptly due to the sharply reduced acceleration. Whether there is an abnormal situation such as collision or rear-end collision, the technical effect of intelligently identifying vehicle anomalies (collision, rear-end collision, etc.) is realized.
因此,本申请通过实现智能识别车辆异常的行驶状态,解决了现有技术中存在的车祸报案时效性差、信息不准确以及虚假报案情况的发生。Therefore, the present application solves the problems of poor timeliness, inaccurate information, and false reports existing in the prior art by realizing intelligent identification of abnormal vehicle driving states.
本申请可应用于智慧交通场景中,从而推动智慧城市的建设。The present application can be applied in smart traffic scenarios, thereby promoting the construction of smart cities.
其中,所述S105图1中,以以下标注形式展现:Wherein, the S105 shown in Fig. 1 is shown in the following marked form:
S51:判断所述加速度线条的斜率是否低于预设的异常阈值;S51: Determine whether the slope of the acceleration line is lower than a preset abnormal threshold;
S52:若低于所述异常阈值,则判定所述车辆的行使状态为异常;S52: If it is lower than the abnormal threshold, determine that the driving state of the vehicle is abnormal;
S53:若不低于所述异常阈值,则判定所述车辆的行驶状态为正常。S53: If it is not lower than the abnormality threshold, determine that the driving state of the vehicle is normal.
实施例二:Embodiment 2:
本实施例为上述实施例一的一种具体应用场景,通过本实施例,能够更加清楚、具体地阐述本申请所提供的方法。This embodiment is a specific application scenario of the above-mentioned Embodiment 1. Through this embodiment, the method provided in this application can be described more clearly and specifically.
下面,以在运行有车辆行使状态判断方法的服务器中,对相邻的两个关键帧的车辆速度计算车辆的加速度,并对各关键帧的加速度进行离散数据拟合分析得到加速度线条,通过所述加速度线条的斜率判断车辆的行使状态为例,来对本实施例提供的方法进行具体说明。需要说明的是,本实施例只是示例性的,并不限制本申请实施例所保护的范围。Next, in the server running the vehicle driving state judgment method, the acceleration of the vehicle is calculated for the vehicle speed of two adjacent key frames, and the acceleration line of each key frame is obtained by discrete data fitting analysis. The method provided by this embodiment is described in detail by taking the slope of the acceleration line as an example to determine the driving state of the vehicle. It should be noted that this embodiment is only exemplary, and does not limit the protection scope of the embodiment of this application.
图2示意性示出了根据本申请实施例二的车辆行使状态判断方法的环境应用示意图。FIG. 2 schematically shows a schematic diagram of an environmental application of the method for judging the driving state of a vehicle according to the second embodiment of the present application.
在示例性的实施例中,车辆行使状态判断方法所在的认证服务器2通过网络3连接拍摄设备4,所述服务器2可以通过一个或多个网络3提供服务,网络3可以包括各种网络设备,例如路由器,交换机,多路复用器,集线器,调制解调器,网桥,中继器,防火墙,代理设备和/或等等。网络3可以包括物理链路,例如同轴电缆链路,双绞线电缆链路,光纤链路,它们的组合和/或类似物。网络3可以包括无线链路,例如蜂窝链路,卫星链路,Wi-Fi链路和/或类似物;所述拍摄设备4为视频拍摄系统,如天眼系统、闭路电视等计算机设备。In an exemplary embodiment, the authentication server 2 where the vehicle running state determination method is located is connected to the photographing device 4 through a network 3, the server 2 may provide services through one or more networks 3, and the network 3 may include various network devices, For example routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices and/or the like. The network 3 may include physical links such as coaxial cable links, twisted pair cable links, fiber optic links, combinations thereof, and/or the like. The network 3 may include wireless links, such as cellular links, satellite links, Wi-Fi links and/or the like; the shooting device 4 is a video shooting system, such as a sky-eye system, CCTV and other computer equipment.
图3是本申请一个实施例提供的一种车辆行使状态判断方法的具体方法流程图,该方法具体包括步骤S201至S205。FIG. 3 is a flowchart of a specific method of a method for judging a driving state of a vehicle provided by an embodiment of the present application, and the method specifically includes steps S201 to S205.
S201:与预设的拍摄设备建立通信连接,以实时获取拍摄设备拍摄所述车辆的行驶视频。S201 : Establish a communication connection with a preset photographing device to acquire in real time the driving video of the vehicle photographed by the photographing device.
本步骤中,可使用天眼系统作为拍摄设备,所述天眼系统是一种网络视频系统,其通常指的是安全监视和远程监控领域内用于特定应用的IP监视系统,该系统使用户能够通过IP网络(LAN/WAN/Internet)实现视频监控及视频图像的录像、以及相关的报警管理。于本实施例中,采用所述天眼系统是对行驶的车辆拍摄行驶视频。In this step, the Sky Eye system can be used as the shooting device. The Sky Eye system is a kind of network video system, which usually refers to the IP surveillance system used for specific applications in the field of security monitoring and remote monitoring. IP network (LAN/WAN/Internet) realizes video surveillance, video image recording, and related alarm management. In this embodiment, the sky-eye system is used to shoot a driving video of a moving vehicle.
S202:获取车辆行驶视频并提取其中连续的关键帧,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上。S202: Acquire a video of the vehicle driving and extract consecutive key frames therein, calculate the driving speed of the vehicle according to two adjacent key frames, and mark the vehicle information and driving speed of the vehicle on the next key frame of the two key frames on the frame.
为得到行驶中车辆的速度,以便于准确的获得所述车辆的加速度,本步骤通过提取车辆行驶视频中连续的关键帧,并根据车辆在相邻两个关键帧中的相对位移,计算所述车辆的行驶速度,并将该车辆的车辆信息和行驶速度标注在两个关键帧的后一关键帧上。In order to obtain the speed of the vehicle in motion, so as to obtain the acceleration of the vehicle accurately, in this step, the continuous key frames in the vehicle driving video are extracted, and the relative displacement of the vehicle in two adjacent key frames is calculated. The driving speed of the vehicle, and the vehicle information and driving speed of the vehicle are marked on the next key frame of the two key frames.
优选的,为保证服务器准确获得车辆在实际行驶中每一阶段的加速度,以便于准确把握车辆的行驶状态,同时避免因过于频繁的获得并计算关键帧导致服务器的运算负担过大,本步骤通过按照预设的提取间隔和提取数量从车辆行驶视频中连续的提取关键帧。Preferably, in order to ensure that the server can accurately obtain the acceleration of the vehicle at each stage of actual driving, so as to accurately grasp the driving state of the vehicle, and at the same time to avoid excessive computing burden on the server due to too frequent acquisition and calculation of key frames, this step passes The key frames are continuously extracted from the vehicle driving video according to the preset extraction interval and extraction quantity.
于本实施例中,所述提取间隔和提取数量可根据需要设置,例如,提取间隔为40ms,提取数量为1000,那么就按照40ms为间隔,从车辆行驶视频中提取1000个关键帧。In this embodiment, the extraction interval and extraction quantity can be set as required. For example, if the extraction interval is 40ms and the extraction quantity is 1000, then 1000 key frames are extracted from the vehicle driving video at an interval of 40ms.
在一个优选的实施例中,请参阅图4,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上的步骤,包括:In a preferred embodiment, referring to FIG. 4 , the driving speed of the vehicle is calculated according to two adjacent key frames, and the vehicle information and driving speed of the vehicle are marked in the next key frame of the two key frames. steps above, including:
S21:识别各关键帧中出现的车辆,并将所述车辆的车辆信息标注在所述关键帧上。S21: Identify vehicles appearing in each key frame, and mark the vehicle information of the vehicle on the key frame.
本步骤中,通过车辆牌照识别技术识别各关键中出现车辆的车牌,以实现识别出现的车辆的目的;将所述车牌作为所述车辆信息标注在所述关键帧上,以实现在关键帧中标注车辆的目的。In this step, the license plate of the vehicle that appears in each key is identified by the vehicle license plate recognition technology, so as to realize the purpose of identifying the vehicle that appears; The purpose of marking the vehicle.
需要说明的是,图像车辆识别可以转化为图像的车牌识别,通过车牌的加速度来得到车辆运动轨迹的加速度。车辆牌照识别的算法有多种,例如OCR技术,此方案中该算法只是应用,不做深入解析。It should be noted that image vehicle recognition can be converted into image license plate recognition, and the acceleration of the vehicle motion trajectory is obtained through the acceleration of the license plate. There are many algorithms for vehicle license plate recognition, such as OCR technology. In this solution, the algorithm is only applied without in-depth analysis.
S22:根据车辆在相邻的两个关键帧中的相对位移计算各车辆的行驶速度。S22: Calculate the traveling speed of each vehicle according to the relative displacement of the vehicle in two adjacent key frames.
本步骤中,根据所述车牌在相邻的两个关键帧中的相对位移及所述提取间隔,计算所述车牌在所述相邻的两个关键帧之间的行驶速度,并将其设为所述车辆的行驶速度。In this step, according to the relative displacement of the license plate in the two adjacent key frames and the extraction interval, calculate the driving speed of the license plate between the two adjacent key frames, and set it as is the speed of the vehicle.
示例性地,若车牌“沪A*****”在两个关键帧的相对位移为1m提取间隔为40ms,那么得到的行驶速度为1m/40ms=25m/s=90km/h。Exemplarily, if the relative displacement of the license plate "Shanghai A*****" in two key frames is 1m and the extraction interval is 40ms, then the obtained travel speed is 1m/40ms=25m/s=90km/h.
需要说明的是,所述相对位移是通过距离度量方法测量两个关键帧中的车辆的位置所获得的,所述距离度量是数学中的法则,用在某些空间中测量沿曲线的距离和曲线间的角度,包含曲线所在空间的曲率的信息;由于本步骤所要解决的技术问题是,如何根据车辆的速度得到车辆的加速度,进而有助于判断车辆的行驶状态;因此,关于距离度量的具体技术原理在此不做赘述。It should be noted that the relative displacement is obtained by measuring the position of the vehicle in the two key frames by a distance metric method, which is a mathematical law used to measure the distance along the curve and The angle between the curves includes the information of the curvature of the space where the curves are located; since the technical problem to be solved in this step is how to obtain the acceleration of the vehicle according to the speed of the vehicle, which is helpful to judge the driving state of the vehicle; therefore, the distance measurement The specific technical principle is not repeated here.
S23:将所述行驶速度标注在所述相邻的两个关键帧的后一关键帧中,将所述行驶速度及其车辆的车辆信息关联。S23: Mark the traveling speed in the next key frame of the two adjacent key frames, and associate the traveling speed with the vehicle information of the vehicle.
示例性地,基于上述举例,假设相邻的两个关键帧包括关键帧A,关键帧B,其中,关键帧B位于所述关键帧A之后,那么,将车辆信息:“沪A*****” ,行驶速度:25m/s、90km/h标注在关键帧B上。Exemplarily, based on the above example, assuming that two adjacent key frames include key frame A and key frame B, wherein key frame B is located after key frame A, then, the vehicle information: "Shanghai A*** **”, the travel speed: 25m/s, 90km/h is marked on key frame B.
S203:根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上。S203 : Calculate the acceleration of the vehicle according to the vehicle speeds of the two adjacent key frames, and mark the acceleration on the next key frame of the two key frames.
为得到行驶中车辆的加速度,以便于准确的把握所述车辆的行驶状态,即:正常(如:正常行驶)或异常(如:追尾、对撞等),本步骤通过计算车辆在相邻的两个关键帧的车辆速度得到所述车辆的加速度,并将所述加速度标注在所述两个关键帧的后一关键帧上。In order to obtain the acceleration of the vehicle in motion, so as to accurately grasp the driving state of the vehicle, namely: normal (such as: normal driving) or abnormal (such as: rear-end collision, collision, etc.) The vehicle speed of the two key frames is used to obtain the acceleration of the vehicle, and the acceleration is marked on the next key frame of the two key frames.
在一个优选的实施例中,请参阅图5,根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上的步骤,包括:In a preferred embodiment, referring to FIG. 5, the acceleration of the vehicle is calculated according to the vehicle speed of two adjacent key frames, and the acceleration is marked on the next key frame of the two key frames, include:
S31:提取相邻两个关键帧中同一车辆信息的行驶速度,计算所述两个关键帧的行驶速度得到加速度。S31 : Extract the driving speed of the same vehicle information in two adjacent key frames, and calculate the driving speed of the two key frames to obtain the acceleration.
S32:将所述加速度标注在所述相邻的两个关键帧的后一关键帧中,并将所述加速度与所述车辆信息关联。S32: Mark the acceleration in the next key frame of the two adjacent key frames, and associate the acceleration with the vehicle information.
示例性地,基于上述举例,假设相邻的两个关键帧包括关键帧B和关键帧C,其中,关键帧C位于所述关键帧B之后;关键帧B标注有车辆信息:“沪A*****” ,行驶速度:25m/s;关键帧C标注有车辆信息:“沪A*****” ,行驶速度:24.9m/s;而提取间隔为40m/s,那么得到的加速度为-2.5m/s2。Exemplarily, based on the above example, it is assumed that two adjacent key frames include key frame B and key frame C, wherein key frame C is located after key frame B; key frame B is marked with vehicle information: "Shanghai A* ****” , travel speed: 25m/s; key frame C is marked with vehicle information: "Shanghai A*****", travel speed: 24.9m/s; and the extraction interval is 40m/s, then the obtained acceleration is -2.5m /s2.
S204:对各关键帧的加速度进行离散数据拟合分析得到加速度线条,所述加速线条是根据所述各关键帧的加速度所制定的离散数据拟合线条。S204: Perform discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, where the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame.
为实现对车辆信息随着关键帧的推移而产生的加速度变化进行把控,进而有助于判断该车辆的行驶状态是否正常的技术效果,本步骤通过对各关键帧的加速度进行离散数据拟合分析得到加速度线条;其中,所述离散数据拟合分析是一种把现有数据透过数学方法来代入一条数式的表示方式。科学和工程问题可以通过诸如采样、实验等方法获得若干离散的数据,根据这些数据,我们往往希望得到一个连续的函数(也就是曲线)或者更加密集的离散方程与已知数据相吻合,这过程就叫做拟合(fitting)。In order to realize the technical effect of controlling the acceleration changes generated by the vehicle information with the passage of key frames, and then help to judge whether the driving state of the vehicle is normal, this step is performed by discrete data fitting of the acceleration of each key frame. The acceleration line is obtained by analysis; wherein, the discrete data fitting analysis is a representation method in which existing data is substituted into a mathematical formula through a mathematical method. For scientific and engineering problems, several discrete data can be obtained through methods such as sampling and experiments. According to these data, we often hope to obtain a continuous function (that is, a curve) or a denser discrete equation that is consistent with the known data. This process It's called fitting.
于本实施例中,采用最小二乘法对作为离散数据的各关键帧的加速度进行线性拟合,以实现对各所述关键帧的加速度进行离散数据拟合分析并获得所述加速度线条。In this embodiment, the least squares method is used to linearly fit the acceleration of each key frame as discrete data, so as to perform discrete data fitting analysis on the acceleration of each key frame and obtain the acceleration line.
需要说明的是,最小二乘法是一种数学优化技术,它通过最小化误差的平方和寻找数据的最佳函数匹配。利用最小二乘法可以简便地求得未知的数据,并使得这些求得的数据与实际数据之间误差的平方和为最小。于本实施例中,Matlab模块实现采用最小二乘法对各关键帧的加速度进行离散数据拟合分析。It should be noted that the least squares method is a mathematical optimization technique that finds the best functional match for the data by minimizing the sum of squared errors. The unknown data can be easily obtained by the least squares method, and the sum of squares of the errors between the obtained data and the actual data can be minimized. In this embodiment, the Matlab module implements the least squares method to perform discrete data fitting analysis on the acceleration of each key frame.
在一个优选的实施例中,请参阅图6,对各关键帧的加速度进行离散数据拟合分析得到加速度线条的步骤,包括:In a preferred embodiment, referring to FIG. 6 , the steps of performing discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line include:
S41:按照所述连续的关键帧的顺序,依次提取各所述关键帧中同一车辆信息的加速度。S41: According to the sequence of the consecutive key frames, sequentially extract the acceleration of the same vehicle information in each of the key frames.
S42:根据关键帧在所述顺序中的位次及所述关键帧的加速度,制定所述车辆信息在所述关键帧上的离散点。S42: Formulate discrete points of the vehicle information on the key frame according to the order of the key frame in the sequence and the acceleration of the key frame.
本步骤中,将所述连续的关键帧中任一关键帧作为目标帧,以所述目标帧在所述连续的关键帧中的位次作为横坐标,以所述目标帧的加速度作为纵坐标,得到所述车辆信息在所述目标帧上的离散点。In this step, any key frame in the continuous key frames is used as the target frame, the order of the target frame in the continuous key frames is used as the abscissa, and the acceleration of the target frame is used as the ordinate , to obtain discrete points of the vehicle information on the target frame.
S43:采用最小二乘法计算所述车辆信息的在各关键帧上的离散点得到加速度线条,所述加速度线条拟合了车辆信息随着关键帧的推移而产生的加速度变化。S43: Using the least squares method to calculate discrete points of the vehicle information on each key frame to obtain an acceleration line, where the acceleration line fits an acceleration change of the vehicle information with the passage of the key frame.
示例性地,假设获得到的连续的关键帧包括:关键帧1、关键帧2、关键帧3、关键帧4、关键帧5;Exemplarily, it is assumed that the obtained consecutive key frames include: key frame 1, key frame 2, key frame 3, key frame 4, and key frame 5;
提取各关键帧中同一车辆信息,如:沪A*****,的加速度分别为:关键帧1,加速度:-2.5m/s2;关键帧2,加速度:-2.1m/s2;关键帧3,加速度:-1.4m/s2;关键帧4,加速度:-1m/s2;关键帧5,加速度:-0.6m/s2;那么根据最小二乘法,将得到y=0.5x-3的加速度线条。Extract the same vehicle information in each key frame, such as: Shanghai A*****, the accelerations are: key frame 1, acceleration: -2.5m/s2; key frame 2, acceleration: -2.1m/s2; key frame 3. Acceleration: -1.4m/s2; keyframe 4, acceleration: -1m/s2; keyframe 5, acceleration: -0.6m/s2; then according to the least square method, the acceleration line of y=0.5x-3 will be obtained .
优选的,对各关键帧的加速度进行离散数据拟合分析得到加速度线条之后,还包括:Preferably, after the acceleration line is obtained by performing discrete data fitting analysis on the acceleration of each key frame, the method further includes:
将所述加速度线条上传至区块链中。Upload the acceleration line to the blockchain.
需要说明的是,基于加速度线条得到对应的摘要信息,具体来说,摘要信息由加速度线条进行散列处理得到,比如利用sha256s算法处理得到。将摘要信息上传至区块链可保证其安全性和对用户的公正透明性。用户设备可以从区块链中下载得该摘要信息,以便查证加速度线条是否被篡改。本示例所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。It should be noted that the corresponding summary information is obtained based on the acceleration lines. Specifically, the summary information is obtained by hashing the acceleration lines, for example, by using the sha256s algorithm. Uploading summary information to the blockchain ensures its security and fairness and transparency to users. The user equipment can download the summary information from the blockchain to verify whether the acceleration line has been tampered with. The blockchain referred to in this example is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
S205:判断所述加速度线条的斜率是否低于预设的异常阈值;若低于所述异常阈值,则判定所述车辆的行使状态为异常;若不低于所述异常阈值,则判定所述车辆的行驶状态为正常。S205: Determine whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold, determine that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold, determine the The driving state of the vehicle is normal.
为实现根据加速度线条判定车辆的行驶状态,进而实现智能识别车辆行驶状态的技术效果,本步骤通过判断所述加速度线条的斜率是否低于预设的异常阈值来实现对车辆行驶状态的判定;通常车辆的最大加速度为0.6g,车辆急刹车的最大加速度为-1g,而车辆在发生对撞或追尾时,其加速度在20ms之内即可达到-30g,甚至-50g以下,因此,一旦出现对撞或追尾的情况时,采用最小二乘法得到的加速度线条将因出现的急剧降低的加速度,导致加速度线条的斜率陡然降低,因此,通过将所述斜率与预设的异常阈值,即可判断出车辆是否出现对撞或追尾等异常情况,实现了智能识别车辆异常(对撞、追尾等)的技术效果。In order to realize the technical effect of judging the driving state of the vehicle according to the acceleration line, thereby realizing the technical effect of intelligently recognizing the driving state of the vehicle, this step realizes the judgment of the driving state of the vehicle by judging whether the slope of the acceleration line is lower than the preset abnormal threshold; usually The maximum acceleration of the vehicle is 0.6g, the maximum acceleration of the vehicle sudden braking is -1g, and when the vehicle collides or rear-ends, its acceleration can reach -30g or even -50g within 20ms. In the event of a collision or rear-end collision, the acceleration line obtained by the least squares method will cause the slope of the acceleration line to decrease abruptly due to the sharply reduced acceleration. Therefore, by comparing the slope with the preset abnormal threshold, it can be determined that Whether the vehicle has an abnormal situation such as collision or rear-end collision, it realizes the technical effect of intelligently identifying vehicle anomalies (collision, rear-end collision, etc.).
其中,所述S205图3中,以以下标注形式展现:Wherein, the S205 in FIG. 3 is shown in the following labeling form:
S51:判断所述加速度线条的斜率是否低于预设的异常阈值;S51: Determine whether the slope of the acceleration line is lower than a preset abnormal threshold;
S52:若低于所述异常阈值,则判定所述车辆的行使状态为异常;S52: If it is lower than the abnormal threshold, determine that the driving state of the vehicle is abnormal;
S53:若不低于所述异常阈值,则判定所述车辆的行驶状态为正常。S53: If it is not lower than the abnormality threshold, determine that the driving state of the vehicle is normal.
示例性地,基于上述举例,得到的将得到y=0.5x-3的加速度线条,其斜率为0.5;若所述异常阈值为-5,则判定该加速度线条的斜率不低于异常阈值,进而判定所述车辆的行驶状态为正常;如果得到的加速度线条为y=-10x-6(一旦发生追尾或对碰时,因加速度的陡然下降,会导致加速度线条的斜率骤然降低),若所述异常阈值仍为-5,则判定该加速线条的斜率低于异常阈值,进而判定所述车辆的行驶状态为异常。Exemplarily, based on the above example, an acceleration line of y=0.5x-3 is obtained, and its slope is 0.5; if the abnormal threshold is -5, it is determined that the slope of the acceleration line is not lower than the abnormal threshold, and then It is determined that the driving state of the vehicle is normal; if the obtained acceleration line is y=-10x-6 (in the event of a rear-end collision or a collision, the slope of the acceleration line will drop suddenly due to the sudden drop in acceleration), if the If the abnormality threshold is still -5, it is determined that the slope of the acceleration line is lower than the abnormality threshold, and then it is determined that the driving state of the vehicle is abnormal.
实施例三:Embodiment three:
请参阅图7,本实施例的一种车辆行使状态判断装置1,包括:Referring to FIG. 7 , a vehicle driving state judging device 1 of the present embodiment includes:
速度计算模块12,用于获取车辆行驶视频并提取其中连续的关键帧,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上;The speed calculation module 12 is used for acquiring the vehicle driving video and extracting consecutive key frames therein, calculating the driving speed of the vehicle according to the adjacent two key frames, and marking the vehicle information and driving speed of the vehicle in the two key frames. on the next keyframe of the frame;
加速度计算模块13,用于根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上;The acceleration calculation module 13 is used to calculate the acceleration of the vehicle according to the vehicle speed of the two adjacent key frames, and mark the acceleration on the next key frame of the two key frames;
线条制定模块14,用于对各关键帧的加速度进行离散数据拟合分析得到加速度线条,所述加速线条是根据所述各关键帧的加速度所制定的离散数据拟合线条;The line formulating module 14 is used to perform discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, and the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame;
状态判断状态15,用于判断所述加速度线条的斜率是否低于预设的异常阈值;若低于所述异常阈值,则判定所述车辆的行使状态为异常;若不低于所述异常阈值,则判定所述车辆的行驶状态为正常。The state judgment state 15 is used to judge whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold, it is determined that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold , then it is determined that the running state of the vehicle is normal.
可选的,所述车辆行使状态判断装置1还包括:Optionally, the vehicle driving state judging device 1 further includes:
通信连接模块11,用于与预设的拍摄设备建立通信连接,以实时获取拍摄设备拍摄所述车辆的行驶视频。The communication connection module 11 is configured to establish a communication connection with a preset photographing device, so as to obtain the driving video of the vehicle photographed by the photographing device in real time.
本技术方案涉及人工智能的图像检测技术领域,通过图像匹配技术中的距离度量方法获取车辆行驶视频并提取其中连续的关键帧,根据相邻的两个关键帧计算车辆的行驶速度,根据相邻的两个关键帧的车辆速度计算车辆的加速度, 对各关键帧的加速度进行离散数据拟合分析得到加速度线条, 判断加速度线条的斜率是否低于预设的异常阈值;若低于异常阈值,则判定车辆的行使状态为异常。 The technical solution relates to the technical field of artificial intelligence image detection. The distance measurement method in the image matching technology is used to obtain the vehicle driving video and extract the continuous key frames. The driving speed of the vehicle is calculated according to the adjacent two key frames. Calculate the acceleration of the vehicle from the vehicle speed of the two keyframes, Discrete data fitting analysis is performed on the acceleration of each key frame to obtain an acceleration line, and it is determined whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold, it is determined that the driving state of the vehicle is abnormal.
实施例四:Embodiment 4:
为实现上述目的,本申请还提供一种计算机设备5,实施例三的车辆行使状态判断装置1的组成部分可分散于不同的计算机设备中,计算机设备5可以是执行程序的智能手机、平板电脑、笔记本电脑、台式计算机、机架式服务器、刀片式服务器、塔式服务器或机柜式服务器(包括独立的服务器,或者多个应用服务器所组成的服务器集群)等。本实施例的计算机设备至少包括但不限于:可通过系统总线相互通信连接的存储器51、处理器52,如图8所示。需要指出的是,图8仅示出了具有组件-的计算机设备,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。In order to achieve the above purpose, the present application also provides a computer device 5. The components of the vehicle driving state judging device 1 of the third embodiment can be dispersed in different computer devices, and the computer device 5 can be a smart phone or a tablet computer that executes programs. , notebook computers, desktop computers, rack servers, blade servers, tower servers or rack servers (including independent servers, or server clusters composed of multiple application servers), etc. The computer device in this embodiment at least includes, but is not limited to, a memory 51 and a processor 52 that can be communicatively connected to each other through a system bus, as shown in FIG. 8 . It should be pointed out that FIG. 8 only shows a computer device having a component -, but it should be understood that it is not required to implement all the shown components, and more or less components may be implemented instead.
本实施例中,存储器51(即存储介质)包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,存储器51可以是计算机设备的内部存储单元,例如该计算机设备的硬盘或内存。在另一些实施例中,存储器51也可以是计算机设备的外部存储设备,例如该计算机设备上配备的插接式硬盘,智能存储卡(Smart Media Card, SMC),安全数字(Secure Digital, SD)卡,闪存卡(Flash Card)等。当然,存储器51还可以既包括计算机设备的内部存储单元也包括其外部存储设备。本实施例中,存储器51通常用于存储安装于计算机设备的操作系统和各类应用软件,例如实施例三的车辆行使状态判断装置的程序代码等。此外,存储器51还可以用于暂时地存储已经输出或者将要输出的各类数据。In this embodiment, the memory 51 (ie, the storage medium) includes flash memory, hard disk, multimedia card, card-type memory (eg, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disc, etc. In some embodiments, the memory 51 may be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device. In other embodiments, the memory 51 may also be an external storage device of a computer device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), Secure Digital (SD) card, Flash Card (Flash Card), etc. Of course, the memory 51 may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the memory 51 is generally used to store the operating system and various application software installed on the computer equipment, such as the program code of the vehicle driving state judging device of the third embodiment. In addition, the memory 51 can also be used to temporarily store various types of data that have been output or will be output.
处理器52在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器52通常用于控制计算机设备的总体操作。本实施例中,处理器52用于运行存储器51中存储的程序代码或者处理数据,例如运行车辆行使状态判断装置,以实现实施例一和实施例二的车辆行使状态判断方法。The processor 52 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 52 is typically used to control the overall operation of the computer device. In this embodiment, the processor 52 is used for running the program code or processing data stored in the memory 51 , for example, running the vehicle running state judging device, so as to realize the vehicle running state judging methods of the first and second embodiments.
实施例五:Embodiment 5:
为实现上述目的,本申请还提供一种计算机存储介质,所述计算机可读存储介质可以是非易失性,也可以是易失性,如闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘、服务器、App应用商城等等,其上存储有计算机程序,程序被处理器52执行时实现相应功能。本实施例的计算机存储介质用于存储车辆行使状态判断装置,被处理器52执行时实现实施例一和实施例二的车辆行使状态判断方法。In order to achieve the above purpose, the present application also provides a computer storage medium, the computer-readable storage medium may be non-volatile or volatile, such as flash memory, hard disk, multimedia card, card-type storage (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), Magnetic storage, magnetic disk, optical disk, server, App application mall, etc., on which computer programs are stored, and when the programs are executed by the processor 52, corresponding functions are realized. The computer storage medium of this embodiment is used to store the vehicle running state judging device, and when executed by the processor 52, implements the vehicle running state judging methods of the first and second embodiments.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied in other related technical fields , are similarly included within the scope of patent protection of this application.

Claims (20)

  1. 一种车辆行使状态判断方法,其中,包括:A method for judging the driving state of a vehicle, comprising:
    获取车辆行驶视频并提取其中连续的关键帧,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上;Obtain the vehicle driving video and extract the consecutive key frames, calculate the driving speed of the vehicle according to the adjacent two key frames, and mark the vehicle information and driving speed of the vehicle on the next key frame of the two key frames. ;
    根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上;Calculate the acceleration of the vehicle according to the vehicle speed of the two adjacent key frames, and mark the acceleration on the next key frame of the two key frames;
    对各关键帧的加速度进行离散数据拟合分析得到加速度线条,所述加速线条是根据所述各关键帧的加速度所制定的离散数据拟合线条;Performing discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, where the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame;
    判断所述加速度线条的斜率是否低于预设的异常阈值;若低于所述异常阈值,则判定所述车辆的行使状态为异常;若不低于所述异常阈值,则判定所述车辆的行驶状态为正常。Determine whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold, determine that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold, determine that the vehicle The driving state is normal.
  2. 根据权利要求1所述的车辆行使状态判断方法,其中,获取车辆行驶视频之前包括: The method for judging the driving state of a vehicle according to claim 1, wherein before acquiring the driving video of the vehicle, the method comprises:
    与预设的拍摄设备建立通信连接,以实时获取拍摄设备拍摄所述车辆的行驶视频。A communication connection is established with a preset photographing device, so as to obtain the driving video of the vehicle photographed by the photographing device in real time.
  3. 根据权利要求1所述的车辆行使状态判断方法,其中,获取车辆行驶视频并提取其中连续的关键帧包括: The method for judging the driving state of a vehicle according to claim 1, wherein acquiring the driving video of the vehicle and extracting continuous key frames therein comprises:
    按照预设的提取间隔和提取数量从车辆行驶视频中连续的提取关键帧。The key frames are continuously extracted from the vehicle driving video according to the preset extraction interval and extraction quantity.
  4. 根据权利要求1所述的车辆行使状态判断方法,其中,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上的步骤,包括: The method for judging the driving state of a vehicle according to claim 1, wherein the driving speed of the vehicle is calculated according to two adjacent key frames, and the vehicle information and the driving speed of the vehicle are marked in the latter one of the two key frames. Steps on keyframes, including:
    识别各关键帧中出现的车辆,并将所述车辆的车辆信息标注在所述关键帧上;Identifying vehicles appearing in each key frame, and marking the vehicle information of the vehicle on the key frames;
    根据车辆在相邻的两个关键帧中的相对位移计算各车辆的行驶速度;Calculate the driving speed of each vehicle according to the relative displacement of the vehicle in two adjacent key frames;
    将所述行驶速度标注在所述相邻的两个关键帧的后一关键帧中,将所述行驶速度及其车辆的车辆信息关联。The traveling speed is marked in the next key frame of the two adjacent key frames, and the traveling speed and the vehicle information of the vehicle are associated.
  5. 根据权利要求1所述的车辆行使状态判断方法,其中,根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上的步骤,包括: The method for judging the driving state of a vehicle according to claim 1, wherein the acceleration of the vehicle is calculated according to the vehicle speed of two adjacent key frames, and the acceleration is marked on the next key frame of the two key frames. steps, including:
    提取相邻两个关键帧中同一车辆信息的行驶速度,计算所述两个关键帧的行驶速度得到加速度;Extracting the driving speed of the same vehicle information in two adjacent key frames, and calculating the driving speed of the two key frames to obtain the acceleration;
    将所述加速度标注在所述相邻的两个关键帧的后一关键帧中,并将所述加速度与所述车辆信息关联。The acceleration is marked in the next key frame of the two adjacent key frames, and the acceleration is associated with the vehicle information.
  6. 根据权利要求1所述的车辆行使状态判断方法,其中,对各关键帧的加速度进行离散数据拟合分析得到加速度线条包括: The method for judging the driving state of a vehicle according to claim 1, wherein the acceleration lines obtained by performing discrete data fitting analysis on the acceleration of each key frame include:
    采用最小二乘法对作为离散数据的各关键帧的加速度进行线性拟合,以实现对各所述关键帧的加速度进行离散数据拟合分析并获得所述加速度线条。The acceleration of each key frame as discrete data is linearly fitted by the least squares method, so as to implement discrete data fitting analysis on the acceleration of each of the key frames and obtain the acceleration line.
  7. 根据权利要求1所述的车辆行使状态判断方法,其中,对各关键帧的加速度进行离散数据拟合分析得到加速度线条的步骤,包括: The method for judging the driving state of a vehicle according to claim 1, wherein the step of performing discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line comprises:
    按照所述连续的关键帧的顺序,依次提取各所述关键帧中同一车辆信息的加速度;According to the sequence of the consecutive key frames, sequentially extract the acceleration of the same vehicle information in each of the key frames;
    根据关键帧在所述顺序中的位次及所述关键帧的加速度,制定所述车辆信息在所述关键帧上的离散点;formulating discrete points of the vehicle information on the key frame according to the rank of the key frame in the sequence and the acceleration of the key frame;
    采用最小二乘法计算所述车辆信息的在各关键帧上的离散点得到加速度线条,所述加速度线条拟合了车辆信息随着关键帧的推移而产生的加速度变化;Using the least squares method to calculate the discrete points of the vehicle information on each key frame to obtain an acceleration line, the acceleration line fitting the acceleration change of the vehicle information with the passage of the key frame;
    对各关键帧的加速度进行离散数据拟合分析得到加速度线条之后,还包括:After performing discrete data fitting analysis on the acceleration of each key frame to obtain the acceleration line, it also includes:
    将所述加速度线条上传至区块链中。Upload the acceleration lines to the blockchain.
  8. 一种车辆行使状态判断装置,其中,包括: A vehicle driving state judging device, comprising:
    速度计算模块,用于获取车辆行驶视频并提取其中连续的关键帧,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上;The speed calculation module is used to obtain the vehicle driving video and extract the consecutive key frames, calculate the driving speed of the vehicle according to the adjacent two key frames, and mark the vehicle information and driving speed of the vehicle in the two key frames. on the next keyframe of ;
    加速度计算模块,用于根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上;an acceleration calculation module, configured to calculate the acceleration of the vehicle according to the vehicle speed of two adjacent key frames, and mark the acceleration on the next key frame of the two key frames;
    线条制定模块,用于对各关键帧的加速度进行离散数据拟合分析得到加速度线条,所述加速线条是根据所述各关键帧的加速度所制定的离散数据拟合线条;a line formulating module, configured to perform discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, where the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame;
    状态判断状态,用于判断所述加速度线条的斜率是否低于预设的异常阈值;若低于所述异常阈值,则判定所述车辆的行使状态为异常;若不低于所述异常阈值,则判定所述车辆的行驶状态为正常。The state judgment state is used to judge whether the slope of the acceleration line is lower than the preset abnormal threshold; if it is lower than the abnormal threshold, it is determined that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold, Then it is determined that the running state of the vehicle is normal.
  9. 一种计算机设备,其包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其中,所述计算机设备的处理器执行所述计算机程序时实现所述车辆行使状态判断方法,所述车辆行使状态判断方法的步骤,包括: A computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor of the computer device implements the method for judging the driving state of the vehicle when the computer program is executed , the steps of the method for judging the driving state of the vehicle include:
    获取车辆行驶视频并提取其中连续的关键帧,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上;Obtain the vehicle driving video and extract the consecutive key frames, calculate the driving speed of the vehicle according to the adjacent two key frames, and mark the vehicle information and driving speed of the vehicle on the next key frame of the two key frames. ;
    根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上;Calculate the acceleration of the vehicle according to the vehicle speed of the two adjacent key frames, and mark the acceleration on the next key frame of the two key frames;
    对各关键帧的加速度进行离散数据拟合分析得到加速度线条,所述加速线条是根据所述各关键帧的加速度所制定的离散数据拟合线条;Performing discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, where the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame;
    判断所述加速度线条的斜率是否低于预设的异常阈值;若低于所述异常阈值,则判定所述车辆的行使状态为异常;若不低于所述异常阈值,则判定所述车辆的行驶状态为正常。Determine whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold, determine that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold, determine that the vehicle The driving state is normal.
  10. 根据权利要求9所述的计算机设备,其中,获取车辆行驶视频之前包括: The computer device according to claim 9, wherein before acquiring the vehicle driving video, it comprises:
    与预设的拍摄设备建立通信连接,以实时获取拍摄设备拍摄所述车辆的行驶视频;establishing a communication connection with a preset shooting device to obtain the driving video of the vehicle shot by the shooting device in real time;
    获取车辆行驶视频并提取其中连续的关键帧包括:Obtaining vehicle driving video and extracting consecutive key frames include:
    按照预设的提取间隔和提取数量从车辆行驶视频中连续的提取关键帧。The key frames are continuously extracted from the vehicle driving video according to the preset extraction interval and extraction quantity.
  11. 根据权利要求9所述的计算机设备,其中,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上的步骤,包括: The computer device according to claim 9, wherein the driving speed of the vehicle is calculated according to two adjacent key frames, and the vehicle information and the driving speed of the vehicle are marked on the next key frame of the two key frames steps, including:
    识别各关键帧中出现的车辆,并将所述车辆的车辆信息标注在所述关键帧上;Identifying vehicles appearing in each key frame, and marking the vehicle information of the vehicle on the key frames;
    根据车辆在相邻的两个关键帧中的相对位移计算各车辆的行驶速度;Calculate the driving speed of each vehicle according to the relative displacement of the vehicle in two adjacent key frames;
    将所述行驶速度标注在所述相邻的两个关键帧的后一关键帧中,将所述行驶速度及其车辆的车辆信息关联。The traveling speed is marked in the next key frame of the two adjacent key frames, and the traveling speed and the vehicle information of the vehicle are associated.
  12. 根据权利要求9所述的计算机设备,其中,根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上的步骤,包括: The computer device according to claim 9, wherein the step of calculating the acceleration of the vehicle according to the vehicle speed of the two adjacent key frames, and marking the acceleration on the next key frame of the two key frames, comprises: :
    提取相邻两个关键帧中同一车辆信息的行驶速度,计算所述两个关键帧的行驶速度得到加速度;Extracting the driving speed of the same vehicle information in two adjacent key frames, and calculating the driving speed of the two key frames to obtain the acceleration;
    将所述加速度标注在所述相邻的两个关键帧的后一关键帧中,并将所述加速度与所述车辆信息关联。The acceleration is marked in the next key frame of the two adjacent key frames, and the acceleration is associated with the vehicle information.
  13. 根据权利要求9所述的计算机设备,其中,对各关键帧的加速度进行离散数据拟合分析得到加速度线条包括: The computer device according to claim 9, wherein, performing discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line comprising:
    采用最小二乘法对作为离散数据的各关键帧的加速度进行线性拟合,以实现对各所述关键帧的加速度进行离散数据拟合分析并获得所述加速度线条。The acceleration of each key frame as discrete data is linearly fitted by the least squares method, so as to implement discrete data fitting analysis on the acceleration of each of the key frames and obtain the acceleration line.
  14. 根据权利要求9所述的计算机设备,其中,对各关键帧的加速度进行离散数据拟合分析得到加速度线条的步骤,包括: The computer device according to claim 9, wherein the step of performing discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, comprising:
    按照所述连续的关键帧的顺序,依次提取各所述关键帧中同一车辆信息的加速度;According to the sequence of the consecutive key frames, sequentially extract the acceleration of the same vehicle information in each of the key frames;
    根据关键帧在所述顺序中的位次及所述关键帧的加速度,制定所述车辆信息在所述关键帧上的离散点;formulating discrete points of the vehicle information on the key frame according to the rank of the key frame in the sequence and the acceleration of the key frame;
    采用最小二乘法计算所述车辆信息的在各关键帧上的离散点得到加速度线条,所述加速度线条拟合了车辆信息随着关键帧的推移而产生的加速度变化;Using the least squares method to calculate the discrete points of the vehicle information on each key frame to obtain an acceleration line, the acceleration line fitting the acceleration change of the vehicle information with the passage of the key frame;
    对各关键帧的加速度进行离散数据拟合分析得到加速度线条之后,还包括:After performing discrete data fitting analysis on the acceleration of each key frame to obtain the acceleration line, it also includes:
    将所述加速度线条上传至区块链中。Upload the acceleration lines to the blockchain.
  15. 一种计算机存储介质,所述存储介质上存储有计算机程序,其中,所述存储介质存储的所述计算机程序被处理器执行时实现所述车辆行使状态判断方法,所述车辆行使状态判断方法的步骤,包括: A computer storage medium on which a computer program is stored, wherein the computer program stored in the storage medium is executed by a processor to realize the method for judging the running state of the vehicle, and the method for judging the running state of the vehicle is steps, including:
    获取车辆行驶视频并提取其中连续的关键帧,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上;Obtain the vehicle driving video and extract the consecutive key frames, calculate the driving speed of the vehicle according to the adjacent two key frames, and mark the vehicle information and driving speed of the vehicle on the next key frame of the two key frames. ;
    根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上;Calculate the acceleration of the vehicle according to the vehicle speed of the two adjacent key frames, and mark the acceleration on the next key frame of the two key frames;
    对各关键帧的加速度进行离散数据拟合分析得到加速度线条,所述加速线条是根据所述各关键帧的加速度所制定的离散数据拟合线条;Performing discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, where the acceleration line is a discrete data fitting line formulated according to the acceleration of each key frame;
    判断所述加速度线条的斜率是否低于预设的异常阈值;若低于所述异常阈值,则判定所述车辆的行使状态为异常;若不低于所述异常阈值,则判定所述车辆的行驶状态为正常。Determine whether the slope of the acceleration line is lower than a preset abnormal threshold; if it is lower than the abnormal threshold, determine that the driving state of the vehicle is abnormal; if it is not lower than the abnormal threshold, determine that the vehicle The driving state is normal.
  16. 根据权利要求15所述的计算机存储介质,其中,获取车辆行驶视频之前包括: The computer storage medium according to claim 15, wherein before acquiring the vehicle driving video comprises:
    与预设的拍摄设备建立通信连接,以实时获取拍摄设备拍摄所述车辆的行驶视频;establishing a communication connection with a preset shooting device to obtain the driving video of the vehicle shot by the shooting device in real time;
    获取车辆行驶视频并提取其中连续的关键帧包括:Obtaining vehicle driving video and extracting consecutive key frames include:
    按照预设的提取间隔和提取数量从车辆行驶视频中连续的提取关键帧。The key frames are continuously extracted from the vehicle driving video according to the preset extraction interval and extraction quantity.
  17. 根据权利要求15所述的计算机存储介质,其中,根据相邻的两个关键帧计算车辆的行驶速度,将所述车辆的车辆信息和行驶速度标注在所述两个关键帧的后一关键帧上的步骤,包括: The computer storage medium according to claim 15, wherein the driving speed of the vehicle is calculated according to two adjacent key frames, and the vehicle information and the driving speed of the vehicle are marked in a key frame after the two key frames steps above, including:
    识别各关键帧中出现的车辆,并将所述车辆的车辆信息标注在所述关键帧上;Identifying vehicles appearing in each key frame, and marking the vehicle information of the vehicle on the key frames;
    根据车辆在相邻的两个关键帧中的相对位移计算各车辆的行驶速度;Calculate the driving speed of each vehicle according to the relative displacement of the vehicle in two adjacent key frames;
    将所述行驶速度标注在所述相邻的两个关键帧的后一关键帧中,将所述行驶速度及其车辆的车辆信息关联。The traveling speed is marked in the next key frame of the two adjacent key frames, and the traveling speed and the vehicle information of the vehicle are associated.
  18. 根据权利要求15所述的计算机存储介质,其中,根据相邻的两个关键帧的车辆速度计算车辆的加速度,将所述加速度标注在所述两个关键帧的后一关键帧上的步骤,包括: The computer storage medium according to claim 15, wherein the step of calculating the acceleration of the vehicle according to the vehicle speed of the two adjacent key frames, and marking the acceleration on the next key frame of the two key frames, include:
    提取相邻两个关键帧中同一车辆信息的行驶速度,计算所述两个关键帧的行驶速度得到加速度;Extracting the driving speed of the same vehicle information in two adjacent key frames, and calculating the driving speed of the two key frames to obtain the acceleration;
    将所述加速度标注在所述相邻的两个关键帧的后一关键帧中,并将所述加速度与所述车辆信息关联。The acceleration is marked in the next key frame of the two adjacent key frames, and the acceleration is associated with the vehicle information.
  19. 根据权利要求15所述的计算机存储介质,其中,对各关键帧的加速度进行离散数据拟合分析得到加速度线条包括: The computer storage medium according to claim 15, wherein, performing discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line comprising:
    采用最小二乘法对作为离散数据的各关键帧的加速度进行线性拟合,以实现对各所述关键帧的加速度进行离散数据拟合分析并获得所述加速度线条。The acceleration of each key frame as discrete data is linearly fitted by the least squares method, so as to implement discrete data fitting analysis on the acceleration of each of the key frames and obtain the acceleration line.
  20. 根据权利要求15所述的计算机存储介质,其中,对各关键帧的加速度进行离散数据拟合分析得到加速度线条的步骤,包括: The computer storage medium according to claim 15, wherein the step of performing discrete data fitting analysis on the acceleration of each key frame to obtain an acceleration line, comprising:
    按照所述连续的关键帧的顺序,依次提取各所述关键帧中同一车辆信息的加速度;According to the sequence of the consecutive key frames, sequentially extract the acceleration of the same vehicle information in each of the key frames;
    根据关键帧在所述顺序中的位次及所述关键帧的加速度,制定所述车辆信息在所述关键帧上的离散点;formulating discrete points of the vehicle information on the key frame according to the rank of the key frame in the sequence and the acceleration of the key frame;
    采用最小二乘法计算所述车辆信息的在各关键帧上的离散点得到加速度线条,所述加速度线条拟合了车辆信息随着关键帧的推移而产生的加速度变化;Using the least squares method to calculate the discrete points of the vehicle information on each key frame to obtain an acceleration line, the acceleration line fitting the acceleration change of the vehicle information with the passage of the key frame;
    对各关键帧的加速度进行离散数据拟合分析得到加速度线条之后,还包括:After the acceleration line is obtained by performing discrete data fitting analysis on the acceleration of each key frame, it also includes:
    将所述加速度线条上传至区块链中。Upload the acceleration lines to the blockchain.
PCT/CN2021/123413 2020-10-14 2021-10-13 Vehicle driving state determination method and apparatus, and computer device and storage medium WO2022078353A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011096024.3 2020-10-14
CN202011096024.3A CN112185131A (en) 2020-10-14 2020-10-14 Vehicle driving state judgment method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022078353A1 true WO2022078353A1 (en) 2022-04-21

Family

ID=73950141

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/123413 WO2022078353A1 (en) 2020-10-14 2021-10-13 Vehicle driving state determination method and apparatus, and computer device and storage medium

Country Status (2)

Country Link
CN (1) CN112185131A (en)
WO (1) WO2022078353A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115935000A (en) * 2023-02-24 2023-04-07 广东瑞恩科技有限公司 Intelligent storage method and system for data of Internet of things
CN116691626A (en) * 2023-08-08 2023-09-05 徐州奥特润智能科技有限公司 Vehicle braking system and method based on artificial intelligence

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112185131A (en) * 2020-10-14 2021-01-05 深圳壹账通智能科技有限公司 Vehicle driving state judgment method and device, computer equipment and storage medium
CN112829703B (en) * 2021-01-18 2022-06-21 深圳市几米物联有限公司 Automobile collision detection method and system based on three-axis acceleration sensor
CN114220191B (en) * 2021-12-13 2023-11-21 平安国际融资租赁有限公司 Driving state identification method and device, computer equipment and readable storage medium
CN116740660B (en) * 2023-08-11 2023-11-21 深圳市明世弘生电子科技有限公司 Vehicle data processing method and system based on AI technology

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007026301A (en) * 2005-07-20 2007-02-01 Matsushita Electric Ind Co Ltd Stopping/low-speed vehicle detector and stopping/low-speed vehicle detection method
CN108256380A (en) * 2016-12-28 2018-07-06 南宁市浩发科技有限公司 Road traffic exception automatic testing method
CN108470453A (en) * 2018-03-16 2018-08-31 长安大学 A kind of speed computational methods of vehicle straight trip
CN109686088A (en) * 2018-12-29 2019-04-26 重庆同济同枥信息技术有限公司 A kind of traffic video alarm method, equipment and system
CN110239559A (en) * 2019-07-02 2019-09-17 绍兴数鸿科技有限公司 Dangerous driving vehicle checking method and device based on new energy car data
CN112185131A (en) * 2020-10-14 2021-01-05 深圳壹账通智能科技有限公司 Vehicle driving state judgment method and device, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106494407B (en) * 2016-11-16 2019-01-29 山东天地通数码科技有限公司 Judge the analysis method and device of vehicle driving state
CN109726645A (en) * 2018-12-14 2019-05-07 深圳壹账通智能科技有限公司 A kind of detection method and system of collision accident
CN109830116A (en) * 2018-12-15 2019-05-31 深圳壹账通智能科技有限公司 Information cuing method, device and relevant device based on image recognition
CN110533912B (en) * 2019-09-16 2022-05-20 腾讯科技(深圳)有限公司 Driving behavior detection method and device based on block chain
CN111767851A (en) * 2020-06-29 2020-10-13 北京百度网讯科技有限公司 Method and device for monitoring emergency, electronic equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007026301A (en) * 2005-07-20 2007-02-01 Matsushita Electric Ind Co Ltd Stopping/low-speed vehicle detector and stopping/low-speed vehicle detection method
CN108256380A (en) * 2016-12-28 2018-07-06 南宁市浩发科技有限公司 Road traffic exception automatic testing method
CN108470453A (en) * 2018-03-16 2018-08-31 长安大学 A kind of speed computational methods of vehicle straight trip
CN109686088A (en) * 2018-12-29 2019-04-26 重庆同济同枥信息技术有限公司 A kind of traffic video alarm method, equipment and system
CN110239559A (en) * 2019-07-02 2019-09-17 绍兴数鸿科技有限公司 Dangerous driving vehicle checking method and device based on new energy car data
CN112185131A (en) * 2020-10-14 2021-01-05 深圳壹账通智能科技有限公司 Vehicle driving state judgment method and device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115935000A (en) * 2023-02-24 2023-04-07 广东瑞恩科技有限公司 Intelligent storage method and system for data of Internet of things
CN116691626A (en) * 2023-08-08 2023-09-05 徐州奥特润智能科技有限公司 Vehicle braking system and method based on artificial intelligence
CN116691626B (en) * 2023-08-08 2023-10-31 徐州奥特润智能科技有限公司 Vehicle braking system and method based on artificial intelligence

Also Published As

Publication number Publication date
CN112185131A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
WO2022078353A1 (en) Vehicle driving state determination method and apparatus, and computer device and storage medium
CN112085952B (en) Method and device for monitoring vehicle data, computer equipment and storage medium
CN112738039B (en) Malicious encrypted flow detection method, system and equipment based on flow behavior
EP2887333B1 (en) Privacy-preserving evidence in ALPR applications
CN109741482B (en) Information sharing method and device
US20160274244A1 (en) Device and Method for Tracking Compliance Information of a Rider
EP3890312B1 (en) Distributed image analysis method and system, and storage medium
CN110533906B (en) Method for acquiring road condition information and related device
CN115761655A (en) Target tracking method and device
CN113037750B (en) Vehicle detection data enhancement training method and system, vehicle and storage medium
CN114550052A (en) Vehicle accident handling method and device, computer equipment and storage medium
CN113886817A (en) Host intrusion detection method and device, electronic equipment and storage medium
CN110555449B (en) Method and apparatus for outputting information
CN112182302B (en) Subway taking route tracing method and device based on transfer management
CN114267021A (en) Object recognition method and device, storage medium and electronic equipment
CN113128294B (en) Road event evidence obtaining method and device, electronic equipment and storage medium
CN113099264A (en) Block chain monitoring video tamper-proof method and system based on global features
CN113822292A (en) Vehicle characteristic information storage method and device, computer equipment and storage medium
CN111753829A (en) Vehicle comprehensive information acquisition device based on trusted computing
Anuvab et al. PlateSegFL: A Privacy-Preserving License Plate Detection Using Federated Segmentation Learning
CN113918526B (en) Log processing method, device, computer equipment and storage medium
CN115472014B (en) Traffic tracing method, system, server and computer storage medium
CN116599697B (en) Information board information transmission hard encryption method and system based on bidirectional identity authentication
CN113965384B (en) Network security anomaly detection method, device and computer storage medium
CN112991717B (en) Vehicle track display method and related product

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: 21879396

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/07/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21879396

Country of ref document: EP

Kind code of ref document: A1