Monitoring video playback axis display method and device, equipment and storage medium

CN123020729APending Publication Date: 2026-10-30ZHEJIANG UNIVIEW TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510557842.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0005]本发明提供一种监控视频回放轴展示方法、装置、设备及存储介质,用以解决现有技术中存在监控视频的回放效率较低的缺陷,实现通过在回放时间轴上剔除没有监控视频片段的时间,缩短时间轴的长度以提升视频回放效率和视频可读性的目的

Benefits of technology

[0017]本发明提供的监控视频回放轴展示方法、装置、设备及存储介质,通过获取用户的视频回放请求,根据视频回放请求中包括的用户所需回放监控视频的目标日期,在预设的监控视频数据库中获取目标日期对应的至少一个目标监控视频片段以及每个目标监控视频片段对应的目标拍摄时间段,然后根据每个目标监控视频片段的目标拍摄时间段,在预设时间轴中剔除除目标拍摄时间段之外的时间段,获得第一回放时间轴并展示;其中,监控视频数据库中包括至少一个日期以及日期对应的至少一个监控视频片段,每个监控视频片段均携带自身监控视频片段的拍摄时间段,第一回放时间轴展示的第一时间粒度与预设时间轴展示的时间粒度相同,且第一回放时间轴的长度小于预设时间轴的长度。在该方法中,由于可以根据各监控视频片段对应的拍摄时间段在预设时间轴中剔除/去除没有监控视频的时间段,这样可以确保最终展示的回放时间轴中仅展示包含监控视频片段的时间段,从而可以在与24小时时间轴显示同一时间粒度的情况下缩短回放时间轴展示的时间长度,提升用户通过该回放时间轴回放监控视频片段的效率;同时在回放时间轴上仅展示包含监控视频片段的时间段,且展示视频内容和展示的时间粒度保持一致,这样可以提高监控视频的可读性和用户观看体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123020729A_ABST
    Figure CN123020729A_ABST
Patent Text Reader

Abstract

The application provides a kind of monitoring video playback axis display method, device, equipment and storage medium, the method comprises: obtaining the video playback request of user;According to target date in video playback request, in the target monitoring video clip corresponding to target date and the target shooting time period of each target monitoring video clip are obtained in monitoring video database;Monitoring video database includes date and its corresponding monitoring video clip, each monitoring video clip carries shooting time period;According to the target shooting time period of each target monitoring video clip corresponding, in the preset time axis, the time period except target shooting time period is eliminated, obtains first playback time axis and shows;The first time granularity of first playback time axis show is same with the time granularity of preset time axis show, and the length of first playback time axis is less than the length of preset time axis.The playback efficiency and readability of monitoring video can be improved by using the technical scheme of the application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of video surveillance technology, and in particular to a method, apparatus, device, and storage medium for displaying the playback axis of surveillance video. Background Technology

[0002] With the increasing prevalence of smart homes and security monitoring equipment, video surveillance systems are playing an increasingly important role in users' lives. Due to cabling limitations, low-power monitoring devices (such as battery-powered cameras) are becoming more widely used. These devices typically only start recording when an event is detected, and the recorded content is usually minimal, thus saving power. After recording begins, users may need to review the video footage in certain situations, requiring the video to be displayed / shown on a timeline for their viewing.

[0003] In related technologies, when displaying surveillance video on a timeline, a "24-hour timeline" is usually drawn first. Then, video clips from the surveillance video are mapped to the 24-hour timeline according to their respective shooting times, and the corresponding surveillance videos are displayed on the 24-hour timeline. Users can then slide the 24-hour timeline to play back and view the surveillance video.

[0004] However, the above-mentioned technologies suffer from the problem of low playback efficiency of surveillance videos. Summary of the Invention

[0005] This invention provides a method, apparatus, device, and storage medium for displaying the playback axis of surveillance videos, which addresses the shortcomings of low playback efficiency in existing technologies. It aims to improve video playback efficiency and readability by removing time segments without surveillance video from the playback timeline and shortening the timeline length.

[0006] This invention provides a method for displaying the axis of a surveillance video playback, comprising: Obtain the user's video playback request; the video playback request includes the target date on which the user wants to replay the surveillance video. Based on the target date, at least one target surveillance video segment corresponding to the target date and the target shooting time period corresponding to each target surveillance video segment are obtained from the preset surveillance video database; the aforementioned surveillance video database includes at least one date and at least one surveillance video segment corresponding to each date, and each surveillance video segment carries its own shooting time period; Based on the target shooting time period corresponding to each target monitoring video segment, the time period other than the target shooting time period is removed from the preset time axis to obtain and display the first playback time axis; the first time granularity displayed by the first playback time axis is the same as the time granularity displayed by the preset time axis, and the length of the first playback time axis is less than the length of the preset time axis.

[0007] According to a method for displaying the axis of a surveillance video playback according to the present invention, the method further includes: Obtain the user's target adjustment operation for the first playback timeline; the target adjustment operation includes adjusting the first time granularity displayed on the first playback timeline; In response to the target adjustment operation, the first time granularity displayed on the first playback time axis is adjusted, and the second playback time axis is determined and displayed. The time granularity displayed on the second playback time axis is the second time granularity that needs to be adjusted in the target adjustment operation, and there are corresponding monitoring video segments in each time interval displayed on the second playback time axis.

[0008] According to a monitoring video playback axis display method provided by the present invention, the above-mentioned adjustment of the first time granularity of the first playback time axis display in response to the target adjustment operation, and the determination of the second playback time axis, includes: Based on the target adjustment operation, the second time granularity corresponding to the target adjustment operation is determined in the preset correspondence; the above correspondence includes a variety of different adjustment operations and the time granularity corresponding to each adjustment operation; The first playback timeline is adjusted according to the second time granularity to determine the candidate timeline; the candidate timeline includes multiple time intervals, and the length of each time interval is the same as the second time granularity. Match the target shooting time period corresponding to each target monitoring video segment with the time range corresponding to each time interval to determine the candidate time interval that matches the target shooting time period in each time interval; The second playback timeline is determined by eliminating the remaining time intervals from the multiple time intervals of the candidate timeline.

