Video playing method, event detection method, system, device and electronic equipment

By configuring playback rate and color indicators on the video playback terminal according to the level of abnormal events, the problem of users ignoring details of security monitoring videos is solved, enabling timely processing and detailed confirmation of abnormal events.

CN114650390BActive Publication Date: 2025-10-24SHENZHEN LUMIUNITED TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202011493774.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-17
Publication Date
2025-10-24
Estimated Expiration
2040-12-17

AI Technical Summary

Technical Problem

The existing security surveillance video playback method easily causes users to ignore the details in the video, delaying the timing of handling abnormal events.

Method used

The video playback terminal pre-configures different playback rates according to the level of abnormal events, detects abnormal events through image acquisition devices and abnormality detection devices, sends alarm notifications, displays color identification and adjusts the playback rate to facilitate observation of detailed information.

Benefits of technology

The playback rate and color identification related to event levels improves the user's observation efficiency of abnormal events, provides timely reminders and provides detailed video confirmation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114650390B_ABST
    Figure CN114650390B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a video playing method, an event detection method, a system, a device and an electronic device. A video playing terminal determines a target playing rate according to an event level of an abnormal event based on a playing rate corresponding to different event levels, and plays a target video of the abnormal event at the target playing rate. Since the playing rate is related to the event level of the abnormal event, different playing rates can be provided for videos of abnormal events with different event levels, so that a user can observe detailed information in the videos.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of data processing, in particular to a video playing method, an event detecting method, a system, a device and an electronic device. BACKGROUND

[0002] At present, people mainly check security monitoring videos to confirm whether some abnormal events worth attention occur. However, the current playing mode of the security monitoring videos is easy to cause people to ignore the detailed information in the videos, and further delay the processing time of the abnormal events. SUMMARY

[0003] In a first aspect, an embodiment of the present application provides a video playing method applied to a video playing terminal, wherein the video playing terminal is pre-configured with different playing rates for different event levels, and the method comprises the following steps:

[0004] obtaining a target video of an abnormal event and an event level of the abnormal event;

[0005] determining a target playing rate according to the event level;

[0006] playing the target video according to the target playing rate.

[0007] In a second aspect, an embodiment of the present application provides an event detecting method applied to an image collecting device in communication connection with a video playing terminal and an abnormal detecting device, wherein the abnormal detecting device is used to detect abnormal events, and the abnormal events are pre-configured with event levels, and the method comprises the following steps:

[0008] detecting, by the abnormal detecting device, whether the abnormal events occur;

[0009] if yes, sending an alarm notification to the video playing terminal, wherein the alarm notification carries the event level of the abnormal event.

[0010] In a third aspect, an embodiment of the present application provides an event detecting system, comprising a video playing terminal and an image collecting device, wherein the image collecting device is in communication connection with an abnormal detecting device, the abnormal detecting device is used to detect abnormal events, the video playing terminal is pre-configured with different color labels for different event levels, and different abnormal events are configured with corresponding event levels;

[0011] the image collecting device detects, by the abnormal detecting device, whether the abnormal events occur, and if yes, sends an alarm notification to the video playing terminal, wherein the alarm notification carries the label of the abnormal event;

[0012] The video playing terminal determines an event level corresponding to the abnormal event according to the event identifier in the alarm notification;

[0013] A target color identifier corresponding to the event level is determined;

[0014] The target color identifier is displayed in an event reminding interface.

[0015] In a fourth aspect, an embodiment of the present application provides a video playing device applied to a video playing terminal, wherein the video playing terminal is pre-configured with different playing rates for different event levels, and the video playing device comprises:

[0016] A video obtaining module is configured to obtain a target video of an abnormal event and an event level of the abnormal event;

[0017] A parameter processing module is configured to determine a target playing rate corresponding to the event level;

[0018] A video playing module is configured to play the target video according to the target playing rate.

[0019] In a fifth aspect, an embodiment of the present application provides an electronic device, which comprises a processor and a memory, wherein the memory stores computer executable instructions, and the computer executable instructions are executed by the processor to implement the video playing method or the event detection method.

[0020] In a sixth aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor to implement the video playing method or the event detection method.

[0021] Compared with the prior art, the present application has the following beneficial effects:

[0022] The embodiments of the present application provide a video playing method, an event detection method, a system, a device and an electronic device, wherein a video playing terminal determines a target playing rate according to an event level of an abnormal event based on a playing rate corresponding to different event levels, and plays a target video of the abnormal event at the target playing rate. Since the playing rate is related to the event level of the abnormal event, different playing rates can be provided for the user for the videos of abnormal events of different event levels, so that the user can easily observe the detailed information in the video. BRIEF DESCRIPTION OF DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some of the embodiments of the present application, and therefore should not be regarded as a limitation to the scope, and for those skilled in the art, other related drawings can also be obtained without creative labor under the premise of these drawings.

[0024] Figure 1 One of the step flow schematic diagram of the video playing method provided by the embodiments of the present application;

[0025] Figure 2 The second step flow schematic diagram of the video playing method provided by the embodiments of the present application;

[0026] Figure 3 The schematic diagram of the event reminding interface provided by the embodiments of the present application;

