Data processing method and device, equipment, storage medium and computer program product
By receiving business monitoring requests and utilizing the mapping relationship between global general and reference monitoring strategies, the monitoring results are dynamically determined, solving the problem of rampant false information on the Internet, realizing customized business data monitoring, and improving the effectiveness and flexibility of monitoring.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2021-11-16
- Publication Date
- 2026-05-19
AI Technical Summary
In the current technology, the Internet is full of various false, fraudulent and harmful information, and there is a lack of effective content monitoring methods, resulting in insufficient effectiveness and diversity of information monitoring.
By receiving business monitoring requests and obtaining monitoring strategy configuration information, the system dynamically determines the monitoring results of the business data to be monitored by utilizing the mapping relationship between the global general monitoring strategy and the reference scenario information and the reference monitoring strategy, thereby achieving customized monitoring for different scenarios and application objects.
It improves the effectiveness and diversity of business data monitoring, effectively prevents the release and spread of false, fraudulent, and harmful information, and enhances emergency response capabilities.
Smart Images

Figure CN116149921B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a data processing method, apparatus, device, storage medium, and computer program product. Background Technology
[0002] With the rapid development of internet technology, the general public can publish various forms of content online, such as videos, audio, pictures, comments, and articles. Due to the high degree of autonomy, the content standards are relatively loose. If the published content is not monitored, the internet will be filled with various false, fraudulent, and harmful information. Therefore, it is necessary to monitor the content. Summary of the Invention
[0003] This application provides a data processing method, apparatus, device, storage medium, and computer program product that can improve the effectiveness and diversity of business data monitoring.
[0004] On one hand, embodiments of this application provide a data processing method, the method comprising:
[0005] Receive a business monitoring request; the business monitoring request carries the business data to be monitored and the corresponding generation scenario information of the business data to be monitored.
[0006] Obtain monitoring strategy configuration information, which includes a global general monitoring strategy and a mapping relationship between reference scenario information and reference monitoring strategy;
[0007] If there is matching scenario information in the monitoring strategy configuration information that matches the generated scenario information, then the target monitoring strategy corresponding to the matching scenario information is obtained from the monitoring strategy configuration information, and the monitoring result of the business data to be monitored is determined according to the target monitoring strategy.
[0008] On the other hand, embodiments of this application provide a data processing apparatus, the apparatus comprising:
[0009] A receiving unit is used to receive a service monitoring request; the service monitoring request carries the service data to be monitored and the corresponding generation scenario information of the service data to be monitored.
[0010] The acquisition unit is used to acquire monitoring strategy configuration information, which includes a global general monitoring strategy and a mapping relationship between reference scenario information and reference monitoring strategy.
[0011] The processing unit is configured to, if there is matching scenario information in the monitoring strategy configuration information that matches the generated scenario information, obtain the target monitoring strategy corresponding to the matching scenario information from the monitoring strategy configuration information, and determine the monitoring result of the business data to be monitored according to the target monitoring strategy.
[0012] Accordingly, this application provides a computer device, which includes a processor, a communication interface, and a memory. The processor, communication interface, and memory are interconnected. The memory stores a computer program, and the processor is used to call the computer program to execute the data processing method of any of the possible implementations.
[0013] Accordingly, embodiments of this application provide a computer-readable storage medium storing a computer program, which is executed by a processor to implement the steps of the data processing method provided in embodiments of this application.
[0014] Accordingly, this application also provides a computer program product, which includes a computer program or computer instructions, and the computer program or computer instructions are executed by a processor to implement the steps of the data processing method provided in this application.
[0015] Accordingly, this application also provides a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the data processing method provided in this application.
[0016] In this embodiment of the application, when a business monitoring request carrying the business data to be monitored and the corresponding generation scenario information of the business data to be monitored is received, if there is matching scenario information in the monitoring strategy configuration information that matches the generation scenario information, then the monitoring result of the business data to be monitored is determined according to the target monitoring strategy corresponding to the matching scenario information in the monitoring strategy configuration information. By adopting the above method, dynamic business data monitoring can be realized based on different set monitoring strategies, which can effectively improve the effectiveness and diversity of business data monitoring. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 A network architecture applicable to a data processing method provided in an embodiment of this application;
[0019] Figure 2 A flowchart illustrating a data processing method provided in this application embodiment. Figure 1 ;
[0020] Figure 3 This application provides an illustration of monitoring strategy configuration information in an embodiment. Figure 1 ;
[0021] Figure 4 A flowchart illustrating a data processing method provided in this application embodiment. Figure 2 ;
[0022] Figure 5 This application provides an illustration of monitoring strategy configuration information in an embodiment. Figure 2 ;
[0023] Figure 6 This application provides an illustration of monitoring strategy configuration information in an embodiment. Figure 3 ;
[0024] Figure 7 A system architecture applicable to a data processing method provided in an embodiment of this application;
[0025] Figure 8 A flowchart illustrating a data processing method provided in this application embodiment. Figure 3 ;
[0026] Figure 9 A flowchart illustrating a data processing method provided in this application embodiment. Figure 4 ;
[0027] Figure 10 A flowchart illustrating a data processing method provided in this application embodiment. Figure 5 ;
[0028] Figure 11 This is a schematic diagram of the structure of a data processing device provided in an embodiment of this application;
[0029] Figure 12 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0030] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0031] It should be noted that the terms "first," "second," etc., used in the embodiments of this application are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, technical features defined with "first," "second," etc., may explicitly or implicitly include at least one of those features.
[0032] To effectively improve the effectiveness and flexibility of business data monitoring, this application proposes a data processing method. This data processing method can be implemented based on cloud technology. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology applied in the cloud computing business model. It can form a resource pool, be used on demand, and is flexible and convenient. Cloud computing technology will become an important support. The backend services of technical network systems require a large amount of computing and storage resources, such as video websites, image websites, and many portal websites. With the rapid development and application of the Internet industry, in the future, every item may have its own identification mark, which will need to be transmitted to the backend system for logical processing. Data of different levels will be processed separately, and all kinds of industry data require strong system support, which can only be achieved through cloud computing.
[0033] In feasible embodiments, the data processing method provided in this application can also be implemented based on artificial intelligence (AI) and / or blockchain technology. Specifically, it may involve one or more of the distributed storage and big data processing technologies in the foundational technologies of artificial intelligence. For example, the monitoring strategy can be distributed and stored on multiple independent devices. As another example, the data required to execute the data processing method can be stored on the blockchain in the form of blocks; the data generated by executing the data processing method (such as business data to be monitored, generated scene information, etc.) can be stored on the blockchain in the form of blocks; furthermore, the computer device executing the data processing method can be a node device in the blockchain network.
[0034] The data processing method provided in this application embodiment can be applied to... Figure 1 The network architecture shown. Figure 1The data processing device 10 shown can be a server or terminal with data processing capabilities. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smartphone, tablet computer, laptop computer, desktop computer, intelligent voice interaction device, smart home appliance, vehicle terminal, etc., but is not limited to these. Figure 1 The terminal 11 shown is connected to the data processing device 10 via a network. The data processing method provided in this embodiment can be executed by the data processing device 10, specifically:
[0035] The data processing device 10 receives a service monitoring request sent by the terminal 11. The service monitoring request carries the service data to be monitored and the corresponding generation scenario information of the service data to be monitored. It obtains monitoring strategy configuration information, which includes the mapping relationship between reference monitoring strategies and reference scenario information. If there is matching scenario information in the monitoring strategy configuration information that matches the generation scenario information, the target monitoring strategy corresponding to the matching scenario information is obtained from the monitoring strategy configuration information, and the monitoring result of the service data to be monitored is determined according to the target monitoring strategy. If there is no matching scenario information in the monitoring strategy configuration information that matches the generation scenario information, a global general monitoring strategy is obtained from the monitoring strategy configuration information, and the monitoring result of the service data to be monitored is determined according to the global general monitoring strategy. Dynamic service data monitoring can be achieved based on different set monitoring strategies, effectively improving the effectiveness and diversity of service data monitoring.
[0036] In one embodiment, when the data processing device 10 determines that the monitoring result of the business data to be monitored is approved, it can publish the monitoring data; when the data processing device 10 determines that the monitoring result of the business data to be monitored is not approved, it can process the publishing object corresponding to the business data to be monitored according to the corresponding processing rules. Furthermore, if the business data to be monitored has already been published, it is deleted; if the business data to be monitored has not been published, it is not published. Here, "client" refers to a program that provides local services to customers, corresponding to the server.
[0037] It is understood that the network architecture diagrams described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0038] The above provides a brief overview of the data processing method provided in the embodiments of this application. The specific implementation of this data processing method will be described in detail below.
[0039] Please see Figure 2 , Figure 2 A flowchart illustrating a data processing method provided in this application embodiment. Figure 1 This data processing method includes, but is not limited to, the following steps:
[0040] S201. Receive a service monitoring request; the service monitoring request carries the service data to be monitored and the generation scenario information corresponding to the service data to be monitored.
[0041] In this embodiment, the business data to be monitored is the data generated when the client (or its business module) processes the business. For example, when a live streaming client (or its bullet screen business module) processes bullet screen data, the bullet screen data (which can be text, images, audio, video, etc.) is the business data to be monitored; when a video playback client (or its video business module) processes video publishing data, the published video is the business data to be monitored; when an instant messaging client processes communication tasks, the communication messages are the business data to be monitored. The generated scenario information includes the business scenario that generates the business data to be monitored. For example, for a live streaming client, the business scenario that generates bullet screen data is the bullet screen scenario, and the business scenario that generates live streaming screen data is the live streaming screen scenario; for a video playback client, the business scenario that generates video publishing data is the video publishing scenario. The business monitoring request is used to request content monitoring of the business data to be monitored (to verify whether the business data is false, fraudulent, or contains harmful information, such as verifying whether there is violence, gore, or other harmful information in the video).
[0042] A business module is a collection of program elements such as data descriptions and executable statements, and each business module corresponds to one or more business scenarios. In one embodiment, a business module can send a business monitoring request. For example, the live streaming business module can send a business monitoring request containing bullet screen data and bullet screen scenarios (which may be the scene identifier, scene name, etc.) to the data processing device.
[0043] S202. Obtain monitoring strategy configuration information, which includes a global general monitoring strategy and a mapping relationship between reference scenario information and reference monitoring strategy.
[0044] In the embodiments of this application, the reference scenario information includes one or more business scenarios, which can be business scenarios to be monitored. For example, for a live streaming client, the reference scenario information may include bullet screen scenarios, live streaming scene scenarios, video playback scenarios, etc.; for a video playback client, the reference scenario information may include video publishing scenarios, video playback scenarios, comment scenarios, etc. The mapping relationship between reference scenario information and reference monitoring strategies includes the mapping relationship between each business scenario and the reference monitoring strategy in one or more business scenarios. The reference monitoring strategy is the monitoring strategy corresponding to a specific business scenario, which can provide business data monitoring for a specific business scenario. The monitoring strategy applicable to the business scenario can be configured as the reference monitoring strategy that has a mapping relationship with the business scenario. For example, the monitoring strategy applicable to the bullet screen scenario may include the sensitive word monitoring strategy (checking whether it contains the recorded sensitive words;), the regional check monitoring strategy (checking whether the login region is a prohibited login region), and the manual review monitoring strategy. The sensitive word monitoring strategy, the regional check monitoring strategy, and the manual review monitoring strategy can be used as the reference monitoring strategy that has a mapping relationship with the bullet screen scenario. The monitoring strategy applicable to the business scenario can be determined by manual configuration. For example, the configured sensitive word monitoring strategy, regional check monitoring strategy, and manual review monitoring strategy can be used as the monitoring strategy applicable to the bullet screen scenario (i.e., the reference monitoring strategy). A global general monitoring strategy is a monitoring strategy corresponding to all business scenarios except those with defined reference monitoring strategies. It can provide business data monitoring for business scenarios that do not have a corresponding reference monitoring strategy. The global general monitoring strategy can be determined through manual configuration; for example, a manual review monitoring strategy can be used as a global general monitoring strategy. It is understood that the global general monitoring strategy can serve as a special reference monitoring strategy. When a business scenario requiring business data monitoring does not have a corresponding reference monitoring strategy in its monitoring strategy configuration information, the global general monitoring strategy can be provided to that business scenario as a reference monitoring strategy. Of course, in some embodiments, the global general monitoring strategy can also provide business data monitoring for business scenarios that have defined reference monitoring strategies; this is not limited here.
[0045] Please see Figure 3 The monitoring strategy configuration information can be saved as a tree structure. The first layer includes the root node of the strategy tree, which represents the monitoring strategy configuration information of the tree. The second layer includes one or more nodes (used to represent reference monitoring strategies that have a mapping relationship with various business scenarios, as well as global general monitoring strategies). Figure 3 The reference strategy for business scenario 1 shown represents a reference monitoring strategy that has a mapping relationship with business scenario 1, the reference strategy for business scenario 2 represents a reference monitoring strategy that has a mapping relationship with business scenario 2, and so on.
[0046] In one embodiment, one or more business scenarios can be configured as reference scenario information, and a monitoring strategy (i.e., a reference monitoring strategy) applicable to each business scenario in the one or more business scenarios can be configured. A mapping relationship between the reference scenario information and the reference monitoring strategy included in the monitoring strategy configuration information can be generated based on the configuration result. In addition, a global general monitoring strategy included in the monitoring strategy configuration information can also be configured.
[0047] In one embodiment, the monitoring strategy configuration information can be modified, such as adding the mapping relationship between newly added reference scenario information and reference monitoring strategies to the monitoring strategy configuration information; deleting the globally general monitoring strategies included in the monitoring strategy configuration information, or deleting the mapping relationship between reference scenario information and reference monitoring strategies; changing the globally general monitoring strategies included in the monitoring strategy configuration information, or the mapping relationship between reference scenario information and reference monitoring strategies. By changing the monitoring strategy configuration information, the monitoring strategy can be dynamically adjusted, enhancing the emergency response capability for sudden events and improving the effectiveness of business data monitoring.
[0048] S203. If there is matching scenario information in the monitoring strategy configuration information that matches the generated scenario information, then obtain the target monitoring strategy corresponding to the matching scenario information from the monitoring strategy configuration information, and determine the monitoring result of the business data to be monitored according to the target monitoring strategy.
[0049] In one embodiment, the generated scenario information includes a first business scenario (the business scenario that generates the business data to be monitored). The data processing device responds to the business monitoring request, obtains the reference scenario information included in the monitoring strategy configuration information, and matches one or more business scenarios included in the reference scenario information with the first business scenario included in the generated scenario information. When there is a second business scenario in one or more business scenarios that matches the first business scenario, it is determined that there is matching scenario information in the monitoring strategy configuration information that matches the generated scenario information. For example, the reference scenario information includes a bullet screen scenario, a live broadcast scenario, and a video playback scenario. If the first business scenario included in the generated scenario information is a bullet screen scenario, then the bullet screen scenario included in the reference scenario information is the second business scenario that matches the first business scenario. When there is no second business scenario in one or more business scenarios that matches the first business scenario, it is determined that there is no matching scenario information in the monitoring strategy configuration information that matches the generated scenario information. For example, if the first business scenario included in the generated scenario information is a video publishing scenario, then there is no second business scenario in the bullet screen scenario, live broadcast scenario, or video playback scenario included in the reference scenario information that matches the first business scenario.
[0050] In one embodiment, when there is a second business scenario in the monitoring strategy configuration information that matches the first business scenario, it can be determined that there is matching scenario information that matches the generated scenario information. This indicates that the second business scenario matches the matching scenario information. The data processing device can obtain a reference monitoring strategy (i.e., the reference monitoring strategy corresponding to the second business scenario) that has a mapping relationship with the second business scenario from the monitoring strategy configuration information as the target monitoring strategy corresponding to the matching scenario information. The monitoring result of the business data to be monitored is determined according to the target monitoring strategy. For example, if the second business scenario is a bullet screen scenario and the reference monitoring strategies that have a mapping relationship with the bullet screen scenario are sensitive word monitoring strategy, regional inspection monitoring strategy, and manual review monitoring strategy, then the sensitive word monitoring strategy, regional inspection monitoring strategy, and manual review monitoring strategy are used as the target monitoring strategies corresponding to the matching scenario information.
[0051] In one embodiment, if there is no second business scenario matching the first business scenario in the monitoring strategy configuration information, it indicates that there is no reference monitoring strategy applicable to the first business scenario in the monitoring strategy configuration information. Therefore, it can be determined that no matching scenario information exists. The data processing device can obtain the globally applicable monitoring strategy included in the monitoring strategy configuration information as the monitoring strategy applicable to the first business scenario, and review the business data to be monitored according to the globally applicable monitoring strategy. For example, if the determined globally applicable monitoring strategy is a sensitive word monitoring strategy, then the sensitive word monitoring strategy is used to detect whether there are sensitive words in the content indicated by the business data to be monitored. If there are sensitive words in the content indicated by the business data to be monitored, the monitoring result indicates that the review has failed; if there are no sensitive words in the content indicated by the business data to be monitored, the monitoring result indicates that the review has passed.
[0052] In a feasible embodiment, if the business monitoring request carries the business data to be monitored but does not carry the generation scenario information, then the global general monitoring strategy in the monitoring strategy configuration information is obtained, and the monitoring result of the business data to be monitored is determined by using the global general monitoring strategy.
[0053] In one embodiment, before the business data to be monitored is published, the publishing object (which can be understood as the user's account) sends a business monitoring request to the data processing device. The data processing device can publish the business data when the monitoring result indicates that the data has passed review, such as displaying the bullet comments sent by users in the live streaming room in the bullet comment display area. Alternatively, if the monitoring result indicates that the data has failed review, the data processing device can determine processing rules and process the publishing object according to these rules. The processing methods can include sending a message indicating failure to pass review, issuing a warning, muting, or banning the account, etc. Using this embodiment, the publication of various false, fraudulent, and harmful information can be prevented, thus preventing the spread of such information in advance.
[0054] In another embodiment, the monitoring request can be sent to the data processing device at the same time as the monitoring business data is published (mainly for monitoring business data published in the form of a data stream, such as a video stream played in a live broadcast), or after the monitoring business data is published. The data processing device can delete the monitoring business data when it determines that the monitoring result indicates that the monitoring business data has not passed the review, and process the publishing object according to the processing rules. If the monitoring business data is published and monitored at the same time, the processing method can be to terminate the publication, which can prevent the widespread dissemination of various false, fraudulent and harmful information.
[0055] In feasible embodiments, the monitoring strategy configuration information can be customized. The mapping relationship between reference scenario information and reference monitoring strategies in the monitoring strategy configuration information can be changed to a mapping relationship between custom scenarios and custom monitoring strategies. For example, custom scenarios can be different application types (e.g., live streaming clients, video playback clients, instant messaging clients), different application objects (e.g., live streaming client 1, live streaming client 2), different live streaming scenarios (e.g., e-commerce live streaming, game live streaming, show live streaming), etc. The custom monitoring strategy is a monitoring strategy configured for the custom scenario. Using this embodiment, customized strategies can be provided for custom scenarios, improving the flexibility and diversity of business data monitoring.
[0056] In this embodiment of the application, dynamic business data monitoring can be achieved by using the global general monitoring strategy included in the monitoring strategy configuration information, as well as the mapping relationship between the reference scenario information and the reference monitoring strategy. This can effectively improve the effectiveness and diversity of business data monitoring. At the same time, by changing the monitoring strategy configuration information, the flexibility of business data monitoring can be improved.
[0057] Please see Figure 4 , Figure 4 A flowchart illustrating a data processing method provided in this application embodiment. Figure 2 This data processing method includes, but is not limited to, the following steps:
[0058] S401. Receive a service monitoring request; the service monitoring request carries the service data to be monitored and the first service scenario corresponding to the service data to be monitored, the first service scenario including a first application object.
[0059] In this embodiment, the first business scenario is the business scenario that generates business data to be monitored, and the first application object is the application object that generates business data to be monitored. For example, the first application object that generates bullet screen data can be a live streaming client 1, and the first application object that generates video publishing data can be a video playback client 1. When the first business scenario includes the first application object, the data processing device can obtain the monitoring strategy applicable to the first application object in the first business scenario. For example, it can obtain the monitoring strategy applicable to the live streaming client 1 in the bullet screen scenario, or the monitoring strategy applicable to the video playback client 1 in the video publishing scenario.
[0060] S402. Obtain one or more application objects included in the second business scenario in the monitoring strategy configuration information, wherein the monitoring strategy configuration information includes the mapping relationship between each application object and the dedicated monitoring strategy in the one or more application objects.
[0061] In this embodiment, the monitoring strategy configuration information further includes the aforementioned global general monitoring strategy, and the mapping relationship between reference scenario information and reference monitoring strategies. The reference scenario information includes one or more business scenarios. The aforementioned first business scenario is the business scenario among the one or more business scenarios included in the reference scenario information that matches the second business scenario. Each business scenario included in the reference scenario information may include one or more application objects (application objects to be monitored, for example, the reference scenario information includes live streaming client 1 and video playback client 1), and there is a mapping relationship between each application object and a dedicated monitoring strategy. The dedicated monitoring strategy is the monitoring strategy corresponding to a specific application object in a specific business scenario, which can provide business data monitoring for a specific application object in a specific business scenario. The monitoring strategy configuration information also includes a scenario-general monitoring strategy for each business scenario. The scenario-general monitoring strategy is the monitoring strategy corresponding to all application objects in a specific business scenario except for application objects with dedicated monitoring strategies, which can provide business data monitoring for application objects without dedicated monitoring strategies. Of course, in some embodiments, the scenario-general monitoring strategy can also provide business data monitoring for application objects with dedicated monitoring strategies, which is not limited here.
[0062] In this embodiment, a mapping relationship exists between each application object included in the second business scenario and its dedicated monitoring strategy. The monitoring strategy applicable to the application object in the second business scenario can be used as the dedicated monitoring strategy mapped to the application object in the second business scenario. The monitoring strategy applicable to the application object can be determined manually. For example, the configured sensitive word monitoring strategy, regional check monitoring strategy, and manual review monitoring strategy can be used as the monitoring strategy applicable to the live streaming client in the bullet screen scenario (i.e., the reference monitoring strategy). The second business scenario corresponds to a scenario-wide monitoring strategy. When an application object requiring business data monitoring in the second business scenario does not have a corresponding dedicated monitoring strategy in the monitoring strategy configuration information, the scenario-wide monitoring strategy corresponding to the second business scenario can be provided to the application object as a special dedicated monitoring strategy for business data monitoring. The scenario-wide monitoring strategy can be determined manually; for example, the regional check monitoring strategy can be used as the scenario-wide monitoring strategy in the second business scenario.
[0063] Please see Figure 5 The monitoring strategy configuration information can be saved as a tree structure, where... Figure 5 The first and second layers shown can be found in [reference]. Figure 3 The explanation, Figure 5 The third layer shown has two cases: when the business scenario includes application objects, all nodes in the second layer except those representing global general monitoring strategies include the third layer, and the third layer includes one or more nodes (used to represent the specific monitoring strategies that have a mapping relationship with each application object in a certain business scenario, as well as the scenario-general monitoring strategies corresponding to that specific business scenario). Figure 5 The application-specific strategy shown represents the specific monitoring strategy that has a mapping relationship with application object 1 under business scenario 2, the application-specific strategy represents the specific monitoring strategy that has a mapping relationship with application object 2 under business scenario 2, and so on; when the business scenario is not limited to include application objects, in addition to the nodes representing the general monitoring strategy of the scenario, there may also be nodes in the second layer that do not include the third layer, and the reference monitoring strategy corresponding to the nodes that do not include the third layer is the general monitoring strategy of the scenario corresponding to that business scenario.
[0064] In one embodiment, one or more application objects included in the second business scenario can be configured, as well as the monitoring strategy (i.e., dedicated monitoring strategy) applicable to each application object in the one or more application objects can be configured. Based on the configuration results, a mapping relationship between each application object included in the monitoring strategy configuration information and the dedicated monitoring strategy can be generated. Additionally, a scenario-wide monitoring strategy corresponding to the second business scenario included in the monitoring strategy configuration information can also be configured. Of course, configuration can also be performed for business scenarios other than the second business scenario in the monitoring strategy configuration information.
[0065] In one embodiment, the monitoring strategy configuration information can be modified, such as adding the mapping relationship between newly added application objects and dedicated monitoring strategies to the monitoring strategy configuration information; deleting the scenario-general monitoring strategies included in the monitoring strategy configuration information, or deleting the mapping relationship between application objects and dedicated monitoring strategies; changing the scenario-general monitoring strategies included in the monitoring strategy configuration information, or the mapping relationship between application objects and dedicated monitoring strategies. By changing the monitoring strategy configuration information, the monitoring strategy can be dynamically adjusted, enhancing the emergency response capability for sudden events and improving the effectiveness of content monitoring.
[0066] S403. If there is a second application object among the one or more application objects that matches the first application object, then obtain the exclusive monitoring strategy corresponding to the second application object from the monitoring strategy configuration information, and determine the exclusive monitoring strategy corresponding to the second application object as the reference monitoring strategy corresponding to the second business scenario.
[0067] As mentioned above, the reference monitoring strategy corresponding to the second business scenario is determined as the target monitoring strategy corresponding to the matching scenario information, and the monitoring result of the business data to be monitored is determined according to the target monitoring strategy. It can be seen that the data processing device can obtain the reference monitoring strategy corresponding to the second business scenario and determine the monitoring result of the business data to be monitored according to the reference monitoring strategy corresponding to the second business scenario.
[0068] In this embodiment of the application, the second application object is an application object that matches the first application object among one or more application objects included in the second business scenario. For example, the second business scenario includes a live streaming client 1, an instant messaging client 2, and a video playback client 1. If the first application object is a live streaming client 1, then the live streaming client 1 included in the second business scenario is the second application object that matches the first application object.
[0069] In one embodiment, obtaining the reference monitoring strategy corresponding to the second business scenario specifically involves: when the second business scenario does not include an application object, the reference monitoring strategy corresponding to the second business scenario is a reference monitoring strategy that has a mapping relationship with the second business scenario; when the second business scenario includes an application object, the reference monitoring strategy corresponding to the second business scenario is a dedicated monitoring strategy corresponding to the second application object or a general monitoring strategy for the scenario. The detailed process is explained through the following embodiments.
[0070] In a feasible embodiment, if the first business scenario does not include the first application object, the general monitoring strategy corresponding to the second business scenario is determined as the reference monitoring strategy corresponding to the second business scenario.
[0071] In one embodiment, when the data processing device determines that there is a second application object that matches the first application object among one or more application objects included in the second business scenario, it can obtain a dedicated monitoring strategy that has a mapping relationship with the second application object from the monitoring strategy configuration information, and use it as the dedicated monitoring strategy corresponding to the second application object. It can be understood that the reference monitoring strategy corresponding to the second business scenario is the monitoring strategy applicable to the second application object in the second business scenario. Since the second business scenario matches the first business scenario and the second application object matches the first application object, the dedicated monitoring strategy corresponding to the second application object is also the monitoring strategy applicable to the first application object in the first business scenario. Therefore, the dedicated monitoring strategy corresponding to the second application object is used as the reference monitoring strategy corresponding to the second business scenario.
[0072] In one embodiment, if the data processing device determines that there is no second application object that matches the first application object among one or more application objects included in the second business scenario, it indicates that there is no dedicated monitoring strategy that has a mapping relationship with the second application object. The scenario-general monitoring strategy corresponding to the second business scenario can be used as the monitoring strategy applicable to the first application object in the first business scenario, that is, the scenario-general monitoring strategy is determined as the reference monitoring strategy corresponding to the second business scenario.
[0073] S404. Determine the monitoring result of the business data to be monitored according to the reference monitoring strategy corresponding to the second business scenario.
[0074] The data processing equipment can determine the monitoring results of the business data to be monitored according to the reference monitoring strategy corresponding to the second business scenario, and then process the business data to be monitored according to the monitoring results. For example, if the monitoring result indicates that the review has been approved, the business data to be monitored will be published; if the monitoring result indicates that the review has not been approved, the business data to be monitored will be deleted, or the business data to be monitored will not be published.
[0075] Live streaming clients typically include multiple live streaming rooms. This application allows for the customization of different monitoring strategies for different live streaming rooms. For example, more monitoring strategies can be used for live streaming rooms with high traffic, which can improve the effectiveness of business data monitoring.
[0076] In one embodiment, the data processing device obtains a first live room included in the first application object, and obtains one or more live rooms included in the second application object in the monitoring strategy configuration information. If there is a second live room that matches the first live room among the one or more live rooms, the device obtains the customized monitoring strategy corresponding to the second live room from the monitoring strategy configuration information, determines the customized monitoring strategy corresponding to the second live room as the exclusive monitoring strategy corresponding to the second application object, and determines the monitoring result of the business data to be monitored according to the exclusive monitoring strategy corresponding to the second application object.
[0077] In this embodiment, the first live streaming room is the live streaming room that generates the data to be monitored, and the second live streaming room is the live streaming room that matches the first live streaming room among one or more live streaming rooms included in the second application object. For example, one or more live streaming rooms include: live streaming room 1, live streaming room 2, and the first live streaming room is live streaming room 1. Then, live streaming room 1 included in one or more live streaming rooms can be used as the second live streaming room. The customized monitoring strategy is the monitoring strategy corresponding to a specified live streaming room in a specific application object under a specific business scenario. It can provide business data monitoring for a specified live streaming room in a specific application object under a specific business scenario. The monitoring strategy configuration information includes the mapping relationship between each live streaming room in one or more live streaming rooms and the customized monitoring strategy. The monitoring strategy applicable to the live streaming room can be used as the customized monitoring strategy that has a mapping relationship with the live streaming room. The monitoring strategy applicable to the live streaming room can be determined by manual configuration. For example, the configured sensitive word monitoring strategy and manual review monitoring strategy can be used as the monitoring strategy applicable to the live streaming room (i.e., the customized monitoring strategy). In specific business scenarios, specific application objects correspond to general program monitoring strategies. These general program monitoring strategies are the monitoring strategies for all live streaming rooms within the specific application object in that specific business scenario, excluding those with customized monitoring strategies. They can provide business data monitoring for live streaming rooms without customized monitoring strategies. Of course, in some embodiments, the general program monitoring strategy can also provide business data monitoring for live streaming rooms with customized monitoring strategies; this is not limited here. The monitoring strategy configuration information also includes the general program monitoring strategy corresponding to the second application object. When a live streaming room in the second application object that requires business data monitoring in the second business scenario does not have a corresponding customized monitoring strategy in the monitoring strategy configuration information, the general program monitoring strategy corresponding to the second application object can be provided to the live streaming room as a special customized monitoring strategy for business data monitoring. The general program monitoring strategy can be determined through manual configuration, for example, using a manual review monitoring strategy as the general program monitoring strategy.
[0078] In one embodiment, if there is no second live room matching the first live room in one or more live rooms, the general program monitoring strategy corresponding to the second application object is obtained from the monitoring strategy configuration information, the general program monitoring strategy corresponding to the second application object is determined as the exclusive monitoring strategy corresponding to the second application object, and the monitoring result of the business data to be monitored is determined according to the exclusive monitoring strategy corresponding to the second application object.
[0079] In one embodiment, when the second application object does not include a live streaming room, the dedicated monitoring strategy corresponding to the second application object is a dedicated monitoring strategy that has a mapping relationship with the second application object; when the second application object includes one or more live streaming rooms, the reference monitoring strategy corresponding to the second business scenario is either the dedicated monitoring strategy corresponding to the second live streaming room or the general program monitoring strategy (for specific implementation, please refer to the foregoing description). Using this embodiment, customized monitoring strategies can be provided for different live streaming rooms.
[0080] In one embodiment, one or more live streaming rooms included in the second application object can be configured, as well as the monitoring strategy (i.e., customized monitoring strategy) applicable to each of the one or more live streaming rooms can be configured. Based on the configuration results, a mapping relationship between each live streaming room and the customized monitoring strategy is generated in the monitoring strategy configuration information. Additionally, a general monitoring strategy for the program corresponding to the second application object included in the monitoring strategy configuration information can also be configured. Of course, configuration can also be performed for application objects other than the second application object in the monitoring strategy configuration information.
[0081] In one embodiment, the monitoring strategy configuration information can be modified, such as adding the mapping relationship between newly added live rooms and customized monitoring strategies to the monitoring strategy configuration information; deleting the general monitoring strategies for programs included in the monitoring strategy configuration information, or deleting the mapping relationship between live rooms and customized monitoring strategies; changing the general monitoring strategies for programs included in the monitoring strategy configuration information, or the mapping relationship between live rooms and customized monitoring strategies. By changing the monitoring strategy configuration information, the monitoring strategy can be dynamically adjusted, enhancing the emergency response capability for sudden events and improving the effectiveness of content monitoring.
[0082] Please see Figure 6 The monitoring strategy configuration information can be saved as a tree structure, where... Figure 6 The descriptions of the first and second layers shown can be found in [reference needed]. Figure 3 , Figure 6 For an explanation of the third layer shown, please refer to [link / reference]. Figure 5 . Figure 6 The fourth layer shown has two scenarios: When the application object is limited to live streaming rooms, all nodes in the third layer except those representing the general monitoring strategy for the scenario are included in the fourth layer. The fourth layer includes one or more nodes (used to represent the customized monitoring strategy that maps to each live streaming room in a certain application object under a certain business scenario, as well as the general monitoring strategy for the application object). For example, Figure 6The customized strategy for live room 1 shown represents a dedicated monitoring strategy that has a mapping relationship with live room 1 in application object 2 under business scenario 2. The customized strategy for live room 2 represents a dedicated monitoring strategy that has a mapping relationship with live room 2 in application object 2 under business scenario 2, and so on. When the application object is not limited to include live rooms, in addition to the nodes representing the general monitoring strategy of the program, there may also be nodes in the third layer that do not include the fourth layer, and the dedicated monitoring strategy corresponding to the nodes that do not include the fourth layer is the general monitoring strategy of the program corresponding to the application object.
[0083] In this embodiment, the monitoring dimensions can be divided based on business scenarios and application objects. Through multi-dimensional analysis, more applicable monitoring strategies can be obtained, effectively improving the effectiveness and diversity of business data monitoring. In addition, for live streaming clients, customized monitoring strategies can also be provided for live streaming rooms.
[0084] The data processing method provided in this application embodiment can be applied to... Figure 7 The system architecture shown includes business modules deployed on terminals and data processing equipment. Each business module corresponds to one or more business scenarios. Figure 7 The business modules include bullet screen scenarios, live streaming scenarios, and user dynamic scenarios as examples of business scenarios.
[0085] The data processing equipment includes a policy selector, a policy executor, a monitoring policy pool, and a policy management system. The monitoring policy pool is used to store monitoring policies, such as... Figure 7 The example sensitive word monitoring strategy, region detection monitoring strategy, and manual review monitoring strategy are monitoring strategies stored in the monitoring strategy pool. The monitoring strategy pool can also include other monitoring strategies. The strategy management system is used to manage and store monitoring strategy configuration information. The strategy management system can be a specific service providing an interface for the strategy selector to call, or it can be any easily readable and writable storage system. The strategy selector is used to retrieve monitoring strategy configuration information from the strategy management system and to determine the monitoring strategy to be executed from the monitoring strategy configuration information. The strategy executor is used to execute the monitoring strategy determined by the strategy selector.
[0086] In one embodiment, the monitoring strategy pool includes a strategy description document, which describes the monitoring strategies in the monitoring strategy pool and makes it easier for developers to understand the monitoring strategies included in the monitoring strategy pool.
[0087] In one embodiment, the policy management system stores monitoring policy configuration information, which includes policy identifiers corresponding to global general monitoring policies, mapping relationships between reference scenario information and policy identifiers corresponding to reference monitoring policies, policy identifiers corresponding to scenario general monitoring policies, mapping relationships between application objects and policy identifiers corresponding to dedicated monitoring policies, policy identifiers corresponding to program general monitoring policies, and mapping relationships between live streaming rooms and policy identifiers corresponding to customized monitoring policies.
[0088] Reference monitoring strategies are monitoring strategies corresponding to specific business scenarios. They can provide business data monitoring for specific business scenarios. For example, the reference monitoring strategies configured for the bullet screen scenario include sensitive word monitoring strategies and manual review monitoring strategies. The strategy identifiers corresponding to the sensitive word monitoring strategies and manual review monitoring strategies can be obtained, and a mapping relationship between the strategy identifiers corresponding to the sensitive word monitoring strategies and manual review monitoring strategies and the bullet screen scenario (which can be the scenario identifier corresponding to the bullet screen scenario) can be established and stored in the monitoring strategy configuration information. When it is necessary to monitor the bullet screen scenario, the strategy selector can pull the monitoring strategy configuration information stored in the strategy management system, obtain the strategy identifiers corresponding to the sensitive word monitoring strategies and manual review monitoring strategies that have a mapping relationship with the bullet screen scenario from the monitoring strategy configuration information, and the strategy executor pulls the sensitive word monitoring strategies and manual review monitoring strategies from the monitoring strategy pool according to the strategy identifiers determined by the strategy selector, and executes the sensitive word monitoring strategies and manual review monitoring strategies to monitor the business data in the bullet screen scenario.
[0089] The global general monitoring strategy is the monitoring strategy corresponding to all business scenarios except those with a reference monitoring strategy. It can provide business data monitoring for business scenarios without a reference monitoring strategy. After comparative analysis, the monitoring strategy applicable to various business scenarios can be used as the global general monitoring strategy. For example, the manual review monitoring strategy can be used as the global general monitoring strategy, and the strategy identifier corresponding to the manual review monitoring strategy can be stored in the monitoring strategy configuration information. When monitoring user dynamic scenarios, the strategy selector can pull the monitoring strategy configuration information stored in the strategy management system. If it is determined that there is no corresponding reference monitoring strategy for the user dynamic scenario, the strategy identifier corresponding to the manual review monitoring strategy is obtained from the monitoring strategy configuration information. The strategy executor pulls the manual review monitoring strategy from the monitoring strategy pool according to the strategy identifier determined by the strategy selector and executes the manual review monitoring strategy to monitor the business data of the user dynamic scenario.
[0090] A dedicated monitoring strategy is a monitoring strategy corresponding to a specific application object in a specific business scenario. It can provide business data monitoring for a specific application object in a specific business scenario. For example, when a dedicated monitoring strategy for a live streaming client in a bullet screen scenario includes a sensitive word monitoring strategy, the strategy identifier corresponding to the sensitive word monitoring strategy can be obtained, a mapping relationship can be established between the strategy identifier corresponding to the sensitive word monitoring strategy and the live streaming client in the bullet screen scenario (which can be the program identifier corresponding to the live streaming client), and stored in the monitoring strategy configuration information. When it is necessary to monitor the live streaming client in the bullet screen scenario, the strategy selector can pull the monitoring strategy configuration information stored in the strategy management system, obtain the strategy identifier corresponding to the sensitive word monitoring strategy from the monitoring strategy configuration information, and the strategy executor pulls the sensitive word monitoring strategy from the monitoring strategy pool according to the strategy identifier determined by the strategy selector and executes the sensitive word monitoring strategy to monitor the business data in the live streaming client in the bullet screen scenario.
[0091] Specific business scenarios correspond to general monitoring strategies. These general monitoring strategies are the monitoring strategies for all application objects in that specific business scenario, except for application objects with dedicated monitoring strategies. They can provide business data monitoring for application objects that do not have dedicated monitoring strategies. After comparative analysis, the monitoring strategies applicable to various application objects in a specific business scenario can be used as the general monitoring strategies for that specific business scenario. For example, the sensitive word monitoring strategy can be used as the general monitoring strategy for the bullet screen scenario, and the strategy identifier corresponding to the sensitive word monitoring strategy can be stored in the monitoring strategy configuration information. When monitoring a video playback client in a bullet screen scenario, the strategy selector can pull the monitoring strategy configuration information stored in the strategy management system. If it is determined that there is no dedicated monitoring strategy for the video playback client in a bullet screen scenario, the strategy identifier corresponding to the sensitive word monitoring strategy is obtained from the monitoring strategy configuration information. The strategy executor pulls the sensitive word monitoring strategy from the monitoring strategy pool according to the strategy identifier determined by the strategy selector and executes the sensitive word monitoring strategy to monitor the business data of the video playback client in the bullet screen scenario.
[0092] Customized monitoring strategies are monitoring strategies for specific live streaming rooms within a specific application object under a specific business scenario. They can provide business data monitoring for specific live streaming rooms within a specific application object under a specific business scenario. For example, when the customized monitoring strategy configured for live streaming room 1 in the live streaming client under the bullet screen scenario includes a sensitive word monitoring strategy, the strategy identifier corresponding to the sensitive word monitoring strategy can be obtained, a mapping relationship can be established between the strategy identifier corresponding to the sensitive word monitoring strategy and live streaming room 1 in the live streaming client under the bullet screen scenario (which can be the room identifier corresponding to the live streaming room), and stored in the monitoring strategy configuration information. When it is necessary to monitor live streaming room 1 in the live streaming client under the bullet screen scenario, the strategy selector can pull the monitoring strategy configuration information stored in the strategy management system, obtain the strategy identifier corresponding to the sensitive word monitoring strategy from the monitoring strategy configuration information, and the strategy executor pulls the sensitive word monitoring strategy from the monitoring strategy pool according to the strategy identifier determined by the strategy selector and executes the sensitive word monitoring strategy to monitor the business data of live streaming room 1 in the live streaming client under the bullet screen scenario.
[0093] In specific business scenarios, specific application objects have corresponding general program monitoring strategies. These general program monitoring strategies are the monitoring strategies for all live rooms in the specific application object within that specific business scenario, except for those live rooms with customized monitoring strategies. They can provide business data monitoring for live rooms without customized monitoring strategies. After comparative analysis, the monitoring strategies applicable to all live rooms in the specific application object within that specific business scenario can be used as the program monitoring strategies for that specific application object within that specific business scenario. For example, the manual review monitoring strategy can be used as the general program monitoring strategy for the live client in the bullet screen scenario, and the strategy identifier corresponding to the manual review monitoring strategy can be stored in the monitoring strategy configuration information. When monitoring is performed on live room 2 in the live client in the bullet screen scenario, the strategy selector can pull the monitoring strategy configuration information stored in the strategy management system. If it is determined that there is no customized monitoring strategy for live room 2 in the live client in the bullet screen scenario, the strategy identifier corresponding to the manual review monitoring strategy can be obtained from the monitoring strategy configuration information. The strategy executor pulls the manual review monitoring strategy from the monitoring strategy pool according to the strategy identifier determined by the strategy selector and executes the manual review monitoring strategy to monitor the business data of live room 2 in the live client in the bullet screen scenario.
[0094] In one embodiment, if business data monitoring is performed for a specific business scenario, when the specific business scenario does not involve an application object, a reference monitoring strategy that has a mapping relationship with the specific business scenario is used as the reference monitoring strategy corresponding to the specific business scenario for business data monitoring; when the specific business scenario involves an application object, and business data monitoring is performed for a specific application object under the specific business scenario, then the dedicated monitoring strategy corresponding to the specific application object under the specific business scenario is used as the reference monitoring strategy corresponding to the specific business scenario for business data monitoring; when the specific business scenario involves an application object, but business data monitoring is not performed for a specific application object under the specific business scenario, then the field corresponding to the specific business scenario is used as the reference monitoring strategy for business data monitoring. The general monitoring strategy serves as a reference monitoring strategy for this specific business scenario and is used for business data monitoring. Specifically, if the specific application object involves a live streaming room, and the business data monitoring is performed on a designated live streaming room within that specific application, then the customized monitoring strategy corresponding to that designated live streaming room within that specific application object in that specific business scenario is used as the exclusive monitoring strategy for that specific application object in that specific business scenario. If the specific application object involves a live streaming room, but the business data monitoring is not performed on a designated live streaming room within that specific application, then the general program monitoring strategy corresponding to that specific application object in that specific business scenario is used as the exclusive monitoring strategy for that specific application object in that specific business scenario.
[0095] based on Figure 7 The system architecture shown is as follows: Figure 8 A flowchart illustrating a data processing method provided in this application embodiment. Figure 3 This data processing method includes, but is not limited to, the following steps:
[0096] S801. Send the business information and the corresponding monitoring strategy to the strategy management system.
[0097] In this embodiment of the application, the business information may include one or more of the following: business scenario, application object, and live room. That is, it may include one of the following: business scenario, application object, and live room; it may include two of the following (i.e., removing one of the following); or it may include three of the following.
[0098] S802, The policy management system stores the mapping relationship between business information and its corresponding monitoring policies.
[0099] S803. The business module sends a business monitoring request to the strategy selector, wherein the business monitoring request carries the business data to be monitored.
[0100] S804, the policy selector pulls the stored monitoring policy configuration information from the policy management system.
[0101] S805, The strategy selector determines the strategy selection result based on the monitoring strategy configuration information, wherein the strategy selection result includes one or more monitoring strategies to be executed.
[0102] In one embodiment, if the monitoring strategy configuration information is as follows: Figure 6 As shown, this includes three types: business scenarios, application objects, and live streaming rooms. Each business scenario includes an application object, and when each application object includes a live streaming room, please refer to [link to relevant documentation]. Figure 9 The method for determining the strategy selection result is as follows: First, determine whether the business monitoring request carries a first business scenario. If it does not, the globally applicable monitoring strategy is selected as the strategy selection result. If it carries a first business scenario, determine whether a second business scenario exists in the monitoring strategy configuration information. If the second business scenario does not exist, the globally applicable monitoring strategy is selected as the strategy selection result. If the second business scenario exists, determine whether the business monitoring request carries a first application object. If it does not carry a first application object, the scenario-based general monitoring strategy is selected as the strategy selection result. If it carries a first application object, determine whether a second application object exists in the monitoring strategy configuration information. If no second application object exists, the general monitoring strategy for the scenario is determined as the strategy selection result. If a second application object exists, it is determined whether the business monitoring request carries the first live broadcast room. If it does not carry the first live broadcast room, the general monitoring strategy for the application is determined as the strategy selection result. If it carries the first live broadcast room, it is determined whether a second live broadcast room exists in the monitoring strategy configuration information. If a second live broadcast room does not exist, the general monitoring strategy for the application is determined as the strategy selection result. If a second live broadcast room exists, the customized monitoring strategy corresponding to the second live broadcast room is determined as the strategy selection result. This enables dynamic business data monitoring and can effectively improve the effectiveness and diversity of business data monitoring.
[0103] S806, The policy selector sends the policy selection result to the policy executor.
[0104] S807. The strategy executor executes the monitoring strategies to be executed included in the strategy selection results, determines the monitoring results of the business data to be monitored, and returns the monitoring results to the strategy selector. Figure 8 The strategy selection results shown are as follows: Strategy 1: sensitive words, Strategy 2: regional detection.
[0105] S808, the strategy selector returns the monitoring results to the business module.
[0106] In one embodiment, when the monitoring result indicates that the review has been approved and the business data to be monitored has not been published, the returned monitoring result can be a display instruction message (which can instruct the business module to display the business data to be monitored); when the monitoring result indicates that the review has been approved and the business data to be monitored has been published, the returned monitoring result can be a review approval message; when the monitoring result indicates that the review has not been approved and the business data to be monitored has been published, the returned monitoring result can be a deletion instruction message (which can instruct the business module to delete the business data to be monitored).
[0107] In feasible embodiments, the stored monitoring policy configuration information can also be modified (including enhancement, deletion, alteration, etc.), for example, please refer to Figure 10 , Figure 10 In step S1001, after sending the changed business information and the corresponding monitoring policy to the policy management system, the policy selection result is... Figure 8 Based on Strategy 1 (sensitive words) and Strategy 2 (regional detection), the illustrated Strategy 3 (manual review) is added. Detailed explanations of steps S1002-S1008 can be found in steps S802-S808, and will not be repeated in this embodiment. This embodiment allows for dynamic changes to the monitoring strategy, improving the flexibility of business data monitoring and enhancing the ability to respond to emergencies.
[0108] The methods of the embodiments of this application have been described in detail above. To facilitate better implementation of the above solutions of the embodiments of this application, the apparatus of the embodiments of this application is provided below. Please refer to... Figure 11 , Figure 11 This is a schematic diagram of the structure of a data processing apparatus 11 provided in an exemplary embodiment of this application. The data processing apparatus 11 may include:
[0109] The receiving unit 1101 is used to receive a service monitoring request; the service monitoring request carries the service data to be monitored and the generation scenario information corresponding to the service data to be monitored.
[0110] The acquisition unit 1102 is used to acquire monitoring strategy configuration information, which includes a global general monitoring strategy and a mapping relationship between reference scenario information and reference monitoring strategy.
[0111] The processing unit 1103 is configured to, if there is matching scenario information in the monitoring strategy configuration information that matches the generated scenario information, obtain the target monitoring strategy corresponding to the matching scenario information from the monitoring strategy configuration information, and determine the monitoring result of the business data to be monitored according to the target monitoring strategy.
[0112] In one embodiment, the acquisition unit 1102 is specifically used for:
[0113] If there is no matching scenario information in the monitoring strategy configuration information that matches the generated scenario information, then the global general monitoring strategy is obtained;
[0114] The acquisition unit 1103 is specifically used for:
[0115] The monitoring results of the business data to be monitored are determined according to the global general monitoring strategy.
[0116] In one embodiment, the reference scenario information includes one or more business scenarios, and the generated scenario information includes a first business scenario; the acquisition unit 1102 is specifically used for:
[0117] Obtain one or more business scenarios included in the reference scenario information in the monitoring strategy configuration information;
[0118] The processing unit 1103 is specifically used for:
[0119] If there is a second business scenario that matches the first business scenario in one or more business scenarios, then it is determined that there is matching scenario information in the monitoring strategy configuration information that matches the generated scenario information.
[0120] In one embodiment, the processing unit 1103 is specifically used for:
[0121] Obtain the reference monitoring strategy corresponding to the second business scenario from the monitoring strategy configuration information, and determine the reference monitoring strategy corresponding to the second business scenario as the target monitoring strategy corresponding to the matching scenario information.
[0122] In one embodiment, the first business scenario includes a first application object, the second business scenario includes one or more application objects, and the monitoring strategy configuration information further includes the mapping relationship between each application object and a dedicated monitoring strategy among the one or more application objects; the processing unit 1103 is specifically used for:
[0123] Obtain one or more application objects included in the second business scenario in the monitoring strategy configuration information;
[0124] If there is a second application object that matches the first application object among the one or more application objects, then the exclusive monitoring strategy corresponding to the second application object is obtained from the monitoring strategy configuration information;
[0125] The dedicated monitoring strategy corresponding to the second application object is determined as the reference monitoring strategy corresponding to the second business scenario.
[0126] In one embodiment, the monitoring strategy configuration information further includes a scenario-wide monitoring strategy corresponding to the second business scenario; the processing unit 1103 is specifically used for:
[0127] If there is no second application object among the one or more application objects that matches the first application object, then the general monitoring strategy for the scenario is determined as the reference monitoring strategy corresponding to the second business scenario.
[0128] In one embodiment, the first application object includes a first live streaming room, the second application object includes one or more live streaming rooms, and the monitoring strategy configuration information further includes the mapping relationship between each live streaming room and the customized monitoring strategy in the one or more live streaming rooms; the acquisition unit 1102 is specifically used for:
[0129] Obtain one or more live streaming rooms included in the second application object in the monitoring strategy configuration information;
[0130] The processing unit 1103 is specifically used for:
[0131] If there is a second live room that matches the first live room in one or more live rooms, then obtain the customized monitoring strategy corresponding to the second live room from the monitoring strategy configuration information;
[0132] The customized monitoring strategy corresponding to the second live broadcast room is determined as the exclusive monitoring strategy corresponding to the second application object.
[0133] In one embodiment, the monitoring strategy configuration information further includes a general program monitoring strategy corresponding to the second application object; the processing unit 1103 is specifically used for:
[0134] If there is no second live room that matches the first live room in the one or more live rooms, then the general monitoring strategy of the program will be determined as the exclusive monitoring strategy corresponding to the second application object.
[0135] In one embodiment, the processing unit 1103 is specifically used for:
[0136] If the monitoring result indicates that the business data to be monitored has failed the review, then a processing rule is determined, and the publishing object corresponding to the business data to be monitored is processed according to the processing rule; or, if the monitoring result indicates that the business data to be monitored has failed the review, and the business data to be monitored has already been published, then the business data to be monitored is deleted.
[0137] It is understood that the functions of each functional unit of the data processing device described in the embodiments of this application can be specifically implemented according to the methods in the above method embodiments, and the specific implementation process can be referred to the relevant descriptions in the above method embodiments, which will not be repeated here.
[0138] In this embodiment of the application, when a business monitoring request carrying the business data to be monitored and the corresponding generation scenario information of the business data to be monitored is received, if there is matching scenario information in the monitoring strategy configuration information that matches the generation scenario information, then the monitoring result of the business data to be monitored is determined according to the target monitoring strategy corresponding to the matching scenario information in the monitoring strategy configuration information. By adopting the above method, dynamic business data monitoring can be realized based on different set monitoring strategies, which can effectively improve the effectiveness and diversity of business data monitoring.
[0139] like Figure 12 As shown, Figure 12 This is a schematic diagram of the structure of a computer device according to an embodiment of this application. The internal structure of the computer device 12 is as follows: Figure 12 As shown, it includes: one or more processors 1201, memory 1202, and communication interface 1203. The processors 1201, memory 1202, and communication interface 1203 can be connected via bus 1204 or other means. This embodiment of the application takes the connection via bus 1204 as an example.
[0140] The processor 1201 (or CPU, Central Processing Unit) is the computing and control core of the computer device 12. It can parse various instructions within the computer device 12 and process various data. For example, the CPU can parse power-on / off commands sent by the user to the computer device 12 and control the computer device 12 to perform power-on / off operations; it can also transmit various interactive data between internal structures of the computer device 12, and so on. The communication interface 1203 may optionally include standard wired interfaces or wireless interfaces (such as Wi-Fi, mobile communication interfaces, etc.), and is controlled by the processor 1201 for sending and receiving data. The memory 1202 is a storage device in the computer device 12 used to store computer programs and data. It is understood that the memory 1202 here may include the built-in memory of the computer device 12, or it may include extended memory supported by the computer device 12. The memory 1202 provides storage space, which stores the operating system of the computer device 12, including but not limited to: Windows systems, Linux systems, etc., which are not limited in this application. Specifically, the processor 1201 performs the following operations by running the computer program stored in the memory 1202:
[0141] Receive a business monitoring request; the business monitoring request carries the business data to be monitored and the corresponding generation scenario information of the business data to be monitored.
[0142] Obtain monitoring strategy configuration information, which includes a global general monitoring strategy and a mapping relationship between reference scenario information and reference monitoring strategy;
[0143] If there is matching scenario information in the monitoring strategy configuration information that matches the generated scenario information, then the target monitoring strategy corresponding to the matching scenario information is obtained from the monitoring strategy configuration information, and the monitoring result of the business data to be monitored is determined according to the target monitoring strategy.
[0144] In one embodiment, the processor 1201 is specifically used for:
[0145] If there is no matching scenario information in the monitoring strategy configuration information that matches the generated scenario information, then the global general monitoring strategy is obtained, and the monitoring result of the business data to be monitored is determined according to the global general monitoring strategy.
[0146] In one embodiment, the reference scenario information includes one or more business scenarios, and the generated scenario information includes a first business scenario; the processor 1201 is specifically used for:
[0147] Obtain one or more business scenarios included in the reference scenario information in the monitoring strategy configuration information;
[0148] If there is a second business scenario that matches the first business scenario in one or more business scenarios, then it is determined that there is matching scenario information in the monitoring strategy configuration information that matches the generated scenario information.
[0149] In one embodiment, the processor 1201 is specifically used for:
[0150] Obtain the reference monitoring strategy corresponding to the second business scenario from the monitoring strategy configuration information, and determine the reference monitoring strategy corresponding to the second business scenario as the target monitoring strategy corresponding to the matching scenario information.
[0151] In one embodiment, the first business scenario includes a first application object, the second business scenario includes one or more application objects, and the monitoring strategy configuration information further includes the mapping relationship between each application object and a dedicated monitoring strategy among the one or more application objects; the processor 1201 is specifically used for:
[0152] Obtain one or more application objects included in the second business scenario in the monitoring strategy configuration information;
[0153] If there is a second application object that matches the first application object among the one or more application objects, then the exclusive monitoring strategy corresponding to the second application object is obtained from the monitoring strategy configuration information;
[0154] The dedicated monitoring strategy corresponding to the second application object is determined as the reference monitoring strategy corresponding to the second business scenario.
[0155] In one embodiment, the monitoring strategy configuration information further includes a scenario-wide monitoring strategy corresponding to the second business scenario; the processor 1201 is specifically used for:
[0156] If there is no second application object among the one or more application objects that matches the first application object, then the general monitoring strategy for the scenario is determined as the reference monitoring strategy corresponding to the second business scenario.
[0157] In one embodiment, the first application object includes a first live streaming room, the second application object includes one or more live streaming rooms, and the monitoring strategy configuration information further includes a mapping relationship between each live streaming room and a customized monitoring strategy in the one or more live streaming rooms; the processor 1201 is specifically used for:
[0158] Obtain one or more live streaming rooms included in the second application object in the monitoring strategy configuration information;
[0159] If there is a second live room that matches the first live room in one or more live rooms, then obtain the customized monitoring strategy corresponding to the second live room from the monitoring strategy configuration information;
[0160] The customized monitoring strategy corresponding to the second live broadcast room is determined as the exclusive monitoring strategy corresponding to the second application object.
[0161] In one embodiment, the monitoring strategy configuration information further includes a general program monitoring strategy corresponding to the second application object; the processor 1201 is specifically used for:
[0162] If there is no second live room that matches the first live room in the one or more live rooms, then the general monitoring strategy of the program will be determined as the exclusive monitoring strategy corresponding to the second application object.
[0163] In one embodiment, the processor 1201 is specifically used for:
[0164] If the monitoring result indicates that the business data to be monitored has failed the review, then a processing rule is determined, and the publishing object corresponding to the business data to be monitored is processed according to the processing rule; or, if the monitoring result indicates that the business data to be monitored has failed the review, and the business data to be monitored has already been published, then the business data to be monitored is deleted.
[0165] In specific implementations, the processor 1201, memory 1202, and communication interface 1203 described in the embodiments of this application can execute the implementation of the computer device described in the data processing method provided in the embodiments of this application, or the implementation of the data processing apparatus provided in the embodiments of this application, which will not be repeated here.
[0166] In this embodiment of the application, when a business monitoring request carrying the business data to be monitored and the corresponding generation scenario information of the business data to be monitored is received, if there is matching scenario information in the monitoring strategy configuration information that matches the generation scenario information, then the monitoring result of the business data to be monitored is determined according to the target monitoring strategy corresponding to the matching scenario information in the monitoring strategy configuration information. By adopting the above method, dynamic business data monitoring can be realized based on different set monitoring strategies, which can effectively improve the effectiveness and diversity of business data monitoring.
[0167] This application also provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the data processing method described in this application. The specific implementation can be found in the foregoing description and will not be repeated here.
[0168] This application also provides a computer program product, which includes a computer program or computer instructions. When executed by a processor, the computer program or computer instructions implement the steps of the data processing method provided in this application. The specific implementation method can be found in the foregoing description and will not be repeated here.
[0169] This application also provides a computer program comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the data processing method provided in this application. Specific implementation details are provided above and will not be repeated here.
[0170] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0171] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0172] The above-disclosed embodiments are only some of the embodiments of this application, and should not be construed as limiting the scope of this application. Therefore, any equivalent changes made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. A data processing method, characterized in that, The method includes: Receive a business monitoring request; the business monitoring request carries the business data to be monitored and the corresponding generation scenario information of the business data to be monitored; the generation scenario information includes a first business scenario and a first application object; Obtain monitoring strategy configuration information, which includes a global general monitoring strategy and a mapping relationship between reference scenario information and reference monitoring strategy; the reference scenario information includes one or more business scenarios. If there is a second business scenario that matches the first business scenario in one or more business scenarios, then the reference monitoring strategy corresponding to the second business scenario is obtained from the monitoring strategy configuration information, and the reference monitoring strategy corresponding to the second business scenario is determined as the target monitoring strategy corresponding to the matching scenario information. The monitoring result of the business data to be monitored is determined according to the target monitoring strategy. The target monitoring strategy is used to perform content monitoring on the business data to be monitored. Wherein, if the second business scenario includes one or more application objects, the monitoring strategy configuration information also includes the mapping relationship between each application object and the dedicated monitoring strategy among the one or more application objects; obtaining the reference monitoring strategy corresponding to the second business scenario from the monitoring strategy configuration information includes: If there is a second application object among the one or more application objects that matches the first application object, then the dedicated monitoring strategy corresponding to the second application object is obtained from the monitoring strategy configuration information, and the dedicated monitoring strategy corresponding to the second application object is determined as the reference monitoring strategy corresponding to the second business scenario.
2. The method according to claim 1, characterized in that, The method further includes: If there is no second business scenario that matches the first business scenario in the one or more business scenarios, then the global general monitoring strategy is obtained, and the monitoring result of the business data to be monitored is determined according to the global general monitoring strategy.
3. The method according to claim 1, characterized in that, The monitoring strategy configuration information also includes a scenario-specific monitoring strategy corresponding to the second business scenario; the method further includes: If there is no second application object among the one or more application objects that matches the first application object, then the general monitoring strategy for the scenario is determined as the reference monitoring strategy corresponding to the second business scenario.
4. The method according to claim 1, characterized in that, The first application object includes a first live room, the second application object includes one or more live rooms, and the monitoring strategy configuration information also includes the mapping relationship between each live room and the customized monitoring strategy in the one or more live rooms; The step of obtaining the dedicated monitoring policy corresponding to the second application object from the monitoring policy configuration information includes: Obtain one or more live streaming rooms included in the second application object in the monitoring strategy configuration information; If there is a second live room that matches the first live room in one or more live rooms, then obtain the customized monitoring strategy corresponding to the second live room from the monitoring strategy configuration information; The customized monitoring strategy corresponding to the second live broadcast room is determined as the exclusive monitoring strategy corresponding to the second application object.
5. The method according to claim 4, characterized in that, The monitoring strategy configuration information also includes the general program monitoring strategy corresponding to the second application object, and the method further includes: If there is no second live room that matches the first live room in the one or more live rooms, then the general monitoring strategy of the program will be determined as the exclusive monitoring strategy corresponding to the second application object.
6. The method according to any one of claims 1-5, characterized in that, The method further includes: If the monitoring result indicates that the business data to be monitored has failed the review, then processing rules are determined, and the publishing object corresponding to the business data to be monitored is processed according to the processing rules; or, If the monitoring result indicates that the business data to be monitored has failed the review and the business data to be monitored has already been published, then the business data to be monitored will be deleted.
7. A data processing apparatus, characterized in that, The device includes: A receiving unit is configured to receive a service monitoring request; the service monitoring request carries service data to be monitored and the corresponding generation scenario information of the service data to be monitored; the generation scenario information includes a first service scenario and a first application object. The acquisition unit is used to acquire monitoring strategy configuration information, which includes a global general monitoring strategy and a mapping relationship between reference scenario information and reference monitoring strategy; the reference scenario information includes one or more business scenarios. The processing unit is configured to, if there is a second business scenario in the one or more business scenarios that matches the first business scenario, obtain a reference monitoring strategy corresponding to the second business scenario from the monitoring strategy configuration information, determine the reference monitoring strategy corresponding to the second business scenario as the target monitoring strategy corresponding to the matching scenario information, and determine the monitoring result of the business data to be monitored according to the target monitoring strategy; the target monitoring strategy is used to perform content monitoring on the business data to be monitored. Wherein, if the second business scenario includes one or more application objects, the monitoring strategy configuration information also includes the mapping relationship between each application object and the dedicated monitoring strategy among the one or more application objects; obtaining the reference monitoring strategy corresponding to the second business scenario from the monitoring strategy configuration information includes: If there is a second application object among the one or more application objects that matches the first application object, then the dedicated monitoring strategy corresponding to the second application object is obtained from the monitoring strategy configuration information, and the dedicated monitoring strategy corresponding to the second application object is determined as the reference monitoring strategy corresponding to the second business scenario.
8. A computer device, characterized in that, The device includes a memory, a communication interface, and a processor, wherein the memory, the communication interface, and the processor are interconnected; the memory stores a computer program, and the processor calls the computer program stored in the memory to execute the data processing method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The device contains a computer program that, when executed by a processor, implements the data processing method according to any one of claims 1-6.
10. A computer program product, characterized in that, The computer program product includes a computer program or computer instructions that, when executed by a processor, implement the steps of the data processing method as described in any one of claims 1-6.