[0009] According to the present invention, a method for displaying a playback axis of a surveillance video, wherein the above-mentioned matching of the target shooting time period corresponding to each target surveillance video segment with the time range corresponding to each time interval, and determining the candidate time interval that matches the target shooting time period in each time interval, includes: The target shooting time period of each target monitoring video segment is divided or expanded according to the second time granularity and the time range corresponding to each time interval, and at least one monitoring video sub-segment corresponding to each target monitoring video segment and the division time period corresponding to each monitoring video sub-segment are determined; the length of the division time period of each monitoring video sub-segment is the same as that of the second time granularity. The time segments of each surveillance video sub-segment are matched with the corresponding time ranges of each time interval; If the time period of the first monitoring video segment in the monitoring video segment is the same as the time range corresponding to the first time interval in each time interval, then the first time interval is determined as the candidate time interval.

[0010] According to the present invention, a method for displaying the axis of a surveillance video playback, wherein the adjustment operation corresponds to a scaling position or a sliding length, the correspondence includes a first correspondence or a second correspondence, and determining the second time granularity corresponding to the target adjustment operation in a preset correspondence based on the target adjustment operation includes: Determine the target scaling position or target sliding length corresponding to the target adjustment operation based on the target adjustment operation; The target scaling position is input into the first correspondence to determine the second time granularity corresponding to the target scaling position; the first correspondence includes different scaling positions and the time granularity corresponding to each scaling position. Alternatively, the target sliding length can be input into the second correspondence to determine the second time granularity corresponding to the target sliding length; the second correspondence includes different sliding lengths and the time granularity corresponding to each sliding length.

[0011] According to a method for displaying a playback axis of a surveillance video provided by the present invention, the at least one target surveillance video segment includes multiple target surveillance video segments, and the method further includes: Based on the target shooting time period of each target monitoring video segment, detect whether there are at least two first target monitoring video segments in each target monitoring video segment; the target shooting time period of each first target monitoring video segment corresponds to the same time period under the target time granularity; the above target time granularity includes the second time granularity; If there are video segments for each first target, the target shooting time periods corresponding to each video segment for each first target are merged according to the target time granularity to obtain a merged time period; the length of the merged time period is the same as the target time granularity. The second playback timeline is updated based on the merged time period.

[0012] According to a monitoring video playback axis display method provided by the present invention, the first playback time axis is obtained by removing time periods other than the target shooting time periods from a preset time axis based on the target shooting time period corresponding to each target monitoring video segment, including: Based on the target shooting time period and first time granularity corresponding to each target monitoring video segment, the first time period corresponding to each target monitoring video segment is determined in the preset time axis; the first time period is an integer multiple of the first time granularity; Remove time periods other than the first time period from the preset timeline to obtain the first playback timeline.

[0013] The present invention also provides a monitoring video playback axis display device, comprising the following modules: The request acquisition module is used to acquire the user's video playback request; the video playback request includes the target date on which the user wants to play back the surveillance video. The surveillance video acquisition module is used to acquire at least one target surveillance video segment corresponding to the target date and the target shooting time period corresponding to each target surveillance video segment from a preset surveillance video database based on the target date; the surveillance video database includes at least one date and at least one surveillance video segment corresponding to each date, and each surveillance video segment carries its own shooting time period; The playback axis adjustment and display module is used to remove time periods other than the target shooting time period from the preset time axis according to the target shooting time period corresponding to each target monitoring video segment, to obtain and display the first playback time axis; the first time granularity displayed by the first playback time axis is the same as the time granularity displayed by the preset time axis, and the length of the first playback time axis is less than the length of the preset time axis.

[0014] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the monitoring video playback axis display method as described above.

[0015] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the monitoring video playback axis display method as described above.

[0016] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the monitoring video playback axis display method as described above.

[0017] The present invention provides a method, apparatus, device, and storage medium for displaying a playback timeline of surveillance video. It acquires a user's video playback request, and based on the target date of the surveillance video to be played back, retrieves at least one target surveillance video segment corresponding to the target date and the target shooting time period corresponding to each target surveillance video segment from a preset surveillance video database. Then, based on the target shooting time period of each target surveillance video segment, it removes time periods other than the target shooting time period from a preset timeline to obtain and display a first playback timeline. The surveillance video database includes at least one date and at least one surveillance video segment corresponding to that date. Each surveillance video segment carries its own shooting time period. The first time granularity displayed on the first playback timeline is the same as the time granularity displayed on the preset timeline, and the length of the first playback timeline is less than the length of the preset timeline. In this method, since time periods without monitoring video can be removed from the preset timeline based on the shooting time periods corresponding to each monitoring video segment, it ensures that the final playback timeline only displays the time periods containing monitoring video segments. This shortens the display time of the playback timeline while maintaining the same time granularity as the 24-hour timeline, improving the efficiency of users playing back monitoring video segments through this playback timeline. At the same time, displaying only the time periods containing monitoring video segments on the playback timeline, and maintaining consistency between the displayed video content and the displayed time granularity, improves the readability of the monitoring video and the user viewing experience. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0019] Figure 1 This is one of the flowcharts illustrating the monitoring video playback axis display method provided in this embodiment of the invention.

[0020] Figure 2 This is the second flowchart of the monitoring video playback axis display method provided in the embodiment of the present invention.

[0021] Figure 3 This is the third flowchart of the monitoring video playback axis display method provided in the embodiments of the present invention.

[0022] Figure 4 This is a schematic diagram of the structure of the monitoring video playback axis display device provided in an embodiment of the present invention.

[0023] Figure 5This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0025] Currently, low-power surveillance devices are increasingly used in daily life. Because these devices only start recording when an event is detected, the recorded content is usually limited and scattered. Therefore, traditional timeline display methods face many problems when playing back these recordings. Specifically, existing video playback timelines display all time periods within a 24-hour period. In this approach, if a certain time period has no recorded content, the timeline will still display that blank period. This method is simple but has significant limitations: when the recording frequency of the surveillance device is low, the timeline will be filled with many blank areas, requiring users to constantly drag the timeline to find the actual recorded segments, increasing playback time and complexity, and resulting in low playback efficiency. Furthermore, when the recorded segments are short or the intervals are long, they will display lengthy blank periods, significantly impacting the readability and usability of the timeline. Based on this, embodiments of the present invention provide a method, apparatus, device, and storage medium for displaying a surveillance video playback timeline, which can solve this technical problem.

[0026] It should be noted that the execution subject of the embodiments of the present invention can be a monitoring video playback axis display device, an electronic device including a monitoring video playback axis display device, or other devices, equipment, or systems, etc., which are not specifically limited here. The following embodiments will use an electronic device as an example for illustration.