[0027] Figure 4 The third step flow schematic diagram of the video playing method provided by the embodiments of the present application;

[0028] Figure 5 The structural schematic diagram of the electronic device provided by the embodiments of the present application;

[0029] Figure 6 The scene schematic diagram of the time detection system provided by the embodiments of the present application;

[0030] Figure 7 The structural schematic diagram of the video playing device provided by the embodiments of the present application;

[0031] Figure 8 The structural schematic diagram of the event detection device provided by the embodiments of the present application.

[0032] Icon: 100-electronic device; 110-software virtual device; 120-memory; 130-processor; 140-communication unit; 1001-video playing terminal; 1002-image acquisition device; 1003-server; 110A-video playing device; 1101A-video acquisition module; 1102A-parameter processing module; 1103A-video playing module; 110B-event detection device; 1101B-event input module; 1102B-event processing module. DETAILED DESCRIPTION

[0033] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the following will be combined with the accompanying drawings for the embodiments of the present application to make a clear and complete description of the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the accompanying drawings can be arranged and designed in various different configurations.

[0034] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor are within the scope of protection of the present application.

[0035] It should be noted that: similar reference numerals and letters represent similar items in the following drawings, therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.

[0036] In the description of the present application, it should be noted that the terms "first", "second", "third" and the like are only used to distinguish description, and cannot be understood as indicating or implying relative importance.

[0037] In the related art, a user checks security monitoring video to confirm whether there is an abnormal event worthy of attention and needs to be handled. In some processing schemes, only when the user finds that there is an abnormal event that needs to be handled in the video, the user will slow down the playing speed of the video to obtain more detailed information related to the abnormal event.

[0038] However, the above-mentioned manner needs the user to be able to find that there is an abnormal event that needs to be handled in the video, and then further obtain the related detailed information. If the abnormal event in the video occurs quickly and is difficult to be observed by the user, it may be ignored by the user. For example, the abnormal event such as high-altitude falling object, because the object falls at a very fast speed, it appears in the video as a flash, and the user is not easy to find without careful observation.

[0039] In view of this, the embodiments of the present application provide a video playing method applied to a video playing terminal. The video playing terminal determines a corresponding playing rate according to an event level of an abnormal event for a target video of the abnormal event, so as to facilitate observation of detailed information in the target video.

[0040] The video playing terminal can be, but is not limited to, a smart phone, a personal computer (PC), a tablet computer, a personal digital assistant (PDA), a mobile internet device (MID), and the like.

[0041] The video playing terminal is pre-configured with different playing rates for different levels of abnormal events. Please refer to the flowchart of the video playing method shown in Figure 1 The method includes various steps, which will be described in detail below. Figure 1 The method includes various steps, which will be described in detail below.

[0042] In step S130A, the target video of the abnormal event and the event level of the abnormal event are obtained.

[0043] In step S140A, the corresponding target playing rate is determined according to the event level.

[0044] In step S150A, the target video is played according to the target playing rate.

[0045] For the above steps, the above steps will be exemplarily described taking the home security scenario as an example. Obviously, the above embodiments of the present application can also be applied to other monitoring scenarios, and the technical solutions disclosed in the present application do not need to make a creative contribution.

[0046] In the home security scenario, the above abnormal event can be, but is not limited to, access control abnormality, air humidity abnormality, and the like. Based on the emergency level of the event, the event levels corresponding to the access control abnormality, the harmful gas abnormality, and the air humidity abnormality in the above abnormal event can be high, medium, and low. Correspondingly, the playing rates are 0.5 times, 0.8 times, and 1.0 times, respectively. Of course, the above playing rates are only an example provided by the embodiments of the present application, and can be adaptively adjusted according to specific use scenarios or use requirements.

[0047] When the target video obtained by the video playing terminal is the video corresponding to the access control abnormality, since the event level of the access control abnormality is high, the video playing terminal plays at a playing rate of 0.5 times, so that the user can observe the detailed information that can cause the access control abnormality. For example, whether the handle of the security door has been slightly rotated.

[0048] Similarly, when the video playing terminal obtains the target video corresponding to the harmful gas anomaly, the video playing terminal plays the target video at a rate of 0.8 times, so that the user can observe the detailed information of the harmful gas. For example, the harmful gas generated by a line fault, which usually lasts for a very short time and appears as a spark.

[0049] Therefore, based on the video playing method, the video playing terminal determines the target playing rate according to the event level of the abnormal event based on the playing rate corresponding to different event levels, and plays the target video of the abnormal event at the target playing rate. Since the playing rate is related to the event level of the abnormal event, different playing rates can be provided for the user to observe the detailed information in the video for the videos of abnormal events with different event levels.

[0050] In addition, as another possible implementation, since different event levels are preconfigured with different playing rates, and the playing rate is negatively related to the event level, when more videos need to be viewed, the detailed information of high-level videos can be considered, and the user's viewing efficiency of the videos can be improved.

[0051] In the embodiments of the present application, in order to timely remind the user of the occurrence of an abnormal event and the level of the abnormal event, the embodiments of the present application also provide an event reminding interface for displaying a notification message of the occurrence of an abnormal event and the event level of the abnormal event.

