A comprehensive security monitoring video platform based on large models
Through a comprehensive security surveillance video platform based on large models, abnormal behaviors and key figures are identified, and large language models and clustering algorithms are used to optimize the sorting of video clips, solving the problem of low viewing efficiency of security surveillance videos and achieving more efficient video clips. View sequence improves security response capabilities.
Patent Information
- Application Number
- CN202410993110.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-24
AI Technical Summary
In areas with complex human flow, the viewing efficiency of security surveillance videos is low. Especially when unexpected situations occur or warnings occur, a large number of video clips need to be manually viewed, resulting in low efficiency.
A comprehensive security surveillance video platform based on large models is used to identify abnormal behaviors through monitoring equipment, mark key figures, input video clips into the large language model, obtain behavioral feature vectors and interactive information, perform clustering and prioritization, and optimize the video clips. View order.
It improves the video viewing efficiency of target personnel in comprehensive security, allowing them to see high-priority key surveillance video clips first, improving the response speed to emergencies.
Smart Images

Figure CN118537807B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of security, and in particular to a comprehensive security monitoring video platform based on a large model. Background Art
[0002] For areas with complex flow of people, security monitoring will be implemented to maintain public order, protect the safety of personnel and property, and better manage and respond to emergencies. Security monitoring is a comprehensive security protection measure that uses video surveillance systems, intrusion alarm systems, access control management systems, parking management systems, patrol management systems, emergency communication systems and other methods to jointly carry out security. With the development of science and technology, modern security monitoring is increasingly inclined to intelligence and networking, using cloud computing, big data analysis, etc. to achieve remote monitoring, intelligent early warning, etc.
[0003] However, it is inevitable that when an accident occurs or an early warning of an accident appears, it is inevitable to manually review the relevant videos of the accident. The relevant videos may include the potential occurrence stage, the ongoing stage, the ongoing stage, etc. of the accident. There may be a large number of relevant videos, and manual review according to the time of the relevant videos is inefficient. Summary of the invention
[0004] In view of the above technical problems, the technical solution adopted by the present invention is: a comprehensive security monitoring video platform based on a large model, the platform includes a processor and a memory for executing a computer program, the platform is also provided with a large language model, and is connected to a plurality of monitoring devices, wherein the monitoring devices are mounted with a plurality of preset abnormal behavior recognition algorithms;
[0005] When the processor executes the computer program, the following steps are performed:
[0006] S100, obtaining the type of abnormal behavior identified by the monitoring device, and marking the person who has performed the abnormal behavior as a key person;
[0007] S200, obtaining a list of key surveillance video clips A={A1, A2, ..., A i , …, A m}, A i is the i-th key surveillance video clip, i ranges from 1 to m, and m is the number of key surveillance video clips;
[0008] S300, change A1 to A m Input the large language model and obtain the behavior feature vector list B={B1, B2, …, B i , …, B m} and the interactive information list set D = {D1, D2, ..., D i, …, D m}, the i-th behavior feature vector B i Yes i The vector describing the behavior of key figures in the ith interactive information list D i Yes A i Several interactive messages between key characters and other characters;
[0009] S400, for B1 to B m Perform clustering and obtain the cluster list C={C1, C2, …, C j , …, C n}, C j is the jth cluster, the value of j ranges from 1 to n, and n is the number of clusters;
[0010] S500, based on B i The number of behavioral feature vectors contained in the clusters where it is located determines B i The first priority score FB i , where B i The fewer the number of behavioral feature vectors contained in the cluster, the i The higher the corresponding first priority score;
[0011] S600, based on D i Determine B i The second priority score SB i , where A i The more difficult it is to identify the key characters when they interact with other characters, the more difficult it is to identify the key characters when they interact with other characters. i The higher the second priority score is;
[0012] S700, FB based i and SB i , get the final priority score LB i , and based on LB i , sort the key surveillance video clips so that the target personnel can be comprehensively protected based on the order of the sorted key surveillance video clips.
[0013] The present invention has at least the following beneficial effects:
[0014] In summary, the type of abnormal behavior recognized by the monitoring device is obtained, and the person who performs the abnormal behavior is marked as a key person, a list of key monitoring video clips in which the key person appears in the monitoring device is obtained, the key monitoring video clips are input into a large language model, a list of behavior feature vectors and a set of interactive information lists are obtained, the behavior feature vectors are clustered, and a list of cluster clusters is obtained, a first priority score is determined based on the number of behavior feature vectors contained in the cluster clusters where the key monitoring video clips are located, a second priority score is determined based on the interactive information, a final priority score is obtained based on the first priority score and the second priority score, and the key monitoring video clips are sorted based on the final priority score so that the target personnel can be comprehensively protected based on the order of the sorted key monitoring video clips. The present invention sorts the key video clips by behavior characteristics and interactive information so that the target personnel can preferentially see the key monitoring video clips with high final priority scores, thereby improving viewing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0016] Figure 1 A flowchart of a large-model-based integrated security monitoring video platform executing a computer program provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0018] An embodiment of the present invention provides a comprehensive security monitoring video platform based on a large model, wherein the platform includes a processor and a memory for executing a computer program. The platform is also provided with a large language model and is connected to a plurality of monitoring devices, wherein the monitoring devices are mounted with a plurality of preset abnormal behavior recognition algorithms.
[0019] Specifically, the preset abnormal behavior recognition algorithm is an algorithm for recognizing abnormal behaviors, such as theft, abnormal gathering, destruction of public facilities, abnormal detention, etc. The monitoring equipment includes but is not limited to cameras and lenses.
[0020] When the processor executes the computer program, the following steps are performed:
[0021] S100, obtaining the type of abnormal behavior identified by the monitoring device, and marking the person who performs the abnormal behavior as a key person.
[0022] Specifically, S100 also includes: when the monitoring device identifies abnormal behavior, issuing a warning message, the form of the warning message includes but is not limited to issuing an alarm. It can be understood that when the monitoring device identifies abnormal behavior, the processor executes the computer program to execute S100 and subsequent steps.
[0023] S200, obtaining a list of key surveillance video clips A={A1, A2, ..., A i , …, A m}, A i is the i-th key surveillance video clip, the value range of i is 1 to m, and m is the number of key surveillance video clips.
[0024] Specifically, the key monitoring video clip is: the video clip of the key person appearing on the monitoring device during the action; further, the key monitoring video clip is the video clip of the key person appearing on the monitoring device between the start time point and the end time point of the action, wherein the end time point of the action is: the time point when the monitoring device identifies the abnormal behavior; the start time point of the action is: the time point of a preset time period forward from the time point when the monitoring device identifies the abnormal behavior; the preset time period can be set by regional personnel according to actual needs.
[0025] S300, change A1 to A m Input the large language model and obtain the behavior feature vector list B={B1, B2, …, B i , …, B m} and the interactive information list set D = {D1, D2, ..., D i , …, D m}, the i-th behavior feature vector B i Yes i The vector describing the behavior of key figures in the ith interactive information list D i Yes A i Several interactive messages between key characters and other characters.
[0026] S400, for B1 to B m Perform clustering and obtain the cluster list C={C1, C2, …, C j , …, C n}, C j is the jth cluster, j ranges from 1 to n, and n is the number of clusters.
[0027] Specifically, use the clustering algorithm to classify B1 to B m Clustering is performed, and the clustering algorithm is a clustering algorithm that does not set the number of clusters. In one embodiment of the present invention, S400 uses the DBSCAN clustering algorithm to cluster B1 to B m Perform clustering.
[0028] S500, based on B i The number of behavioral feature vectors contained in the clusters where it is located determines B i The first priority score FB i , where B i The fewer the number of behavioral feature vectors contained in the cluster, the i The higher the first priority score, the higher the corresponding score. It can be understood that most of the key personnel's behaviors in the monitoring equipment are normal behaviors, and the remaining behaviors are abnormal behaviors or behaviors related to abnormal behaviors. Therefore, B i The fewer the number of behavior feature vectors contained in the cluster, the higher the first priority score corresponding to Bi is set.
[0029] S600, based on D i Determine B i The second priority score SB i , where A i The more difficult it is to identify the key characters when they interact with other characters, the more difficult it is to identify the key characters when they interact with other characters. i It can be understood that the higher the secrecy of the key person's interaction with other people, the higher the possibility that the key person's interaction is an abnormal interaction. Therefore, the higher the second priority score of Bi is set, the more people can see the key surveillance video clip first.
[0030] S700, FB based i and SB i , get the final priority score LB i , and based on LB i , sort the key surveillance video clips so that the target personnel can be comprehensively protected based on the order of the sorted key surveillance video clips.
[0031] Specifically, S700 also includes: LB i =x×FB i +y×SB i , where x is the first weight parameter and y is the second weight parameter.
[0032] In one embodiment of the present invention, x=1 / 2, y=1 / 2.
[0033] In summary, the type of abnormal behavior recognized by the monitoring device is obtained, and the person who performs the abnormal behavior is marked as a key person, a list of key monitoring video clips in which the key person appears in the monitoring device is obtained, the key monitoring video clips are input into a large language model, a list of behavior feature vectors and a set of interactive information lists are obtained, the behavior feature vectors are clustered, and a list of cluster clusters is obtained, a first priority score is determined based on the number of behavior feature vectors contained in the cluster clusters where the key monitoring video clips are located, a second priority score is determined based on the interactive information, a final priority score is obtained based on the first priority score and the second priority score, and the key monitoring video clips are sorted based on the final priority score so that the target personnel can be comprehensively protected based on the order of the sorted key monitoring video clips. The present invention sorts the key video clips by behavior characteristics and interactive information so that the target personnel can preferentially see the key monitoring video clips with high final priority scores, thereby improving viewing efficiency.
[0034] Specifically, S300 also includes:
[0035] S310, A1 to A m A large language model is input, and a first extraction instruction and a second extraction instruction are sent to the large language model, wherein the first extraction instruction is an instruction for describing behavior information of key characters, and the second instruction is an instruction for describing interaction information of key characters.
[0036] In an exemplary description of the present invention, the first extraction instruction is: output the behavior of the key character in each video; the second extraction instruction is: output the interaction information between the key character and other characters in each video.
[0037] S320, obtaining an interactive information list D={D1, D2, ..., D i , …, D m}.
[0038] S330, obtaining a list of behavior description information E={E1, E2, ..., E i ,…,E m}, E i Yes A i Corresponding behavior description information. In an exemplary description of the present invention, the behavior description information E i For: The key person walked to the electronics area and observed the latest smartphones and tablets on display. He picked up a phone and slid his fingers lightly across the smooth screen.
[0039] S340, E i Vectorized acquisition of B i, thereby obtaining the behavior feature vector list B={B1, B2, …, B i , …, B m}.
[0040] Specifically, those skilled in the art know that any method for vectorizing text in the prior art falls within the protection scope of the present invention and will not be described in detail here.
[0041] Specifically, in S300, the interactive information list D i =(D i,1 , D i,2 , …, D i,r , …, D i,si ), D i,r =(D i,r1 , D i,r2 ), D i,r1 is the preset interaction type to which the rth interaction belongs, D i,r2 is the actual action of the rth interaction, the value range of r is 1 to si, si is A i The number of interactions that the key characters have with other characters.
[0042] The actual action is a preset action in the preset action list, and the preset action list K={K1, K2, ..., K g , …, K z}, K g is the g-th preset action, the value range of g is 1 to z, and z is the number of preset actions.
[0043] Specifically, the preset interaction types include at least: language interaction, physical contact interaction, and physical non-contact interaction. i =(D i,1 , D i,2 ), D i,1 = (language interaction, such as language 1), D i,2 = (physical contact interaction, such as physical contact 1).
[0044] Specifically, when si=1, the first priority score corresponding to the language interaction is smaller than the first priority score corresponding to the physical contact interaction, and the first priority score corresponding to the physical contact interaction is smaller than the first priority score corresponding to the physical non-contact interaction.
[0045] Furthermore, S600 also includes:
[0046] S610, obtaining a preset action combination list set AK and a preset action score list BK corresponding to AK, wherein the preset action combination list set AK={AK1, AK2, ..., AK t , …, AKq}, preset action score list BK = {BK1, BK2, ..., BK t , …, BK q}, A.K. t is the tth preset action combination list, BK t It's AK t The corresponding preset action score, t, ranges from 1 to q, where q is the number of preset action combination lists.
[0047] In one embodiment of the present invention, q=2 z .
[0048] S620, based on the interaction information list D i , get D i The corresponding preset action score, and D i The corresponding preset action score is taken as B i The second priority score.
[0049] Specifically, a key person makes multiple interactions in a key video clip, and the confidentiality of the combination of multiple interactions may be higher or lower than the confidentiality of a single interaction. Therefore, the present invention uses AK and BK mapping to determine the second priority score.
[0050] In one embodiment of the present invention, S500 further includes the following steps:
[0051] S510, obtaining cluster C j The number of behavioral feature vectors included F j , and based on the quantity list F={F1, F2, …, F j , …, F n} j Perform normalization processing to obtain the normalized quantity H j .
[0052] Specifically, those skilled in the art know that any normalization method in the prior art belongs to the protection scope of the present invention and will not be described in detail here.
[0053] S520, obtaining the cluster quantity score G j , where G j Meet the following conditions: G j =1 / H j .
[0054] S530, B i The cluster number score of the cluster is used as FB i .
[0055] In summary, the present invention will B iThe inverse ratio of the number of behavioral feature vectors of the clustering cluster is used as the second priority score. i The fewer the number of behavioral feature vectors contained in the cluster, the i The corresponding first priority score is higher.
[0056] Although some specific embodiments of the present invention have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It will also be appreciated by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention. The scope of the present invention is defined by the appended claims.
[0057] According to one aspect of the present application, a data processing device is provided, including a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory, so that the encoder executes the method of the above method embodiment.
[0058] According to one aspect of the present application, a computer storage medium is provided, on which a computer program is stored, and when the computer program is executed by a computer, the computer can perform the method of the above method embodiment. In other words, the present application embodiment also provides a computer program product containing instructions, and when the instructions are executed by a computer, the computer can perform the method of the above method embodiment.
[0059] According to another aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method of the above method embodiment.
[0060] In other words, when implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a solid state drive (solid state disk, SSD)), etc.
[0061] It should be understood that in the embodiment of the present application, "B corresponding to A" means that B is associated with A. In one implementation, B can be determined based on A. However, it should also be understood that determining B based on A does not mean determining B based only on A, and B can also be determined based on A and / or other information.
[0062] In the description of the present application, unless otherwise specified, "at least one" means one or more, and "plurality" means two or more than two. In addition, "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0063] It should also be understood that the first, second, etc. descriptions appearing in the embodiments of the present application are only used for illustration and distinction of the description objects, without any distinction of order, nor do they indicate any special limitation on the number of devices in the embodiments of the present application, and cannot constitute any limitation on the embodiments of the present application.
[0064] It should also be understood that the specific features, structures or characteristics related to the embodiments in the specification are included in at least one embodiment of the present application. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.
[0065] In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such process, method, product, or device.
[0066] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0067] In the several embodiments provided in the present application, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the module is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0068] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. For example, each functional module in each embodiment of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0069] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A comprehensive security monitoring video platform based on a large model, characterized in that: The platform includes a processor and a memory for executing a computer program. The platform is also provided with a large language model and is connected to a plurality of monitoring devices, wherein the monitoring devices are mounted with a plurality of preset abnormal behavior recognition algorithms; When the processor executes the computer program, the following steps are performed: S100, obtaining the type of abnormal behavior identified by the monitoring device, and marking the person who has performed the abnormal behavior as a key person; S200, obtaining a list of key surveillance video clips A={A1, A2, ..., A i , …, A m }, A i is the i-th key surveillance video clip, i ranges from 1 to m, and m is the number of key surveillance video clips; S300, change A1 to A m Input the large language model and obtain the behavior feature vector list B={B1, B2, …, B i , …, B m } and the interactive information list set D = {D1, D2, ..., D i , …, D m }, the i-th behavior feature vector B i Yes i The vector describing the behavior of key figures in the ith interactive information list D i Yes A i Several interactive messages between key characters and other characters; S400, for B1 to B m Perform clustering and obtain the cluster list C={C1, C2, …, C j , …, C n }, C j is the jth cluster, the value of j ranges from 1 to n, and n is the number of clusters; S500, based on B i The number of behavioral feature vectors contained in the clusters where it is located determines B i The first priority score FB i , where B i The fewer the number of behavioral feature vectors contained in the cluster, the i The higher the corresponding first priority score; S600, based on D i Determine B i The second priority score SB i , where A i The more difficult it is to identify the key characters when they interact with other characters, the more difficult it is to identify the key characters when they interact with other characters. i The higher the second priority score is; S700, FB based i and SB i , get the final priority score LB i , and based on LB i , sort the key surveillance video clips so that the target personnel can be comprehensively protected based on the order of the sorted key surveillance video clips.
2. The large model-based integrated security monitoring video platform according to claim 1 is characterized in that: The S300 also includes: S310, A1 to A m Input a large language model, and send a first extraction instruction and a second extraction instruction to the large language model, wherein the first extraction instruction is an instruction for describing behavior information of a key person, and the second instruction is an instruction for describing interaction information of the key person; S320, obtaining an interactive information list D={D1, D2, ..., D i , …, D m }; S330, obtaining a list of behavior description information E={E1, E2, ..., E i ,…,E m }, E i Yes A i Corresponding behavior description information; S340, E i Vectorized acquisition of B i , thereby obtaining the behavior feature vector list B={B1, B2, …, B i , …, B m }.
3. The large model-based integrated security monitoring video platform according to claim 1 is characterized in that: In S300, the interactive information list D i =(D i,1 , D i,2 , …, D i,r , …, D i,si ); D i,r =(D i,r1 , D i,r2 ), D i,r1 is the preset interaction type to which the rth interaction belongs, D i,r2 is the actual action of the rth interaction, the value range of r is 1 to si, si is A i The number of interactions between key characters and other characters in the game, The actual action is a preset action in the preset action list, and the preset action list K={K1, K2, ..., K g , …, K z }, K g is the g-th preset action, the value range of g is 1 to z, and z is the number of preset actions.
4. The large model-based integrated security monitoring video platform according to claim 3 is characterized in that: The S600 also includes: S610, obtaining a preset action combination list set AK and a preset action score list BK corresponding to AK, wherein the preset action combination list set AK={AK1, AK2, ..., AK t , …, AK q }, preset action score list BK={BK1, BK2,…, BK t , …, BK q }, A.K. t is the tth preset action combination list, BK t It's AK t The corresponding preset action score, t, ranges from 1 to q, where q is the number of preset action combination lists; S620, based on the interaction information list D i , get D i The corresponding preset action score, and D i The corresponding preset action score is taken as B i The second priority score.
5. The large model-based integrated security monitoring video platform according to claim 3 is characterized in that: The preset interaction types include at least: language interaction, physical contact interaction, and physical non-contact interaction.
6. The large model-based integrated security monitoring video platform according to claim 5 is characterized in that: When si=1, the first priority score corresponding to language interaction is smaller than the first priority score corresponding to physical contact interaction.
7. The large model-based integrated security monitoring video platform according to claim 5, characterized in that: When si=1, the first priority score corresponding to the physical contact interaction is smaller than the first priority score corresponding to the physical non-contact interaction.
8. The large model-based integrated security monitoring video platform according to claim 1, characterized in that: In S400, DBSCAN clustering algorithm is used to cluster B1 to B m Perform clustering.
9. The large model-based integrated security monitoring video platform according to claim 1, characterized in that: S500 also includes the following steps: S510, obtaining cluster C j The number of behavioral feature vectors included F j , and based on the quantity list F j Perform normalization processing to obtain the normalized quantity H j , where the quantity list F = {F1, F2, ..., F j , …, F n }; S520, obtaining the cluster quantity score G j , where G j Meet the following conditions: G j =1 / H j ; S530, B i The cluster number score of the cluster is used as FB i .
10. The large model-based integrated security monitoring video platform according to claim 1, characterized in that: S700 also includes: LB i =x×FB i +y×SB i , where x is the first weight parameter and y is the second weight parameter.