[0027] Figure 1 This is one of the flowcharts illustrating the monitoring video playback axis display method provided in this embodiment of the invention, such as... Figure 1 As shown, the method includes the following steps: Step 102: Obtain the user's video playback request; the video playback request includes the target date for which the user wants to play back the surveillance video.

[0028] Among them, the surveillance video refers to the surveillance video collected and stored by the surveillance equipment. The surveillance equipment may be equipped with corresponding video playback software or video playback applet, which can be used to play back the surveillance video stored by the surveillance equipment in the video playback software or video playback applet.

[0029] Video playback software or mini-programs can include controls for video playback, such as buttons or keypads. Users can trigger these controls and input the target date for the desired playback of the monitored video. The software or program receives this input, encapsulates it to obtain the playback request, and sends it to a backend electronic device. The backend device then receives the playback request and the target date. This target date can be a specific date or a range of days.

[0030] Step 104: Based on the target date, obtain at least one target surveillance video segment corresponding to the target date and the target shooting time period corresponding to each target surveillance video segment from the preset surveillance video database; the surveillance video database includes at least one date and at least one surveillance video segment corresponding to each date, and each surveillance video segment carries its own shooting time period.

[0031] The aforementioned monitoring equipment can be low-power devices, such as battery-powered devices. These devices only start recording when an event is detected, and the recorded content is usually minimal, thus saving power. Therefore, the monitoring equipment can collect multiple video clips each day. After collecting a video clip, the monitoring equipment can obtain the corresponding shooting time period and then bind and store the video clip and its corresponding shooting time period in the monitoring video database for later use. The shooting time period of a video clip refers to the time range in which it was captured. For example, the shooting time period of a video clip can be represented as 14:00-14:10 on a certain day, indicating that the video clip was captured between 14:00 and 14:10 on that day. Furthermore, when storing video clips in the monitoring video database, video clips from the same day can be stored in the same folder, and each folder can be assigned a corresponding date for easy retrieval later.

[0032] After the electronic device obtains the target date of the surveillance video that the user wants to play back, it can search the surveillance video database based on the target date to obtain the folder corresponding to the target date, and obtain one or more surveillance video segments included in the folder and the shooting time period corresponding to each surveillance video segment. The surveillance video segments found here can be recorded as target surveillance video segments, and the shooting time period corresponding to each target surveillance video segment can be recorded as target shooting time period.

[0033] Step 106: Based on the target shooting time period corresponding to each target monitoring video segment, remove the time period other than the target shooting time period from the preset time axis to obtain and display the first playback time axis; the first time granularity displayed by the first playback time axis is the same as the time granularity displayed by the preset time axis, and the length of the first playback time axis is less than the length of the preset time axis.

[0034] Here, time granularity refers to the length of each time interval divided on the time axis, such as one hour, half an hour, etc. The preset time axis is a 24-hour time axis, which means that the preset time axis includes 24 hours, and the corresponding time length is also 24 hours. The time granularity of the preset time axis can be one hour or half an hour, etc. For example, if the time granularity of the preset time axis is one hour, then the 24 hours of the preset time axis can be divided into time intervals of one hour, thus obtaining 24 time intervals.

[0035] After obtaining one or more target surveillance video segments corresponding to the target date and the target shooting time period corresponding to each target surveillance video segment, the target shooting time period corresponding to each target surveillance video segment can be directly mapped to the corresponding position on the preset timeline. This reveals the time periods on the preset timeline that do not contain the target shooting time period; these time periods contain no surveillance video segments and are considered blank time periods. After finding the blank time periods on the preset timeline, these blank time periods can be directly removed from the preset timeline, and the distance between the target shooting time periods of each surveillance video segment can be adaptively shortened to generate a new timeline, denoted as the first playback timeline.

[0036] Alternatively, after obtaining the target shooting time period corresponding to each target monitoring video segment, the time intervals can be obtained according to the time granularity displayed by the preset time axis. Then, the target shooting time period corresponding to each target monitoring video segment can be mapped to the complete time interval at the corresponding position on the preset time axis. After that, the time intervals other than these complete time intervals containing the target shooting time period are removed from the preset time axis, and the distance between the target shooting time periods of each monitoring video segment is adaptively shortened to generate the first playback time axis.

[0037] Alternatively, after finding the blank time period on the preset timeline, the time intervals can be obtained according to the time granularity displayed on the preset timeline. The complete time intervals without target surveillance video segments can be found in the blank time period, and these complete time intervals without target surveillance video segments can be removed from the preset timeline. Then, the distance between the target shooting time periods of each surveillance video segment can be adaptively shortened to generate the first playback timeline.

[0038] After generating the first playback timeline, the time intervals containing the target surveillance video segments can be marked (e.g., with color or text). After marking, the first playback timeline can be displayed, making it easier for users to view the surveillance video.

[0039] Understandably, the first playback timeline excludes time periods where no target surveillance video segments exist and adaptively shortens the distance between the target shooting time periods of each surveillance video segment. Therefore, the time length corresponding to this first playback timeline is less than the time length corresponding to the preset timeline. In this way, when users view surveillance videos through this first playback timeline, they can intuitively see all the surveillance video segments without having to constantly drag the timeline to find the actual recording segments. This can significantly shorten the time users spend viewing surveillance videos and improve the efficiency of surveillance video playback.

[0040] Furthermore, the time granularity displayed on the first playback timeline (denoted as the first time granularity) is the same as that displayed on the preset timeline, for example, both are displayed in one-hour increments. This one-hour increment is also the default display time granularity for both the first playback timeline and the preset timeline. It can be understood that the surveillance video clips displayed in the first playback timeline are consistent with or match the time granularity of the first playback timeline. For example, if the first playback timeline is displayed in one-hour increments, then the surveillance video clips are also displayed in one-hour increments. This improves the readability of the surveillance video, making it easier for users to view the video and enhancing the user experience.

[0041] In this embodiment, by acquiring the user's video playback request, and based on the target date of the surveillance video to be played back included in the video playback request, at least one target surveillance video segment corresponding to the target date and the target shooting time period corresponding to each target surveillance video segment are obtained from the preset surveillance video database. Then, based on the target shooting time period of each target surveillance video segment, time periods other than the target shooting time period are removed from the preset time axis to obtain and display the first playback time axis. The surveillance video database includes at least one date and at least one surveillance video segment corresponding to the date. Each surveillance video segment carries its own shooting time period. The first time granularity displayed by the first playback time axis is the same as the time granularity displayed by the preset time axis, and the length of the first playback time axis is less than the length of the preset time axis. In this method, since time periods without monitoring video can be removed from the preset timeline based on the shooting time periods corresponding to each monitoring video segment, it ensures that the final playback timeline only displays the time periods containing monitoring video segments. This shortens the display time of the playback timeline while maintaining the same time granularity as the 24-hour timeline, improving the efficiency of users playing back monitoring video segments through this playback timeline. At the same time, displaying only the time periods containing monitoring video segments on the playback timeline, and maintaining consistency between the displayed video content and the displayed time granularity, improves the readability of the monitoring video and the user viewing experience.