[0052] Therefore, the video playing terminal is in communication connection with the image acquisition device, the image acquisition device is used to acquire the monitoring video when the abnormal event occurs, and the video playing terminal is preconfigured with different color identifiers for different event levels of the abnormal event. Based on the color identifiers preconfigured for different event levels, please refer to Figure 2 Before step S130A, the video playing method further includes:

[0053] Step S100A, receiving the alarm notification sent by the image acquisition device.

[0054] The alarm notification carries the event level of the abnormal event.

[0055] The alarm notification indicates that the image acquisition device detects an abnormal event and acquires the target video of the abnormal event. The alarm notification carries the identifier of the abnormal event, which is used to indicate the specific type of the abnormal event.

[0056] It should be understood that the image acquisition device can be detected in different ways for different abnormal events. For abnormal events with obvious image features, image recognition can be used for detection. For example, wind, rain, theft and other abnormal events.

[0057] For the abnormal event without obvious image features, the abnormal event can be detected by the abnormality detection device in communication connection with the image acquisition device. For example, the abnormal events such as the access control abnormality, the air humidity abnormality, and the harmful gas. Correspondingly, the event detection device can be an access control sensor, an air humidity sensor, and a harmful gas sensor.

[0058] Of course, the video playing terminal in the embodiment of the present application can also be provided with an event configuration interface. The event configuration interface displays the event identifier of the candidate abnormal event, wherein the candidate abnormal event is all the abnormal events that can be detected by the image acquisition device. For example, the candidate abnormal event can include the event identifier of the above-mentioned access control abnormality, air humidity abnormality, and harmful gas abnormality.

[0059] The user can select the abnormal event that he or she is interested in through the event configuration interface, so as to configure the image acquisition device. For example, among the above-mentioned access control abnormality, air humidity abnormality, and harmful gas abnormality, if the user only selects the access control abnormality and the air humidity abnormality, the image acquisition device only sends the corresponding alarm notification when it detects the access control abnormality and the air humidity abnormality.

[0060] Step S110A, determining the target color identifier corresponding to the abnormal event according to the event level.

[0061] For example, the color identifier provided by the video playing terminal can be, but is not limited to, red, yellow, pink, and green, a total of 4 colors, and the corresponding event level decreases in turn, that is, the event level represented by red is higher than that represented by pink.

[0062] Step S120A, displaying the target color identifier in the event reminder interface.

[0063] Through the above steps of the video playing method, the video playing terminal displays the corresponding target color identifier in the event reminder interface based on the alarm notification sent by the image acquisition device in communication connection, so as to remind the user of the occurrence of the abnormal event and the level of the abnormal event.

[0064] Further, the target color identifier corresponding to the event level is displayed in the event reminder interface according to the preset arrangement order. The display position of the target color identifier in the event reminder interface represents the occurrence time of the abnormal event. The preset arrangement order is sorted according to the order of event occurrence.

[0065] As a possible implementation, the video playing terminal can be sorted in the order of the time of the abnormal event, that is, the video playing terminal can not only remind the user that the abnormal event has occurred and the level of the abnormal event through the event reminding interface, but also represent the time of the occurrence of the abnormal event through a specific arrangement order.

[0066] Regarding the arrangement of the target color identifier in the event reminding interface, the following exemplary description is made in combination with Figure 3 FIG. 1. Figure 3 As shown in FIG. 1, the event reminding interface displays a time axis. The time axis corresponds to a specific shooting period of the image acquisition device. Of course, the specific shape of the time axis is not limited to the example provided in Figure 3 FIG. 1, and can be other styles of shapes. Based on the technical solutions provided in the embodiments of the present application, the person skilled in the art does not need to make a creative contribution.

[0067] As a possible example, the time axis corresponds to the shooting period of the image acquisition device for a whole day. The video playing terminal splits the time axis into a preset number of segments, which respectively correspond to each period of the day. Similarly, it should be understood that the time axis can also correspond to the shooting period of the image acquisition device for a week or a month, which is not specifically limited in the examples of the present application.

[0068] After obtaining the alarm notification, the video playing terminal determines the display position of the target color identifier on the time axis based on the time information carried in the alarm notification, for displaying the target color identifier.

[0069] Referring again to Figure 3 , and taking the above red, yellow, pink and green as examples, the corresponding event levels are high, higher, medium and low, respectively. Based on the above correspondence between the color identifier and the event level, the video playing terminal determines the corresponding target color identifier according to the event level of the abnormal event, and displays the target color identifier to the corresponding position of the time axis according to the time information in the alarm notification.

[0070] After the user discovers the abnormal event reminding information through the event reminding interface provided by the video playing terminal, the user can obtain the target video at the time of the abnormal event through the event reminding interface, and determine the target playing rate based on the event level of the abnormal event, to play the target video at the target playing rate. In this way, the purpose of facilitating the user to further confirm the specific details of the abnormal event is achieved. Therefore, referring to Figure 4 , the above step S130A specifically includes:

[0071] Step S130A-1, determining the target color identifier in response to the selection operation in the event reminding interface;

[0072] Step S130A-2, according to the display position of the target color mark, determine the target time corresponding to the display position of the target color mark;

