CN113345129A - Traffic information recording method and device and electronic equipment - Google Patents

Traffic information recording method and device and electronic equipment Download PDF

Info

Publication number
CN113345129A
CN113345129A CN202110703853.1A CN202110703853A CN113345129A CN 113345129 A CN113345129 A CN 113345129A CN 202110703853 A CN202110703853 A CN 202110703853A CN 113345129 A CN113345129 A CN 113345129A
Authority
CN
China
Prior art keywords
vehicle
preset
information recording
video
traffic information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110703853.1A
Other languages
Chinese (zh)
Inventor
张春
乔建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Wukong Travel Technology Co ltd
Original Assignee
Beijing Wukong Travel Technology Co ltd
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 Beijing Wukong Travel Technology Co ltd filed Critical Beijing Wukong Travel Technology Co ltd
Priority to CN202110703853.1A priority Critical patent/CN113345129A/en
Publication of CN113345129A publication Critical patent/CN113345129A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/085Registering performance data using electronic data carriers
    • G07C5/0866Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation

Abstract

The disclosure provides a traffic information recording method and device and electronic equipment. The traffic information recording method includes: continuously acquiring real-time traffic information recording video stream; responding to a preset driving state signal and generating a video file to be uploaded according to the real-time traffic information recording video stream, wherein the video file to be uploaded comprises vehicle identification information and vehicle positioning information; and responding to a preset uploading signal to upload the video file to be uploaded to at least one preset network address. The embodiment of the disclosure can improve the real-time performance of uploading the traffic records and improve the reliability of traffic monitoring.

Description