[0042] In the process of displaying surveillance video through the first playback timeline, in order to meet the personalized needs of users for different display time granularities, this embodiment proposes a scheme that can adaptively adjust the playback timeline according to the user's adjustment operation. The following embodiment describes this scheme.

[0043] Figure 2 This is a second flowchart illustrating the monitoring video playback axis display method provided in this embodiment of the invention, as shown below. Figure 2 As shown, the method also includes the following steps: Step 202: Obtain the user's target adjustment operation for the first playback timeline; the target adjustment operation includes adjusting the first time granularity displayed on the first playback timeline.

[0044] The first time granularity displayed on the first playback timeline is generally one hour by default. Users can scale this first time granularity according to their needs. Optionally, in this embodiment, the time granularity that users can scale includes 1 hour, half an hour, 10 minutes, 5 minutes, 1 minute, etc., that is, the minimum scaled time granularity is 1 minute.

[0045] When a user needs to adjust the time granularity displayed on the first playback timeline, the user can input a target adjustment operation in the display interface of the first playback timeline. This target adjustment operation indicates that the user needs to adjust the first time granularity and the displayed content of the first playback timeline. This target adjustment operation can include a second time granularity that the user wants to adjust the first time granularity to, and of course, other content. Adjusting the displayed content of the first playback timeline means that the time period corresponding to the target surveillance video segment displayed in the first playback timeline is adjusted and displayed accordingly as the time granularity is adjusted. For example, if the target surveillance video segment was previously displayed in one-hour increments, after the adjustment, it can be displayed in half-hour increments. This ensures the consistency between the time granularity and the displayed content of the playback timeline.

[0046] The above-mentioned methods for user input of target adjustment operations may include any of the following: displaying a slider in the display interface of the first playback timeline and inputting the target adjustment operation by sliding the slider; or the user obtaining the target adjustment operation by zooming the first playback timeline in the display interface of the first playback timeline using gestures.

[0047] Step 204: In response to the target adjustment operation, adjust the first time granularity displayed on the first playback time axis, determine the second playback time axis and display it; the time granularity displayed on the second playback time axis is the second time granularity that needs to be adjusted in the target adjustment operation, and there are corresponding monitoring video segments in each time interval displayed on the second playback time axis.

[0048] In this step, after receiving the user's target adjustment operation, it becomes clear that the user needs to adjust the first time granularity to a second time granularity. Then, the first time granularity displayed on the first playback timeline can be segmented according to this second time granularity to obtain a second playback timeline for displaying the surveillance video at the second time granularity. Simultaneously, within this second playback timeline, time intervals without target surveillance video segments can be removed based on the target capture time of each target surveillance video segment. The second playback timeline, after removing these time intervals, ensures that each time interval displayed on the second playback timeline contains a corresponding surveillance video segment, and time periods without target surveillance video segments are not displayed. Furthermore, the length of the displayed time intervals is the same as the currently adjusted second time granularity. This ensures consistency between the timeline's display granularity and content even when scaling the time granularity, improving video playback efficiency and guaranteeing the readability of the surveillance video.

[0049] As an optional embodiment, adjusting the first time granularity of the first playback timeline and determining and displaying the second playback timeline may include the following steps: Step A1: Based on the target adjustment operation, determine the second time granularity corresponding to the target adjustment operation in the preset correspondence; the above correspondence includes a variety of different adjustment operations and the time granularity corresponding to each adjustment operation.

[0050] Optionally, the above adjustment operation corresponds to a scaling position or sliding length. The above correspondence includes a first correspondence or a second correspondence. The target scaling position or target sliding length corresponding to the target adjustment operation can be determined first based on the target adjustment operation. That is, the corresponding target scaling position can be obtained by the size of the user's scaling gesture on the interface (e.g., two-finger scaling), or the target sliding length can be obtained by the sliding position when the user drags the slider.

[0051] If the user's target adjustment operation is represented by a target scaling position, the target scaling position can be input into a first correspondence to determine the second time granularity corresponding to the target scaling position; the first correspondence includes different scaling positions and the time granularity corresponding to each scaling position. Alternatively, if the user's target adjustment operation is represented by a target sliding length, the target sliding length can be input into a second correspondence to determine the second time granularity corresponding to the target sliding length; the second correspondence includes different sliding lengths and the time granularity corresponding to each sliding length.

[0052] In summary, the second time granularity of the user's target adjustment operation can be obtained through the first or second correspondence relationship.

[0053] Step A2: Adjust the first playback time axis according to the second time granularity to determine the candidate time axis; the candidate time axis includes multiple time intervals, and the length of each time interval is the same as the second time granularity.

[0054] In this step, after determining the second time granularity, the first playback timeline can be adjusted according to the second time granularity. For example, if the first time granularity is one hour and the second time granularity is half an hour, then each hour interval in the first playback timeline can be divided into two corresponding half-hour intervals. After adjusting the time granularity displayed on the first playback timeline, a timeline displayed according to the second time granularity can be obtained, denoted as the candidate timeline. This candidate timeline includes multiple time intervals, and the length of each time interval is the second time granularity.

[0055] Step A3: Match the target shooting time period corresponding to each target monitoring video segment with the time range corresponding to each time interval to determine the candidate time interval that matches the target shooting time period in each time interval.