[0073] Step S130A-3, according to the target time, obtain the target video, and determine the event level of the abnormal event according to the target color mark.

[0074] For the above steps of the video playing method, the following will be described again in combination with Figure 3 For the above steps of the video playing method, the following will be described again in combination with Figure 3 As shown in the figure, different positions on the time axis display corresponding color marks. Since the display positions of the color marks correspond to the occurrence time of the abnormal event, a more intuitive display effect can be provided. Based on different color marks, users can easily view the abnormal event of interest. When a user selects one of the target color marks, the video playing terminal determines the target time based on the position of the target color mark and obtains the corresponding target video.

[0075] The specific duration of the target video can be set as needed. For example, the duration of the target video can be 10s or 15s. In addition, in the embodiment of the present application, when the image acquisition device intercepts the target video based on the target time, the interception mode is to intercept the video of the preset time period before and after the target time. For example, when the preset time period is 5s, and the time of the abnormal event is 12:20, the video of the time period of 12:15-12:25 is intercepted.

[0076] In addition, the video playing terminal can obtain the target video from multiple video sources. As a possible implementation, the image acquisition device is locally configured with an SD (Secure Digital Memory Card / SD card) card for recording the captured monitoring video. Therefore, the video playing terminal sends a video acquisition request to the image acquisition device, wherein the video acquisition request carries the target time. The image acquisition device intercepts the target video corresponding to the target time from the monitoring video stored in the SD card and sends it to the video playing terminal.

[0077] In this embodiment, the video playing terminal is directly connected in communication with the image acquisition device, and sends a video acquisition request carrying the target time to the image acquisition device. Since the video playing terminal directly obtains the target video from the video acquisition device, it can avoid the privacy leakage risk that may exist when the image acquisition device is stored in a third-party server.

[0078] As another possible implementation, the video playing terminal is in communication connection with the image collecting device through a server. It is considered that, compared with the image collecting device, the professional server is superior to the image collecting device in terms of processing performance or network bandwidth, and can avoid data loss. Therefore, the image collecting device can store the video corresponding to the abnormal event to the server, so as to facilitate the user to access.

[0079] Based on the video of the abnormal event stored by the server, the video playing terminal sends a video acquisition request to the server, wherein the video acquisition request carries a target time; the server indexes the target video corresponding to the target time according to the target time, and sends the target video to the video playing terminal.

[0080] Since the target video is acquired from the server, depending on the processing capability and network bandwidth of the server itself, the video acquisition request can provide faster response speed, and the risk of data loss can be reduced.

[0081] In addition, for the same abnormal event, different users have different degrees of attention, so the video playing terminal provides a level configuration interface; in response to the configuration operation in the level configuration interface, the event level corresponding to different abnormal events is determined.

[0082] Therefore, for different abnormal events, the video playing terminal provides a level configuration function for the user, so that different users can personalize the level of each abnormal event to adapt to the needs of different users.

[0083] For the above steps of the video playing method, the following takes the access control abnormality, air humidity abnormality and air harmful gas abnormality as examples for illustrative description.

[0084] The video playing terminal is configured with a default level for the above-mentioned access control abnormality, air humidity abnormality and air harmful gas abnormality. Specifically, the access control abnormality is a high level, the air harmful gas abnormality is a medium level, and the air humidity abnormality is a low level.

[0085] During the use of the video playing terminal, the user can configure the access control abnormality as a low level, the air harmful gas abnormality as a medium level, and the air humidity abnormality as a high level according to the actual use scene or actual use demand.

[0086] Based on the technical features corresponding to the above-mentioned video playing method, the embodiments of the present application also provide an event detection method applied to an image collecting device. The image collecting device is in communication connection with the above-mentioned video playing terminal and abnormality detection device. The steps of the event detection method are described in detail as follows.

[0087] Step S100B, detecting whether an abnormal event occurs through the abnormality detection device.

[0088] The abnormality detection device can be different types of sensors. For example, access control sensors, air humidity sensors, harmful gas sensors, image sensors, and the like. Of course, the above-mentioned types of sensors are only one possible example provided by the embodiments of the present application, and the types of specific abnormality detection devices are not limited thereto, and users can adaptively adjust according to specific use scenarios or use requirements.

[0089] Since the image acquisition device detects specific abnormal events based on the above-mentioned various types of sensors, and performs corresponding video acquisition at the same time. Therefore, when the image acquisition device detects that an abnormal event has occurred, it can provide the video during the occurrence of the abnormal event.

[0090] Step S110B, if yes, an alarm notification is sent to the video playback terminal.

[0091] The alarm notification carries the identification of the abnormal event.

[0092] In the embodiments of the present application, when the image acquisition device detects an abnormal event through the pre-set abnormality detection device, the identification of the abnormal event is sent to the video playback terminal in the form of an alarm notification. The identification of the abnormal event is used to indicate the video playback terminal to display in the event reminder interface to remind the user that an abnormal event has occurred and the level of the abnormal event. Moreover, compared with the traditional image acquisition device, in the embodiments of the present application, the image acquisition device is communicatively connected with the abnormality detection device, which expands the function of the image acquisition device, so that the image acquisition device is not only limited to image acquisition, but also can be used for detecting abnormal events.

