A driving record management method, device, equipment and medium
By generating video files based on vehicle road sections and congestion rates in the driving recorder, and uploading them to the cloud, the problem of excessively large video files and low query efficiency in the existing technology is solved, and more efficient video query and storage are achieved.
Patent Information
- Application Number
- CN202211438175.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-16
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-11-16
AI Technical Summary
The video files collected by existing driving recorders after being enabled are too large and need to be queried one by one, resulting in low query efficiency and the inability to effectively generate video files based on vehicle driving sections and congestion conditions, which limits the convenience of video query.
During the working process of the driving recorder, it is judged whether the video generation conditions are met based on the road section and road section congestion rate where the vehicle is located, and the corresponding video file is generated and uploaded to the cloud. It is indexed by adding road section and time stamp information to facilitate user query.
Generate corresponding video files based on the road sections where vehicles are traveling and the congestion conditions of the road sections, reducing the size of video files and query time, improving query efficiency, and making it easier for relevant personnel to view.
Smart Images

Figure CN115713816B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information management, and specifically to a driving record management method, device, equipment and medium. Background Art
[0002] A driving recorder is a digital electronic recording device that records and stores the vehicle's speed, time, and other information about the vehicle's driving status, and can transmit data through an interface. The driving video recorded by it is widely used in the judgment of traffic accidents to protect the rights and interests of drivers.
[0003] At present, most common driving recorders generate a driving video with all the driving records collected during the activation period after each activation. This video method usually generates a large video file, but usually only a small part of the driving record needs to be checked, which causes great instability for subsequent video query.
[0004] Some driving recorders have the function of supporting users to set the video generation time, that is, users can set the video generation time by themselves, for example, the driving records collected by the driving recorder every ten minutes are packaged into a driving video. However, if the specific time of the driving record to be queried cannot be determined, the generated videos need to be queried one by one, which has a large query limitation. Summary of the invention
[0005] The embodiment of the present application provides a driving record management method, device, equipment and medium for generating corresponding video files according to the road section traveled by the vehicle and the road section congestion situation, so as to facilitate relevant personnel to view.
[0006] To achieve the above purpose, the technical solution of the embodiment of the present application is implemented as follows:
[0007] In a first aspect, an embodiment of the present application provides a driving record management method, the method comprising:
[0008] In response to the driving record instruction, activating the driving recorder;
[0009] During the operation of the driving recorder, judging whether the video generation condition is met based on the road section where the vehicle is located and / or the congestion rate of the road section;
[0010] After determining that the video generation condition is met, encapsulating the video collected by the driving recorder from the first moment to the current moment into a driving video file; wherein, if the video generation condition is met for the first time, the first moment is the moment when the driving recorder starts working; if the video generation condition is not met for the first time, the first moment is the moment when the video of the previous driving video file ends;
[0011] In response to the video upload instruction, the generated driving video file is uploaded to the cloud.
[0012] In some possible embodiments, the video generation condition includes any one or a combination of the following conditions:
[0013] Condition 1: Determine the change of the road section where the vehicle is located;
[0014] Condition 2: determine that the congestion rate of the road section where the vehicle is located is greater than the congestion threshold, and the interval between the current time and the video end time of the previous vehicle video file reaches a specified time length.
[0015] In some possible embodiments, the method further includes:
[0016] After encapsulating the video collected by the driving recorder from the first moment to the current moment into a driving video file, adding identification information to the driving video file;
[0017] Among them, the identification information is used for the storage file index of the driving video file in the cloud, and the identification information includes a road section identifier and a time identifier; the road section identifier is used to indicate the road section where the vehicle is located in the driving video file, and the time identifier is used to indicate the video start time and the video end time.
[0018] In some possible embodiments, in response to the video upload instruction, uploading the generated driving video file to the cloud includes:
[0019] Receive video information of a video to be uploaded; wherein the video information is used to indicate the road section where the vehicle is located and / or any time node, and the video information is a search item for searching driving video files through the cloud;
[0020] A target identifier that satisfies all indications in the video information is selected from the identifier information of each driving video file, and the driving video file carrying the target identifier is uploaded to the cloud.
[0021] In some possible embodiments, the method further includes:
[0022] In response to the vehicle warning indication, receiving warning information of the warning event; wherein the warning information includes the event type of the warning event and the time when the event occurs;
[0023] Determine a video autonomous upload strategy corresponding to the event type, select an alarm file from each of the driving video files according to the time when the event occurs by executing the video autonomous upload strategy, and upload the alarm file to the cloud.
[0024] In some possible embodiments, the event type includes a first type in which a vehicle triggers a traffic accident, and / or a second type in which a vehicle component generates an abnormality during driving;
[0025] The step of executing the autonomous video uploading strategy to select an alarm file from each of the driving video files according to the time of occurrence of the event includes:
[0026] If the event type is the first type, the warning file is a driving video file that contains the time when the event occurs within the video time;
[0027] If the event type is the second type, the warning file is all driving video files encapsulated between the event occurrence time and the event end time.
[0028] In a second aspect, an embodiment of the present application provides a driving record management device, the device comprising:
[0029] A driving record module, configured to enable a driving recorder in response to a driving record instruction;
[0030] A condition determination module is configured to be executed during the operation of the driving recorder to determine whether a video generation condition is met based on the road section where the vehicle is located and / or the congestion rate of the road section;
[0031] The video generation module is configured to perform, after determining that the video generation condition is met, packaging the video collected by the driving recorder from the first moment to the current moment into a driving video file; wherein, if the video generation condition is met for the first time, the first moment is the moment when the driving recorder starts working; if the video generation condition is not met for the first time, the first moment is the moment when the video of the previous driving video file ends;
[0032] The video upload module is configured to execute in response to the video upload instruction and upload the generated driving video file to the cloud.
[0033] In some possible embodiments, the video generation condition includes any one or a combination of the following conditions:
[0034] Condition 1: Determine the change of the road section where the vehicle is located;
[0035] Condition 2: determine that the congestion rate of the road section where the vehicle is located is greater than the congestion threshold, and the interval between the current time and the video end time of the previous vehicle video file reaches a specified time length.
[0036] In some possible embodiments, the video generation module is further configured to:
[0037] After encapsulating the video collected by the driving recorder from the first moment to the current moment into a driving video file, adding identification information to the driving video file;
[0038] Among them, the identification information is used for the storage file index of the driving video file in the cloud, and the identification information includes a road section identifier and a time identifier; the road section identifier is used to indicate the road section where the vehicle is located in the driving video file, and the time identifier is used to indicate the video start time and the video end time.
[0039] In some possible embodiments, the step of responding to the video upload instruction and uploading the generated driving video file to the cloud may be performed, and the video upload module may be configured as follows:
[0040] Receive video information of a video to be uploaded; wherein the video information is used to indicate the road section where the vehicle is located and / or any time node, and the video information is a search item for searching driving video files through the cloud;
[0041] A target identifier that satisfies all indications in the video information is selected from the identifier information of each driving video file, and the driving video file carrying the target identifier is uploaded to the cloud.
[0042] In some possible embodiments, the device further includes:
[0043] An alarm module is configured to receive alarm information of an alarm event in response to a vehicle alarm indication; wherein the alarm information includes an event type of the alarm event and a time when the event occurs;
[0044] Determine a video autonomous upload strategy corresponding to the event type, select an alarm file from each of the driving video files according to the time when the event occurs by executing the video autonomous upload strategy, and upload the alarm file to the cloud.
[0045] In some possible embodiments, the event type includes a first type in which a vehicle triggers a traffic accident, and / or a second type in which a vehicle component generates an abnormality during driving;
[0046] The method of executing the autonomous video uploading strategy to select an alarm file from each of the driving video files according to the time when the event occurs, the alarm module is configured as follows:
[0047] If the event type is the first type, the warning file is a driving video file that contains the time when the event occurs within the video time;
[0048] If the event type is the second type, the warning file is all driving video files encapsulated between the event occurrence time and the event end time.
[0049] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the computer program is executed by the processor, the processor implements any one of the methods of the first aspect above.
[0050] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements any one of the methods of the first aspect described above.
[0051] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; when a processor of a computer device reads the computer instructions from the computer-readable storage medium, the processor executes the computer instructions, so that the computer device executes any one of the methods of the first aspect mentioned above.
[0052] In the embodiment of the present application, during the operation of the dash cam, it is determined whether the video generation condition is met based on the road section where the vehicle is located and / or the congestion rate of the road section. After determining that the video generation condition is met, the video collected by the dash cam from the first moment to the current moment is encapsulated as a driving video file. In the embodiment of the present application, if the video generation condition is met for the first time, the above-mentioned first moment is the moment when the dash cam starts working; otherwise, the above-mentioned first moment is the video end moment of the previous driving video file. Through the above process, a corresponding video file can be generated according to the road section where the vehicle is traveling and the congestion situation of the road section, which is more in line with the video query requirements and convenient for relevant personnel to view.
[0053] Other features and advantages of the present application will be described in the subsequent description, and partly become apparent from the description, or be understood by practicing the present disclosure. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 A schematic diagram of a video generation method of a current driving recorder provided in an embodiment of the present application;
[0055] Figure 2 An overall flow chart of a driving record management method provided in an embodiment of the present application;
[0056] Figure 3 A schematic diagram of generating a driving video file provided in an embodiment of the present application;
[0057] Figure 4 A schematic diagram of the identification adding process provided in the embodiment of the present application;
[0058] Figure 5 A schematic diagram of a congestion mark provided in an embodiment of the present application;
[0059] Figure 6 A schematic diagram of the video upload process provided in an embodiment of the present application;
[0060] Figure 7 A structural diagram of a driving record management device 700 provided in an embodiment of the present application;
[0061] Figure 8 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be arbitrarily combined with each other. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.
[0063] The terms "first" and "second" in the specification and claims of the present application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of their variations are intended to cover non-exclusive protection. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. "Multiple" in the present application can mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.
[0064] The video storage methods of dashcams mainly include local storage and cloud storage. Local storage requires taking out physical storage devices such as hard disks and USB drives from the vehicle-mounted machine to view the video, which is less convenient. Cloud storage is achieved by transferring the video files generated by the dashcam to the cloud, and then the user retrieves the file index from the cloud to obtain the driving video they want to query. Although cloud storage is more convenient, most current dashcams store the complete video collected during the activation period in the cloud after each activation. This not only consumes a lot of mobile traffic for the vehicle machine, but also takes up a lot of cloud storage space.
[0065] In actual applications, some driving recorders have the function of supporting users to set the video generation time. Figure 1 As shown, users can set specific video generation time in this type of driving recorder, for example, every ten minutes, the driving records collected within ten minutes are packaged into driving videos. Users can selectively upload part of the driving video to the cloud, and the storage index of the file is the collection time of the corresponding driving record. However, if the relevant personnel cannot determine the specific time of the driving record to be queried when viewing the video, they can only screen the videos one by one.
[0066] It can be seen that the current video generation method of the dash cam has large query limitations, which is not conducive to user viewing. In order to solve the above problems, the inventive concept of the embodiment of the present application is: during the operation of the dash cam, based on the road section where the vehicle is located, and / or the congestion rate of the road section, it is judged whether the video generation conditions are met. And after determining that the video generation conditions are met, the video collected by the dash cam from the first moment to the current moment is encapsulated as a driving video file. In the embodiment of the present application, if the video generation conditions are met for the first time, the above-mentioned first moment is the moment when the dash cam starts working; otherwise, the above-mentioned first moment is the video end moment of the previous driving video file. Through the above process, the corresponding video file can be generated according to the road section where the vehicle is traveling and the congestion of the road section, which is more in line with the video query requirements and convenient for relevant personnel to view.
[0067] Next, Figure 2 As shown, Figure 2 The overall flow chart of a driving record management method provided by an embodiment of the present application is shown, including:
[0068] Step 201: In response to a driving record instruction, activating a driving recorder;
[0069] Step 202: during the operation of the driving recorder, judging whether a video generation condition is met based on the road section where the vehicle is located and / or the congestion rate of the road section;
[0070] During the activation of the driving recorder, the embodiment of the present application obtains the specific location and road section information of the vehicle in the traffic network in real time by calling the high-precision navigation map. The road section information specifically includes the road section where the vehicle is located and the congestion rate of the road section.
[0071] During implementation, video generation conditions can be set in advance for the driving recorder. The video generation conditions are the smallest unit for video encapsulation of driving records. Considering that the video query requirements in practical applications are mostly video retracing of certain events that occurred during vehicle driving, and the location of the event is usually clear to the driver. Based on this, the video generation conditions in the embodiments of the present application include any one or a combination of the following conditions:
[0072] Condition 1: Determine the change of the road section where the vehicle is located;
[0073] That is, the video generation is performed based on the road section where the vehicle is located. Whenever the road section where the vehicle is located changes, the driving records that have not yet been packaged into videos are packaged into driving video files. Each driving video file thus obtained records all the driving records of the vehicle on a certain road section.
[0074] Condition 2: determine that the congestion rate of the road section where the vehicle is located is greater than the congestion threshold, and the interval between the current time and the video end time of the previous vehicle video file reaches a specified time length.
[0075] Considering that when a road section is congested and the road section is long, the vehicle's driving speed in the road section is relatively slow. If the video is generated based on the road section where the vehicle is located, the driving video file will be large, which is not conducive to user viewing. Based on this, in the embodiment of the present application, if the congestion rate of the road section where the vehicle is located is greater than a specified threshold, the video is generated based on a specified duration. That is, when the congestion rate of the road section where the vehicle is located is high, it can be determined that the vehicle's driving speed is relatively slow. In order to avoid the generated driving video file being large, the currently collected driving records that have not yet been packaged as videos are packaged as driving video files every specified duration.
[0076] In order to apply to more scenarios, the above video generation conditions 1 and 2 can be provided to users for selection, and support the above video generation conditions 1 and 2 to generate videos in a combined manner. Specifically, it can be set that when the congestion rate of the road section where the vehicle is located is not greater than the congestion threshold, the video is generated in the manner of condition 1, and when the congestion rate of the road section where the vehicle is located is greater than the congestion threshold, the video is generated in the manner of condition 2.
[0077] Step 203: After determining that the video generation condition is met, encapsulate the video collected by the driving recorder from the first moment to the current moment into a driving video file; wherein, if the video generation condition is met for the first time, the first moment is the moment when the driving recorder starts working; if the video generation condition is not met for the first time, the first moment is the moment when the video of the previous driving video file ends;
[0078] To facilitate understanding of the application of the above video generation conditions, the following is an example of combining the above video generation conditions one and two. Figure 3As shown. Assuming that the vehicle activates the dash cam on the way of section A (point a is shown in the figure), and the congestion rate of section A is not greater than the congestion threshold, when the vehicle travels to section B (point b is shown in the figure), due to the change of the lane where the vehicle is located, it indicates that the above-mentioned video generation condition one is met. At this time, the video collected by the dash cam from the first moment to the current moment is packaged as driving video file 1. Since this is the first time that the dash cam meets the video generation condition after this activation, the first moment here is the moment when the dash cam starts working, that is, the vehicle is Figure 3 The current time is the time when the vehicle arrives at point b, and the driving video file 1 obtained thereby records the driving record of the vehicle from point a to point b.
[0079] Another example Figure 3 As shown, assuming that when the vehicle first enters Section B from Section A, the congestion rate of Section B is not greater than the congestion threshold. However, when the vehicle is on the way to Section B (point c is shown in the figure), the congestion rate of Section B suddenly increases to exceed the congestion threshold. At this time, it is determined whether the interval between the current moment and the video end moment of the previous driving video file (i.e., driving video file 1) reaches the specified duration. If the specified duration is reached, it indicates that the second video generation condition is met. At this time, the video collected by the driving recorder from the first moment to the current moment is encapsulated as driving video file 2. Since this is not the first time that the video generation condition is met after the driving recorder is activated, the first moment here is the video end moment of the previous driving video file 1. The driving video file 2 generated at this time records the driving record of the vehicle during the period from point a to point c.
[0080] Correspondingly, if the specified duration is not reached, a driving video file 2 of the vehicle driving from point a to point d is generated when the vehicle drives to point d where the specified duration is reached. It is also assumed that after the vehicle reaches point d, the congestion rate of section B drops back below the congestion threshold. At this time, when the vehicle enters section C (point e is shown in the figure), the above-mentioned video generation condition 1 is triggered again, and the driving record of the vehicle driving from point d to point e is encapsulated as a driving video file 3. Through the above process, users can set the video generation conditions according to their needs. Specifically, they can generate videos in units of sections, or they can generate videos in units of specified duration when the congestion rate of the section is high, thereby alleviating the problem that the video content is too long and it is not conducive to querying the required video content from it.
[0081] Step 204: In response to the video upload instruction, the generated driving video file is uploaded to the cloud.
[0082] At present, the cloud storage method of driving records is mainly through users triggering upload instructions independently. For example, users select some video files from the driving video files cached locally in the driving recorder and upload them to the cloud, or users actively set up to upload all driving video files cached in the driving recorder to the cloud.
[0083] The above video uploading method has the following problems: if the user triggers the upload instruction by himself, when the user views the video file, there may be a situation where the video file that the user wants to view is not stored in the cloud. At this time, the user can only select the video file to be viewed from the cached video of the new dashcam and upload it. If all the driving video files are uploaded, it will consume a lot of traffic and occupy a large amount of cloud storage space.
[0084] To solve the above problem, the embodiment of the present application encapsulates the video collected by the dash cam from the first moment to the current moment into a driving video file through the above process, and then adds identification information to the driving video file. In specific implementation, the identification information can be used as the name of the driving video file, and the identification information can be used as the storage file index of the driving video file in the cloud. In this way, after the video is uploaded to the cloud, the user can find the corresponding driving video file by performing a fuzzy search on the video name.
[0085] The identification information in the embodiment of the present application includes a road section identification and a time identification. The road section identification is used to indicate the road section where the vehicle is located in the driving video file, and the time identification is used to indicate the video start time and the video end time. Figure 3 The example illustrates the process of adding a logo. Figure 4 Assume that the vehicle reaches point a at 10:00, reaches point b at 10:05, reaches point d at 10:13, and reaches point e at 10:20. Figure 3 The driving video files 1 and 3 in the figure are videos generated when the video generation condition is met. Taking the driving video file 1 as an example, its identification information is {Road Section A, Year-Month-Day: 10:00~10:05}. After uploading the driving video file 1 to the cloud, the user can search for the driving video file 1 by fuzzy search, using the keyword Road Section A, or any time point in the range of Year-Month-Day: 10:00~10:05.
[0086] Another example Figure 5 As shown, in order to be applicable to more application scenarios, when the congestion rate of a road section is greater than the congestion threshold, a label representing the congestion situation is added to the driving video file. Figure 3The driving video file 2 in is a video generated when the video generation condition 2 is met, that is, the congestion rate of the road section corresponding to the driving video file 2 is greater than the congestion threshold. At this time, a congestion identification can be added to the identification information of the driving video file 2, that is, the identification information {road section B, year-month-day: 10:05-10:13, congestion} is obtained.
[0087] Through the above process, users can adaptively upload driving video files to the cloud. When the target video file that the user wants to view is not stored in the cloud, the cloud can send a video upload instruction to the driving recorder to trigger the driving recorder to automatically upload the locally cached target video file to the cloud for the user to view.
[0088] The following is still based on the above Figure 3 The following example illustrates the Figure 6 Assume that the user has not Figure 3 The driving video files 1 to 3 generated in the process are uploaded to the cloud. In one application scenario, when a user retrieves driving video files from the cloud through a client such as a smart computer or smart phone, he wants to retrieve driving video file 1 of the vehicle on section A. The user searches for "section A, year, month, and day" through the client to query the driving video file stored in the cloud. Since the driving video file 1 has not been uploaded to the cloud by the user, the cloud sends a video upload instruction carrying the video information of the video to be uploaded to the driving recorder after the retrieval fails. The above video information is used to indicate the section of the road where the vehicle is located and / or any time node. It should be understood that the video information is the search item for searching for driving video files through the cloud, that is, Figure 6 "Road Section A, Year, Month, and Day" entered by the user.
[0089] At this time, after receiving the above video information, the driving recorder selects the target identifier that meets all the indications in the video information from the identification information of each driving video file (i.e., driving video files 1 to 3) cached locally, and uploads the driving video file carrying the target identifier (i.e., driving video file 1) to the cloud.
[0090] In addition, the embodiment of the present application provides a corresponding video autonomous upload strategy for vehicle alarm indications. If a vehicle alarm indication is received while the driving recorder is activated, the video autonomous upload strategy is executed to select an alarm file from various driving video files based on the time of the event, and the alarm file is uploaded to the cloud.
[0091] During implementation, after receiving the vehicle alarm indication, the alarm information of the alarm event is determined. The alarm information includes the event type of the alarm event, and the time when the event occurred. The event types in the embodiment of the present application include a first type of vehicle-triggered traffic accident, and / or a second type of abnormality in vehicle components during driving. Specifically, assuming that the vehicle sensor triggers alarm events such as vehicle scratches, vehicle body collisions, and airbag pop-ups, these are the above-mentioned first type of alarm events. And vehicle sensor triggers alarm events such as excessive pressure on the vehicle body and low tire pressure, which are the above-mentioned second type of alarm events.
[0092] During implementation, if the event type of the alarm event is the first type, the alarm file is a driving video file containing the time of the event within the video time. Assuming that the alarm of a vehicle collision is received at 10 o'clock, the driving video file containing the time of 10 o'clock will be automatically uploaded to the cloud as an alarm file. Specifically, the alarm identifier describing the alarm event can be added to the identification information of the alarm file.
[0093] Also, assuming that the vehicle receives an alarm of low tire pressure at 10 o'clock, and the tire pressure returns to a safe range at 11 o'clock, then all the driving video files packaged from the time the alarm event occurs at 10 o'clock to the time the event ends at 11 o'clock will be automatically uploaded to the cloud. In addition, assuming that after receiving the alarm of low tire pressure at 10 o'clock, the driver drives into the maintenance center at 10:20 and turns off the dash cam, the driving records that have not been packaged from 10 o'clock to 10:20 can be cached in the dash cam and automatically uploaded to the cloud after the dash cam is restarted. This can prevent the driver from forgetting to actively upload the driving video files during the alarm period, resulting in the cleaning and loss of the driving video files during the alarm period.
[0094] Based on the same inventive concept, the embodiment of the present application provides a driving record management device 700, specifically as follows Figure 7 As shown, including:
[0095] The driving record module 701 is configured to execute, in response to the driving record instruction, enabling the driving recorder;
[0096] The condition determination module 702 is configured to be executed during the operation of the driving recorder to determine whether a video generation condition is met based on the road section where the vehicle is located and / or the congestion rate of the road section;
[0097] The video generation module 703 is configured to execute, after determining that the video generation condition is met, encapsulating the video collected by the driving recorder from the first moment to the current moment into a driving video file; wherein, if the video generation condition is met for the first time, the first moment is the moment when the driving recorder starts working; if the video generation condition is not met for the first time, the first moment is the moment when the video of the previous driving video file ends;
[0098] The video upload module 704 is configured to execute in response to the video upload instruction and upload the generated driving video file to the cloud.
[0099] In some possible embodiments, the video generation condition includes any one or a combination of the following conditions:
[0100] Condition 1: Determine the change of the road section where the vehicle is located;
[0101] Condition 2: determine that the congestion rate of the road section where the vehicle is located is greater than the congestion threshold, and the interval between the current time and the video end time of the previous vehicle video file reaches a specified time length.
[0102] In some possible embodiments, the video generation module is further configured to:
[0103] After encapsulating the video collected by the driving recorder from the first moment to the current moment into a driving video file, adding identification information to the driving video file;
[0104] Among them, the identification information is used for the storage file index of the driving video file in the cloud, and the identification information includes a road section identifier and a time identifier; the road section identifier is used to indicate the road section where the vehicle is located in the driving video file, and the time identifier is used to indicate the video start time and the video end time.
[0105] In some possible embodiments, the step of responding to the video upload instruction and uploading the generated driving video file to the cloud may be performed, and the video upload module may be configured as follows:
[0106] Receive video information of a video to be uploaded; wherein the video information is used to indicate the road section where the vehicle is located and / or any time node, and the video information is a search item for searching driving video files through the cloud;
[0107] A target identifier that satisfies all indications in the video information is selected from the identifier information of each driving video file, and the driving video file carrying the target identifier is uploaded to the cloud.
[0108] In some possible embodiments, the device further includes:
[0109] An alarm module is configured to receive alarm information of an alarm event in response to a vehicle alarm indication; wherein the alarm information includes an event type of the alarm event and a time when the event occurs;
[0110] Determine a video autonomous upload strategy corresponding to the event type, select an alarm file from each of the driving video files according to the time when the event occurs by executing the video autonomous upload strategy, and upload the alarm file to the cloud.
[0111] In some possible embodiments, the event type includes a first type in which a vehicle triggers a traffic accident, and / or a second type in which a vehicle component generates an abnormality during driving;
[0112] The method of executing the autonomous video uploading strategy to select an alarm file from each of the driving video files according to the time when the event occurs, the alarm module is configured as follows:
[0113] If the event type is the first type, the warning file is a driving video file that contains the time when the event occurs within the video time;
[0114] If the event type is the second type, the warning file is all driving video files encapsulated between the event occurrence time and the event end time.
[0115] Refer to the following Figure 8 An electronic device 130 according to this embodiment of the present application is described. Figure 8 The control device 130 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0116] like Figure 8 As shown, the control device 130 is in the form of a general control device. The components of the control device 130 may include but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 connecting different system components (including the memory 132 and the processor 131).
[0117] Bus 133 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
[0118] The memory 132 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 1321 and / or a cache memory 1322 , and may further include a read-only memory (ROM) 1323 .
[0119] The memory 132 may also include a program / utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 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 may include an implementation of a network environment.
[0120] The control device 130 may also communicate with one or more external devices 134 (e.g., keyboards, pointing devices, etc.), one or more devices that enable a user to interact with the control device 130, and / or any device that enables the control device 130 to communicate with one or more other control devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 135. In addition, the control device 130 may also 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 a network adapter 136. As shown, the network adapter 136 communicates with other modules for the control device 130 via a bus 133. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the control device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0121] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 132 including instructions, and the instructions can be executed by the processor 131 of the above device to complete the above method. Alternatively, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0122] In an exemplary embodiment, a computer program product is also provided, including a computer program / instruction, and when the computer program / instruction is executed by the processor 131, any method in the driving record management method provided in the present application is implemented.
[0123] In an exemplary embodiment, various aspects of a driving record management method provided by the present application can also be implemented in the form of a program product, which includes a program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of a driving record management method according to various exemplary embodiments of the present application described above in this specification.
[0124] 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. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0125] The program product for driving record management of the embodiment of the present application can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a control device. However, the program product of the present application is not limited to this. In this document, the readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, device or device.
[0126] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein readable program code is carried. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium other than a readable storage medium, which may transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0127] The program code embodied on the 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.
[0128] The program code for performing the operations of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also conventional procedural programming languages such as language or similar programming languages. The program code can be executed entirely on the user control device, partially on the user device, as a separate software package, partially on the user control device and partially on the remote control device, or entirely on the remote control device or server. In the case of a remote control device, the remote control device can be connected to the user control device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external control device (for example, using an Internet service provider to connect through the Internet).
[0129] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.
[0130] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0131] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0132] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable image scaling device to produce a machine, so that the instructions executed by the processor of the computer or other programmable image scaling device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0133] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable image scaling device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, the instruction device being implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0134] These computer program instructions may also be loaded onto a computer or other programmable image scaling device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0135] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0136] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A driving record management method, characterized in that: The method comprises: In response to the driving record instruction, activating the driving recorder; During the operation of the driving recorder, it is determined whether the video generation condition is met based on the road section where the vehicle is located and / or the congestion rate of the road section; wherein the video generation condition includes any one or a combination of the following conditions: condition 1, determining that the road section where the vehicle is located has changed; condition 2, determining that the congestion rate of the road section where the vehicle is located is greater than the congestion threshold, and the interval between the current time and the video end time of the previous driving video file reaches a specified time length; After determining that the video generation condition is met, the video collected by the driving recorder from the first moment to the current moment is encapsulated as a driving video file, and identification information is added to the driving video file; wherein, if the video generation condition is met for the first time, the first moment is the moment when the driving recorder starts working; if the video generation condition is not met for the first time, the first moment is the video end moment of the previous driving video file; the identification information is used for the storage file index of the driving video file in the cloud, and the identification information includes a road section identifier and a time identifier; the road section identifier is used to indicate the road section where the vehicle is located in the driving video file, and the time identifier is used to indicate the video start time and the video end time; In response to the video upload instruction, uploading the generated driving video file to the cloud; The method further comprises: receiving warning information of a warning event in response to a vehicle warning indication; wherein the warning information comprises an event type of the warning event and a time when the event occurs; the event type comprises a first type of a vehicle triggering a traffic accident, and / or a second type of an abnormality of a vehicle component during driving; Determine a video autonomous upload strategy corresponding to the event type, select an alarm file from each of the driving video files according to the time when the event occurs by executing the video autonomous upload strategy, and upload the alarm file to the cloud; The step of executing the autonomous video uploading strategy to select an alarm file from each of the driving video files according to the time of occurrence of the event includes: If the event type is the first type, the alarm file is a driving video file that includes the time when the event occurs within the video time; if the event type is the second type, the alarm file is all driving video files encapsulated within the time when the event occurs and the time when the event ends.
2. The method according to claim 1, characterized in that The step of uploading the generated driving video file to the cloud in response to the video upload instruction includes: Receive video information of a video to be uploaded; wherein the video information is used to indicate the road section where the vehicle is located and / or any time node, and the video information is a search item for searching driving video files through the cloud; A target identifier that satisfies all indications in the video information is selected from the identifier information of each driving video file, and the driving video file carrying the target identifier is uploaded to the cloud.
3. A driving record management device, applied to the method according to claim 1 or 2, characterized in that: The device comprises: A driving record module, configured to enable a driving recorder in response to a driving record instruction; The condition determination module is configured to be executed during the operation of the driving recorder, and to determine whether the video generation condition is met based on the road section where the vehicle is located and / or the congestion rate of the road section where the vehicle is located; wherein the video generation condition includes any one or a combination of the following conditions: condition one, determining that the road section where the vehicle is located has changed; condition two, determining that the congestion rate of the road section where the vehicle is located is greater than the congestion threshold, and the interval between the current time and the video end time of the previous driving video file reaches a specified time length; The video generation module is configured to execute, after determining that the video generation condition is met, encapsulating the video collected by the driving recorder from the first moment to the current moment into a driving video file, and adding identification information to the driving video file; wherein, if the video generation condition is met for the first time, the first moment is the moment when the driving recorder starts working; if the video generation condition is not met for the first time, the first moment is the moment when the video of the previous driving video file ends; the identification information is used for the storage file index of the driving video file in the cloud, and the identification information includes a road section identifier and a time identifier; the road section identifier is used to indicate the road section where the vehicle is located in the driving video file, and the time identifier is used to indicate the video start time and the video end time; A video uploading module is configured to execute, in response to a video uploading instruction, uploading the generated driving video file to the cloud; The device also includes: An alarm module is configured to execute in response to a vehicle alarm indication and receive alarm information of an alarm event; wherein the alarm information includes an event type of the alarm event and a time when the event occurs; the event type includes a first type of a vehicle triggering a traffic accident and / or a second type of an abnormality of a vehicle component during driving; Determine a video autonomous upload strategy corresponding to the event type, select an alarm file from each of the driving video files according to the time when the event occurs by executing the video autonomous upload strategy, and upload the alarm file to the cloud; The method of executing the autonomous video uploading strategy to select an alarm file from each of the driving video files according to the time when the event occurs, the alarm module is configured as follows: If the event type is the first type, the warning file is a driving video file that contains the time when the event occurs within the video time; If the event type is the second type, the warning file is all driving video files encapsulated between the event occurrence time and the event end time.
4. An electronic device, characterized in that: include: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory and execute the steps included in the method of claim 1 or 2 according to the obtained program instructions.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer is caused to perform the method according to claim 1 or 2.
6. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is run on a computer, the computer is caused to perform the method according to claim 1 or 2.