Traffic information recording method and device and electronic equipment
Technical Field
The present disclosure relates to the field of information technologies, and in particular, to a method and an apparatus for recording traffic information, and an electronic device.
Background
With the increase in the number of motor vehicles, traffic recorders are widely used. In the related art, a traffic recorder is generally fixedly mounted on a vehicle, and stores traffic record video through a memory card. This approach is difficult to meet the traffic recording needs of drivers who are not vehicle owners, with the background that automotive technology is vigorously developed and the field of shared cars is followed.
Because traffic recorders are typically purchased separately and at a high cost, car rental companies or owners of shared cars often do not equip vehicles with traffic recorders, which makes it generally impossible for drivers to obtain traffic records while driving an unaffiliated vehicle. Even if the owner of a car rental company or a shared car is willing to provide a traffic recorder, the traffic recorder may be damaged when an accident occurs in the vehicle, so that data cannot be viewed, and a driver may worry about infringement of privacy. Therefore, in a situation where a vehicle user is not the same as a vehicle provider, how to save traffic records at low cost and safely becomes an important issue.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the present disclosure is to provide a traffic information recording method, apparatus and electronic device, which are used to overcome, at least to some extent, the problems of high traffic record providing cost, low data storage security, low privacy and the like caused by the limitations and disadvantages of the related art.
According to a first aspect of embodiments of the present disclosure, there is provided a traffic information recording method including: continuously acquiring real-time traffic information recording video stream; responding to a preset driving state signal and generating a video file to be uploaded according to the real-time traffic information recording video stream, wherein the video file to be uploaded comprises vehicle identification information and vehicle positioning information; and responding to a preset uploading signal to upload the video file to be uploaded to at least one preset network address.
In an exemplary embodiment of the present disclosure, the preset driving state signal includes at least a vehicle vibration signal and a vehicle stop signal, the vehicle vibration signal is triggered when a detection value of at least one preset sensor meets a preset condition, and the vehicle stop signal is triggered at least when the vehicle positioning information stops varying.
In an exemplary embodiment of the present disclosure, the generating a to-be-uploaded video file according to the real-time traffic information recording video stream in response to the preset driving state signal includes:
responding to the preset driving state signal to acquire the last uploading time point of the real-time traffic information recording video stream;
compressing the video frame between the last uploading time point and the current time point in the real-time traffic information recording video stream to obtain a traffic recording video compression packet;
acquiring vehicle positioning information of a vehicle at the current time point and vehicle identification information of the vehicle;
and generating the video file to be uploaded according to the traffic record video compression packet, the vehicle positioning information and the vehicle identification information.
In an exemplary embodiment of the present disclosure, the generating a to-be-uploaded video file according to the real-time traffic information recording video stream in response to the preset driving state signal includes:
responding to the preset driving state signal to acquire a video frame with preset duration before the current time point in the real-time traffic information recording video stream;
acquiring vehicle positioning information of a vehicle at the current time point and vehicle identification information of the vehicle;
and generating the video file to be uploaded according to the video frame with the preset duration, the vehicle positioning information and the vehicle identification information.
In an exemplary embodiment of the present disclosure, the video file to be uploaded further includes driver identity information.
In an exemplary embodiment of the present disclosure, the preset upload signal is the preset driving state signal, or the preset upload signal includes a manual upload signal.
In an exemplary embodiment of the present disclosure, the preset network address includes a network address of an account of a tenant of a current vehicle on a vehicle rental platform, performed by a mobile device.
According to a second aspect of the embodiments of the present disclosure, there is provided a traffic information recording apparatus including: the video recording module is set to continuously acquire real-time traffic information recording video stream; the video intercepting module is used for responding to a preset driving state signal and generating a video file to be uploaded according to the real-time traffic information recording video stream, wherein the video file to be uploaded comprises vehicle identification information and vehicle positioning information; and the video uploading module is set to respond to a preset uploading signal to upload the video file to be uploaded to at least one preset network address.
According to a third aspect of the present disclosure, there is provided an electronic device comprising: a memory; and a processor coupled to the memory, the processor configured to perform the method of any of the above based on instructions stored in the memory.
According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a program which, when executed by a processor, implements the traffic information recording method as recited in any one of the above.
According to the embodiment of the disclosure, the video file to be uploaded is generated automatically according to the real-time traffic information recording video stream when the preset driving state signal appears, and the video file to be uploaded is uploaded to at least one preset network address in response to the preset uploading signal, so that the problem that the traffic record cannot be acquired when the vehicle is in an emergency can be avoided, the data reliability of the traffic record is further improved, meanwhile, a driver of the vehicle can conveniently check and manage the traffic record information without a fixed traffic recorder, and privacy disclosure is avoided; in addition, because the vehicle identification information and the vehicle positioning information are added in the video file to be uploaded, the rescue efficiency can be improved when an accident occurs.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
Fig. 1 is a flowchart of a traffic information recording method in an exemplary embodiment of the present disclosure.
Fig. 2 is a sub-flowchart of step S2 in one embodiment of the present disclosure.
Fig. 3 is a sub-flowchart of step S2 in another embodiment of the present disclosure.
Fig. 4 is an interaction flowchart of an application program executing a traffic information recording method according to an embodiment of the present disclosure.
Fig. 5A to 5D are schematic diagrams of application program interfaces for managing traffic information recorded videos by a user in one embodiment of the present disclosure.
Fig. 6 is a block diagram of a traffic information recording apparatus in an exemplary embodiment of the present disclosure.
Fig. 7 is a block diagram of an electronic device in an exemplary embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Further, the drawings are merely schematic illustrations of the present disclosure, in which the same reference numerals denote the same or similar parts, and thus, a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The following detailed description of exemplary embodiments of the disclosure refers to the accompanying drawings.
Fig. 1 is a flowchart of a traffic information recording method in an exemplary embodiment of the present disclosure.
Referring to fig. 1, the traffic information recording method 100 may include:
step S1, continuously acquiring real-time traffic information recording video stream;
step S2, responding to a preset driving state signal and generating a video file to be uploaded according to the real-time traffic information recording video stream, wherein the video file to be uploaded comprises vehicle identification information and vehicle positioning information;
and step S3, responding to a preset uploading signal to upload the video file to be uploaded to at least one preset network address.
According to the embodiment of the disclosure, the video file to be uploaded is generated automatically according to the real-time traffic information recording video stream when the preset driving state signal appears, and the video file to be uploaded is uploaded to at least one preset network address in response to the preset uploading signal, so that the problem that the traffic record cannot be acquired when the vehicle is in an emergency can be avoided, the data reliability of the traffic record is further improved, meanwhile, a driver of the vehicle can conveniently check and manage the traffic record information without a fixed traffic recorder, and privacy disclosure is avoided; in addition, because the vehicle identification information and the vehicle positioning information are added in the video file to be uploaded, the rescue efficiency can be improved when an accident occurs.
Next, each step of the traffic information recording method 100 will be described in detail.
In step S1, the real-time traffic information recording video stream is continuously acquired.
The method provided by the embodiment of the disclosure can be executed by various terminals. In one embodiment, it may be performed by a mobile terminal (e.g., a handset). The mobile terminal may be temporarily secured by a clamp or the like near the driver's field of view of the vehicle (e.g., front windshield) to capture a real-time traffic information recording video stream. The mobile terminal may be provided with an application program, and the application program can continuously acquire and record the video stream through a camera in the mobile terminal, so as to execute the traffic information recording method provided by the present disclosure. In another embodiment, the method can be executed by a special vehicle such as a vehicle data recorder capable of connecting with a communication network, or by a vehicle with a shooting function and a networking communication function.
Further, the vehicles of the embodiments of the present disclosure include, but are not limited to, land vehicles, water vehicles, underwater vehicles, air vehicles, or vehicles operating outside the atmosphere. Among them, the land vehicles include vehicles driven by external power, such as motorcycles, automobiles, rail vehicles (light rails, subways, trains, motor cars, high-speed railways, and the like), balance cars, electric bicycles, and non-motor vehicles, such as bicycles. Examples of water vehicles are various ships, examples of underwater vehicles are submarines and the like, examples of air vehicles are airplanes, drones and the like, and examples of vehicles operating outside the atmosphere are spaceships, space shuttles and the like. In addition, the method provided by the present disclosure can also be applied to other types of vehicles, and the present disclosure is not particularly limited thereto.
In step S2, a video file to be uploaded is generated according to the real-time traffic information recording video stream in response to a preset driving state signal, where the video file to be uploaded includes vehicle identification information and vehicle positioning information.
In the disclosed embodiment, the preset driving state signal at least comprises a vehicle vibration signal and a vehicle stop signal, the vehicle vibration signal is triggered when the detection value of at least one preset sensor meets a preset condition, and the vehicle stop signal is triggered at least when the vehicle positioning information stops changing.
The preset sensor may be, for example, a vibration sensor, an acceleration sensor, a gyroscope, or the like. The current vibration condition of the vehicle can be judged through the detection values of a plurality of preset sensors. Different preset conditions may correspond to different kinds of vehicle vibration signals. For example, when the variation range of the detection value of each preset sensor is smaller than the first preset value compared with the variation range of the preset normal value, the current vibration of the vehicle can be considered to be small, and a vehicle vibration signal for identifying the small vibration of the vehicle is generated; on the contrary, when the variation range of the detection value of each preset sensor is larger than the second preset value compared with the variation range of the preset normal value, the vehicle can be considered to vibrate greatly at present, and may encounter large environmental changes, even accidents, and at this time, a vehicle vibration signal for identifying that the vehicle has major vibration can be generated. The preset conditions can be various, the vehicle vibration signals can also be various, and the technical personnel in the field can set the conditions according to the actual conditions.
The vehicle stop signal may be obtained in a variety of ways. The vehicle control signal can be read to obtain an active stop signal (such as a signal of braking, flameout and the like), or the passive stop of the vehicle can be determined by detecting a measuring tool which reflects the motion state of the vehicle, such as a positioning instrument, a vibration sensor, an acceleration sensor, a speed measurement sensor, a displacement sensor and the like. For example, a vehicle stop signal may be generated when an active stop signal is not detected, but the positioning information of the vehicle is found to stop varying over a period of time (e.g., one minute).
It can be understood that the vibration of the vehicle may be a common vibration or a vibration caused by an accident, and the stop of the vehicle may be an active stop of the driver or a passive stop caused by an external environment or a device itself, so that the preset driving state signal may be various and the vehicle stop signal may be various. And, a plurality of coping manners can be made based on different preset running state signals, and also can be made based on different vehicle stop signals, and the coping manner based on a certain preset running state signal can be the same as the coping manner based on a certain vehicle stop signal.
Fig. 2 is a sub-flowchart of step S2 in one embodiment of the present disclosure.
Referring to fig. 2, in one embodiment, step S2 may include:
step S21, responding to the preset driving state signal to obtain the last uploading time point of the real-time traffic information recording video stream;
step S22, compressing the video frame between the last uploading time point and the current time point in the real-time traffic information recording video stream to obtain a traffic recording video compression packet;
step S23, acquiring vehicle positioning information of a vehicle at the current time point and vehicle identification information of the vehicle;
and step S24, generating the video file to be uploaded according to the traffic record video compression packet, the vehicle positioning information and the vehicle identification information.
In the embodiment shown in fig. 2, the video information between the last uploading time point and the current time point is intercepted in response to the preset driving state signal. After the uploading is completed, the last uploading time point is automatically updated to the current time point in the step. In this embodiment, the predetermined driving state signal is, for example, an actively triggered vehicle stop signal. This function can be used to automatically upload a complete video for subsequent retrieval and analysis when parking or extinguishing.
In the above embodiment, the manner of compressing the video frames may be, for example, performing video compression by using a conventional video compression standard such as the h.264 standard, so as to reduce the data amount of the video information and save the network traffic.
The positioning information of the vehicle can be obtained in various ways, for example, by positioning via a navigation satellite or by positioning via a communication base station. The vehicle identification information may include information of a variety of preset vehicles themselves, such as the make, model, license plate number, painting color and pattern, affiliated company, engine number, and the like of the vehicle. The vehicle identification information and the vehicle positioning information are packed together with the latest traffic record video frame which is not uploaded, so that the traffic record can be conveniently called, counted and analyzed subsequently.
Fig. 3 is a sub-flowchart of step S2 in another embodiment of the present disclosure.
Referring to fig. 3, in another embodiment, step S2 may include:
step S25, responding to the preset driving state signal, and acquiring a video frame with a preset duration before the current time point in the real-time traffic information recording video stream;
step S26, acquiring vehicle positioning information of a vehicle at the current time point and vehicle identification information of the vehicle;
and step S27, generating the video file to be uploaded according to the video frame with the preset duration, the vehicle positioning information and the vehicle identification information.
The embodiment shown in fig. 3 may be used to upload traffic recording video in an emergency in time. The preset time length can be determined according to the communication mode, and the principle of uploading as many videos as possible at the minimum and the fastest speed is taken. For example, it may be set to upload only consecutive video frames 10s before the current time point. In this case, the preset running state signal is, for example, various passively generated signals. Such as a vehicle vibration signal generated when the vibration amplitude of the vehicle exceeds a preset threshold, or a vehicle stop signal caused by the passive stop of the vehicle, or an alarm signal generated when a plurality of sensors are integrated to judge that the vehicle is subjected to an external violent impact, or an internal mechanical or electronic device has a major fault, etc. The above signal types are merely examples, and the present disclosure is not particularly limited thereto.
In addition to uploading the continuous video frames with the preset time length before the current time point, the video frames in a longer time period before the current time point can be emergently sampled, the video frames with the preset time length are generated according to the sampled video frames, and the video file to be uploaded is generated. The sampling scheme may be, for example, sampling one frame every second (or other duration), so that video frames earlier than the current time point can be sampled, and thus video files to be uploaded can contain as much video information as possible, thereby providing more data support for subsequent rescue or analysis. The acquisition of the continuous video frames and the sampling video frames can also be performed simultaneously and packed into the video file to be uploaded simultaneously. The continuous video frames correspond to a period of time closer to the current time point, and the sampling video frames correspond to a period of time earlier to the current time point, so that not only can the latest site details be provided, but also earlier accident cause sampling data can be provided.
In the embodiment shown in fig. 3, in order to improve the video uploading efficiency, the video frames may not be compressed, and may be directly packed. Or, if the sum of the video compression time and the uploading time of the compressed file is shorter than the uploading time when the compressed file is not compressed, the video compression can be performed, so as to improve the uploading efficiency of the video file to be uploaded. The scheme for acquiring and uploading the traffic record video in various scenes (preset driving state signals) can be configured by a user, and is not described in detail in the disclosure.
When emergency uploading is needed, the vehicle positioning information, the vehicle identification information and the video frames with the preset duration are packaged and uploaded together, so that key information can be provided for rescue, rescue workers can be helped to position accident vehicles in time, and rescue efficiency is improved.
In one embodiment, driver identity information, such as name, age, sex, identification number/passport number, blood type, allergy history, medical history, emergency contact, work unit and the like, can be added to the video file to be uploaded, so that the rescue efficiency can be further improved. Further, insurance information of the vehicle, insurance information of the driver, and the like can be provided so as to acquire the first-hand claim settlement data. There may be various key information uploaded along with the video frame with the preset duration uploaded in emergency, and the disclosure does not make any particular limitation thereto.
In step S3, the video file to be uploaded is uploaded to at least one preset network address in response to a preset upload signal.
In the embodiment of the present disclosure, the preset uploading signal may be, for example, the preset driving state signal, or may also be a manual uploading signal.
When the preset running state signal is the vehicle vibration signal generated when the vibration amplitude of the vehicle exceeds the preset threshold value, the vehicle stop signal caused by the passive stop of the vehicle, the vehicle vibration signal generated by judging that the vehicle is subjected to external severe impact by integrating a plurality of sensors, or an alarm signal sent when an internal mechanical or electronic device has a major fault, and the like, the preset uploading signal can be the preset running state signal. When the preset driving state signal appears, the video frame can be automatically intercepted, the video file to be uploaded is generated, and the video file to be uploaded is automatically uploaded.
Or, the video file to be uploaded can be generated by default setting of a user or a system and then automatically uploaded, namely, the video file to be uploaded is automatically generated and automatically uploaded after the preset driving state signal appears no matter what the preset driving state signal is.
The efficiency of uploading traffic record videos can be improved by setting the preset uploading signal as the preset running state signal, and the rescue efficiency can be improved at an emergency moment.
When the preset running state signal is a vehicle stop signal actively triggered by the user, the preset uploading signal can also be a manual uploading signal, so that the user can select a proper time (for example, a place with a good network state) to upload a complete traffic record video after driving is stopped, and the flow cost is prevented from being too high.
In the embodiment of the present disclosure, the preset network address may vary according to the source of the vehicle itself, the setting of the user, and the type of the preset driving state signal, and may be one or more network addresses, and the preset network addresses corresponding to each preset driving state signal are not necessarily identical.
For example, when the vehicle is a car rented from a car rental company, the preset network address may include a network address of an account of a tenant of the current vehicle on the vehicle rental platform. In the scheme, a renter can open an application program through a mobile device (such as a mobile phone) to execute the method provided by the embodiment of the disclosure to shoot a traffic record video, acquire vehicle positioning information and vehicle vibration information through various sensors arranged in the mobile device, further generate preset running state signals such as a vehicle vibration signal and a vehicle stop signal, generate a video file to be uploaded according to the types of the preset running state signals, respond to the preset uploading signal, and upload the video file to be uploaded to a network address of an account of the renter on a vehicle rental platform so as to enable the renter to subsequently view and process a driving record.
In some embodiments, if the vehicle is capable of external reading of the sensor information, such as networking a cell phone with the vehicle, the mobile device may also acquire detection information of the vehicle sensors to more accurately determine vehicle vibration and vehicle stopping.
Further, since the vehicle identification information is usually unchanged, the mobile device may obtain the vehicle identification information of the current vehicle by scanning an information obtaining manner such as a two-dimensional code on the vehicle, so as to perform the above method. Or, the vehicle rental platform can also transmit the vehicle identification information of the rented vehicle to an account of the renter in the vehicle rental platform through the renting information of the renter so as to be read by the mobile device of the renter.
In the above examples, the rented vehicles may also be non-motor vehicles, air vehicles, underwater or water vehicles, etc., and the details of the disclosure are not repeated herein.
In another embodiment, when the driver of the vehicle is the owner of the vehicle, a scheme similar to the above example can be used to automatically upload and summarize the long-time traffic information video, and upload the video file to be uploaded to the account of the user on the special traffic information management platform for later retrieval by the user, so as to avoid the problems of driving videos and inconvenient management caused by the fact that the existing driving recorder can only transmit the driving record video through the memory card.
The predetermined network address may include other addresses, such as a traffic accident warning network address, in addition to account addresses on various network platforms. When the preset driving state signal is the vehicle vibration signal generated when the vibration amplitude of the vehicle exceeds the preset threshold value, the vehicle stop signal caused by the passive stop of the vehicle, the vehicle vibration signal generated by judging that the vehicle is subjected to external severe impact by integrating a plurality of sensors, or the alarm signal sent when major faults occur to internal mechanical or electronic devices, and the like, the video file to be uploaded can be uploaded to the account address and the traffic accident alarm network address at the same time, so that the rescue efficiency is improved. Under some critical conditions, the video frames with preset duration and/or continuous and/or sampled current time points, vehicle positioning information and vehicle identification information can be packaged together and only automatically uploaded to a traffic accident alarm network address, so that the situation that equipment executing the method fails in an accident and is not in time to upload is avoided.
In some embodiments, the predetermined network address may further include a data transmission network address of an insurance company insurance interface, so as to improve efficiency of insurance rescue and settlement of claims.
The above mentioned preset network addresses are only examples, and in practical use, a user can configure a preset network address combination under various conditions (preset driving state signals) by himself so as to transmit traffic information recording videos timely and completely.
When the user executes the method provided by the embodiment of the disclosure through the application program of the mobile device, the data packet for acquiring the traffic information recording video, uploading the video file to be uploaded, and subsequently viewing and managing the uploaded video file to be uploaded can be automatically executed by the application program. In some embodiments, after uploading the video file to be uploaded to the preset network address, the application program may locally decompress and read the video file to be uploaded to generate a video file that can be read by the user at any time, so that the user can locally manage the traffic information recording video in the device.
Fig. 4 is an interaction flowchart of an application program executing a traffic information recording method according to an embodiment of the present disclosure.
Referring to fig. 4, in one embodiment, a user, an application, a predetermined network address, which may include, for example, an address of a storage server, participates in the execution of the method by three parties.
In step S401, the user sends a recording start signal to the application program by clicking, sliding, or the like;
in step S402, the application program obtains a preset network address corresponding to each preset driving state signal configured by the user and a permission to communicate with each preset network address;
in step S403, the application program acquires a traffic information recording video in real time;
in step S404, the application program encodes the video frame between the last uploading time point and the current time point into a h.264 format data stream in response to the first preset driving state signal;
in step S405, the application program pushes the video file to be uploaded, which is generated according to the data stream, the vehicle positioning information, and the vehicle identification information, to a preset network address;
in step S406, a preset network address stores the data packet;
in step S407, the user sends a traffic information recording video viewing request to the application;
in step S408, the application program calls and plays the traffic information recording video corresponding to the traffic information recording video viewing request from the preset network address;
in step S409, the user sends a traffic information recording video deletion request to the application;
in step S410, the application program sends a video deletion request to at least one preset network address according to the traffic information recording video deletion request;
in step S411, the preset network address deletes the data packet according to the video deletion request.
In the embodiment shown in fig. 4, the user can conveniently record and manage traffic record video through the own device.
Fig. 5A to 5D are schematic diagrams of application program interfaces for managing traffic information recorded videos by a user in one embodiment of the present disclosure.
Referring to fig. 5A, the main interface of the application may include an account information area 501 for the user at the current video management platform (e.g., vehicle rental platform), a vehicle identification information area 502 for the current vehicle, a set button 503, and a "start video recording" button 504. Where the account information area 501 may provide a record of the user's interactions with the current vehicle (e.g., a rental car record). The setting button 503 may be configured to configure a preset network address corresponding to a plurality of preset driving status signals. The user enters the interface shown in FIG. 5B after clicking the "start video recording" button 504 on the home interface.
Referring to fig. 5B, the interface includes a video content display area 505, an "end video recording" button 506, and an "upload video recording" button 507. The user clicks a "video recording end" button 506 and an "video recording upload" button 507 in the interface shown in fig. 5B, the application program correspondingly generates a preset upload signal, and intercepts, compresses, and uploads the video frame between the last upload time point and the current time point to generate a traffic record video compression packet.
Fig. 5C is a thumbnail presentation interface of all traffic information recorded videos (whether locally recorded or not) for which an application has access rights. Clicking any thumbnail 508 in the interface to enter the video management interface shown in fig. 5D.
Fig. 5D is an interface for managing a traffic information recorded video by an application, and includes a video recording content display area 509, a "save to local" button 510, and a "delete video" button 511. The traffic information recording video can be played by clicking a play button in the middle of the video content display area 509. Clicking a 'save to local' button can store the video to the local; clicking the "delete video" button can delete the video from a plurality of preset network addresses.
It is understood that the interfaces shown in fig. 5A-5D are merely examples, and are used to illustrate the methods provided by embodiments of the present disclosure. The video management interface can be set by a person skilled in the art, and the disclosure is not limited thereto.
By the method provided by the embodiment of the disclosure, a user can conveniently acquire the traffic information recording video through the mobile device, and timely and safely upload the traffic information recording video to the configured preset network address according to the type of the current preset driving state signal, so that even if equipment fails and is damaged, the traffic information recording video can be transmitted to the preset network address. In addition, the user can manage and control the traffic information recording video, and the defects of high management cost and low data reliability of the traffic information recording video in the related technology are avoided.
Corresponding to the method embodiment, the present disclosure also provides a traffic information recording apparatus, which may be used to execute the method embodiment.
Fig. 6 is a block diagram of a traffic information recording apparatus in an exemplary embodiment of the present disclosure.
Referring to fig. 6, the traffic information recording apparatus 600 may include:
the video recording module 61 is set to continuously acquire real-time traffic information recording video streams;
the video intercepting module 62 is configured to respond to a preset driving state signal and generate a to-be-uploaded video file according to the real-time traffic information recording video stream, wherein the to-be-uploaded video file comprises vehicle identification information and vehicle positioning information;
and the video uploading module 63 is configured to respond to a preset uploading signal to upload the video file to be uploaded to at least one preset network address.
In an exemplary embodiment of the present disclosure, the preset driving state signal includes at least a vehicle vibration signal and a vehicle stop signal, the vehicle vibration signal is triggered when a detection value of at least one preset sensor meets a preset condition, and the vehicle stop signal is triggered at least when the vehicle positioning information stops varying.
In an exemplary embodiment of the present disclosure, the video intercept module 62 is configured to: responding to the preset driving state signal to acquire the last uploading time point of the real-time traffic information recording video stream; compressing the video frame between the last uploading time point and the current time point in the real-time traffic information recording video stream to obtain a traffic recording video compression packet; acquiring vehicle positioning information of a vehicle at the current time point and vehicle identification information of the vehicle; and generating the video file to be uploaded according to the traffic record video compression packet, the vehicle positioning information and the vehicle identification information.
In an exemplary embodiment of the present disclosure, the video intercept module 62 is configured to: responding to the preset driving state signal to acquire a video frame with preset duration before the current time point in the real-time traffic information recording video stream; acquiring vehicle positioning information of a vehicle at the current time point and vehicle identification information of the vehicle; and generating the video file to be uploaded according to the video frame with the preset duration, the vehicle positioning information and the vehicle identification information.
In an exemplary embodiment of the present disclosure, the video file to be uploaded further includes driver identity information.
In an exemplary embodiment of the present disclosure, the preset upload signal is the preset driving state signal, or the preset upload signal includes a manual upload signal.
In an exemplary embodiment of the present disclosure, the traffic information recording apparatus 600 is located in a mobile device, and the preset network address includes a network address of an account number of a tenant of a current vehicle on a vehicle rental platform.
Since the functions of the apparatus 600 have been described in detail in the corresponding method embodiments, the disclosure is not repeated herein.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 700 according to this embodiment of the invention is described below with reference to fig. 7. The electronic device 700 shown in fig. 7 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 7, electronic device 700 is embodied in the form of a general purpose computing device. The components of the electronic device 800 may include, but are not limited to: the at least one processing unit 710, the at least one memory unit 720, and a bus 730 that couples various system components including the memory unit 720 and the processing unit 710.
Wherein the storage unit stores program code that is executable by the processing unit 710 such that the processing unit 710 performs the steps according to various exemplary embodiments of the present invention as described in the above section "exemplary method" of the present specification. For example, the processing unit 710 may perform a method as shown in the embodiments of the present disclosure.
The storage unit 720 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)7201 and/or a cache memory unit 7202, and may further include a read only memory unit (ROM) 7203.
The storage unit 720 may also include a program/utility 7204 having a set (at least one) of program modules 7205, such program modules 7205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 730 may be any representation of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 700 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 700, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 700 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 750. Also, the electronic device 700 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 760. As shown, the network adapter 760 communicates with the other modules of the electronic device 700 via the bus 730. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary methods" of the present description, when said program product is run on the terminal device.
The program product for implementing the above method according to an embodiment of the present invention may employ a portable compact disc read only memory (CD-ROM) and include program codes, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A traffic information recording method, characterized by comprising:
continuously acquiring real-time traffic information recording video stream;
responding to a preset driving state signal and generating a video file to be uploaded according to the real-time traffic information recording video stream, wherein the video file to be uploaded comprises vehicle identification information and vehicle positioning information;
and responding to a preset uploading signal to upload the video file to be uploaded to at least one preset network address.
2. The traffic information recording method according to claim 1, wherein the preset running state signal includes at least a vehicle vibration signal and a vehicle stop signal, the vehicle vibration signal being triggered when a detected value of at least one preset sensor meets a preset condition, the vehicle stop signal being triggered at least when the vehicle positioning information stops varying.
3. The traffic information recording method according to claim 1 or 2, wherein the generating a video file to be uploaded from the real-time traffic information recording video stream in response to a preset driving state signal comprises:
responding to the preset driving state signal to acquire the last uploading time point of the real-time traffic information recording video stream;
compressing the video frame between the last uploading time point and the current time point in the real-time traffic information recording video stream to obtain a traffic recording video compression packet;
acquiring vehicle positioning information of a vehicle at the current time point and vehicle identification information of the vehicle;
and generating the video file to be uploaded according to the traffic record video compression packet, the vehicle positioning information and the vehicle identification information.
4. The traffic information recording method according to claim 1 or 2, wherein the generating a video file to be uploaded from the real-time traffic information recording video stream in response to a preset driving state signal comprises:
responding to the preset driving state signal to acquire a video frame with preset duration before the current time point in the real-time traffic information recording video stream;
acquiring vehicle positioning information of a vehicle at the current time point and vehicle identification information of the vehicle;
and generating the video file to be uploaded according to the video frame with the preset duration, the vehicle positioning information and the vehicle identification information.
5. The traffic information recording method according to claim 4, wherein the video file to be uploaded further includes driver identification information.
6. The traffic information recording method according to claim 1, wherein the preset upload signal is the preset driving state signal, or the preset upload signal includes a manual upload signal.
7. The traffic information recording method according to claim 1, wherein the recording is performed by a mobile device, and the preset network address includes a network address of an account of a tenant of a current vehicle on a vehicle rental platform.
8. A traffic information recording apparatus, characterized by comprising:
the video recording module is set to continuously acquire real-time traffic information recording video stream;
the video intercepting module is used for responding to a preset driving state signal and generating a video file to be uploaded according to the real-time traffic information recording video stream, wherein the video file to be uploaded comprises vehicle identification information and vehicle positioning information;
and the video uploading module is set to respond to a preset uploading signal to upload the video file to be uploaded to at least one preset network address.
9. An electronic device, comprising:
a memory; and
a processor coupled to the memory, the processor configured to execute the traffic information recording method of any of claims 1-7 based on instructions stored in the memory.
10. A computer-readable storage medium on which a program is stored, the program, when executed by a processor, implementing the traffic information recording method according to any one of claims 1 to 7.
CN202110703853.1A 2021-06-24 2021-06-24 Traffic information recording method and device and electronic equipment Pending CN113345129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110703853.1A CN113345129A (en) 2021-06-24 2021-06-24 Traffic information recording method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110703853.1A CN113345129A (en) 2021-06-24 2021-06-24 Traffic information recording method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113345129A true CN113345129A (en) 2021-09-03