[0093] Moreover, since the image acquisition device acquires the video during the occurrence of the abnormal event, after the user views the alarm notification through the video playback terminal, the user can also obtain the video during the occurrence of the abnormal event for further confirmation.

[0094] For the above-mentioned steps of the event detection method, the abnormal event detected by the harmful gas sensor is exemplarily described as an example. The harmful gas sensor is specifically used for detecting leaked natural gas, and the image acquisition device can acquire the video of the location where the kitchen is located. When the image acquisition device detects that there is natural gas leakage through the harmful gas sensor, the identification of the harmful gas event is sent to the video playback terminal in the form of an alarm notification.

[0095] In view of data security, network bandwidth and other factors, the image acquisition device is connected to the video playing terminal through a server. That is, the server is used to cache the target video when an abnormal event occurs to send an alarm notification. Therefore, when an abnormal event occurs, the image acquisition device needs to intercept the target video of the abnormal event and send it to the server.

[0096] In the embodiment of the present application, considering that a new abnormal event occurs during the interception of the target video, which will cause redundancy of the video. Therefore, when the image acquisition device intercepts the target video corresponding to the first abnormal event, if a second abnormal event is detected, it is judged whether the time interval between the first abnormal event and the second abnormal event is greater than the first time threshold.

[0097] Among them, the first abnormal event and the second abnormal event belong to abnormal events. That is, the first abnormal video and the second abnormal video belong to one of all abnormal events that the image acquisition device can detect.

[0098] If it is greater than the first time threshold, the image acquisition device intercepts the target video corresponding to the first abnormal event and the target video corresponding to the second abnormal event; and sends the target video corresponding to the first abnormal event and the target video corresponding to the second abnormal event to the server.

[0099] Similarly, taking the access control abnormality, air humidity abnormality and other harmful gas abnormalities as examples, wherein the first time threshold is 10s. When the image acquisition device intercepts the target video of the access control abnormality, it detects a harmful gas abnormality. If the time interval between the two abnormal events is small, it will cause the two intercepted videos to contain a large amount of repeated video content, thereby causing redundancy.

[0100] Therefore, the image acquisition device compares the time interval between the two abnormal events with 10s, and if it is greater than 10s, it intercepts two target videos, that is, one target video corresponding to the access control abnormality and one target video corresponding to the harmful gas abnormality.

[0101] In addition, in the embodiment of the present application, the image acquisition device is configured with a key event identifier, and the abnormal event corresponding to the key event identifier is of certain importance to the user. Therefore, in the embodiment of the present application, the electronic device is also configured with a second time threshold.

[0102] That is, in the embodiment of the present application, although the time interval between the first abnormal event and the second abnormal event is not greater than the first time threshold, the second abnormal event is an abnormal event that the user pays great attention to. In order to avoid the lack of details of the abnormal event, as long as the time interval between the first abnormal event and the second abnormal event is greater than the second time threshold, two target videos are also intercepted.

[0103] Therefore, if the time interval is less than or equal to the time threshold, the image acquisition device determines whether the second abnormal event belongs to the abnormal event corresponding to the key event identifier.

[0104] If the second abnormal event belongs to the abnormal event corresponding to the key event identifier, the image acquisition device determines whether the time interval between the first abnormal event and the second abnormal event is greater than a second time threshold.

[0105] If the time interval is greater than the second time threshold, the image acquisition device intercepts a target video corresponding to the first abnormal event and a target video corresponding to the second abnormal event; and transmits the target video corresponding to the first abnormal event and the target video corresponding to the second abnormal event to the server.

[0106] If the time interval is less than or equal to the second time threshold, the electronic device intercepts a target video corresponding to the first abnormal event or a target video corresponding to the second abnormal event; and transmits the target video corresponding to the first abnormal event or the target video corresponding to the second abnormal event to the server.

[0107] For example, the above-mentioned access control abnormality, air humidity abnormality, and harmful gas abnormality are taken as examples, and the harmful gas abnormality belongs to the abnormal event corresponding to the key event identifier, and the second time threshold is 5s.

[0108] If the time interval between the harmful gas abnormality and the access control abnormality is 8s, which is greater than the second time threshold of 5s, the image acquisition device intercepts two target videos, i.e., one target video corresponding to the access control abnormality and one target video corresponding to the harmful gas abnormality.

[0109] Of course, if the time interval between the harmful gas abnormality and the access control abnormality is 3s, since the time interval between the two abnormal events is short, the electronic device intercepts the target video of the harmful gas abnormality or the target video of the access control abnormality.

[0110] Through the above steps of the event detection method, the video collected by the image acquisition device is stored in the server, so that the video playback terminal directly obtains the target video from the server. Since the server can provide better bandwidth and processing performance compared with the video acquisition terminal, the response speed of the video acquisition request can be accelerated.

[0111] Optionally, the embodiment of the present application further provides an electronic device, which can be the image acquisition device or the video playback terminal.

[0112] Please refer to the structure schematic diagram of the electronic device 100 shown in FIG. 1. Figure 5 The electronic device 100 includes a software virtual device 110, a memory 120, a processor 130, and a communication unit 140.