[0056] In this step, when obtaining multiple time intervals of the candidate timeline, the time range corresponding to each time interval can also be obtained. For example, the time range of a certain time interval is from 14:00 to 14:30. Then, optionally, the target shooting time period of each target surveillance video segment can be divided or expanded according to the second time granularity and the time range corresponding to each time interval, to determine at least one surveillance video sub-segment corresponding to each target surveillance video segment and the time period corresponding to each surveillance video sub-segment. First, it can be determined whether the target shooting time period of a target surveillance video segment is greater than the second time granularity. If the target shooting time period of a target surveillance video segment is greater than or equal to the second time granularity, the target shooting time period of the target surveillance video segment can be divided or expanded according to the second time granularity and the time range of each time interval to obtain one or more surveillance video sub-segments corresponding to the target surveillance video segment and their corresponding divided time periods. The length of the divided time period of each surveillance video sub-segment is the same as the second time granularity. For example, if the target shooting time period corresponding to a target surveillance video segment is 13:50-14:40 and the second time granularity is half an hour, then after dividing and expanding the target shooting time period of the target surveillance video segment, three target surveillance video sub-segments can be obtained. The divided time periods corresponding to these three target surveillance video sub-segments are 13:30-14:00, 14:00-14:30, and 14:30-15:00, respectively.

[0057] If the target shooting time period of a certain surveillance video segment is less than the second time granularity, the target shooting time period can be divided or expanded according to the second time granularity and the time range of each time interval to obtain the surveillance video sub-segment corresponding to the target surveillance video segment and its corresponding divided time period; for example, if the target shooting time period corresponding to a certain surveillance video segment is 13:50-14:00 and the second time granularity is half an hour, then after dividing and expanding the target shooting time period of the target surveillance video segment, a target surveillance video sub-segment can be obtained, and the divided time period corresponding to the target surveillance video sub-segment is 13:30-14:00.

[0058] The above method allows us to obtain the monitoring video sub-segments and their corresponding time periods for each target monitoring video segment at the second time granularity. Then, the time period of each monitoring video sub-segment can be matched with the time range corresponding to each time interval. If the time period of the first monitoring video sub-segment is the same as the time range corresponding to the first time interval in each time interval, then the first time interval is determined as a candidate time interval. For example, if the time period of a monitoring video sub-segment is 13:30-14:00, then the time interval with the time range of 13:30-14:00 in each time interval is considered a candidate time interval, meaning that monitoring video exists within this candidate time interval.

[0059] Step A4: Eliminate the remaining time intervals other than the candidate time intervals from the multiple time intervals of the candidate time axis to determine the second playback time axis.

[0060] In this step, candidate time intervals can be determined in each time interval of the candidate time axis using the above method. These candidate time intervals are all time periods containing surveillance video segments. Then, non-candidate time intervals can be eliminated from each time interval of the candidate time axis, that is, time periods that are not candidate time intervals can be eliminated. In this way, a complete candidate time interval with the same length as the second time granularity can be obtained. The distance between these candidate time intervals can be adaptively adjusted on the candidate time axis to generate the second playback time axis.

[0061] It is understandable that the length of the time intervals displayed in the second playback timeline is the second time granularity, and each time interval contains surveillance video. This ensures that when the display time granularity of the playback timeline is adjusted, the displayed surveillance video is adjusted synchronously, and segments without surveillance video under the new time granularity are removed, thereby improving video playback efficiency and the readability of the played surveillance video.

[0062] For example, suppose the surveillance video clips for each target and the time periods during which the targets were captured are as follows: 1:00-2:00 (video recorded); 5:00-6:00 (video recorded); 14:00-15:00 (Video recording available); Assuming the time granularity for display is one hour, the playback timeline will only show the time periods containing the recording, arranged by hour. Even if the recording is only 30 seconds long, it will be displayed as a complete one-hour interval (e.g., 1:00-2:00). This ensures a clear timeline and prevents the display of time periods shorter than one hour.

[0063] Assuming the displayed time granularity is half an hour: when the user adjusts the time granularity to half an hour, the playback timeline display will become more refined, showing time segments in half-hour increments. Assume the target surveillance video clips and their target shooting time periods are as follows: 1:00-1:30 (video recorded); 5:30-6:00 (video recorded); 14:00-14:30 (Video recording available); The playback timeline will then be displayed in half-hour increments, with all half-hour segments without recordings removed.

[0064] Assuming the displayed time granularity is 5 minutes: When the playback timeline's granularity is further adjusted to 5 minutes, the displayed unit time period will be more refined, becoming 5 minutes in total. Assume the following are the target surveillance video clips and their target shooting time periods: 1:00-1:05 (Video recording available); 1:05-1:10 (No recording, will be removed later); 5:45-5:50 (Video recorded); 14:00-14:05 (Video recording available); The playback timeline will then display the following: each 5-minute segment will show recorded segments, while segments without recorded segments will be removed.

[0065] Assuming the time granularity of the display is 1 minute: the finest display granularity is 1 minute, in which case each time interval / time unit on the playback timeline is 1 minute.

[0066] Additionally, it should be noted that when displaying / showing the second playback timeline according to the second time granularity, for different second time granularities, only the time periods marked with the target surveillance video segments are included within each displayed / shown second time granularity. For time periods without target surveillance video segments within each displayed / shown second time granularity, blank time periods can be displayed. For example, if the second time granularity is half an hour, assuming the target surveillance video segments and their target shooting time periods are as follows: 1:30-1:40 (video recorded); 1:50-1:55 (video recording available); The playback timeline will then display time periods in half-hour increments, with all half-hour segments without recordings removed. The displayed half-hour is 1:30-2:00. Within this 1:30-2:00 time range, the two target surveillance video segments are marked. For time periods within 1:30-2:00 without target surveillance video segments, such as 1:40-1:50 and 1:55-2:00, these half-hour intervals are displayed as blank periods, i.e., unmarked. For example, within the 1:30-2:00 time range on the timeline, the default color is white. Here, the time periods 1:30-1:40 and 1:50-1:55 (containing target surveillance video segments) can be marked in yellow, while the time periods 1:40-1:50 and 1:55-2:00 (without target surveillance video segments) are left unmarked.

[0067] In summary, this embodiment can dynamically adjust the time granularity of the playback timeline display according to user needs, and can adaptively delete blank time periods (i.e., time periods without surveillance video) under the corresponding time granularity as the playback timeline's time granularity is adjusted. For example, when the timeline granularity is 24 hours, the electronic device can remove time periods without recording / surveillance video by the hour; when the timeline granularity is half an hour, the electronic device removes time periods without recording by the half hour; when the time granularity is 5 minutes or 1 minute, the electronic device will further refine it to remove segments without recording by the minute. This intelligent adjustment can ensure the consistency between the timeline display granularity and the content, improving readability and user experience. When the user operates the playback timeline, regardless of the adjusted time granularity (i.e., the size of the granularity), the user will only see time periods with recording / surveillance video, thus achieving a quick preview and playback effect.