Family

ID=77478188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110703853.1A Pending CN113345129A (en) 2021-06-24 2021-06-24 Traffic information recording method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113345129A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114596645A (en) * 2022-01-26 2022-06-07 三一专用汽车有限责任公司 Vehicle accident monitoring method and device and vehicle

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881907A (en) * 2015-04-30 2015-09-02 北京车音网科技有限公司 Method and electronic device for obtaining vehicle accident information
CN105118109A (en) * 2015-08-12 2015-12-02 黄昊 Traveling recording system and recording method
CN107547617A (en) * 2017-06-07 2018-01-05 新华三技术有限公司 A kind of traffic accident information collection method and device
CN107578490A (en) * 2017-08-09 2018-01-12 杭州易保科技有限公司 A kind of recording method of drive recorder
CN207601875U (en) * 2017-11-22 2018-07-10 深圳市合正视觉科技有限公司 Automobile data recorder and vehicle-running recording system
CN108305500A (en) * 2016-08-25 2018-07-20 大连楼兰科技股份有限公司 Vehicle system and method is sought based on car networking automobile data recorder recorded video
CN109816816A (en) * 2019-02-28 2019-05-28 百度在线网络技术(北京)有限公司 Method and apparatus for obtaining data
CN111145383A (en) * 2019-12-10 2020-05-12 上海博泰悦臻电子设备制造有限公司 Alarm method, alarm device and computer storage medium
CN111415435A (en) * 2020-03-20 2020-07-14 东风小康汽车有限公司重庆分公司 Vehicle abnormal movement early warning method and system based on TSP platform

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881907A (en) * 2015-04-30 2015-09-02 北京车音网科技有限公司 Method and electronic device for obtaining vehicle accident information
CN105118109A (en) * 2015-08-12 2015-12-02 黄昊 Traveling recording system and recording method
CN108305500A (en) * 2016-08-25 2018-07-20 大连楼兰科技股份有限公司 Vehicle system and method is sought based on car networking automobile data recorder recorded video
CN107547617A (en) * 2017-06-07 2018-01-05 新华三技术有限公司 A kind of traffic accident information collection method and device
CN107578490A (en) * 2017-08-09 2018-01-12 杭州易保科技有限公司 A kind of recording method of drive recorder
CN207601875U (en) * 2017-11-22 2018-07-10 深圳市合正视觉科技有限公司 Automobile data recorder and vehicle-running recording system
CN109816816A (en) * 2019-02-28 2019-05-28 百度在线网络技术(北京)有限公司 Method and apparatus for obtaining data
CN111145383A (en) * 2019-12-10 2020-05-12 上海博泰悦臻电子设备制造有限公司 Alarm method, alarm device and computer storage medium
CN111415435A (en) * 2020-03-20 2020-07-14 东风小康汽车有限公司重庆分公司 Vehicle abnormal movement early warning method and system based on TSP platform

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114596645A (en) * 2022-01-26 2022-06-07 三一专用汽车有限责任公司 Vehicle accident monitoring method and device and vehicle

