Right business monitoring method and device, medium and equipment
By uniformly writing and calling monitoring instructions in third-party data warehouses, the problems of low efficiency and insufficient accuracy of equity business monitoring are solved, efficient and comprehensive abnormal issuance behavior detection is achieved, and the stable operation of the business database is ensured.
Patent Information
- Application Number
- CN202510498532.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2025-08-01
AI Technical Summary
The existing equity business monitoring methods are inefficient and inaccurate enough, and there is a risk of dragging down the business database, and can only monitor missed behavior but not comprehensive enough.
By obtaining target equity distribution data in a third-party data warehouse in real time, and calling monitoring instructions based on the target equity identification, type and user identification, uniformly writing and calling monitoring instructions, avoiding writing scripts for each business database, and realizing detection of abnormal issuance behavior.
Improve monitoring efficiency, ensure the normal operation of the business database, and be able to fully and accurately detect abnormal issuance behavior.
Smart Images

Figure CN120407330A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the financial field and the computer technology field, and particularly relates to a monitoring method, device, medium and equipment for rights and interests services. Background Art
[0002] In financial fields such as insurance and e-commerce, as well as in medical and health fields such as accompanying medical consultations, physical examinations, medical consultations, and health consultations, in order to achieve the marketing of various services and attract new users, various rights and interests services have emerged. For example, by issuing rights and interests cards, insurance services, e-commerce services, accompanying medical consultation services, physical examination services, health consultation services, etc. are marketed to promote consumption or attract new users.
[0003] Currently, the monitoring of each rights and interests service is usually carried out for each service database. That is, the rights and interests issuance data is stored in their respective corresponding service databases, and by writing corresponding monitoring scripts for each service database, the monitoring of rights and interests services is achieved. However, due to the large number of service databases, writing monitoring scripts is time-consuming and laborious, resulting in low service monitoring efficiency. Moreover, when a monitoring script goes wrong, the wrong monitoring script is directly executed in the service database, so there is a risk of bringing down the service database, which will in turn affect online services. In addition, the existing rights and interests service monitoring methods can only monitor whether there is an abnormal issuance behavior such as missed issuance in rights and interests services, so the monitoring results are not accurate and comprehensive enough. Summary of the Invention
[0004] In view of this, the present invention provides a monitoring method, device, medium and equipment for rights and interests services, mainly aiming to solve the problem that the current monitoring of rights and interests services is not accurate and comprehensive enough.
[0005] To solve the above problems, the present application provides a monitoring method for rights and interests services, including:
[0006] Obtaining target rights and interests issuance data of a target rights and interests service from a target service database in real time; the target rights and interests issuance data includes: a target rights and interests identifier, a target rights and interests type, and a target user identifier;
[0007] Invoking a target monitoring instruction from a predetermined monitoring database;
[0008] Determining whether there is an abnormal issuance behavior in the target rights and interests service based on at least any one or several of the target rights and interests identifier, the target rights and interests type, and the target user identifier, and using the target monitoring instruction to obtain a monitoring result of the rights and interests service.
[0009] Optionally, the obtaining target rights and interests issuance data of a target rights and interests service from a target service database in real time specifically includes:
[0010] Establish communication connections with each business database in advance;
[0011] Monitor the data status of each of the business databases;
[0012] When it is monitored that the data status of any business database is in a changed state, determine the business database as the target business database, and obtain the changed rights and interests distribution data from the target business database in real time to obtain the target rights and interests distribution data.
[0013] Optionally, the establishing communication connections with each business database in advance specifically includes:
[0014] Establish communication connections with each business database based on a predetermined communication component.
[0015] Optionally, before calling the target monitoring instruction from a predetermined monitoring database, the method further includes:
[0016] Respond to the configuration operation for the monitoring instruction, and generate monitoring instructions corresponding to each exception type;
[0017] The calling the target monitoring instruction from a predetermined monitoring database specifically includes:
[0018] Based on the target exception type to be monitored and according to a predetermined monitoring period, call the target monitoring instruction corresponding to the target exception type from the predetermined monitoring database.
[0019] Optionally, determining whether there is an abnormal distribution behavior of the target rights and interests business by using the target monitoring instruction based on at least any one or several of the target rights and interests identifier, the target rights and interests type, and the target user identifier specifically includes:
[0020] Based on the target rights and interests identifier and the historical rights and interests identifiers of each stored historical rights and interests data, use the target monitoring instruction to determine whether the target rights and interests identifier is the same as each historical rights and interests identifier, so as to determine whether there is an abnormal distribution behavior of the target rights and interests business;
[0021] And / or, based on the target user identifier, the target rights and interests type, the historical user identifiers of each stored historical rights and interests data, and the historical rights and interests types of each of the historical rights and interests data, use the target monitoring instruction to determine whether the current rights and interests type corresponding to the same user identifier is the same as the historical rights and interests type, so as to determine whether there is an abnormal distribution behavior of the target rights and interests business;
[0022] And / or, based on the target right type, the target right identifier, the historical right types of the stored historical right data, and the historical right identifiers of the historical right data, determine whether the number of right identifiers corresponding to the same right type exceeds a predetermined threshold to determine whether there is an abnormal issuance behavior in the target right service.
[0023] Optionally, the method for monitoring the right service further includes:
[0024] Obtain the activation status and activation time of the target right issuance data;
[0025] Based on the activation status and activation time, use the target monitoring instruction to determine whether there is an abnormal issuance behavior in the target right service.
[0026] Optionally, when it is determined that there is an abnormal issuance behavior, the method further includes:
[0027] Based on the target abnormal type corresponding to the target monitoring instruction, perform an abnormal prompt;
[0028] The target abnormal type includes any one or more of the following: repeated issuance of the same right, multiple issuances of the same user's right, and over-issuance of the total number of rights.
[0029] To solve the above problems, the present application provides a monitoring device for a right service, including:
[0030] An acquisition module, configured to acquire in real time the target right issuance data of the target right service from a target service database; the target right issuance data includes: a target right identifier, a target right type, and a target user identifier;
[0031] A call module, configured to call a target monitoring instruction from a predetermined monitoring database;
[0032] A monitoring module, configured to determine whether there is an abnormal issuance behavior in the target right service at least based on any one or more of the target right identifier, the target right type, and the target user identifier, and obtain a monitoring result of the right service by using the target monitoring instruction.
[0033] To solve the above problems, the present application provides a storage medium storing a computer program, and when the computer program is executed by a processor, the steps of the monitoring method for the right service described in any one of the above are implemented.
[0034] To solve the above problems, the present application provides a computer device including at least a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program on the memory, the steps of the monitoring method for the right service described in any one of the above are implemented.
[0035] In the present application, a method, apparatus, medium, and device for monitoring rights and interests services obtain target rights and interests distribution data in real time from a target business database by using a third-party data warehouse. Subsequently, the target monitoring instructions can be directly invoked to monitor the rights and interests services for the target rights and interests distribution data obtained in real time, achieving unified writing and invocation of the monitoring instructions. There is no need to write monitoring scripts / instructions for each business database, which is conducive to improving the monitoring efficiency. Moreover, since the target monitoring instructions are executed in a third-party data warehouse outside the target business database, when the target monitoring instructions go wrong, it will not affect the business database, ensuring the normal operation of the rights and interests services. At the same time, in the method of the present application, since the detection of abnormal distribution behaviors is performed based on any one or several of the target rights and interests identifier, target rights and interests type, and target user identifier, the final detection result can be made more comprehensive and accurate.
[0036] The above description is only an overview of the technical solution of the present invention. In order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features, and advantages of the present invention more obvious and understandable, the following specifically describes the embodiments of the present invention. Description of the Drawings
[0037] By reading the following detailed description of the preferred embodiments, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present invention. Moreover, throughout the drawings, the same reference numerals are used to represent the same components. In the drawings:
[0038] Figure 1 is a flowchart of a method for monitoring a rights and interests service according to an embodiment of the present application;
[0039] Figure 2 is a structural block diagram of a device for monitoring a rights and interests service according to another embodiment of the present application;
[0040] Figure 3 is a structural block diagram of a computer device according to an embodiment of the present application;
[0041] Figure 4 is a structural block diagram of another computer device according to an embodiment of the present application. Detailed Embodiments
[0042] Reference is made herein to the various aspects and features of the present application with reference to the drawings.
[0043] It should be understood that various modifications can be made to the embodiments applied herein. Therefore, the above specification should not be regarded as a limitation, but only as an example of the embodiments. Those skilled in the art will think of other modifications within the scope and spirit of the present application.
[0044] The accompanying drawings, which are included in and form a part of this specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0045] These and other features of the present application will become apparent from the following description of the preferred forms of the embodiments given by way of non - limiting example with reference to the accompanying drawings.
[0046] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art can definitely implement many other equivalent forms of the present application.
[0047] When combined with the accompanying drawings, the above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description.
[0048] Specific embodiments of the present application will be described hereinafter with reference to the accompanying drawings; however, it should be understood that the claimed embodiments are merely examples of the present application and can be implemented in various ways. Well - known and / or repetitive functions and structures are not described in detail to avoid obscuring the present application with unnecessary or redundant details. Therefore, the specific structural and functional details claimed herein are not intended to be limiting, but are merely a basis and representative basis for the claims to teach those skilled in the art to use the present application in substantially any suitable detailed structure in a variety of ways.
[0049] This specification may use the phrases "in one embodiment", "in another embodiment", "in yet another embodiment" or "in other embodiments", each of which may refer to one or more of the same or different embodiments according to the present application.
[0050] An embodiment of the present application provides a method for monitoring rights and interests services, which can be specifically applied to a data warehouse. Among them, the data warehouse is communicatively connected to each target business database, and the data warehouse is communicatively connected to a monitoring database. As Figure 1 shown, the method in this embodiment includes the following steps:
[0051] Step S101, obtaining target rights and interests issuance data of a target rights and interests service from the target business database in real - time, where the target rights and interests issuance data includes: a target rights and interests identifier, a target rights and interests type, and a target user identifier;
[0052] In this step, the data warehouse can be pre-connected to several business databases, and then obtain the target rights and interests method data from any one or several target business databases in real time. Among them, each rights and interests service can correspond to a business database. The rights and interests services can be, for example, the rights and interests card issuance service, the virtual red envelope issuance service, and so on. Among them, the rights and interests card can specifically include the medical green channel rights and interests card, the accompanying diagnosis service rights and interests card, the free physical examination rights and interests card, the health consultation rights and interests card, the health course rights and interests card, the sports and fitness rights and interests card, the credit card rights and interests card, the insurance membership rights and interests card, the retailer supermarket rights and interests card, the e-commerce platform rights and interests card, and so on.
[0053] Step S102, call the target monitoring instruction from the predetermined monitoring database;
[0054] In this step, technicians can pre-write several monitoring scripts / monitoring instructions in the monitoring database, so that the subsequent data warehouse can directly call the corresponding monitoring instructions from the monitoring database. By using the monitoring database, the unified writing and adjustment of monitoring instructions can be realized, making the management of each monitoring instruction more flexible and convenient, avoiding the writing and adjustment of monitoring scripts for each business database respectively, reducing the writing workload of technicians, and improving the writing efficiency of monitoring instructions.
[0055] Step S103, based on at least any one or several of the target rights and interests identifier, the target rights and interests type, and the target user identifier, use the target monitoring instruction to determine whether there is an abnormal issuance behavior of the target rights and interests service, and obtain the monitoring result of the rights and interests service.
[0056] In this step, the rights and interests identifier can be the rights and interests number, the rights and interests QR code, etc., which are used to uniquely represent the rights and interests issuance data. The rights and interests type represents the type of rights and interests service, and the corresponding rights and interests type can be pre-configured for different rights and interests services. The user identifier represents the object to which the rights and interests data is issued, that is, it indicates which user the rights and interests data is issued to.
[0057] In the business monitoring method of this embodiment, by using a third-party data warehouse to obtain the target rights and interests issuance data from the target business database in real time, and then directly calling the target monitoring instruction subsequently to monitor the rights and interests service for the real-time obtained target rights and interests issuance data, the unified writing and calling of monitoring instructions are realized, and there is no need to write monitoring scripts / monitoring instructions for each business database, which is beneficial to improving the monitoring efficiency. And because the target monitoring instruction is executed in a third-party data warehouse outside the target business database, when the target monitoring instruction goes wrong, it will not affect the business database, ensuring the normal operation of the rights and interests service. At the same time, in the method of this application, because the detection of abnormal issuance behavior is based on any one or several of the target rights and interests identifier, the target rights and interests type, and the target user identifier, the final detection result can be more comprehensive and accurate.
[0058] Another embodiment of the present application provides a monitoring method for rights and interests services, specifically including the following steps:
[0059] Step S201, in response to the configuration operation for the monitoring instruction, generate monitoring instructions corresponding to each abnormal type;
[0060] In this step, the abnormal types may include the following: repeated issuance of the same right and interest, multiple issuances of rights and interests to the same user, and over-issuance of the total number of rights and interests. Among them, the repeated issuance of the same right and interest means that the same right and interest card (right and interest data with the same right and interest identifier) is issued to different users multiple times; the multiple issuances of rights and interests to the same user means that multiple right and interest data of the same right and interest type are issued to the same user multiple times; the over-issuance of the total number of rights and interests means that the total number of issuances of a certain type of right and interest data is greater than the predetermined number threshold.
[0061] In the specific implementation process, corresponding monitoring instructions can be written for different abnormal types. For example, the monitoring instructions can be the right and interest reissuance monitoring instruction, the multiple issuances of rights and interests monitoring instruction, and the over-issuance of rights and interests monitoring instruction, etc., which is convenient for subsequent calling any one or several monitoring instructions as the target monitoring instruction according to the actual monitoring needs.
[0062] Step S202, establish communication connections with each business database in advance;
[0063] In this step, the data warehouse can establish communication connections with each business database based on the predetermined communication component. Specifically, the data warehouse is the database. Among them, the predetermined communication component can be a distributed message middleware, etc. That is, in this embodiment, the data warehouse can establish communication connections with each business database through the cooperation of multiple communication components, which is convenient for subsequent synchronizing the right and interest issuance data from each business database.
[0064] Step S203, monitor the data status of each of the business databases;
[0065] In the specific implementation process of this step, the data status includes the change status and the non-change status. That is, when a certain piece of business data in the business database changes, the data warehouse will listen to this message change, that is, determine that the data status is the change status; on the contrary, when the business data in the business database does not change, the data status obtained by the data warehouse monitoring is the non-change status.
[0066] Step S204, when it is monitored that the data status of any business database is the change status, determine that the business database is the target business database, and obtain the changed right and interest issuance data from the target business database in real time to obtain the target right and interest issuance data;
[0067] In the specific implementation of this step, when the data warehouse detects that the data status of a certain business database is in a changed state, for example, when a certain piece of rights and interests distribution data is newly added to the business database, the data warehouse can obtain the newly added rights and interests distribution data from the business database in real time through a predetermined communication component, so as to obtain the target rights and interests distribution data.
[0068] Step S205: Based on the target abnormal type to be monitored and according to a predetermined monitoring period, call a target monitoring instruction corresponding to the target abnormal type from the predetermined monitoring database;
[0069] In this step, the target abnormal type can be specifically determined from the following three abnormal types: repeated distribution of the same rights and interests, multiple distributions of the same user's rights and interests, and excessive distribution of the total number of rights and interests according to the actual monitoring needs, and then the corresponding monitoring instruction is called. In this step, the predetermined monitoring period can be set and adjusted according to actual needs. For example, it can be 1 hour, 1 day, 3 days, 5 days, 7 days, etc.
[0070] Step S206: Based on at least any one or several of the target rights and interests identifier, target rights and interests type, and the target user identifier, use the target monitoring instruction to determine whether there is an abnormal distribution behavior in the target rights and interests business;
[0071] In this step, since different abnormal types correspond to different monitoring instructions, and each monitoring instruction corresponds to a monitoring method, each abnormal type corresponds to a monitoring method. Specifically, when determining whether there is an abnormal distribution behavior, any one or several of the following three methods can be used for monitoring.
[0072] Method 1: Based on the target rights and interests identifier and the historical rights and interests identifiers of each piece of stored historical rights and interests data, use the target monitoring instruction to determine whether the target rights and interests identifier is the same as each historical rights and interests identifier, so as to determine whether there is an abnormal distribution behavior in the target rights and interests business. That is, in this monitoring method, the target rights and interests card number can be compared with each historical rights and interests card number to determine whether there is a historical rights and interests card number that is the same as the target rights and interests card number. If there is the same rights and interests card number / rights and interests identifier, it can be determined that there is an abnormal distribution behavior, that is, it is determined that the same rights and interests card / rights and interests data is distributed to different users.
[0073] Method 2: Based on the target user identifier, the target right type, the historical user identifiers of the stored historical right data, and the historical right types of the historical right data, use the target monitoring instruction to determine whether the current right type corresponding to the same user identifier is the same as the historical right type, so as to determine whether there is an abnormal issuance behavior in the target right service. That is, in this monitoring method, the right types / kinds of the same target user, such as insurance membership rights, can be compared with the right types corresponding to the historical right data of the user to determine whether the historical right data of the user already has such a right type, that is, to judge whether the insurance membership right has been issued to the user before. If the current right type corresponding to the same user identifier is the same as the historical right type, it can be determined that the right has been issued to the user before, such as the insurance membership right has been issued, and then it can be determined that there is an abnormal issuance behavior, that is, it is determined that the same type of right has been issued to the same user multiple times.
[0074] Method 3: Based on the target right type, the target right identifier, the historical right types of the stored historical right data, and the historical right identifiers of the historical right data, determine whether the number of right identifiers corresponding to the same right type exceeds a predetermined quantity threshold, so as to determine whether there is an abnormal issuance behavior in the target right service. That is, in this monitoring method, based on the target right type, the total number of right identifiers with this right type (the sum of the historical right identifiers and the target right identifiers) can be counted. For example, the sum of the historical right identifiers and the target right identifiers of the e-commerce platform right type is counted, so as to obtain the total issuance quantity of the e-commerce platform right type. When it is determined that the total issuance quantity exceeds the predetermined quantity threshold, it can be determined that there is an abnormal issuance behavior, that is, it is determined that the same type of right has been over-issued.
[0075] Step S207, when it is determined that there is an abnormal issuance behavior, perform an abnormal prompt based on the target abnormal type corresponding to the target monitoring instruction;
[0076] In this step, the target abnormal type includes any one or more of the following: duplicate issuance of the same right, multiple issuances of the same user's rights, over-issuance of the total number of rights. That is, when an abnormal issuance behavior is detected through a certain target monitoring instruction, the abnormal type corresponding to the target monitoring instruction can be determined as the target abnormal type, so as to perform an abnormal prompt. This is convenient for users to timely understand the issuance situation of the right service and lays a foundation for ensuring the reasonable and accurate issuance of the right service. [[ID=IO]]
[0077] In the specific implementation process of this embodiment, when detecting abnormal issuance behaviors, the activation status and activation time of the target entitlement issuance data may also be obtained; based on the activation status and activation time, the target monitoring instruction is used to determine whether there is an abnormal issuance behavior in the target entitlement service. That is, when the activation status of the target entitlement issuance data is the unactivated status, for example, when the activation status of the entitlement card is the unactivated status, it can be determined that the issuance of this entitlement card is an invalid issuance, that is, the user has not received or used this entitlement card; similarly, when it is determined that the activation time of the target entitlement issuance data exceeds the predetermined activation time, for example, the activation time of a certain entitlement card exceeds 1 year, it can be determined that the issuance of this entitlement card is an invalid issuance, that is, although the user has activated and received this entitlement card, the user has not used this entitlement card; furthermore, whether the entitlement service issuance is abnormal can also be determined through the above two states.
[0078] In this embodiment, by using a third-party data warehouse to obtain the target entitlement issuance data from the target business database in real time, and then the target monitoring instruction can be directly called subsequently to monitor the entitlement service for the real-time obtained target entitlement issuance data, realizing the unified writing and calling of the monitoring instruction, without the need to write monitoring scripts / monitoring instructions for each business database, which is beneficial to improving the monitoring efficiency. And since the target monitoring instruction is executed in a third-party data warehouse outside the target business database, when the target monitoring instruction goes wrong, it will not affect the business database, ensuring the normal operation of the entitlement service. At the same time, in the method of this application, since the abnormal issuance behavior detection is performed based on any one or several of the target entitlement identifier, target entitlement type, and target user identifier, the final detection result can be made more comprehensive and accurate.
[0079] Another embodiment of this application provides a monitoring device for an entitlement service, as Figure 2 shown, including:
[0080] An obtaining module 11, configured to obtain the target entitlement issuance data of the target entitlement service from the target business database in real time; the target entitlement issuance data includes: a target entitlement identifier, a target entitlement type, and a target user identifier;
[0081] A calling module 12, configured to call a target monitoring instruction from a predetermined monitoring database;
[0082] A monitoring module 13, configured to determine whether there is an abnormal issuance behavior in the target entitlement service based on at least any one or several of the target entitlement identifier, the target entitlement type, and the target user identifier, and use the target monitoring instruction to obtain the monitoring result of the entitlement service.
[0083] In the specific implementation process of this embodiment, the obtaining module specifically includes:
[0084] A establishing unit, configured to establish communication connections with each business database in advance;
[0085] A monitoring unit, configured to monitor the data status of each of the business databases;
[0086] An obtaining unit, configured to, when it is monitored that the data status of any business database is a changed status, determine the business database as a target business database, and obtain in real time the changed rights and interests distribution data from the target business database, so as to obtain the target rights and interests distribution data.
[0087] In the specific implementation process of this embodiment, the establishing unit is specifically configured to: establish communication connections with each business database based on a predetermined communication component.
[0088] In the specific implementation process of this embodiment, the monitoring device for rights and interests services further includes a configuration module, and the configuration module is configured to: respond to a configuration operation for a monitoring instruction, and generate a monitoring instruction corresponding to each exception type;
[0089] The invoking module is specifically configured to: based on a target exception type to be monitored and according to a predetermined monitoring period, invoke a target monitoring instruction corresponding to the target exception type from the predetermined monitoring database.
[0090] In the specific implementation process of this embodiment, the monitoring module is specifically configured to: based on the target rights and interests identifier and the historical rights and interests identifiers of each stored historical rights and interests data, use the target monitoring instruction to determine whether the target rights and interests identifier is the same as each historical rights and interests identifier, so as to determine whether there is an abnormal distribution behavior in the target rights and interests service;
[0091] And / or configured to: based on the target user identifier, the target rights and interests type, the historical user identifiers of each stored historical rights and interests data, and the historical rights and interests types of each of the historical rights and interests data, use the target monitoring instruction to determine whether the current rights and interests type corresponding to the same user identifier is the same as the historical rights and interests type, so as to determine whether there is an abnormal distribution behavior in the target rights and interests service;
[0092] And / or configured to: based on the target rights and interests type, the target rights and interests identifier, the historical rights and interests types of each stored historical rights and interests data, and the historical rights and interests identifiers of each of the historical rights and interests data, determine whether the number of rights and interests identifiers corresponding to the same rights and interests type exceeds a predetermined quantity threshold, so as to determine whether there is an abnormal distribution behavior in the target rights and interests service.
[0093] In the specific implementation process of this embodiment, the obtaining module is further configured to: obtain the activation status and activation time of the target rights and interests distribution data;
[0094] The monitoring module is further configured to: based on the activation status and activation time, use the target monitoring instruction to determine whether there is any abnormal issuance behavior of the target rights and interests service.
[0095] In the specific implementation process of this embodiment, the monitoring device for the rights and interests service further includes a prompt module, and the prompt module is configured to: when it is determined that there is an abnormal issuance behavior, perform an abnormal prompt based on the target abnormal type corresponding to the target monitoring instruction; the target abnormal type includes any one or more of the following: repeated issuance of the same right and interest, multiple issuances of the same user's rights and interests, and excessive total issuance of rights and interests.
[0096] In the monitoring device for the rights and interests service in this embodiment, by using a third-party data warehouse to obtain the target rights and interests issuance data from the target service database in real time, and then the target monitoring instruction can be directly called subsequently to monitor the rights and interests service for the real-time obtained target rights and interests issuance data, realizing the unified writing and calling of the monitoring instruction, without the need to write monitoring scripts / monitoring instructions for each service database, which is beneficial to improving the monitoring efficiency. And since the target monitoring instruction is executed in a third-party data warehouse outside the target service database, when the target monitoring instruction goes wrong, it will not affect the service database, ensuring the normal operation of the rights and interests service. At the same time, in the method of this application, since the detection of abnormal issuance behavior is performed based on any one or more of the target rights and interests identifier, target rights and interests type, and target user identifier, the final detection result can be made more comprehensive and accurate.
[0097] Another embodiment of this application provides a storage medium, and the storage medium stores a computer program, and when the computer program is executed by a processor, the following method steps are implemented:
[0098] Step 1: Obtain the target rights and interests issuance data of the target rights and interests service from the target service database in real time; the target rights and interests issuance data includes: target rights and interests identifier, target rights and interests type, and target user identifier;
[0099] Step 2: Call the target monitoring instruction from a predetermined monitoring database;
[0100] Step 3: Determine whether there is any abnormal issuance behavior of the target rights and interests service by using the target monitoring instruction based on at least any one or more of the target rights and interests identifier, target rights and interests type, and the target user identifier, and obtain the monitoring result of the rights and interests service.
[0101] For the specific implementation process of the above method steps, reference can be made to the embodiments of the above-mentioned monitoring method for any rights and interests service, and this embodiment will not be repeated here.
[0102] The storage medium of the present application obtains target entitlement distribution data in real time from the target business database by utilizing a third-party data warehouse. Subsequently, the target monitoring instruction can be directly invoked to monitor the entitlement business of the real-time obtained target entitlement distribution data, realizing the unified writing and invocation of the monitoring instruction. There is no need to write monitoring scripts / monitoring instructions for each business database, which is conducive to improving the monitoring efficiency. And since the target monitoring instruction is executed in a third-party data warehouse outside the target business database, when the target monitoring instruction goes wrong, it will not affect the business database, ensuring the normal operation of the entitlement business. At the same time, in the method of the present application, since the abnormal distribution behavior detection is performed based on any one or several of the target entitlement identifier, the target entitlement type, and the target user identifier, the final detection result can be made more comprehensive and accurate.
[0103] Another embodiment of the present application provides a computer device, which can be a server, and its internal structure diagram can be as Figure 3 shown. The computer device includes a processor, a memory, a network interface, and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile and / or volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external client through a network connection. When the computer program is executed by the processor, it realizes the functions or steps on the server side of a product marketing strategy determination method.
[0104] In one embodiment, a computer device is provided, which can be a client, and its internal structure diagram can be as Figure 4 shown. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external server through a network connection. When the computer program is executed by the processor, it realizes the functions or steps on the client side of a product marketing strategy determination method.
[0105] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are realized:
[0106] Step 1: Obtain the target entitlement issuance data of the target entitlement business from the target business database in real time; the target entitlement issuance data includes: target entitlement identifier, target entitlement type, and target user identifier;
[0107] Step 2: Invoke the target monitoring instruction from the predetermined monitoring database;
[0108] Step 3: Determine whether there is an abnormal issuance behavior in the target entitlement business based on at least any one or several of the target entitlement identifier, target entitlement type, and the target user identifier, and use the target monitoring instruction to obtain the monitoring result of the entitlement business.
[0109] For the specific implementation process of the above method steps, reference can be made to the embodiments of the monitoring method for any of the above entitlement businesses, and the details will not be repeated here.
[0110] The computer device of the present application obtains the target entitlement issuance data from the target business database in real time by using a third-party data warehouse. Subsequently, the target monitoring instruction can be directly invoked to monitor the entitlement business for the real-time obtained target entitlement issuance data, realizing the unified writing and invocation of the monitoring instruction. There is no need to write monitoring scripts / instructions for each business database, which is beneficial to improving the monitoring efficiency. And since the target monitoring instruction is executed in a third-party data warehouse outside the target business database, when the target monitoring instruction goes wrong, it will not affect the business database, ensuring the normal operation of the entitlement business. At the same time, in the method of the present application, since the detection of abnormal issuance behavior is based on any one or several of the target entitlement identifier, target entitlement type, and target user identifier, the final detection result can be more comprehensive and accurate.
[0111] The above embodiments are only exemplary embodiments of the present application and are not used to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art can make various modifications or equivalent replacements within the essence and protection scope of the present application, and such modifications or equivalent replacements should also be regarded as falling within the protection scope of the present application.
Claims
1. A monitoring method for rights and interests business, characterized in that, Including: Obtaining, in real time, target rights and interests issuance data of a target rights and interests service from a target business database, where the target rights and interests issuance data includes: a target rights and interests identifier, a target rights and interests type, and a target user identifier; Invoking a target monitoring instruction from a predetermined monitoring database; Determining, at least based on any one or several of the target rights and interests identifier, the target rights and interests type, and the target user identifier, whether there is an abnormal issuance behavior of the target rights and interests service by using the target monitoring instruction, and obtaining a monitoring result of the rights and interests service.
2. The method according to claim 1, characterized in that, The obtaining, in real time, target rights and interests issuance data of a target rights and interests service from a target business database specifically includes: Establishing communication connections with each business database in advance; Monitoring the data status of each business database; When it is monitored that the data status of any business database is a changed status, determining the business database as the target business database, and obtaining, in real time, the changed rights and interests issuance data from the target business database to obtain the target rights and interests issuance data.
3. The method according to claim 2, characterized in that, The establishing communication connections with each business database in advance specifically includes: Establishing communication connections with each business database based on a predetermined communication component.
4. The method according to claim 1, characterized in that, Before invoking a target monitoring instruction from a predetermined monitoring database, the method further includes: Responding to a configuration operation for the monitoring instruction to generate monitoring instructions corresponding to each abnormal type; The invoking a target monitoring instruction from a predetermined monitoring database specifically includes: Based on a target abnormal type to be monitored and according to a predetermined monitoring period, invoking a target monitoring instruction corresponding to the target abnormal type from the predetermined monitoring database.
5. The method according to claim 1, characterized in that, The determining, at least based on any one or several of the target rights and interests identifier, the target rights and interests type, and the target user identifier, whether there is an abnormal issuance behavior of the target rights and interests service by using the target monitoring instruction specifically includes: Based on the target rights and interests identifier and the historical rights and interests identifiers of each stored historical rights and interests data, using the target monitoring instruction to determine whether the target rights and interests identifier is the same as each historical rights and interests identifier, so as to determine whether there is an abnormal issuance behavior of the target rights and interests service; And / or, based on the target user identifier, the target rights and interests type, the historical user identifiers of each stored historical rights and interests data, and the historical rights and interests types of each historical rights and interests data, using the target monitoring instruction to determine whether the current rights and interests type corresponding to the same user identifier is the same as the historical rights and interests type, so as to determine whether there is an abnormal issuance behavior of the target rights and interests service; And / or, based on the target rights and interests type, the target rights and interests identifier, the historical rights and interests types of each stored historical rights and interests data, and the historical rights and interests identifiers of each historical rights and interests data, determining whether the number of rights and interests identifiers corresponding to the same rights and interests type exceeds a predetermined quantity threshold, so as to determine whether there is an abnormal issuance behavior of the target rights and interests service.
6. The method according to claim 1, characterized in that, The method further includes: Obtaining the activation status and activation time of the target rights and interests issuance data; Based on the activation status and activation time, using the target monitoring instruction to determine whether there is an abnormal issuance behavior of the target rights and interests service.
7. The method according to any one of claims 1-6, characterized in that, When it is determined that there is an abnormal issuance behavior, the method further includes: Perform an exception prompt based on the target exception type corresponding to the target monitoring instruction; The target exception type includes any one or more of the following: duplicate issuance of the same right, multiple issuances of the same user's rights, and over-issuance of the total number of rights.
8. A monitoring device for rights and interests services, characterized in that, Include: An acquisition module, configured to acquire target right issuance data of a target right service from a target service database in real time; The target right issuance data includes: a target right identifier, a target right type, and a target user identifier; An invocation module, configured to invoke a target monitoring instruction from a predetermined monitoring database; A monitoring module, configured to determine whether there is an abnormal issuance behavior of the target right service based on at least any one or more of the target right identifier, the target right type, and the target user identifier, and utilize the target monitoring instruction to obtain a monitoring result of the right service.
9. A storage medium, characterized in that, The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the monitoring method for a right service according to any one of claims 1-7 above are implemented.
10. A computer device, characterized in that, At least includes a memory and a processor. A computer program is stored on the memory, and when the processor executes the computer program on the memory, the steps of the monitoring method for a right service according to any one of claims 1-7 above are implemented.