[0068] In this embodiment, by acquiring the user's adjustment operation on the playback timeline, and responding to the adjustment operation, the playback timeline is adjusted and displayed according to the new time granularity. This allows the corresponding time period to be re-displayed based on different time granularity requirements when the user zooms in or out. Furthermore, the display of each time period is determined by whether there is recorded content within that period, ensuring consistency between the timeline's display granularity and the content, thus improving video readability and user experience. Additionally, by establishing a pre-defined correspondence between the user's gesture zoom position or the length of the slider and the time granularity, the desired time granularity is determined. This allows for a faster and more accurate determination of the desired time granularity, improving the efficiency and accuracy of playback timeline generation. Further, by dividing or expanding the original target surveillance video segment's recording time according to the user's desired time granularity, and matching the time periods and intervals of the divided surveillance video segments, the time intervals to be removed from the current timeline are determined. This further improves the efficiency and accuracy of playback timeline generation.

[0069] In actual video playback, if at least one target monitoring video segment is multiple target monitoring video segments, there may be situations where some video segments were shot at similar times but are displayed separately. This can lead to discontinuous video playback. Based on this, this embodiment provides a technical solution for merging video segments. The following embodiment describes this process.

[0070] Figure 3 This is the third flowchart illustrating the monitoring video playback axis display method provided in this embodiment of the invention, as shown below. Figure 3 As shown, the method also includes the following steps: Step 302: Based on the target shooting time period of each target monitoring video segment, detect whether there are at least two first target monitoring video segments in each target monitoring video segment; the target shooting time period of each first target monitoring video segment corresponds to the same time period under the target time granularity; the above target time granularity includes the second time granularity.

[0071] Step 304: If each first target monitoring video segment exists, the target shooting time period corresponding to each first target monitoring video segment is merged according to the target time granularity to obtain the merged time period; the length of the merged time period is the same as the target time granularity.

[0072] Step 306: Update the second playback timeline based on the merged time period.

[0073] The target time granularity can be one minute, five minutes, half an hour, etc. After obtaining each target monitoring video segment and its corresponding target shooting time period, it is possible to detect whether each target shooting time period corresponds to the same time period under the target time granularity. That is, it is possible to detect whether there are time periods that are relatively close to each other. If at least two target shooting time periods correspond to the same time period under the target time granularity, then the target monitoring video segments corresponding to these at least two target shooting time periods are all recorded as the first target monitoring video segments. Then, the first target monitoring video segments can be merged, that is, the target shooting time periods corresponding to each first target monitoring video segment can be merged into a time period under the target time granularity to obtain the merged time period. Then, the time interval corresponding to the merged time period can be displayed / shown as containing monitoring video on the second playback timeline.

[0074] For example, consider the following two surveillance video clips of a primary target and the time period during which the target was captured: 1:20:10-1:20:20 (Video available); 1:20:30-1:20:50 (video recorded); The updated second playback timeline will display the following: both target video clips will be merged into a single minute segment from 1:20 to 1:21 for continuous display. For example, the default color of the time interval on the timeline is white. Here, the entire 1:20-1:21 time interval can be marked in yellow to indicate the presence of target video clips within this time interval. Users can then view the video clips corresponding to this specific time interval, avoiding interference from overly fragmented video clips.

[0075] In this embodiment, by automatically merging multiple recordings with similar shooting time periods into a single event and displaying it on the playback timeline, it avoids too many scattered segments on the timeline from disturbing the user. At the same time, the merged video segments still maintain their integrity, thereby ensuring the continuity of video playback.

[0076] In some embodiments, step 106 above, which involves removing time periods other than the target shooting time period from a preset timeline based on the target shooting time period corresponding to each target monitoring video segment, to obtain the first playback timeline, may include the following steps: Based on the target shooting time period and first time granularity corresponding to each target monitoring video segment, the first time period corresponding to each target monitoring video segment is determined in the preset time axis; the first time period is an integer multiple of the first time granularity; Remove time periods other than the first time period from the preset timeline to obtain the first playback timeline.

[0077] First, the first time granularity displayed on the first playback timeline can be obtained. Then, the preset timeline can be divided into multiple time intervals according to this time granularity. Each time interval has a time range, and the length of each time interval is the first time granularity, such as one hour. For each target surveillance video segment, the first time segment corresponding to the target surveillance video segment can be determined on the preset timeline based on its corresponding target shooting time period, the first time granularity, and the time range of each time interval. This first time segment is the duration of the complete time interval. For example, if the target shooting time period corresponding to the target surveillance video segment is 14:10-14:50, the first time granularity is 1 hour, and each time interval on the preset timeline is an hourly time interval, then the first time segment corresponding to the target surveillance video segment can be determined to be 14:00-15:00.

[0078] This method allows us to obtain the first time segment corresponding to each target monitoring video segment. Then, we find these first time segments on a preset timeline and remove / delete time segments that are not first time segments. Finally, only these first time segments remain on the preset timeline. Then, we adaptively adjust the distance between these first time segments to obtain the first playback timeline.

[0079] In this embodiment, the corresponding first time period is determined in the preset time axis by the target shooting time period and the first time granularity of each target monitoring video segment, and the time periods other than the first time period are removed from the preset time axis to obtain the first playback time axis. This can remove the blank time periods in the preset time axis more accurately and quickly, thereby improving the efficiency and accuracy of video playback.

[0080] As can be seen from the above embodiments, the embodiments of the present invention have the following beneficial effects: 1. Improve playback efficiency: By eliminating periods without recording, users can find the actual recorded content more quickly, saving time spent browsing irrelevant videos.

[0081] 2. Improve timeline readability: Dynamically adjust the timeline granularity to ensure that users can clearly view the start and end times of each video segment, avoiding viewing too many blank time periods.

[0082] 3. Event boundary optimization: Intelligently identify and merge close video clips, such as merging videos within one minute, to avoid users being disturbed by too many fragmented segments.

[0083] The monitoring video playback axis display device provided in the embodiments of the present invention is described below. The monitoring video playback axis display device described below and the monitoring video playback axis display method described above can be referred to in correspondence with each other.