[0113] The memory 120, the processor 130 and the communication unit 140 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the elements can be electrically connected to each other through one or more communication buses or signal lines. The software virtual device 110 includes at least one software function module stored in the memory 120 in the form of software or firmware or solidified in the operating system (OS) of the electronic device 100. The processor 130 is used to execute the executable modules stored in the memory 120, such as the software function modules included in the software virtual device 110 and computer programs.

[0114] When the electronic device 100 is a video playing terminal, the software virtual device 110 is a video playing device. When the computer executable instructions in the video playing device are executed by the processor, the video playing method is realized.

[0115] When the electronic device 100 is an image collecting device, the software virtual device 110 is an event detecting device. When the computer executable instructions in the event detecting device are executed by the processor, the event detecting method is realized.

[0116] The memory 120 can be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read only memory (PROM), an erasable programmable read only memory (EPROM), an electric erasable programmable read only memory (EEPROM) and the like. The memory 120 is used to store programs, and the processor 130 executes the programs after receiving execution instructions. The communication unit 140 is used to transceive data through a network.

[0117] The processor 130 can be an integrated circuit chip with signal processing capability. The processor 130 described above can be a general purpose processor, including a central processing unit (CPU), a network processor (NP), and the like; can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present application can be implemented or executed. The general purpose processor can be a microprocessor or the processor can also be any conventional processor.

[0118] Based on the above-mentioned video playing method and event detection method, the embodiment of the present application further provides an event detection system, as shown in the figure Figure 6 The system includes a video playing terminal 1001 and an image acquisition device 1002, the image acquisition device 1002 is in communication connection with an abnormality detection device, the abnormality detection device is used for detecting abnormal events; the video playing terminal 1001 is pre-configured with different color marks for different event levels, and the identification of different abnormal events is configured with corresponding event levels.

[0119] The image acquisition device 1002 detects whether an abnormal event occurs through the abnormality detection device, if yes, sends an alarm notification to the video playing terminal 1001, wherein the alarm notification carries the identification of the abnormal event.

[0120] The video playing terminal 1001 determines the event level corresponding to the abnormal event according to the event identification in the alarm notification; determines the corresponding target color mark according to the event level; displays the target color mark in the event reminding interface.

[0121] In addition, the event detection system further includes a server 1003; the target color mark is displayed in the event reminding interface according to a preset arrangement order, and the display position of the target color mark in the event reminding interface represents the occurrence time of the abnormal event.

[0122] The image acquisition device 1002 sends the target video of the abnormal event to the server 1003; the video playing terminal 1001 determines the selected target color mark in response to the selection operation in the event reminding interface; determines the corresponding target time according to the display position of the target color mark; sends a video acquisition request to the server 1003, wherein the video acquisition request carries the target time.

[0123] The server 1003 sends the target video of the abnormal event to the image acquisition device 1002 according to the target time.

[0124] Based on the same inventive concept as the video playback method, the embodiment of the present application also provides a video playback device, which is applied to a video playback terminal. The video playback terminal is pre-configured with different playback rates for different levels of videos, wherein different levels of videos correspond to different levels of abnormal events. The video playback device includes at least one functional module that can be stored in the memory 120 in the form of software. Please refer to Figure 7 Functionally, the video playback device 110A may include:

[0125] The video acquisition module 1101A is used to acquire the target video of the abnormal event and the event level of the abnormal event.

[0126] In the embodiment of the present application, the video acquisition module 1101A is used to execute Figure 1 For the detailed description of step S130A in the video acquisition module 1101A, please refer to the detailed description of step S130A.

[0127] The parameter processing module 1102A is used to determine the corresponding target playback rate according to the event level.

[0128] In the embodiment of the present application, the parameter processing module 1102A is used to execute Figure 1 For a detailed description of the parameter processing module 1102A, please refer to the detailed description of step S140A.

[0129] The video playing module 1103A is used to play the target video according to the target playing rate.

[0130] In the embodiment of the present application, the video playback module 1103A is used to execute Figure 1 For step S150A in the video playback module 1103A, please refer to the detailed description of step S150A.

[0131] Based on the same inventive concept as the event detection method, the embodiment of the present application also provides an event detection device, which is applied to an image acquisition device that is communicatively connected to a video playback terminal and multiple abnormality detection devices, wherein the multiple abnormality detection devices are respectively used to detect abnormal events of different levels. The event detection device includes at least one functional module that can be stored in the memory 120 in the form of software. Please refer to Figure 8 Functionally, the event detection device 110B may include:

[0132] The event input module 1101B is used to detect whether an abnormal event occurs through an abnormality detection device.

[0133] In the embodiment of the present application, the event input module 1101B is used for step S100B, and the detailed description of the event input module 1101B can refer to the detailed description of step S100B.

[0134] The event processing module 1102B is configured to send an alarm notification to the video playback terminal if yes, wherein the alarm notification carries the identification of the abnormal event.

[0135] In the embodiment of the present application, the event processing module 1102B is used for step S110B, and the detailed description of the event processing module 1102B can refer to the detailed description of step S110B.