Similar Documents

Publication Publication Date Title
US20220297619A1 (en) Vehicle Activity Information System
US10755498B2 (en) Drive recorder
EP3458302B1 (en) Real-time data acquisition and recording system
CN103342119B (en) Based on the auto security system of mobile Internet
US20180061151A1 (en) Traffic event recording and recreation
CN105245842B (en) Massive video data sharing method based on automobile data recorder
JP6534103B2 (en) Recording apparatus and image reproduction method
KR20140128832A (en) Image-processing Apparatus for Car and Method of Sharing Data Using The Same
US20160093121A1 (en) Driving event notification
US9830823B1 (en) Detection of vehicle operation characteristics
CN110956715A (en) Driving recording method, driving recording system, cloud server and vehicle
CN111145383A (en) Alarm method, alarm device and computer storage medium
CN106056697A (en) Event monitoring method, device and system
CN104104904A (en) Data recording method, data recording system, mobile phone, glasses and watch
CN113345129A (en) Traffic information recording method and device and electronic equipment
CN114973159A (en) Method, system and device for detecting coupling state of car coupler
CN108366233B (en) Network camera connecting method, device, equipment and storage medium
KR20140003044A (en) System and method for car remote control
KR20100129009A (en) Black box system for vehicles
CN109215161A (en) A kind of drive test evidence taking equipment, method and drive test vehicle
KR20140056674A (en) Commnication service system, method and apparatus for supporting process of accident in the system
KR101391909B1 (en) Method for service image data of black box in the vehicle
KR20130057265A (en) A system for providing video images of a smartphone black-box and the method thereof
CN112766746A (en) Traffic accident recognition method and device, electronic equipment and storage medium
CN114275010A (en) Train monitoring and linkage method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination