A monitoring method, device, equipment and storage medium for content identification
By performing statistics and alarm processing on the recognition results of content objects, the problem of low accuracy of recognition results in the existing technology is solved, abnormal monitoring of the recognition results is realized, and the accuracy of content security monitoring is improved.
Patent Information
- Application Number
- CN202011348521.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-26
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-11-26
AI Technical Summary
When existing content security monitoring solutions identify multimedia content, the accuracy of the recognition results is low, and they fail to effectively monitor abnormalities in the recognition results, resulting in inaccurate recognition.
By obtaining the recognition result information of the content object, statistics of label data are performed. When the recognition result amount or change rate exceeds the preset threshold, an alarm is triggered to realize abnormal monitoring of the recognition results and improve the recognition accuracy.
Effectively monitor recognition anomalies of content objects, improve the accuracy of recognition results, and ensure the reliability and accuracy of the recognition process.
Smart Images

Figure CN112417354B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet application technology, and in particular to a monitoring method, device, equipment and storage medium for content recognition. Background Art
[0002] Content security monitoring can be understood as an intelligent recognition service for multimedia content, which enables the recognition of multimedia content such as pictures, videos, texts, voices, etc., in order to monitor specific content in the multimedia content, which may include illegal content, etc.
[0003] In the existing content security monitoring solution, multimedia content is identified through the recognition model strategy. In the existing solution, only recognition can be achieved, such as whether the multimedia content contains specific content, what the specific content is, etc. In the existing solution, as long as the recognition result is obtained, the entire content security monitoring process ends, but the recognition result may not be accurate, which will result in low recognition accuracy. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide a method, device, equipment and storage medium for monitoring content recognition, so as to monitor abnormal recognition of content objects and improve the accuracy of recognition. The specific technical solution is as follows:
[0005] In a first aspect, an embodiment of the present invention provides a method for monitoring content recognition, including:
[0006] Acquire recognition result information for the content object, wherein the recognition result information includes tag data;
[0007] For the label data, the recognition result information is counted to obtain a statistical result;
[0008] When the statistical result indicates that the recognition of the content object is abnormal, an alarm is issued.
[0009] Optionally, the recognition result information is obtained according to a preset model strategy; the statistical result represents the amount of recognition results;
[0010] Before the alarm is raised when the statistical result indicates that the recognition of the content object is abnormal, the method further includes:
[0011] Determine whether the recognition result amount is greater than a preset normal amount threshold;
[0012] The alarming when the statistical result indicates that the identification of the content object is abnormal includes:
[0013] When the amount of the recognition result is greater than the preset normal amount threshold, an alarm is issued; if the statistical result is greater than the preset normal amount threshold, it indicates that an abnormal change has occurred in the preset model strategy.
[0014] Optionally, the recognition result information is obtained according to a preset model strategy; the statistical result represents the amount of recognition results;
[0015] Before the alarm is raised when the statistical result indicates that the recognition of the content object is abnormal, the method further includes:
[0016] Calculating the conversion rate of the recognition result quantity compared with the preset normal quantity threshold;
[0017] Determining whether the change rate is greater than a change rate threshold;
[0018] The alarming when the statistical result indicates that the identification of the content object is abnormal includes:
[0019] When the change rate is greater than the change rate threshold, an alarm is triggered; the change rate being greater than the change rate threshold indicates that an abnormal change has occurred in the preset model strategy.
[0020] Optionally, the performing statistics on the recognition result information for the tag data to obtain statistical results includes:
[0021] Through the streaming data consumption model, the recognition result information is counted for the label data to obtain statistical results.
[0022] Optionally, after performing statistics on the recognition result information for the tag data to obtain the statistical results, the method further includes:
[0023] The statistical results corresponding to different label data are cached through the database.
[0024] Optionally, the recognition result information also includes user information, order information and model information.
[0025] Optionally, the content object includes a picture, a video, a text or a voice.
[0026] In a second aspect, an embodiment of the present invention provides a monitoring device for content recognition, including:
[0027] An acquisition module, used to acquire recognition result information for a content object, wherein the recognition result information includes tag data;
[0028] A statistical module, used for performing statistics on the recognition result information according to the label data to obtain statistical results;
[0029] The alarm module is used to alarm when the statistical result indicates that the recognition of the content object is abnormal.
[0030] Optionally, the recognition result information is obtained according to a preset model strategy; the statistical result represents the amount of recognition results;
[0031] The device also includes:
[0032] A first judgment module, used for judging whether the amount of the recognition result is greater than a preset normal amount threshold before giving an alarm when the statistical result indicates that the recognition of the content object is abnormal;
[0033] The alarm module is specifically used to alarm when the recognition result quantity is greater than the preset normal quantity threshold. The statistical result greater than the preset normal quantity threshold indicates that the preset model strategy has undergone an abnormal change.
[0034] Optionally, the recognition result information is obtained according to a preset model strategy; the statistical result represents the amount of recognition results;
[0035] The device also includes:
[0036] A calculation module, configured to calculate a conversion rate of the recognition result quantity compared to the preset normal quantity threshold value before an alarm is issued when the statistical result indicates that the recognition of the content object is abnormal;
[0037] A second judgment module is used to judge whether the change rate is greater than a change rate threshold;
[0038] The alarm module is used to alarm when the change rate is greater than the change rate threshold, and the change rate greater than the change rate threshold indicates that the preset model strategy has an abnormal change.
[0039] Optionally, the statistical module is used to perform statistics on the recognition result information for the label data through a streaming data consumption model to obtain statistical results.
[0040] Optionally, the device further comprises:
[0041] The cache module is used to perform statistics on the recognition result information for the label data, and after obtaining the statistical results, cache the statistical results corresponding to different label data through a database.
[0042] Optionally, the recognition result information also includes user information, order information and model information.
[0043] Optionally, the content object includes a picture, a video, a text or a voice.
[0044] In a third aspect, an embodiment of the present invention provides a monitoring device for content recognition, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0045] Memory, used to store computer programs;
[0046] The processor is used to implement the method steps described in the first aspect when executing the program stored in the memory.
[0047] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in the first aspect are implemented.
[0048] Beneficial effects of the embodiments of the present invention:
[0049] The monitoring method, device, equipment and storage medium for content recognition provided by the embodiments of the present invention can obtain recognition result information for content objects, and the recognition result information includes label data; the recognition result information is counted for the label data to obtain statistical results; when the statistical results indicate that the recognition of the content object is abnormal, an alarm is triggered. In this way, an alarm can be triggered when the recognition is abnormal, and abnormal recognition of the content object can be monitored to improve the accuracy of recognition.
[0050] Of course, it is not necessary to achieve all of the advantages described above at the same time to implement any product or method of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.
[0052] Figure 1 A flow chart of a method for monitoring content identification provided by an embodiment of the present invention;
[0053] Figure 2 Another flow chart of the content identification monitoring method provided by the embodiment of the present invention;
[0054] Figure 3 Another flow chart of the content identification monitoring method provided by the embodiment of the present invention;
[0055] Figure 4 A schematic diagram of a structure of a monitoring device for content recognition provided by an embodiment of the present invention;
[0056] Figure 5 Another structural schematic diagram of a monitoring device for content recognition provided by an embodiment of the present invention;
[0057] Figure 6 A schematic diagram of another structure of a monitoring device for content recognition provided by an embodiment of the present invention;
[0058] Figure 7 A schematic diagram of another structure of a monitoring device for content recognition provided by an embodiment of the present invention;
[0059] Figure 8 A schematic diagram of the structure of a monitoring device for content recognition provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0060] 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] In existing solutions, once the recognition result is obtained, the entire content security monitoring process ends. However, the recognition result may not be accurate, which results in low recognition accuracy. For example, existing solutions do not process the recognition result, such as not judging the accuracy of the recognition result, etc.
[0062] In order to monitor abnormal identification of content objects and improve the accuracy of identification, an embodiment of the present invention provides a monitoring method for content identification. The execution subject of the monitoring method for content identification provided by the embodiment of the present invention can be an electronic device, such as a monitoring device for content identification. Specifically, the electronic device can be a terminal, a server, etc.
[0063] The following is a detailed description of the content recognition monitoring method provided by an embodiment of the present invention.
[0064] An embodiment of the present invention provides a method for monitoring content recognition, which may include:
[0065] Obtaining recognition result information for the content object, the recognition result information including label data;
[0066] For the label data, the recognition result information is counted to obtain the statistical results;
[0067] When the statistical results indicate that the recognition of the content object is abnormal, an alarm is issued.
[0068] In the embodiment of the present invention, the recognition result information for the content object can be obtained, and the recognition result information includes label data; the recognition result information is counted for the label data to obtain the statistical result; when the statistical result indicates that the recognition of the content object is abnormal, an alarm is triggered. In this way, an alarm can be triggered when the recognition is abnormal, and the abnormal recognition of the content object can be monitored to improve the accuracy of the recognition.
[0069] The embodiment of the present invention provides a monitoring method for content recognition, such as Figure 1 As shown, it may include:
[0070] S101: Obtain recognition result information for a content object.
[0071] The recognition result information includes label data.
[0072] Content objects may include pictures, videos, text, or audio, etc.
[0073] The tag data can reflect whether the content object contains specific content, such as illegal content, as well as the specific illegal content, etc.
[0074] In one possible implementation, the recognition result information may also include user information, order information, model information, etc. User information, order information, model information, etc. may be understood as attribute information of a content object such as a picture.
[0075] For example, the recognition result information for an image may include user information, order information, model information, and label data of the image to be recognized.
[0076] S102, for the label data, statistics are performed on the recognition result information to obtain statistical results.
[0077] It can be understood that different recognition result information includes label data, and the number of recognition result information with the same label data is counted. The statistical result is the number obtained by statistics, and then an alarm is triggered according to the statistical result.
[0078] In one possible implementation, the streaming data consumption model can be used to perform statistics on the recognition result information for the label data to obtain statistical results.
[0079] The streaming data consumption model may include the streaming computing framework Spark-streaming.
[0080] Specifically, for different label data, the recognition result information corresponding to the label data may be aggregated, and the statistical result corresponding to the label data is the information obtained by aggregating the recognition result information corresponding to the label data.
[0081] S103: When the statistical result indicates that the recognition of the content object is abnormal, an alarm is issued.
[0082] In one possible implementation, after statistics are collected for the tag data and the identification result information is obtained, the statistical results corresponding to different tag data are cached through a database. The statistical results generated in real time by the streaming data consumption model can be updated to the cache. The database can be redis, which is a Key (keyword)-Value (value) type database.
[0083] It is possible to implement statistics on the recognition result information for the tag data, obtain the statistical result, and couple the statistical result with an alarm step when the statistical result indicates that the recognition of the content object is abnormal.
[0084] In the embodiment of the present invention, the recognition result information for the content object can be obtained, and the recognition result information includes label data; the recognition result information is counted for the label data to obtain the statistical result; when the statistical result indicates that the recognition of the content object is abnormal, an alarm is triggered. In this way, an alarm can be triggered when the recognition is abnormal, and the abnormal recognition of the content object can be monitored to improve the accuracy of the recognition.
[0085] In an optional embodiment, the recognition result information is obtained according to a preset model strategy; and the statistical result represents the recognition result quantity.
[0086] In one possible implementation, the content object may include multiple pictures to be identified, and the pictures to be identified may also be understood as pictures submitted for review.
[0087] For each image to be identified, the identification result information may include label data of specific content contained in the image to be identified obtained according to a preset model strategy. The label data may be used to indicate the category and specific content of the specific content. Different specific content may be indicated by different label data.
[0088] The number of recognition results can be understood as the number of pictures containing specific content identified among multiple pictures to be recognized. Specifically, it can be counted through label data.
[0089] exist Figure 1 Based on the embodiment shown, Figure 2 As shown, before S103: when the statistical result indicates that the identification of the content object is abnormal and an alarm is issued, the following may also be included:
[0090] S104, determining whether the amount of recognition results is greater than a preset normal amount threshold.
[0091] The preset normal threshold can be determined based on historical experience. For example, the preset normal threshold is determined by the amount of recognition results obtained after the preset model strategy is executed for a period of time. For example, if the amount of recognition results obtained after the preset model strategy is executed for n days is between 10 and 20, the value far exceeding the range can be determined as the preset normal threshold, such as 100, 200, 1000, etc.
[0092] S103 may include:
[0093] S1031, when the amount of recognition results is greater than the preset normal amount threshold, an alarm is issued.
[0094] For example, the preset normal quantity threshold is determined to be 100. When the obtained recognition result quantity is 200, and 200 is greater than 100, it can be determined that the recognition result quantity is greater than the preset normal quantity threshold. At this time, an alarm can be issued.
[0095] It is understandable that the amount of recognition results obtained by the preset model strategy is generally within a range, but when the preset model strategy changes abnormally, the amount of recognition results obtained may change suddenly. It is possible to detect whether the amount of recognition results changes suddenly to determine whether the preset model strategy changes abnormally.
[0096] For example, the normal range of the number of recognition results obtained by the preset model strategy is between 10 and 20, but over a period of time, the number of recognition results obtained is 1000, which can be understood as a sudden change in the number of recognition results. At this time, it can be considered that the mutation is caused by an abnormal change in the preset model strategy.
[0097] If the statistical result is greater than the preset normal value threshold, it means that an abnormal change has occurred in the preset model strategy.
[0098] Specifically, it is possible to determine whether the amount of recognition results is greater than a preset normal amount threshold to determine whether a sudden change occurs in the amount of recognition results, thereby determining whether an abnormal change occurs in the preset model strategy.
[0099] That is, it can be understood as achieving real-time monitoring of the impact of changes in model strategy configuration through trend prediction of detailed image recognition results.
[0100] Abnormal changes in the preset model strategy will lead to abnormal recognition of the content object, which can also be understood as inaccurate recognition results. In this way, alarming when the recognition result is abnormal can improve the accuracy of recognition.
[0101] In a specific example, the average daily number of images submitted for review by a certain customer (which can also be understood as the average number of images submitted for review per day) is N. For all N images, an average of n images containing specific content A are identified every day. One day, due to the launch of a new model or the modification of the model label recognition threshold, m images containing specific content A are identified. If m exceeds the preset normal threshold, an alarm is triggered. The difference between m and n can also be calculated. If the difference is greater than the preset normal threshold, an alarm is triggered. Among them, the values of N, n, and m can all be within a numerical range.
[0102] In an optional embodiment, the recognition result information is obtained according to a preset model strategy; and the statistical result represents the recognition result quantity.
[0103] exist Figure 1 Based on the embodiment shown, Figure 3 As shown, before 103: when the statistical result indicates that the identification of the content object is abnormal, an alarm is issued, the following may also be included:
[0104] S105, calculating the conversion rate of the recognition result quantity compared with the preset normal quantity threshold.
[0105] In one possible implementation, the rate of change can be calculated using the following formula:
[0106]
[0107] S106, determining whether the change rate is greater than a change rate threshold.
[0108] Specifically, the change rate threshold may be determined based on empirical values, and the like.
[0109] S103 may include:
[0110] S1032: When the rate of change is greater than the rate of change threshold, an alarm is issued.
[0111] A change rate greater than the change rate threshold indicates that an abnormal change has occurred in the preset model strategy.
[0112] In order to improve the accuracy of monitoring whether abnormal changes occur in preset model strategies, and further improve the accuracy of identifying content objects such as pictures, an embodiment of the present invention can calculate the transformation rate of the recognition result quantity compared to a preset normal quantity threshold, and judge whether abnormal changes occur in the preset model strategy based on the change rate.
[0113] Corresponding to the monitoring method for content recognition provided in the above embodiment, an embodiment of the present invention provides a monitoring device for content recognition, such as Figure 4 As shown, it may include:
[0114] An acquisition module 401 is used to acquire recognition result information for a content object, where the recognition result information includes tag data;
[0115] The statistical module 402 is used to collect statistics on the recognition result information for the label data to obtain statistical results;
[0116] The alarm module 403 is used to generate an alarm when the statistical result indicates that the recognition of the content object is abnormal.
[0117] In the embodiment of the present invention, the recognition result information for the content object can be obtained, and the recognition result information includes label data; the recognition result information is counted for the label data to obtain the statistical result; when the statistical result indicates that the recognition of the content object is abnormal, an alarm is triggered. In this way, an alarm can be triggered when the recognition is abnormal, and the abnormal recognition of the content object can be monitored to improve the accuracy of the recognition.
[0118] Optionally, the recognition result information is obtained according to a preset model strategy; the statistical result represents the amount of recognition results;
[0119] like Figure 5 As shown, the device also includes:
[0120] The first judgment module 404 is used to judge whether the amount of recognition results is greater than a preset normal amount threshold before an alarm is issued when the statistical results indicate that the recognition of the content object is abnormal;
[0121] The alarm module 403 is specifically used to alarm when the amount of recognition results is greater than a preset normal amount threshold. If the statistical result is greater than the preset normal amount threshold, it means that an abnormal change has occurred in the preset model strategy.
[0122] Optionally, the recognition result information is obtained according to a preset model strategy; the statistical result represents the amount of recognition results;
[0123] like Figure 6 As shown, the device also includes:
[0124] A calculation module 405 is used to calculate the conversion rate of the recognition result quantity compared with a preset normal quantity threshold before an alarm is issued when the statistical result indicates that the recognition of the content object is abnormal;
[0125] The second judgment module 406 is used to judge whether the change rate is greater than the change rate threshold;
[0126] The alarm module 403 is used to alarm when the change rate is greater than the change rate threshold. The change rate greater than the change rate threshold indicates that an abnormal change occurs in the preset model strategy.
[0127] Optionally, the statistical module 402 is used to perform statistics on the recognition result information for the tag data through a streaming data consumption model to obtain statistical results.
[0128] Optional, such as Figure 7 As shown, the device also includes:
[0129] The cache module 407 is used to perform statistics on the recognition result information for the tag data, and after obtaining the statistical results, cache the statistical results corresponding to different tag data through the database.
[0130] Optionally, the recognition result information also includes user information, order information and model information.
[0131] Optionally, the content object includes pictures, videos, texts or voices.
[0132] The monitoring device for content recognition provided in the embodiment of the present invention is a device that applies the above-mentioned monitoring method for content recognition. Therefore, all embodiments of the above-mentioned monitoring method for content recognition are applicable to the device and can achieve the same or similar beneficial effects.
[0133] Corresponding to the monitoring method for content recognition provided in the above embodiment, the embodiment of the present invention also provides a monitoring device for content recognition, such as Figure 8 As shown, it includes a processor 801 , a communication interface 802 , a memory 803 and a communication bus 804 , wherein the processor 801 , the communication interface 802 , and the memory 803 communicate with each other via the communication bus 804 .
[0134] Memory 803, used for storing computer programs;
[0135] The processor 801 is used to implement the method steps of the content recognition monitoring method in the above embodiment when executing the program stored in the memory 803. Specifically, the following method steps are executed:
[0136] Acquire recognition result information for the content object, wherein the recognition result information includes tag data;
[0137] For the label data, the recognition result information is counted to obtain a statistical result;
[0138] When the statistical result indicates that the recognition of the content object is abnormal, an alarm is issued.
[0139] Optionally, the recognition result information is obtained according to a preset model strategy; the statistical result represents the amount of recognition results;
[0140] Before the alarm is raised when the statistical result indicates that the recognition of the content object is abnormal, the method further includes:
[0141] Determine whether the recognition result amount is greater than a preset normal amount threshold;
[0142] The alarming when the statistical result indicates that the identification of the content object is abnormal includes:
[0143] When the amount of the recognition result is greater than the preset normal amount threshold, an alarm is issued; if the statistical result is greater than the preset normal amount threshold, it indicates that an abnormal change has occurred in the preset model strategy.
[0144] Optionally, the recognition result information is obtained according to a preset model strategy; the statistical result represents the amount of recognition results;
[0145] Before the alarm is raised when the statistical result indicates that the recognition of the content object is abnormal, the method further includes:
[0146] Calculating the conversion rate of the recognition result quantity compared with the preset normal quantity threshold;
[0147] Determining whether the change rate is greater than a change rate threshold;
[0148] The alarming when the statistical result indicates that the identification of the content object is abnormal includes:
[0149] When the change rate is greater than the change rate threshold, an alarm is triggered; the change rate being greater than the change rate threshold indicates that an abnormal change has occurred in the preset model strategy.
[0150] Optionally, the performing statistics on the recognition result information for the tag data to obtain statistical results includes:
[0151] Through the streaming data consumption model, the recognition result information is counted for the label data to obtain statistical results.
[0152] Optionally, after performing statistics on the recognition result information for the tag data to obtain the statistical results, the method further includes:
[0153] The statistical results corresponding to different label data are cached through the database.
[0154] Optionally, the recognition result information also includes user information, order information and model information.
[0155] Optionally, the content object includes a picture, a video, a text or a voice.
[0156] In the embodiment of the present invention, the recognition result information for the content object can be obtained, and the recognition result information includes label data; the recognition result information is counted for the label data to obtain the statistical result; when the statistical result indicates that the recognition of the content object is abnormal, an alarm is triggered. In this way, an alarm can be triggered when the recognition is abnormal, and the abnormal recognition of the content object can be monitored to improve the accuracy of the recognition.
[0157] The communication bus mentioned in the monitoring device identified in the above content can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0158] The communication interface is used for communication between the above-mentioned content recognition monitoring device and other devices.
[0159] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0160] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it 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.
[0161] Corresponding to the monitoring method for content identification provided in the above embodiment, in another embodiment provided by the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and when the computer program is executed by a processor, the method steps of the monitoring method for content identification in the above embodiment are implemented. Specifically, the following method steps are performed:
[0162] Acquire recognition result information for the content object, wherein the recognition result information includes tag data;
[0163] For the label data, the recognition result information is counted to obtain a statistical result;
[0164] When the statistical result indicates that the recognition of the content object is abnormal, an alarm is issued.
[0165] Optionally, the recognition result information is obtained according to a preset model strategy; the statistical result represents the amount of recognition results;
[0166] Before the alarm is raised when the statistical result indicates that the recognition of the content object is abnormal, the method further includes:
[0167] Determine whether the recognition result amount is greater than a preset normal amount threshold;
[0168] The alarming when the statistical result indicates that the identification of the content object is abnormal includes:
[0169] When the amount of the recognition result is greater than the preset normal amount threshold, an alarm is issued; if the statistical result is greater than the preset normal amount threshold, it indicates that an abnormal change has occurred in the preset model strategy.
[0170] Optionally, the recognition result information is obtained according to a preset model strategy; the statistical result represents the amount of recognition results;
[0171] Before the alarm is raised when the statistical result indicates that the recognition of the content object is abnormal, the method further includes:
[0172] Calculating the conversion rate of the recognition result quantity compared with the preset normal quantity threshold;
[0173] Determining whether the change rate is greater than a change rate threshold;
[0174] The alarming when the statistical result indicates that the identification of the content object is abnormal includes:
[0175] When the change rate is greater than the change rate threshold, an alarm is triggered; the change rate being greater than the change rate threshold indicates that an abnormal change has occurred in the preset model strategy.
[0176] Optionally, the performing statistics on the recognition result information for the tag data to obtain statistical results includes:
[0177] Through the streaming data consumption model, the recognition result information is counted for the label data to obtain statistical results.
[0178] Optionally, after performing statistics on the recognition result information for the tag data to obtain the statistical results, the method further includes:
[0179] The statistical results corresponding to different label data are cached through the database.
[0180] Optionally, the recognition result information also includes user information, order information and model information.
[0181] Optionally, the content object includes a picture, a video, a text or a voice.
[0182] In the embodiment of the present invention, the recognition result information for the content object can be obtained, and the recognition result information includes label data; the recognition result information is counted for the label data to obtain the statistical result; when the statistical result indicates that the recognition of the content object is abnormal, an alarm is triggered. In this way, an alarm can be triggered when the recognition is abnormal, and the abnormal recognition of the content object can be monitored to improve the accuracy of the recognition.
[0183] Corresponding to the monitoring method for content identification provided in the above embodiment, in another embodiment provided by the present invention, a computer program product including instructions is further provided, which, when executed on a computer, enables the computer to execute the method steps of the monitoring method for content identification in the above embodiment. Specifically, the following method steps are executed:
[0184] Acquire recognition result information for the content object, wherein the recognition result information includes tag data;
[0185] For the label data, the recognition result information is counted to obtain a statistical result;
[0186] When the statistical result indicates that the recognition of the content object is abnormal, an alarm is issued.
[0187] Optionally, the recognition result information is obtained according to a preset model strategy; the statistical result represents the amount of recognition results;
[0188] Before the alarm is raised when the statistical result indicates that the recognition of the content object is abnormal, the method further includes:
[0189] Determine whether the recognition result amount is greater than a preset normal amount threshold;
[0190] The alarming when the statistical result indicates that the identification of the content object is abnormal includes:
[0191] When the amount of the recognition result is greater than the preset normal amount threshold, an alarm is issued; if the statistical result is greater than the preset normal amount threshold, it indicates that an abnormal change has occurred in the preset model strategy.
[0192] Optionally, the recognition result information is obtained according to a preset model strategy; the statistical result represents the amount of recognition results;
[0193] Before the alarm is raised when the statistical result indicates that the recognition of the content object is abnormal, the method further includes:
[0194] Calculating the conversion rate of the recognition result quantity compared with the preset normal quantity threshold;
[0195] Determining whether the change rate is greater than a change rate threshold;
[0196] The alarming when the statistical result indicates that the identification of the content object is abnormal includes:
[0197] When the change rate is greater than the change rate threshold, an alarm is triggered; the change rate being greater than the change rate threshold indicates that an abnormal change has occurred in the preset model strategy.
[0198] Optionally, the performing statistics on the recognition result information for the tag data to obtain statistical results includes:
[0199] Through the streaming data consumption model, the recognition result information is counted for the label data to obtain statistical results.
[0200] Optionally, after performing statistics on the recognition result information for the tag data to obtain the statistical results, the method further includes:
[0201] The statistical results corresponding to different label data are cached through the database.
[0202] Optionally, the recognition result information also includes user information, order information and model information.
[0203] Optionally, the content object includes a picture, a video, a text or a voice.
[0204] In the embodiment of the present invention, the recognition result information for the content object can be obtained, and the recognition result information includes label data; the recognition result information is counted for the label data to obtain the statistical result; when the statistical result indicates that the recognition of the content object is abnormal, an alarm is triggered. In this way, an alarm can be triggered when the recognition is abnormal, and the abnormal recognition of the content object can be monitored to improve the accuracy of the recognition.
[0205] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by 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 described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can 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 can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0206] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0207] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, computer-readable storage medium, and computer program product embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0208] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A content recognition monitoring method, characterized in that: include: Acquire recognition result information for a content object, wherein the recognition result information includes label data, and the content object includes a picture, video, text, or voice; For the label data, the recognition result information is counted to obtain a statistical result; When the statistical result indicates that the recognition of the content object is abnormal, an alarm is triggered; The recognition result information is obtained according to a preset model strategy; The statistical result represents the amount of recognition results; Before the alarm is raised when the statistical result indicates that the recognition of the content object is abnormal, the method further includes: Determine whether the recognition result amount is greater than a preset normal amount threshold; The alarming when the statistical result indicates that the identification of the content object is abnormal includes: When the amount of the recognition result is greater than the preset normal amount threshold, an alarm is issued; if the statistical result is greater than the preset normal amount threshold, it indicates that an abnormal change has occurred in the preset model strategy.
2. The method according to claim 1, characterized in that The recognition result information is obtained according to a preset model strategy; the statistical result represents the amount of recognition results; Before the alarm is raised when the statistical result indicates that the recognition of the content object is abnormal, the method further includes: Calculate the change rate of the recognition result quantity compared with the preset normal quantity threshold; Determining whether the change rate is greater than a change rate threshold; The alarming when the statistical result indicates that the identification of the content object is abnormal includes: When the change rate is greater than the change rate threshold, an alarm is triggered; the change rate being greater than the change rate threshold indicates that an abnormal change has occurred in the preset model strategy.
3. The method according to claim 1, characterized in that The step of performing statistics on the identification result information for the tag data to obtain statistical results includes: Through the streaming data consumption model, the recognition result information is counted for the label data to obtain statistical results.
4. The method according to claim 1, characterized in that After the identification result information is counted for the tag data to obtain the statistical result, the method further includes: The statistical results corresponding to different label data are cached through the database.
5. The method according to any one of claims 1 to 4, characterized in that: The recognition result information also includes user information, order information and model information.
6. A monitoring device for content recognition, characterized in that: include: An acquisition module, used to acquire recognition result information for a content object, wherein the recognition result information includes label data, and the content object includes a picture, video, text or voice; A statistical module, used for performing statistics on the recognition result information according to the label data to obtain statistical results; An alarm module, configured to generate an alarm when the statistical result indicates that the recognition of the content object is abnormal; The recognition result information is obtained according to a preset model strategy; The statistical result represents the amount of recognition results; The device also includes: A first judgment module, used for judging whether the amount of the recognition result is greater than a preset normal amount threshold before giving an alarm when the statistical result indicates that the recognition of the content object is abnormal; The alarm module is specifically used to alarm when the recognition result quantity is greater than the preset normal quantity threshold. The statistical result greater than the preset normal quantity threshold indicates that the preset model strategy has undergone an abnormal change.
7. A monitoring device for content recognition, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 5 when executing a program stored in a memory.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Monitoring data processing method and device, electronic equipment and storage medium
CN111008109A
Network security monitoring method and device based on big data, equipment and storage medium
CN111092852A