[0136] The embodiment of the present application also provides a storage medium, if the storage medium stores a computer program as the video method device, and the computer program is executed by the processor 130, the video playback method is realized. Correspondingly, if the storage medium stores a computer program as the event detection device 110B, and the computer program is executed by the processor 130, the event detection method is realized.

[0137] In summary, the embodiment of the present application provides a video playback method, an event detection method, a system, a device, an electronic equipment and a storage medium, the video playback terminal determines the target playback rate according to the event level of the abnormal event based on the playback rate corresponding to different event levels, and plays the target video of the abnormal event at the target playback rate. Since the playback rate is related to the event level of the abnormal event, different playback rates can be provided for users according to the video of abnormal events with different event levels, so that the user can observe the detailed information in the video.

[0138] In the embodiments of the present application, it should be understood that the disclosed apparatus and method can also be implemented in other manners. The embodiments described above are merely exemplary. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architectures, functions and operation of the apparatus, method and computer program product according to the embodiments of the present application. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment or a part of code, which contains one or more executable instructions for implementing the specified logic function. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in a different order than that noted in the accompanying drawings. For example, two consecutive blocks can actually be executed in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and the combination of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0139] In addition, the functional modules in the various embodiments of the present application can be integrated together to form a separate part, or each module can exist independently, or two or more modules can be integrated to form a separate part.

[0140] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0141] It is to be noted that, as used in this document, the term "indicia" is intended to cover any and all indications of the presence of a substance, including but not limited to visible indications, such as color, and invisible indications, such as a change in the refractive index of a material. It is to be understood that the phraseology or terminology employed herein, such as "first" and "second", etc., are for the purpose of differentiating one entity or operation from another entity or operation only and is not intended to require or imply that there is any such actual relationship or order between or among these entities or operations. Also, the use of the term "including" or "comprising" or any other variant thereof is intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises a... " does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0142] The above description is only various embodiments of the present application, and the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, and all such changes or replacements should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A video playing method, characterized in that, The method is applied to a video playing terminal, wherein the video playing terminal is pre-configured with different playing speeds and different color identifiers for different event levels, and the method comprises the following steps: In response to a selection operation in an event reminding interface, a target color identifier is determined, wherein the event reminding interface displays a time axis, and different positions on the time axis display corresponding color identifiers, and the display positions of the color identifiers correspond to the occurrence time of an abnormal event; According to the display position of the target color identifier, a target time corresponding to the display position of the target color identifier is determined; According to the target time, a target video captured from a monitoring video by an image capturing device and an event level corresponding to the target color identifier are acquired, wherein the image capturing device is configured with a key event identifier for the abnormal event, and when the image capturing device captures a video corresponding to a first abnormal event in the abnormal event, if a second abnormal event in the abnormal event is detected, it is determined whether the time interval between the first abnormal event and the second abnormal event is greater than a second time threshold under the condition that the second abnormal event belongs to an abnormal event corresponding to the key event identifier; If greater than the second time threshold, the video corresponding to the first abnormal event and the video corresponding to the second abnormal event are captured and sent; If less than or equal to the second time threshold, the video corresponding to the first abnormal event or the video corresponding to the second abnormal event is captured and sent; According to the event level corresponding to the target color identifier, a corresponding target playing speed is determined; According to the target playing speed, the target video is played.

2. The video playback method of claim 1, wherein, The video playing terminal is in communication connection with the image capturing device; before the target color identifier is determined in response to the selection operation in the event reminding interface, the method further comprises the following steps: An alarm notification sent by the image capturing device is received, and the alarm notification carries the identifier of the abnormal event; According to the identifier of the abnormal event, the event level of the abnormal event is determined; According to the event level, a corresponding target color identifier is determined; The target color identifier is displayed in the event reminding interface.

3. The video playback method of claim 1, wherein, The method further comprises the following steps: A level configuration interface is provided; In response to a configuration operation in the level configuration interface, the event level corresponding to different abnormal events is determined.

4. An event detection method characterized by, The method is applied to an image capturing device in communication connection with a video playing terminal and an abnormal event detection device, wherein the image capturing device is configured with a key event identifier, the abnormal event detection device is used to detect an abnormal event, the video playing terminal is pre-configured with different color identifiers for different event levels, and the method comprises the following steps: It is detected by the abnormal event detection device whether the abnormal event occurs; If yes, an alarm notification is sent to the video playing terminal, wherein the alarm notification carries the identifier and time information of the abnormal event; and the identifier of the abnormal event is used to indicate the specific type of the abnormal event. The alarm notification is used to instruct the video playing terminal to display a target color mark corresponding to an event level of the specific type to a position corresponding to a time axis in an event reminding interface according to the time point information; the video playing terminal acquires and plays a target video intercepted from a monitoring video by the image collecting device in response to a selection operation in the event reminding interface; When the image collecting device intercepts a target video corresponding to a first abnormal event in the abnormal events, if a second abnormal event in the abnormal events is detected, in a case where the second abnormal event belongs to an abnormal event corresponding to the key event mark, it is judged whether a time interval between the first abnormal event and the second abnormal event is greater than a second time threshold; If greater than the second time threshold, the target video corresponding to the first abnormal event and the target video corresponding to the second abnormal event are intercepted and sent; If less than or equal to the second time threshold, the target video corresponding to the first abnormal event or the target video corresponding to the second abnormal event is intercepted and sent.

