Short message auditing and intercepting method, device, equipment, medium and program product
By gathering multi-source number data in the data lake and using user identity and terminal identification number for short-signal code verification, the problem of inaccurate SMS audit in the existing technology is solved, and higher accuracy and user experience is achieved.
Patent Information
- Application Number
- CN202411318476.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-09-20
AI Technical Summary
There are inaccurate problems with existing SMS auditing and interception technologies, especially the matching of keywords or list libraries is blind to SMS type identification, which is prone to errors and missed judgments, and relies on manual maintenance.
By gathering multi-source number data in the data lake, verifying the verification number, matching the user identity identifier and user terminal identification number, determining priority according to the number usage times, and determining whether to intercept and send text messages. .
It improves the accuracy of SMS audits, reduces misjudgments, improves the accuracy of SMS sending to target users, reduces user complaints, protects users from interference and infringement of wrong information, and improves user service experience.
Smart Images

Figure CN119071745A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of content security technology, and in particular to a text message auditing and intercepting method, device, equipment, medium and program product. Background Art
[0002] In recent years, the problem of SMS complaints in the field of cybersecurity and in telecommunications companies has become increasingly prominent. Among them, the proportion of complaints from users about normal business SMS content has also increased, and complaints related to SMS verification codes have also gradually emerged. In this context, the problem of complaints caused by sending SMS to non-target users needs to be solved urgently.
[0003] The existing technical solutions for real-time SMS auditing and interception mainly use methods such as matching keywords and blacklist and whitelist filtering technology to intercept SMS sending requests, SMS gateways, or SMS receiving terminals at the end of the communication process. The keyword matching method includes accurately screening SMS content or determining whether to intercept through feature vector similarity comparison method; the blacklist and whitelist filtering technology mainly achieves accurate filtering by accurately matching the sending request user with the list.
[0004] However, the use of keyword or list matching is blind to the SMS type identification, and is prone to misjudgment and omission, and relies heavily on manual maintenance. Therefore, the existing SMS audit and interception solutions have the problem of inaccuracy. Summary of the invention
[0005] The present invention provides a method, device, equipment, medium and program product for checking and intercepting short messages, which are used to solve the problem of inaccuracy in the short message checking and intercepting methods in the prior art.
[0006] In a first aspect, the present invention provides a method for short message auditing and interception, comprising: Responding to a data service request sent by the target business system; the data service request is a number verification request generated by the target business system based on the number to be verified when the user inputs the number to be verified to trigger the need to send a text message; Based on the multi-source number data gathered in the data lake, the number to be verified is verified to obtain a verification result; Based on the verification result, it is determined whether to intercept the sent text message.
[0007] In one embodiment, the verification of the number to be verified based on the multi-source number data gathered in the data lake to obtain the verification result includes: Parsing the data service request to obtain a user identity identifier ID, a user terminal identification number and the number to be verified; Based on the user identity identifier ID or the user terminal identification number, the multi-source number data gathered in the data lake is matched to obtain multiple numbers used by the user; According to the priority order of each number used by the user, the number to be verified is verified and compared with multiple numbers used by the user to obtain a verification result.
[0008] In one embodiment, the priority of each number used by the user is determined by the following steps: Counting the usage times of each number used by the user; The priority of each number used by the user is determined according to the number of times used.
[0009] In one embodiment, the determining whether to intercept the sent text message based on the verification result includes: If the verification result is that the verification number and the target number are successfully verified, the SMS is allowed to be sent; If the verification result is that the verification number fails to be compared with multiple numbers used by the user, a risk prompt of mis-entry of the number to be verified is sent to the target service system, so that the target service system guides the user to re-enter the number to be verified; Iteratively execute the steps of responding to the data service request sent by the target business system until the verification and comparison are successful within the preset number of times, allowing the text message to be sent. If the verification and comparison fails when the preset number of times is reached, a text message interception alarm prompt is sent to the target business system or the text message is directly intercepted.
[0010] In one embodiment, the multi-source number data gathered in the data lake includes at least historical number data of multiple different business systems, user number data collected in real time by multiple different business systems, and user number data stored in the data warehouse.
[0011] In one embodiment, the multi-source number data aggregated in the data lake is obtained by the following steps: Based on Flink CDC's non-intrusive data collection capabilities, it can obtain user number data collected in real time by multiple different business systems. Based on offline ETL tools, historical number data of multiple different business systems are synchronized to the data warehouse on a regular basis; The user number data collected in real time, the historical number data synchronized at regular intervals, and the user number data stored in the data warehouse are aggregated into the data lake for storage.
[0012] In one embodiment, the target business system and the data lake use an application programming interface (API) real-time interaction mechanism; The data services provided by the data lake to the business system include but are not limited to data file transfer services, data report display services and visualization large-screen display services.
[0013] In a second aspect, the present invention further provides a short message auditing and intercepting device, comprising: A response module, used to respond to a data service request sent by a target business system; the data service request is a number verification request generated by the target business system based on the number to be verified when a user inputs a number to be verified to trigger a text message sending requirement; A number verification module is used to verify the number to be verified based on the multi-source number data gathered in the data lake to obtain a verification result; The interception determination module is used to determine whether to intercept the sent text message based on the verification result.
[0014] In a third aspect, the present invention provides a device, comprising an electronic device, wherein the electronic device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned SMS auditing and interception methods are implemented.
[0015] In a fourth aspect, the present invention further provides a medium, comprising a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above-mentioned SMS auditing and interception methods are implemented.
[0016] In a fifth aspect, the present invention also provides a product, comprising a computer program product, wherein the computer program product comprises a computer program, wherein the computer program can be stored on a non-transitory computer-readable storage medium, and wherein when the computer program is executed by the processor, the steps of any of the above-mentioned SMS auditing and interception methods are implemented.
[0017] The SMS audit and interception method, device, equipment, medium and program product provided by the present invention respond to the data service request sent by the target business system, and use the multi-source number data gathered in the data lake to verify the number to be verified, which can provide more comparison values for the verification of the number to be verified, minimize misjudgment, improve the accuracy of SMS audit, and further determine whether to intercept the sent SMS based on the verification result, thereby improving the accuracy of the source SMS sent to the target user, reducing user complaints at the source, protecting users from interference and infringement of erroneous information, and improving user service experience perception. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 This is one of the flow charts of the SMS audit and interception method provided by the present invention.
[0020] Figure 2 This is the second flow chart of the SMS audit and interception method provided by the present invention.
[0021] Figure 3 It is a schematic diagram of the data lake provided by the present invention connecting data from multiple data sources.
[0022] Figure 4 It is a schematic diagram of the API real-time data service provided by the present invention.
[0023] Figure 5 It is a schematic diagram of the one-stop stream-batch data aggregation provided by the present invention.
[0024] Figure 6 It is a structural schematic diagram of the short message auditing and intercepting device provided by the present invention.
[0025] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] The terms "first", "second", etc. in the present invention are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein.
[0028] Combine the following Figure 1-Figure 7 The text message auditing and intercepting method, device, equipment, medium and program product provided by the present invention are described.
[0029] Combination Figure 1 , Figure 1This is one of the flow charts of the SMS audit and interception method provided by the present invention. Figure 2 This is the second flow chart of the SMS audit and interception method provided by the present invention.
[0030] like Figure 1 As shown, the method includes the following: Step 101, responding to a data service request sent by a target business system; Step 102: Based on the multi-source number data gathered in the data lake, verify the number to be verified to obtain a verification result; Step 103: Based on the verification result, determine whether to intercept the sent text message.
[0031] It should be noted that the SMS audit and interception method provided in the embodiment of the present invention is implemented based on the SMS audit and interception device. When a user handles business on the target business system or needs to log in to the target business system again, usually when it is impossible to log in without a password or handle business by automatically obtaining the user's mobile phone number, the business system will be triggered to require the user to manually enter the number in order to send a text message. At this time, the accuracy of the number entered by the user directly affects whether the user can log in or handle business normally. At the same time, there is also a situation where the text message is mistakenly sent to other users, thereby causing complaints or panic. Therefore, the SMS audit and interception method provided by the present invention utilizes the real-time data processing technology of the data lake, which can realize data interaction between the target business system and the data lake, and respond to the data service request of the target business system, and verify the number to be verified with the multi-source number data in the data lake, and determine whether to intercept the sent text message based on the verification result.
[0032] The embodiment of the present invention takes a text message audit and interception device as an example to describe the text message audit and interception method.
[0033] Figure 2 The whole process of SMS audit and interception method is described in the text file. Therefore, the following description of each process of SMS audit and interception method can be compared with the text file. Figure 2 To understand.
[0034] Specifically, when the user handles business in the target business system or needs to log in to the target business system again, the target business system will be triggered to require the user to manually enter a number in order to send a text message.
[0035] At this time, the target business system will detect whether the user terminal uses the mobile network. If the mobile network is used, the target business system will automatically obtain the user number that the user has agreed to collect on the target business system, and realize password-free login to the system or handling of business.
[0036] If the mobile phone network is not used, the target service system requires the user to manually input the number to be verified in order to verify the number to be verified. The specific process is as follows.
[0037] The target business system displays a page for the user to manually input a number through the user terminal. When the user sees the page requiring manual input of a number, the user manually inputs the number to be verified.
[0038] Furthermore, the target business system generates a number verification request based on the user identity document (ID), the user terminal identification number and the number to be verified manually entered by the user. Since the target business system and the data lake use an application programming interface (API) real-time interaction mechanism, the target business system can send the number verification request to the SMS audit and interception device in the form of API to request data services from the data lake.
[0039] Furthermore, after receiving the data service request sent by the target business system, the SMS audit and interception device responds to the data service request in the form of a response message.
[0040] Furthermore, the SMS audit and interception device verifies the number to be verified based on the multi-source number data gathered in the data lake to obtain the verification result.
[0041] It should be noted that the data lake aggregates data from multiple docking data sources, such as historical data from multiple different business systems, data collected in real time from multiple different business systems, offline data from data warehouses, and API request data. Figure 3 As shown, Figure 3 It is a schematic diagram of the data lake provided by the present invention connecting data from multiple data sources.
[0042] Historical data of multiple different business systems: mainly includes data from multiple business systems that have been implemented in production systems, such as official accounts, mini-programs, Alipay life accounts, H5 pages, integrated customer service systems, various mobile software and various websites, etc., using as many of our own channels or systems as possible to obtain data on numbers that users may use or have used, so as to provide more comparison values for user number data verification and minimize the occurrence of misjudgments and misinterceptions. Specific data content includes user ID, user number, user terminal identification number, business system name, user operation time, page operation information, page exposure information, clicks or payments, etc., including structured data and unstructured data.
[0043] Data collected in real time by multiple different business systems: mainly includes data generated in real time by multiple business systems. Specific data include user ID, user number, user terminal identification number, SMS content, target recipient number, time and other information, mainly unstructured data.
[0044] Data warehouse offline data: Considering that the business system may use the data warehouse to implement business analysis, the generated data can also be connected to the offline data of the data warehouse, mainly structured data.
[0045] API request data: When the business system triggers an API data service request, the request data generated is mainly unstructured data.
[0046] The main difference between the storage forms of unstructured data and structured data lies in the different data sources. Structured data is mainly based on historical data from the previous day. The data generally does not change again. It is stored according to predefined data types and field names, and has good data reading and writing performance, high storage efficiency and compression efficiency; while unstructured data is mainly based on real-time message data generated by the production system. The data may be updated at any time, with the characteristics of diverse data forms and uncertain data content. Although the data storage forms are different, in the number verification service, data services can be provided in the form of API by obtaining fixed fields (user ID, user number, user terminal identification number, etc.).
[0047] It can be understood that the embodiment of the present invention establishes an API real-time interaction mechanism between the target business system and the data lake, which can realize the real-time audit and interception of SMS. The API services involved include: the target business system accesses data to the data lake through API or embedded data with the user's consent; the target business system sends data service requests to the data lake through API services; the data lake supports providing real-time data services to the target business system in other forms such as API or data files. Figure 4 , Figure 4 It is a schematic diagram of the API real-time data service provided by the present invention.
[0048] In addition to establishing an API real-time interaction mechanism between the target business system and the data lake, data services can also be provided to the target business system in the form of data file transfer services, data report display services, and visualization large-screen display services. Among them, the data file transfer service involved generates a file containing user numbers in the agreed field structure and sequence and transmits it to the target business system; the data report display service can display the data statistics and business analysis results of user IDs and numbers in the form of reports on the target business system; the visualization large-screen display service can provide the target business system with user history operation monitoring services by displaying the user's business operation behavior in the form of charts, indicator rankings, etc.
[0049] Based on the above data entering the lake, we can obtain historical number data of multiple business systems from the historical data of multiple business systems, obtain user number data collected in real time by multiple business systems from the data collected in real time by multiple business systems, and obtain user number data stored in the data warehouse from the offline data of the data warehouse.
[0050] Furthermore, the SMS audit and interception device determines whether to intercept the sent SMS based on the verification result.
[0051] The SMS auditing and intercepting method provided by the present invention responds to the data service request sent by the target business system, and uses the multi-source number data gathered in the data lake to verify the number to be verified, which can provide more comparison values for the verification of the number to be verified, minimize misjudgment, and improve the accuracy of SMS auditing. It can further determine whether to intercept the sent SMS based on the verification result, thereby improving the accuracy of the source SMS sent to the target user, reducing user complaints at the source, protecting users from interference and infringement by erroneous information, and improving user service experience perception.
[0052] In some embodiments, based on the multi-source number data gathered in the data lake as described in step 102, the number to be verified is verified to obtain a verification result, and the specific process includes the following steps: Parsing the data service request to obtain a user identity identifier ID, a user terminal identification number and the number to be verified; Based on the user identity identifier ID or the user terminal identification number, the multi-source number data gathered in the data lake is matched to obtain multiple numbers used by the user; According to the priority order of each number used by the user, the number to be verified is verified and compared with multiple numbers used by the user to obtain a verification result.
[0053] Specifically, the SMS audit and interception device parses the data service request to obtain the user ID, the user terminal identification number and the number to be verified.
[0054] Furthermore, the SMS auditing and intercepting device matches multiple numbers used by the user from the multi-source number data gathered in the data lake based on the user ID or the user terminal identification number.
[0055] It is understandable that if the user ID does not match multiple numbers used by the corresponding user in the data lake during the verification and comparison of the numbers to be verified, it is also possible to match multiple numbers used by the corresponding user based on the user terminal identification number, which increases the matching range of the numbers to be verified to a certain extent and avoids omissions as much as possible.
[0056] Furthermore, the SMS audit and interception device obtains the priority of each number used by the user, and verifies and compares the number to be verified with multiple numbers used by the user in the order of priority of each number used by the user to obtain a verification result.
[0057] It is understandable that if multiple user numbers are matched in the data lake for the same user ID or user terminal identification number, then when performing number verification and comparison, they are compared with the numbers used by the user in order of priority from high to low to obtain the verification result of the number to be verified.
[0058] The embodiment of the present invention parses the data service request and extracts the user identity identifier ID and the terminal identification number, so as to search and match the numbers used by the user in the data lake, and further compares the numbers to be verified one by one according to the priority order of the numbers, so as to ensure the accuracy and efficiency of the verification process, minimize misjudgment, and improve the accuracy of SMS audit.
[0059] Furthermore, in the above process, the priority of each number used by the user is determined by the following steps: Counting the usage times of each number used by the user; The priority of each number used by the user is determined according to the number of times used.
[0060] Specifically, based on statistical dimensions such as user ID, user terminal identification number, and target business system, the SMS audit and interception device counts the number of times each number used by the user is used, and ranks them from high to low according to the number of times used to obtain a ranking result.
[0061] Furthermore, the SMS auditing and intercepting device determines the priority of each number used by the user in turn according to the ranking results. That is to say, the more times a number is used, the higher its priority is when verifying the number to be verified, and the higher the priority number is, the earlier it will be compared.
[0062] The embodiment of the present invention can effectively identify the most frequently used numbers by counting the number of times each number used by the user is used and determining the priority of the used numbers based on the counted number of times, thereby ensuring that during the verification and comparison process, numbers with higher usage frequencies are compared first, thereby improving the efficiency of the verification and comparison.
[0063] In some embodiments, based on the verification result described in step 103, determining whether to intercept the sent text message includes the following steps: If the verification result is that the verification number and the target number are successfully verified, the SMS is allowed to be sent; If the verification result is that the verification number fails to be compared with multiple numbers used by the user, a risk prompt of mis-entry of the number to be verified is sent to the target service system, so that the target service system guides the user to re-enter the number to be verified; Iteratively execute the steps of responding to the data service request sent by the target business system until the verification and comparison are successful within the preset number of times, allowing the text message to be sent. If the verification and comparison fails when the preset number of times is reached, a text message interception alarm prompt is sent to the target business system or the text message is directly intercepted.
[0064] Specifically, if the verification result is that the verification and comparison between the number to be verified and the target number are successful, the SMS audit and interception device allows the SMS gateway to send the SMS.
[0065] Furthermore, if the verification result is that the verification number fails to be compared with multiple numbers used by the user, the SMS audit and interception device sends a risk prompt to the target business system that the verification number has been entered incorrectly, so that the target business system guides the user to re-enter the verification number.
[0066] After the user re-enters the number to be verified, the target business system generates a number verification request again based on the user ID, user terminal identification number and the number to be verified re-entered by the user, and sends the number verification request to the SMS audit and interception device through an API to request the data service of the data lake again.
[0067] After receiving the data service request sent by the target business system, the SMS audit and interception device responds to the data service request sent by the target business system and iteratively executes the verification process of the number to be verified until the verification and comparison are successful within the preset number of times, and the SMS is allowed to be sent. If the verification and comparison still fails when the preset number of times is reached, the SMS audit and interception device sends a SMS interception alarm prompt to the target business system or directly intercepts the sent SMS. In other words, if the verification and comparison still fails when the preset verification time is reached, the SMS audit and interception device sends a SMS interception alarm prompt to the target business system or directly intercepts the sent SMS. Among them, the preset number of times and the preset verification time are set according to actual conditions.
[0068] It is understandable that if the user enters the number incorrectly for a preset number of times, or the SMS verification time exceeds the preset verification time, the function of manually entering the number will be limited or the SMS will not be sent successfully.
[0069] The embodiment of the present invention decides whether to allow the sending of text messages based on accurate verification results, that is, if the number to be verified is successfully matched with the target number, the text message will be released; if the comparison fails multiple times, the system will issue a risk warning, requiring the user to re-enter the number and repeat the text message audit process until success or the maximum number of attempts or the effective verification time is reached. If the maximum number of attempts or the effective verification time is reached and it is still unsuccessful, the system will send an interception alarm or directly intercept the text message, thereby effectively reducing the sending of erroneous text messages and potential risks, reducing user complaints at the source, protecting users from interference and infringement by erroneous information, and improving user service experience perception.
[0070] According to the above content, in general, the SMS audit and interception method provided in the embodiment of the present invention enables operators to add a user number verification and comparison link based on data lake technology during the regular SMS delivery process, comprehensively assisting in the source management of SMS complaints, and can achieve the advantages of improving user convenience, improving service efficiency, personalizing business configuration, reducing SMS mis-sending, and reducing user complaints.
[0071] Improving user convenience is specifically reflected in: through real-time verification and comparison of existing user number data with the number manually entered by the user, the comparison result can be fed back to the business system in real time, and business prompts can be provided to the user in the scenario of manually entering the number, avoiding sending text messages to the wrong target number multiple times, while improving the convenience of users using system functions.
[0072] Improving service efficiency is specifically reflected in: through real-time data stream processing technology, real-time data collection and improved service efficiency can be achieved in the entire process from data collection to data service.
[0073] The personalization of business configuration is specifically reflected in: the threshold of the number of inconsistencies in the data verification and comparison involved, as well as the threshold of the verification time, support personalized configuration.
[0074] Reducing the mis-sending of text messages is specifically reflected in: the overall technology and service architecture involved can effectively reduce the occurrence of text messages being mis-sent to the wrong target numbers.
[0075] Reducing user complaints is specifically reflected in: while reducing the number of text messages mistakenly sent to the wrong target numbers, it can also reduce user complaints at the source to a certain extent and protect users from being disturbed and harmed by erroneous information.
[0076] In some embodiments, the multi-source number data aggregated in the data lake is obtained by the following steps: Based on Flink CDC's non-intrusive data collection capabilities, it can obtain user number data collected in real time by multiple different business systems. Based on offline ETL tools, historical number data of multiple different business systems are synchronized to the data warehouse on a regular basis; The user number data collected in real time, the historical number data synchronized at regular intervals, and the user number data stored in the data warehouse are aggregated into the data lake for storage.
[0077] It should be noted that the multi-source data gathered in the data lake adopts a one-stop streaming data aggregation method, which can be referred to Figure 5 , Figure 5 It is a schematic diagram of the one-stop stream-batch data aggregation provided by the present invention.
[0078] Specifically, the SMS audit and interception device is deployed with a data lake multi-data source and multi-target data collection component, which adopts the Flink CDC (Flink Change Data Capture) non-intrusive data collection method. This method adopts a highly available streaming computing framework and utilizes lock-free, non-intrusive concurrent reading, breakpoint resumption and other technical features to monitor and capture the Binlog change log of the business system production library in real time (including data or data table insertion INSERT, update UPDATE, delete DELETE, etc.), write it into the message middleware in chronological order, complete the visualization of multi-source data of the business system, millisecond-level real-time transmission, and realize real-time collection and analysis of different business data.
[0079] At the same time, using offline ETL (Extract-Transform-Load) tools, a JDBC connection is established between the data warehouse and the business system production library based on the self-built data platform and a scheduled task is published. According to the established data screening conditions or rules, historical data is obtained from the business system production library on a daily or monthly basis to complete the data synchronization from the production data to the data warehouse and realize offline data access.
[0080] Furthermore, business data from different sources, namely user data collected in real time, historical data synchronized at regular intervals, and offline data in the data warehouse, are aggregated into the data lake for storage, providing data source support for data auditing and real-time data services.
[0081] In the embodiment of the present invention, through the real-time data collection of Flink CDC and the timed synchronization of the offline ETL tool, the entire system can efficiently aggregate and store user number data from multiple business systems, and the real-time data stream and historical data are regularly updated, ensuring the comprehensiveness and timeliness of the user number data in the data lake. This integration method enables the data lake to provide the latest and comprehensive user number information. Therefore, the number verification and comparison function involved can make full use of the diversity of data sources in the data lake. The data range of number verification and comparison is wider, which improves the accuracy of verification and comparison to a certain extent.
[0082] The text message auditing and intercepting device provided by the present invention is described below. The text message auditing and intercepting device described below and the text message auditing and intercepting method described above can be referenced to each other.
[0083] Reference Figure 6 , Figure 6 It is a structural schematic diagram of the short message auditing and intercepting device provided by the present invention.
[0084] The SMS audit and interception device includes: The response module 610 is used to respond to the data service request sent by the target business system; the data service request is a number verification request generated by the target business system based on the number to be verified when the user inputs the number to be verified to trigger the need to send a text message.
[0085] The number verification module 620 is used to verify the number to be verified based on the multi-source number data gathered in the data lake to obtain a verification result.
[0086] The interception determination module 630 is used to determine whether to intercept the sent text message based on the verification result.
[0087] The SMS auditing and intercepting device provided by the present invention responds to the data service request sent by the target business system, and uses the multi-source number data gathered in the data lake to verify the number to be verified, which can provide more comparison values for the verification of the number to be verified, minimize misjudgment, and improve the accuracy of SMS auditing. It can further determine whether to intercept the sent SMS based on the verification result, thereby improving the accuracy of the source SMS sent to the target user, reducing user complaints at the source, protecting users from interference and infringement by erroneous information, and improving user service experience perception.
[0088] Furthermore, the number verification module 620 is also used for: Parsing the data service request to obtain a user identity identifier ID, a user terminal identification number and the number to be verified; Based on the user identity identifier ID or the user terminal identification number, the multi-source number data gathered in the data lake is matched to obtain multiple numbers used by the user; According to the priority order of each number used by the user, the number to be verified is verified and compared with multiple numbers used by the user to obtain a verification result.
[0089] Furthermore, the number verification module 620 is also used for: Counting the usage times of each number used by the user; The priority of each number used by the user is determined according to the number of times used.
[0090] Furthermore, the interception determination module 630 is also used for: If the verification result is that the verification number and the target number are successfully verified, the SMS is allowed to be sent; If the verification result is that the verification number fails to be compared with multiple numbers used by the user, a risk prompt of mis-entry of the number to be verified is sent to the target service system, so that the target service system guides the user to re-enter the number to be verified; Iteratively execute the steps of responding to the data service request sent by the target business system until the verification and comparison are successful within the preset number of times, allowing the text message to be sent. If the verification and comparison fails when the preset number of times is reached, a text message interception alarm prompt is sent to the target business system or the text message is directly intercepted.
[0091] Furthermore, the SMS auditing and intercepting device is also used for: Based on Flink CDC's non-intrusive data collection capabilities, it can obtain user number data collected in real time by multiple different business systems. Based on offline ETL tools, historical number data of multiple different business systems are synchronized to the data warehouse on a regular basis; The user number data collected in real time, the historical number data synchronized at regular intervals, and the user number data stored in the data warehouse are aggregated into the data lake for storage.
[0092] It should be noted that the SMS audit and interception device provided by the present invention can execute the SMS audit and interception method described in any of the above embodiments during specific operation, which will not be described in detail in this embodiment.
[0093] Figure 7is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 7 As shown, the electronic device may include: a processor 710, a communications interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communications interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the SMS audit and interception method, which includes: responding to a data service request sent by a target business system; the data service request is a number verification request generated by the target business system based on the number to be verified when the user inputs the number to be verified to trigger the demand for sending SMS; based on the multi-source number data gathered in the data lake, the number to be verified is verified to obtain a verification result; based on the verification result, it is determined whether to intercept the sent SMS.
[0094] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0095] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the SMS audit and interception method provided in the above-mentioned embodiments, and the method includes: responding to a data service request sent by a target business system; when the data service request is a number verification request generated by the target business system based on the number to be verified when the user inputs the number to be verified to trigger the demand for sending SMS; based on the multi-source number data gathered in the data lake, the number to be verified is verified to obtain a verification result; based on the verification result, it is determined whether to intercept the sent SMS.
[0096] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the SMS audit and interception method provided in the above-mentioned embodiments, the method comprising: responding to a data service request sent by a target business system; the data service request is a number verification request generated by the target business system based on the number to be verified when a user inputs a number to be verified to trigger a demand for sending an SMS; based on multi-source number data gathered in a data lake, the number to be verified is verified to obtain a verification result; based on the verification result, determining whether to intercept the sent SMS.
[0097] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. Those of ordinary skill in the art may understand and implement the present invention without creative effort.
[0098] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0099] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for checking and intercepting short messages, characterized in that: include: Responding to a data service request sent by a target business system; The data service request is a number verification request generated by the target service system based on the number to be verified when the user inputs the number to be verified to trigger the need to send a text message; Based on the multi-source number data gathered in the data lake, the number to be verified is verified to obtain a verification result; Based on the verification result, it is determined whether to intercept the sent text message.
2. The SMS audit and interception method according to claim 1, characterized in that: The verifying the number to be verified based on the multi-source number data gathered in the data lake to obtain the verification result includes: Parsing the data service request to obtain a user identity identifier ID, a user terminal identification number and the number to be verified; Based on the user identity identifier ID or the user terminal identification number, the multi-source number data gathered in the data lake is matched to obtain multiple numbers used by the user; According to the priority order of each number used by the user, the number to be verified is verified and compared with multiple numbers used by the user to obtain a verification result.
3. The SMS audit and interception method according to claim 2, characterized in that: The priority of each number used by the user is determined by the following steps: Counting the usage times of each number used by the user; The priority of each number used by the user is determined according to the number of times used.
4. The SMS audit and interception method according to claim 1, characterized in that: The determining whether to intercept the sent text message based on the verification result includes: If the verification result is that the verification number and the target number are successfully verified, the SMS is allowed to be sent; If the verification result is that the verification number fails to be compared with multiple numbers used by the user, a risk prompt of mis-entry of the number to be verified is sent to the target service system, so that the target service system guides the user to re-enter the number to be verified; Iteratively execute the steps of responding to the data service request sent by the target business system until the verification and comparison are successful within the preset number of times, allowing the text message to be sent. If the verification and comparison fails when the preset number of times is reached, a text message interception alarm prompt is sent to the target business system or the text message is directly intercepted.
5. The SMS audit and interception method according to claim 1, characterized in that: The multi-source number data gathered in the data lake includes at least historical number data of multiple different business systems, user number data collected in real time by multiple different business systems, and user number data stored in the data warehouse.
6. The SMS audit and interception method according to claim 1, characterized in that: The multi-source number data gathered in the data lake is obtained through the following steps: Based on Flink CDC's non-intrusive data collection capabilities, it can obtain user number data collected in real time by multiple different business systems. Based on offline ETL tools, historical number data of multiple different business systems are synchronized to the data warehouse on a regular basis; The user number data collected in real time, the historical number data synchronized at regular intervals, and the user number data stored in the data warehouse are aggregated into the data lake for storage.
7. The SMS audit and interception method according to any one of claims 1 to 6, characterized in that: The target business system and the data lake use an application programming interface (API) real-time interaction mechanism; The data services provided by the data lake to the business system include but are not limited to data file transfer services, data report display services and visualization large-screen display services.
8. A short message auditing and intercepting device, characterized in that: include: A response module, used to respond to a data service request sent by a target business system; The data service request is a number verification request generated by the target service system based on the number to be verified when the user inputs the number to be verified to trigger the need to send a text message; A number verification module is used to verify the number to be verified based on the multi-source number data gathered in the data lake to obtain a verification result; The interception determination module is used to determine whether to intercept the sent text message based on the verification result.
9. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the SMS auditing and intercepting method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, the computer-readable storage medium comprising a non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the SMS auditing and intercepting method as described in any one of claims 1 to 7 are implemented.
11. A computer program product, comprising a computer program, characterized in that: When the computer program is executed by a processor, the steps of the SMS auditing and intercepting method as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Short message auditing method and system
CN103533522A
Short message interception method and device, interception platform and storage medium
CN109219001A
Intelligent audit short message service management platform
CN112153581A
Account verification method and device, electronic equipment and storage medium
CN117788054A
Short messaging service (SMS) over evolved packet core using WIFI access
US20130324170A1