[0084] Figure 4 This is a schematic diagram of the structure of the monitoring video playback axis display device provided in an embodiment of the present invention. See also: Figure 4 As shown, the device may include: The request acquisition module 410 is used to acquire the user's video playback request; the video playback request includes the target date on which the user needs to play back the surveillance video. The surveillance video acquisition module 420 is used to acquire at least one target surveillance video segment corresponding to the target date and the target shooting time period corresponding to each target surveillance video segment from a preset surveillance video database according to the target date; the surveillance video database includes at least one date and at least one surveillance video segment corresponding to each date, and each surveillance video segment carries its own shooting time period. The playback axis adjustment and display module 430 is used to remove time periods other than the target shooting time period from the preset time axis according to the target shooting time period corresponding to each target monitoring video segment, to obtain and display the first playback time axis; the first time granularity displayed by the first playback time axis is the same as the time granularity displayed by the preset time axis, and the length of the first playback time axis is less than the length of the preset time axis.

[0085] In some embodiments, the above-described apparatus further includes: The operation acquisition module is used to acquire the user's target adjustment operation on the first playback timeline; the target adjustment operation includes the operation of adjusting the first time granularity displayed on the first playback timeline; The timeline adjustment module is used to adjust the first time granularity displayed on the first playback timeline in response to the target adjustment operation, and to determine and display the second playback timeline; the time granularity displayed on the second playback timeline is the second time granularity that needs to be adjusted in the target adjustment operation, and there are corresponding monitoring video segments in each time interval displayed on the second playback timeline.

[0086] Optionally, the above-mentioned timeline adjustment module includes: The time granularity determination unit is used to determine the second time granularity corresponding to the target adjustment operation in a preset correspondence based on the target adjustment operation; the correspondence includes a variety of different adjustment operations and the time granularity corresponding to each adjustment operation. The timeline preliminary adjustment unit is used to adjust the first playback timeline according to the second time granularity to determine the candidate timeline; the candidate timeline includes multiple time intervals, and the length of each time interval is the same as the second time granularity. The time period matching unit is used to match the target shooting time period corresponding to each target monitoring video segment with the time range corresponding to each time interval, and determine the candidate time interval that matches the target shooting time period in each time interval. The timeline adjustment unit is used to eliminate the remaining time intervals other than the candidate time intervals from multiple time intervals of the candidate timeline to determine the second playback timeline.

[0087] Optionally, the aforementioned time period matching unit is specifically used to divide or expand the target shooting time period of each target monitoring video segment according to the second time granularity and the time range corresponding to each time interval, to determine at least one monitoring video sub-segment corresponding to each target monitoring video segment and the time period corresponding to each monitoring video sub-segment; the length of the time period of each monitoring video sub-segment is the same as the second time granularity; the time period of each monitoring video sub-segment is matched with the time range corresponding to each time interval; if the time period of the first monitoring video sub-segment in the monitoring video sub-segment is the same as the time range corresponding to the first time interval in each time interval, then the first time interval is determined as a candidate time interval.

[0088] Optionally, the above adjustment operation corresponds to a scaling position or sliding length, and the above correspondence includes a first correspondence or a second correspondence. The above time granularity determination unit is specifically used to determine the target scaling position or target sliding length corresponding to the target adjustment operation based on the target adjustment operation. Input the target scaling position into the first correspondence to determine the second time granularity corresponding to the target scaling position; the first correspondence includes different scaling positions and the time granularity corresponding to each scaling position; or, input the target sliding length into the second correspondence to determine the second time granularity corresponding to the target sliding length; the second correspondence includes different sliding lengths and the time granularity corresponding to each sliding length.

[0089] In some embodiments, the at least one target surveillance video segment includes multiple target surveillance video segments, and the apparatus further includes: The merging module is used to detect whether there are at least two first target monitoring video segments in each target monitoring video segment, based on the target shooting time period of each target monitoring video segment; the target shooting time period of each first target monitoring video segment corresponds to the same time period under the target time granularity; the target time granularity includes the second time granularity; if there are first target monitoring video segments, the target shooting time periods corresponding to each first target monitoring video segment are merged according to the target time granularity to obtain a merged time period; the length of the merged time period is the same as the target time granularity; the second playback timeline is updated according to the merged time period.

[0090] In some embodiments, the playback axis adjustment and display module 430 is specifically used to determine the first time period corresponding to each target monitoring video segment in a preset time axis based on the target shooting time period and the first time granularity corresponding to each target monitoring video segment; the first time period is an integer multiple of the first time granularity; and to remove time periods other than the first time period from the preset time axis to obtain the first playback time axis.

[0091] It should be noted that the apparatus provided in this embodiment of the invention can implement all the method steps implemented in the above method embodiment and can achieve the same technical effect. Therefore, the parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.

[0092] Figure 5 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 5 As shown, the electronic device may include: a processor 510, a communications interface 520, a memory 530, and a communications bus 540, wherein the processor 510, the communications interface 520, and the memory 530 communicate with each other through the communications bus 540. The processor 510 can call logic instructions in the memory 530 to execute a method for displaying a monitoring video playback timeline. This method includes: obtaining a user's video playback request; the video playback request includes a target date for which the user wants to play back the monitoring video; based on the target date, obtaining at least one target monitoring video segment corresponding to the target date and a target shooting time period corresponding to each target monitoring video segment from a preset monitoring video database; the monitoring video database includes at least one date and at least one monitoring video segment corresponding to each date, each monitoring video segment carrying its own shooting time period; based on the target shooting time period corresponding to each target monitoring video segment, removing time periods other than the target shooting time period from a preset timeline to obtain and display a first playback timeline; the first time granularity displayed by the first playback timeline is the same as the time granularity displayed by the preset timeline, and the length of the first playback timeline is less than the length of the preset timeline.

[0093] Furthermore, the logical instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0094] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the monitoring video playback axis display method provided by the above methods. The method includes: obtaining a user's video playback request; the video playback request includes a target date for which the user wants to play back the monitoring video; according to the target date, obtaining at least one target monitoring video segment corresponding to the target date and a target shooting time period corresponding to each target monitoring video segment from a preset monitoring video database; the monitoring video database includes at least one date and at least one monitoring video segment corresponding to each date, and each monitoring video segment carries its own shooting time period; according to the target shooting time period corresponding to each target monitoring video segment, removing time periods other than the target shooting time period from a preset time axis to obtain and display a first playback time axis; the first time granularity displayed by the first playback time axis is the same as the time granularity displayed by the preset time axis, and the length of the first playback time axis is less than the length of the preset time axis.