5. The event detection method of claim 4, wherein, The image collecting device is in communication connection with the video playing terminal through a server, the server is used to buffer the alarm notification and the target video of the abnormal event, and the method further comprises: It is judged whether a time interval between the first abnormal event and the second abnormal event is greater than a first time threshold; If greater than the first time threshold, the target video corresponding to the first abnormal event and the target video corresponding to the second abnormal event are intercepted; The target video corresponding to the first abnormal event and the target video corresponding to the second abnormal event are sent to the server.

6. The event detection method of claim 5, wherein, The method further comprises: If less than or equal to the first time threshold, it is judged whether the second abnormal event belongs to an abnormal event corresponding to the key event mark; If belonging to the abnormal event corresponding to the key event mark, the step of judging whether the time interval between the first abnormal event and the second abnormal event is greater than a second time threshold is executed; In a case where greater than the second time threshold, the target video corresponding to the first abnormal event and the target video corresponding to the second abnormal event are sent to the server; In a case where less than or equal to the second time threshold, the target video corresponding to the first abnormal event or the target video corresponding to the second abnormal event is sent to the server.

7. An event detection system characterized by, The event detection system comprises a video playing terminal and an image collecting device, the image collecting device is in communication connection with an abnormality detecting device, the image collecting device is configured with a key event mark, the image collecting device is in communication connection with the video playing terminal, and the abnormality detecting device is used to detect abnormal events; the video playing terminal is pre-configured with different color marks for different event levels, and is configured with corresponding event levels for different abnormal event marks; The image acquisition device detects whether the abnormal event occurs through the constant detection device, and if yes, sends an alarm notification to the video playing terminal, wherein the alarm notification carries the identification of the abnormal event; When the image acquisition device intercepts the target video corresponding to a first abnormal event in the abnormal event, if a second abnormal event in the abnormal event is detected, it is determined whether the time interval between the first abnormal event and the second abnormal event is greater than a second time threshold if the second abnormal event belongs to the abnormal event corresponding to the key event identification; If greater than the second time threshold, the target video corresponding to the first abnormal event and the target video corresponding to the second abnormal event are intercepted and sent; If less than or equal to the second time threshold, the target video corresponding to the first abnormal event or the target video corresponding to the second abnormal event is intercepted and sent; The video playing terminal determines the event level corresponding to the abnormal event according to the event identification in the alarm notification; According to the event level, the target color identification is determined; The target color identification is displayed in the timeline of the event reminder interface; The video playing terminal determines the target color identification in response to the selection operation in the event reminder interface, wherein the event reminder interface displays a timeline, and different positions on the timeline display corresponding color identifications, and the display position of the color identification corresponds to the occurrence time of the abnormal event; According to the display position of the target color identification, the target time corresponding to the display position of the target color identification is determined; According to the target time, the target video intercepted from the monitoring video by the image acquisition device is obtained and played.

8. A video playback device, comprising: Applied to a video playing terminal, the video playing terminal is pre-configured with different playing rates and different color identifications for different event levels, and the video playing device comprises: A video acquisition module for determining a target color identification in response to a selection operation in an event reminder interface, wherein the event reminder interface displays a timeline, and different positions on the timeline display corresponding color identifications, and the display position of the color identification corresponds to the occurrence time of the abnormal event; According to the display position of the target color identification, the target time corresponding to the display position of the target color identification is determined; According to the target time, the target video intercepted from the monitoring video by the image acquisition device and the event level corresponding to the target color identification are obtained; wherein the image acquisition device is configured with a key event identification for the abnormal event, and when the image acquisition device intercepts the target video corresponding to a first abnormal event in the abnormal event, if a second abnormal event in the abnormal event is detected, it is determined whether the time interval between the first abnormal event and the second abnormal event is greater than a second time threshold if the second abnormal event belongs to the abnormal event corresponding to the key event identification; If greater than the second time length threshold, the target video corresponding to the first abnormal event and the target video corresponding to the second abnormal event are intercepted and sent; If less than or equal to the second time length threshold, the target video corresponding to the first abnormal event or the target video corresponding to the second abnormal event is intercepted and sent; The parameter processing module is configured to determine a target play rate according to an event level corresponding to the target color identification; The video playing module is configured to play the target video according to the target play rate.

9. An electronic device, comprising: The electronic device includes a processor and a memory, and the memory stores computer executable instructions. When the computer executable instructions are executed by the processor, the video playing method of any one of claims 1-3 or the event detection method of any one of claims 4-6 is implemented.

10. A storage medium, characterized by The storage medium stores a computer program. When the computer program is executed by the processor, the video playing method of any one of claims 1-3 or the event detection method of any one of claims 4-6 is implemented.

Citation Information

Patent Citations

  • Method and system for quickly querying supervision video through multiple color time shaft

    CN104573037A

  • Method for quick history playback and event locking of network video recording

    CN104702897A

  • Time axis-based data display method and device

    CN111274514A

  • Alarm level determination method and device, electronic equipment and storage medium

    CN111915857A

  • Video transmission server

    CN202210841U