[0095] In another aspect, the present invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the monitoring video playback axis display method provided by the above methods. The method includes: acquiring a user's video playback request; the video playback request including a target date for which the user wishes to play back the monitoring video; acquiring, based on the target date, at least one target monitoring video segment corresponding to the target date and a target shooting time period corresponding to each target monitoring video segment from a preset monitoring video database; the monitoring video database including at least one date and at least one monitoring video segment corresponding to each date, each monitoring video segment carrying its own shooting time period; based on the target shooting time period corresponding to each target monitoring video segment, removing time periods other than the target shooting time period from a preset time axis to obtain and display a first playback time axis; the first time granularity displayed by the first playback time axis is the same as the time granularity displayed by the preset time axis, and the length of the first playback time axis is less than the length of the preset time axis.

[0096] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0097] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0098] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for displaying the axis of a surveillance video playback, characterized in that, include: Obtain the user's video playback request; the video playback request includes the target date on which the user wishes to play back the surveillance video. Based on the target date, at least one target surveillance video segment corresponding to the target date and a target shooting time period corresponding to each target surveillance video segment are obtained from a preset surveillance video database; the surveillance video database includes at least one date and at least one surveillance video segment corresponding to each date, and each surveillance video segment carries its own shooting time period; Based on the target shooting time period corresponding to each target monitoring video segment, time periods other than the target shooting time period are removed from the preset time axis to obtain and display a first playback time axis; the first time granularity displayed by the first playback time axis is the same as the time granularity displayed by the preset time axis, and the length of the first playback time axis is less than the length of the preset time axis.

2. The method for displaying the axis of surveillance video playback according to claim 1, characterized in that, The method further includes: Obtain the user's target adjustment operation on the first playback timeline; the target adjustment operation includes adjusting the first time granularity displayed on the first playback timeline; In response to the target adjustment operation, the first time granularity displayed on the first playback time axis is adjusted, and a second playback time axis is determined and displayed; the time granularity displayed on the second playback time axis is the second time granularity that needs to be adjusted in the target adjustment operation, and there are corresponding monitoring video segments in each time interval displayed on the second playback time axis.

3. The method for displaying the axis of surveillance video playback according to claim 2, characterized in that, The step of adjusting the first time granularity displayed on the first playback timeline in response to the target adjustment operation, and determining the second playback timeline, includes: Based on the target adjustment operation, a second time granularity corresponding to the target adjustment operation is determined in a preset correspondence; the correspondence includes multiple different adjustment operations and the time granularity corresponding to each adjustment operation; The first playback timeline is adjusted according to the second time granularity to determine a candidate timeline; the candidate timeline includes multiple time intervals, and the length of each time interval is the same as the second time granularity. Match the target shooting time period corresponding to each target monitoring video segment with the time range corresponding to each time interval to determine the candidate time interval that matches the target shooting time period in each time interval; The second playback timeline is determined by eliminating the remaining time intervals other than the candidate time intervals from the multiple time intervals of the candidate timeline.

4. The method for displaying the axis of surveillance video playback according to claim 3, characterized in that, The step of matching the target shooting time period corresponding to each target surveillance video segment with the time range corresponding to each time interval to determine the candidate time interval that matches the target shooting time period in each time interval includes: The target shooting time period of each target monitoring video segment is divided or expanded according to the second time granularity and the time range corresponding to each time interval, and at least one monitoring video sub-segment corresponding to each target monitoring video segment and the division time period corresponding to each monitoring video sub-segment are determined; the length of the division time period of each monitoring video sub-segment is the same as the second time granularity. The time periods of each of the surveillance video sub-segments are matched with the time ranges corresponding to each of the time intervals; If the time period of the first monitoring video segment in the monitoring video segment is the same as the time range corresponding to the first time interval in each of the time intervals, then the first time interval is determined as the candidate time interval.

5. The method for displaying the axis of surveillance video playback according to claim 3, characterized in that, The adjustment operation corresponds to a scaling position or sliding length, and the correspondence includes a first correspondence or a second correspondence. Determining the second time granularity corresponding to the target adjustment operation within a preset correspondence, based on the target adjustment operation, includes: Determine the target scaling position or target sliding length corresponding to the target adjustment operation based on the target adjustment operation; The target scaling position is input into the first correspondence to determine the second time granularity corresponding to the target scaling position; the first correspondence includes different scaling positions and the time granularity corresponding to each scaling position. Alternatively, the target sliding length can be input into the second correspondence to determine the second time granularity corresponding to the target sliding length; the second correspondence includes different sliding lengths and the time granularity corresponding to each sliding length.

6. The method for displaying the axis of surveillance video playback according to claim 2, characterized in that, The at least one target surveillance video segment includes multiple target surveillance video segments, and the method further includes: Based on the target shooting time period of each target surveillance video segment, detect whether there are at least two first target surveillance video segments in each target surveillance video segment; the target shooting time period of each first target surveillance video segment corresponds to the same time period under the target time granularity; the target time granularity includes the second time granularity. If each of the first target monitoring video segments exists, the target shooting time periods corresponding to each of the first target monitoring video segments are merged according to the target time granularity to obtain a merged time period; the length of the merged time period is the same as the target time granularity. The second playback timeline is updated based on the merged time period.

7. The method for displaying the axis of surveillance video playback according to claim 1, characterized in that, The step of obtaining a first playback timeline by removing time periods other than the target shooting time periods from a preset timeline based on the target shooting time period corresponding to each target monitoring video segment includes: Based on the target shooting time period corresponding to each target monitoring video segment and the first time granularity, a first time period corresponding to each target monitoring video segment is determined in the preset time axis; the first time period is an integer multiple of the first time granularity; The first playback timeline is obtained by removing time periods other than the first time period from the preset timeline.

8. A monitoring video playback axis display device, characterized in that, include: The request acquisition module is used to acquire the user's video playback request; the video playback request includes the target date on which the user needs to play back the surveillance video. The surveillance video acquisition module is used to acquire at least one target surveillance video segment corresponding to the target date and a target shooting time period corresponding to each target surveillance video segment from a preset surveillance video database according to the target date; the surveillance video database includes at least one date and at least one surveillance video segment corresponding to each date, and each surveillance video segment carries its own shooting time period; The playback axis adjustment and display module is used to remove time periods other than the target shooting time periods from a preset time axis according to the target shooting time period corresponding to each target monitoring video segment, to obtain and display a first playback time axis; the first time granularity displayed by the first playback time axis is the same as the time granularity displayed by the preset time axis, and the length of the first playback time axis is less than the length of the preset time axis.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the monitoring video playback axis display method as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the monitoring video playback axis display method as described in any one of claims 1 to 7.