Interface management method and device of short message platform, computer equipment and storage medium
By identifying the credit level, verifying the legality of address and performing keyword authentication in the SMS platform, the problem of low efficiency in abnormal call recognition on the SMS platform is solved, effectively identifying and preventing abnormal SMS, and improving user information security.
Patent Information
- Application Number
- CN202310674256.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-07
- Publication Date
- 2024-12-10
AI Technical Summary
The existing SMS platform has insufficient efficiency in abnormal call recognition, and cannot effectively identify and prevent fraudulent SMS sending, affecting the security of user information.
By receiving and analyzing the SMS interface call request, identifying the credit level of the requesting party, determining the sending limit, and performing address legality verification and keyword authentication authorization, ensuring the legality and security of the SMS content, thereby improving the efficiency of abnormal call recognition.
Effectively identify and prevent abnormal SMS calls, improve the interface call recognition efficiency of SMS platform, reduce the probability of fraudulent SMS sending, and enhance user information security.
Smart Images

Figure CN119110296A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an interface management method, device, computer equipment, storage medium and computer program product for a short message platform. Background Art
[0002] With the development of computer technology and network technology, SMS platform technology has emerged. The SMS platform can connect to the Internet based on the SMS port provided by the telecommunications service provider, thereby realizing the functions of batch SMS sending and customized SMS sending to customer-specified numbers. However, there are currently cases where fraudulent SMS messages are forcibly sent to user mobile phones by impersonating other people's mobile phone numbers or SMS port numbers, such as SMS messages that use fraudulent texts to induce users to click on phishing website URLs, call specific phone numbers, or make bank transfers, thereby affecting the user's information security.
[0003] However, currently, for abnormal calls of SMS platforms, the platform usually marks the number that sends SMS messages, or controls the number by quantitative means when sending SMS messages to unfamiliar numbers on a large scale. When the number exceeds the set amount, the number is locked and not used. However, this method cannot effectively identify the abnormal calls of the SMS platform, thus affecting the efficiency of identifying abnormal calls of the SMS platform. Summary of the invention
[0004] Based on this, it is necessary to provide an interface management method, device, computer equipment, computer-readable storage medium and computer program product for a text message platform that can effectively improve the efficiency of abnormal call identification in response to the above technical problems.
[0005] In a first aspect, the present application provides an interface management method for a short message platform. The method comprises:
[0006] Receive and analyze the SMS interface call request from the requester to the SMS platform to obtain the SMS content, SMS recipient and the network address of the requester;
[0007] Identifying a credit rating of the requester, and determining a transmission volume limit based on the credit rating;
[0008] When the number of the SMS recipients meets the requirement of the sending volume limit, verifying the legitimacy of the address of the requester based on the network address of the requester;
[0009] If the address legitimacy verification is passed, keyword authentication and authorization is performed on the SMS interface call request based on the SMS content, and the keyword authentication and authorization is used to verify whether the SMS content contains abnormal keywords;
[0010] When the keyword authentication is authorized, the SMS interface of the SMS platform is called to send the SMS content to the target address of the SMS recipient.
[0011] In a second aspect, the present application also provides an interface management device for a short message platform. The device comprises:
[0012] The request parsing module is used to receive and parse the SMS interface call request from the requester to the SMS platform to obtain the SMS content, SMS recipient and the network address of the requester;
[0013] A credit identification module, used to identify the credit level of the requester and determine the transmission volume limit based on the credit level;
[0014] An address legitimacy verification module, configured to verify the legitimacy of the address of the requester based on the network address of the requester when the number of the SMS recipients meets the requirement of the sending volume limit;
[0015] A content verification module, configured to perform keyword authentication and authorization on the SMS interface call request based on the SMS content if the address legitimacy verification passes, wherein the keyword authentication and authorization is used to verify whether the SMS content contains abnormal keywords;
[0016] The SMS sending module is used to call the SMS interface of the SMS platform to send the SMS content to the target address of the SMS recipient when the keyword authentication authorization is passed.
[0017] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0018] Receive and analyze the SMS interface call request from the requester to the SMS platform to obtain the SMS content, SMS recipient and the network address of the requester;
[0019] Identifying a credit rating of the requester, and determining a transmission volume limit based on the credit rating;
[0020] When the number of the SMS recipients meets the requirement of the sending volume limit, verifying the legitimacy of the address of the requester based on the network address of the requester;
[0021] If the address legitimacy verification is passed, keyword authentication and authorization is performed on the SMS interface call request based on the SMS content, and the keyword authentication and authorization is used to verify whether the SMS content contains abnormal keywords;
[0022] When the keyword authentication is authorized, the SMS interface of the SMS platform is called to send the SMS content to the target address of the SMS recipient.
[0023] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0024] Receive and analyze the SMS interface call request from the requester to the SMS platform to obtain the SMS content, SMS recipient and the network address of the requester;
[0025] Identifying a credit rating of the requester, and determining a transmission volume limit based on the credit rating;
[0026] When the number of the SMS recipients meets the requirement of the sending volume limit, verifying the legitimacy of the address of the requester based on the network address of the requester;
[0027] If the address legitimacy verification is passed, keyword authentication and authorization is performed on the SMS interface call request based on the SMS content, and the keyword authentication and authorization is used to verify whether the SMS content contains abnormal keywords;
[0028] When the keyword authentication is authorized, the SMS interface of the SMS platform is called to send the SMS content to the target address of the SMS recipient.
[0029] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0030] Receive and analyze the SMS interface call request from the requester to the SMS platform to obtain the SMS content, SMS recipient and the network address of the requester;
[0031] Identifying a credit rating of the requester, and determining a transmission volume limit based on the credit rating;
[0032] When the number of the SMS recipients meets the requirement of the sending volume limit, verifying the legitimacy of the address of the requester based on the network address of the requester;
[0033] If the address legitimacy verification is passed, keyword authentication and authorization is performed on the SMS interface call request based on the SMS content, and the keyword authentication and authorization is used to verify whether the SMS content contains abnormal keywords;
[0034] When the keyword authentication is authorized, the SMS interface of the SMS platform is called to send the SMS content to the target address of the SMS recipient.
[0035] The interface management method, device, computer equipment, storage medium and computer program product of the above-mentioned SMS platform receive and parse the SMS interface call request of the requester to the SMS platform to obtain the SMS content, the SMS recipient and the network address of the requester, thereby obtaining the basic information contained in the SMS interface call request; then identify the credit level of the requester, and determine the sending volume limit based on the credit level, that is, allocate corresponding sending volume limits to the requester based on different credit levels, so that quantitative control of the SMS sending volume can be achieved during the SMS sending process; then, when the number of SMS recipients meets the sending volume limit requirement, the address legitimacy of the requester is verified based on the network address of the requester, thereby verifying the SMS interface call request through the network address information of the requester; when the address legitimacy verification passes, the SMS interface call request is keyword authenticated and authorized based on the SMS content, thereby completing the verification of the specific SMS content, and when the keyword authentication and authorization pass, the SMS interface of the SMS platform is called to send the SMS content to the target address of the SMS recipient. In this embodiment, the SMS interface call request is verified by means of sending volume limits, address legitimacy verification, keyword authentication authorization, etc., so as to effectively complete the identification of abnormal requests and abnormal SMS during the SMS sending process, and improve the efficiency of abnormal call identification during the SMS sending process by implementing interface calls based on the SMS platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 An application environment diagram of an interface management method for a short message platform in one embodiment;
[0037] Figure 2 A schematic diagram of a flow chart of an interface management method of a short message platform in one embodiment;
[0038] Figure 3 A schematic diagram of a flow chart of SMS group sending processing performed by an SMS platform in one embodiment;
[0039] Figure 4 A schematic diagram of the structure of a short message platform in one embodiment;
[0040] Figure 5 A schematic diagram of abnormal text message content in one embodiment;
[0041] Figure 6 A schematic diagram of keyword recognition in text message content in one embodiment;
[0042] Figure 7 A brief flowchart of an interface management method of a short message platform in one embodiment;
[0043] Figure 8 A schematic diagram of a flow chart of an interface management method of a short message platform in another embodiment;
[0044] Fig. 9 It is a structural block diagram of an interface management device of a short message platform in one embodiment;
[0045] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0047] The interface management method of the SMS platform provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other servers. When the user of the terminal 102 wants to send group text messages through the SMS interface of the server 104, the corresponding SMS interface call request can be submitted to the server 104, and then the server 104 obtains and parses the SMS interface call request of the requester sent by the terminal 102 to the SMS platform, and obtains the SMS content, the SMS recipient and the network address of the requester; identifies the credit level of the requester, and determines the sending limit based on the credit level; when the number of SMS recipients meets the requirements of the sending limit, the address legitimacy of the requester is verified based on the network address of the requester; when the address legitimacy verification passes, the SMS interface call request is authenticated by keywords based on the SMS content, and the keyword authentication authorization is used to verify whether the SMS content contains abnormal keywords; when the keyword authentication authorization passes, the SMS interface of the SMS platform is called to send the SMS content to the target address of the SMS recipient. The terminal 102 may be, but is not limited to, various desktop computers, laptop computers, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0048] In one embodiment, Figure 2 As shown, a method for managing the interface of a short message platform is provided, and the method is applied to Figure 1Taking the server 104 in the example as an example, the following steps are included:
[0049] Step 201, receiving and parsing the SMS interface call request from the requesting party to the SMS platform, and obtaining the SMS content, the SMS recipient and the network address of the requesting party.
[0050] The SMS interface call request refers to a request submitted by the terminal 102 to the server 104 to call the SMS interface of the SMS platform on the server 104 to complete functions such as SMS group sending. The SMS interface call request specifically includes information such as the SMS content, the SMS recipient, and the network address of the requester. The server 104 can obtain this information by parsing the SMS interface call request. The processing process of the SMS platform can be specifically referred to Figure 3 As shown, it can receive SMS interface call requests from various terminals, and after completing the verification of the SMS interface call request, complete the SMS group sending process through the SMS interface. The specific structure of the SMS platform can refer to Figure 4 As shown, it contains various functions related to SMS processing. After receiving the SMS interface call request from the requester, these functions can be used to complete the protocol conversion and communication, and then the SMS group processing can be completed based on the communication with the mobile communication platform. The SMS content refers to the text content contained in the SMS to be sent, and the SMS recipient refers to the object to which the SMS is sent. For example, the multiple phone numbers contained in the SMS interface call request are the addresses of the SMS recipients. The server can send the SMS content to the terminal where the SMS recipient is located through the SMS interface according to the SMS interface call request. The requester's network address refers to the Internet Protocol Address (IP) address of the requester who sends the SMS. The requester's network address can reflect the relevant information of the requester, so the verification of the SMS interface call request can be completed through the requester's network address.
[0051] Specifically, the server 104 is equipped with a short message platform. When the user of the terminal 102 wants to complete the SMS group sending service through the SMS interface of the SMS platform, the SMS content and the SMS recipient information can be edited to generate a SMS interface call request, and then the SMS interface call request is submitted to the server 104 through the terminal 102. After receiving the SMS interface call request, the server 104 will parse the SMS interface call request to obtain the SMS content, the SMS recipient and the requester network address contained therein, and then complete the verification in the SMS interface call process based on this information, and complete the SMS sending process through the SMS interface after the verification is passed. In a specific embodiment, the requester can forcibly send a SMS containing abnormal information to the target mobile phone by impersonating another person's mobile phone number or SMS port number, such as using false information to induce users to click on phishing website URLs, dial specific phone numbers or conduct bank transfers, etc., and in order to detect such abnormal SMS interface call behavior, improve the efficiency of abnormal call recognition, and reduce the probability of abnormal SMS sending.
[0052] Step 203: Identify the credit level of the requester and determine the transmission volume limit based on the credit level.
[0053] The credit level refers to the level of information related to the authority granted to the requester based on the historical behavior of the requester, and different credit levels correspond to different sending quotas. The sending quota refers to the limit on the number of SMS messages that can be sent at one time through the SMS interface. The number of SMS recipients included in the SMS interface call request corresponds to the number of SMS messages that need to be sent. Therefore, the credit level can be verified to determine whether the SMS recipients of the SMS interface call request meet the sending quota requirements of the current requester.
[0054] Specifically, because the harm of sending abnormal short messages is related to the amount of short messages sent, when calling the short message interface, the amount of sending can be limited to different requesting parties by credit level. The server 104 can assign corresponding credit level to the requesting party based on the historical sending data and sending feedback data of the requesting party in advance, and update it regularly, such as regularly updating the credit level to different requesting parties every year or every month. As another embodiment, it is also possible to search for the historical sending information of the requesting party when sending, and then assign corresponding credit level to the requesting party. When the short message is sent, the credit level of the requesting party can be identified, and the amount of sending can be determined based on the credit level. In one embodiment, in addition to the credit level, the identity level can also be assigned to the requesting party, for example, the identity level can be assigned to the requesting party by information such as the registration duration, the number of visits, the amount of sending and the amount of business of the requesting party, and then when determining the amount of sending, the amount of sending can be determined in combination with the credit level and the identity level of the requesting party.
[0055] Step 205: When the number of SMS recipients meets the requirement of the sending quota, the address legitimacy of the requester is verified based on the network address of the requester.
[0056] Among them, address legitimacy verification refers to the process of verifying the network address of the requesting party in the SMS interface call request. Each terminal has an automatically assigned network address, which is a symbol of the terminal's identity, just like a house number.
[0057] Specifically, the network address is one of the data that reflects the identity information of the requester. Therefore, a corresponding address list can be established in advance based on the network address of the abnormal call behavior in the historical data, and then the address legitimacy verification can be completed based on the address blacklist to ensure the legitimacy of the requester's network address and reduce the probability of abnormal SMS interface calls. In one embodiment, a corresponding address blacklist can be established based on the network address of the abnormal call behavior in the historical data in advance, and then when the SMS interface call request is received, it is determined whether the requester's network address is on the address blacklist. If it exists, the SMS interface call request is isolated, thereby achieving address legitimacy verification for the SMS interface call request. In another embodiment, an address whitelist can also be established. When the SMS interface call request is received, it is determined whether the requester's network address is on the address whitelist. If it does not exist, the SMS interface call request is isolated.
[0058] Step 207: If the address legitimacy verification is passed, keyword authentication and authorization are performed on the SMS interface call request based on the SMS content. The keyword authentication and authorization is used to verify whether the SMS content contains abnormal keywords.
[0059] Among them, keyword authentication authorization refers to the process of authenticating the content of a text message based on the keywords in the text message content. Figure 5 The abnormal SMS call request shown in the figure generally contains some deceptive information in the SMS content, such as "account", "Mark Six lottery", "winning" and "rebate", etc. These words are highly associated with SMS fraud. Therefore, keyword authentication authorization can be completed based on the text information of the SMS content to realize the SMS content review and processing of the SMS interface call process.
[0060] Specifically, if the address legitimacy verification is passed, it means that the number of SMS recipients and the requester of the current SMS interface call request have been verified. At this time, the SMS interface call request can also be authenticated and authorized based on the SMS content. The keyword authentication authorization is used to verify whether the SMS content contains abnormal keywords. For the keyword authentication authorization process, a word library of abnormal keywords can be established in advance, and then when the SMS content needs to be verified, the keyword authentication authorization processing of the SMS content can be completed based on the pre-built keyword word library. For the keyword authentication authorization processing process, the method of character string comparison can be used to determine whether the SMS content contains abnormal keywords.
[0061] Step 209, when the keyword authentication and authorization are passed, the SMS interface of the SMS platform is called to send the SMS content to the target address of the SMS recipient.
[0062] Specifically, when the keyword authentication and authorization of the SMS interface call request is passed based on the SMS content, it means that no abnormality is detected in the SMS content. At this time, it can be determined that no abnormality is detected in the detection process of the current SMS interface call request, and the requesting party can be allowed to perform SMS mass sending processing through the SMS platform to send the SMS content to the target address of the SMS recipient.
[0063] The interface management method of the above-mentioned SMS platform receives and parses the SMS interface call request of the requester to obtain the SMS content, the SMS recipient and the network address of the requester, thereby obtaining the basic information contained in the SMS interface call request; then identifies the credit level of the requester, and determines the sending volume limit based on the credit level, that is, allocates corresponding sending volume limits to the requester based on different credit levels, so that quantitative control of the SMS sending volume can be achieved during the SMS sending process; then, when the number of SMS recipients meets the requirements of the sending volume limit, the address legitimacy of the requester is verified based on the network address of the requester, thereby verifying the SMS interface call request through the network address information of the requester; when the address legitimacy verification passes, the SMS interface call request is keyword authenticated and authorized based on the SMS content, thereby completing the verification of the specific SMS content, and when the keyword authentication authorization passes, the SMS content is sent to the target address of the SMS recipient. In this embodiment, the SMS interface call request is verified by means of sending volume limits, address legitimacy verification, keyword authentication authorization, etc., so as to effectively complete the identification of abnormal requests and abnormal SMS during the SMS sending process, and improve the efficiency of abnormal call identification during the SMS sending process by implementing interface calls based on the SMS platform.
[0064] In one embodiment, step 203 includes: pushing a verification pattern containing verification information to the requester; receiving verification feedback information sent by the requester based on the verification pattern; when the verification feedback information is consistent with the verification information, identifying the credit level of the requester, and using the credit level as a query keyword to find the sending limit.
[0065] The verification pattern refers to the image content containing verification information used for human-machine authentication of the requester, which can distinguish whether the user is a computer or a human. The verification pattern can be a verification pattern containing text, a sliding verification code pattern containing empty positions, and a classification verification pattern containing different types of objects. The verification feedback information refers to the input information generated by the requester based on the verification pattern. The requester can be verified based on the comparison of the verification information and the verification feedback information.
[0066] Specifically, before receiving the SMS interface call request and starting the interface call processing, the requester of the SMS interface call request can be authenticated by human-machine authentication to identify whether the requester is a real person or a machine. Therefore, when identifying the credit level of the requester and determining the sending limit based on the credit level, the verification pattern containing the verification information can be pushed to the requester first. After receiving the verification pattern, the requester can edit and generate verification feedback information based on the verification pattern, and then send the verification feedback information to the platform end. The platform end can complete the real-time verification of whether the requester is a real person according to the verification feedback information and the verification information in the verification pattern. When the verification feedback information is consistent with the verification information, it is determined that the requester has passed the verification, and then the credit level can be used as a query keyword to find the sending limit. In a specific embodiment, a comparison data table of the credit level and the sending limit can be established in advance. When the sending limit query is required, after determining the credit level, the sending limit can be found in the comparison data table with the credit level as the query keyword. When the verification feedback information is inconsistent with the verification information, another verification pattern can be pushed again for the requester to verify again. In particular, when the number of verifications by the requesting party exceeds the threshold number, the information of the call failure can be directly fed back to the requesting party, and the processing of the SMS interface call can be terminated. Among them, for the verification pattern and verification feedback information, a pattern containing different texts can be pushed in the figure, and the user selects the text in the figure according to the order of prompts to form verification feedback information. Or a sliding verification code pattern containing a blank part can be pushed in the figure, and the user slides the pattern in the figure according to the position of the blank to form verification feedback information. In this embodiment, through the verification processing of the requesting party of the verification pattern, the requesting party can be effectively verified by man and machine, thereby reducing the risk of abnormal calls to the SMS interface.
[0067] In one embodiment, the SMS interface call request also includes request device information and device location information. Step 203 includes: based on the requester's flag information, determining the requester's historical request device information and historical device location information; comparing the request device information with the historical request device information, determining a first credit parameter based on the device similarity information obtained by the comparison, comparing the device location information with the historical device location information, determining a second credit parameter based on the location distance information obtained by the comparison; based on the first credit parameter and the second credit parameter, obtaining the requester's credit level, and determining the sending volume limit corresponding to the credit level.
[0068] The requester's identification information refers to information that characterizes the requester's identity, such as the requester's unique user ID (UID) information. The historical request device information refers to the device information of the terminal where the current requester submitted the SMS interface call request in the historical data, and the historical device location information refers to the location information of the terminal where the current requester submitted the SMS interface call request in the historical data.
[0069] Specifically, for the identification process of the requester's credit level, the requester's credit level can be identified and authenticated based on the requester's habitual data. When the requester's device information and location information change, it means that the requester of the current SMS interface call request is abnormal, and its credit level can be adjusted accordingly. In order to obtain the habitual data, the requester's historical request device information and historical device location information can be determined based on the requester's flag information, and then these historical data are compared with the request device information and device location information in the SMS interface call request. By comparing the request device information and the historical request device information, a first credit parameter is obtained, and by comparing the device location information and the historical device location information, a second credit parameter is obtained. The two parameters are combined to obtain the current requester's credit level, and then the sending amount limit can be obtained through the credit level. In another embodiment, the existing credit level of the requester can be adjusted based on the first credit parameter and the second credit parameter. In a specific embodiment, the device information can be compared by comparing the device numbers and various device parameters of the requesting device and the historical requesting device. The more similar the requesting device information is to the historical requesting device information, the higher the first credit parameter is. The closer the device location information is to the historical device location information, the higher the second credit parameter is. After combining the two parameters, the higher the sum of the parameter values, the higher the credit level of the current requester and the larger the sending volume limit is. In this embodiment, the credit level of the requester is identified by changing the customary data such as the requesting device information and the device location information, which can reduce the risk of abnormal SMS interface calls.
[0070] In one embodiment, performing address legitimacy verification on the requester based on the requester's network address includes: performing an address search in an abnormal address list based on the requester's network address; and determining that the SMS interface call request passes the address legitimacy verification when the abnormal address corresponding to the requester's network address is not found.
[0071] Among them, the abnormal address list is used to save abnormal network addresses, and the abnormal network address refers to the network address of the requester that has detected abnormal calls to the SMS interface in historical data, or has sent abnormal SMS messages through the SMS interface.
[0072] Specifically, in order to verify the address of the requester, an abnormal address list can be created based on the abnormal interface call and abnormal SMS sending and other related data in the historical data. The addresses in the abnormal address list are all addresses of the requester who has made abnormal interface calls or sent abnormal SMS. When the address legitimacy verification is required, the address can be searched in the abnormal address list based on the requester's network address; when the abnormal address corresponding to the requester's network address is not found, it can be determined that the network address of the requester of the SMS interface call request is not included in the blacklist of the abnormal address list, and the SMS interface call request passes the address legitimacy verification. When the abnormal address corresponding to the requester's network address is found, it means that the SMS interface call request is abnormal. At this time, the SMS interface call request can be isolated for manual review, or the SMS interface call request can be directly rejected, and the corresponding request failure information is fed back. In this embodiment, the address legitimacy verification of the SMS interface call request is completed by pre-establishing an abnormal address list, which can effectively identify abnormal interface call requests and reduce the risk of abnormal SMS interface calls.
[0073] In one embodiment, performing address legitimacy verification on the requester based on the network address of the requester includes: determining the port information and protocol information of the requester based on the address information of the network address of the requester; performing firewall address authentication on the SMS interface call request based on the address information, port information and protocol information; and determining that the SMS interface call request passes the address legitimacy verification when the firewall address authentication passes.
[0074] Among them, firewall technology is a technology that helps computer networks build a relatively isolated protective barrier between their internal and external networks by organically combining various software and hardware devices for security management and screening to protect the security of user data and information. The function of firewall technology is mainly to timely discover and deal with security risks, data transmission and other problems that may exist during the operation of computer networks. The treatment measures include isolation and protection. At the same time, it can record and detect various operations in computer network security to ensure the security of computer network operation, protect the integrity of user data and information, and provide users with a better and safer computer network experience.
[0075] Specifically, in the scheme of the present application, the network address of the requester can also be verified for the legitimacy of the address of the requester through the firewall technology. In addition to the network IP address of the requester, the firewall of the SMS platform can also filter and manage the SMS interface call request submitted by the requester according to the port number, protocol and other information of the requester, so as to ensure the legitimacy of the network address of the requester. In a specific embodiment, the SMS platform can pre-establish the firewall filtering rules of the network address, port information and protocol information of the requester, and then after the requester submits the SMS interface call request, the address information, port information and protocol information of the requester can be obtained by parsing the SMS interface call request, and then the address information, port information and protocol information are filtered through the firewall filtering rules. When these information contain abnormal information, it can be determined that the current SMS interface call request may be abnormal, and it can be isolated or intercepted. When these information do not detect abnormal information, it can be determined that the current SMS interface call request passes the address legitimacy verification of the firewall, and the subsequent request verification process is carried out. In this embodiment, the firewall is used to complete the address legitimacy verification of the SMS interface call request, which can effectively identify abnormal interface call requests and reduce the risk of abnormal SMS interface calls.
[0076] In one embodiment, keyword authentication and authorization of a SMS interface call request based on SMS content includes: extracting SMS text content from the SMS content; intercepting the SMS interface call request when it is identified based on an abnormal keyword thesaurus that the SMS text content contains abnormal keywords; and determining that the SMS interface call request passes keyword authentication and authorization when it is identified based on the abnormal keyword thesaurus that the SMS text content does not contain abnormal keywords.
[0077] The abnormal keyword word library refers to a pre-established database for collecting keywords that appear in the text content of abnormal fraudulent SMS messages. When establishing the abnormal keyword word library, after screening and identifying the text of fraudulent SMS messages, some public keywords can be identified from the text of these fraudulent SMS messages through natural language technology as basic abnormal keywords to build the most original abnormal keyword word library, and then in the authorization process of keyword authentication and authorization of the SMS platform, the keyword data in the abnormal keyword word library can be continuously updated through the keywords in the new SMS content.
[0078] Specifically, the scheme of the present application can complete the keyword authentication and authorization processing of the SMS interface call request by pre-establishing an abnormal keyword word library. During the authentication process, the SMS text content can be extracted from the parsed SMS content, that is, the specific text content that the requester wants to send to the SMS recipient. Figure 6 As shown, the abnormal keywords in the abnormal keyword word library can be compared with the text content in the SMS text content to determine whether the SMS text content contains abnormal keywords, and when the abnormal keyword word library identifies that the SMS text content contains abnormal keywords, the SMS interface call request is intercepted to prevent the text content containing abnormal keywords from being pushed to the SMS recipient. When the abnormal keyword word library identifies that the SMS text content does not contain abnormal keywords, it is determined that the SMS interface call request passes the keyword authentication authorization, and the subsequent SMS sending process can be executed. In this embodiment, the abnormal keyword word library is used to perform keyword authentication and authorization processing during the SMS sending process, which can effectively ensure the accuracy of keyword authentication and authorization and reduce the risk of abnormal calls to the SMS interface.
[0079] In one embodiment, when the SMS text content contains abnormal keywords, after intercepting the SMS interface call request, it also includes: extracting text keywords in the SMS text content, filtering abnormal keywords in the text keywords, and generating a keyword list; feeding back the keyword list to the keyword reviewer to obtain the review results of the keyword list by the keyword reviewer; and updating the abnormal keyword vocabulary based on the review results.
[0080] Specifically, after the SMS interface call request is intercepted, the SMS content of the SMS interface call request may also contain other abnormal keywords that are not included in the abnormal keyword thesaurus. Therefore, all the text keywords in the intercepted SMS text content can be extracted. Here, the process of extracting all the text keywords in the SMS text content can be implemented by a keyword recognition model built based on natural language technology, such as a keyword recognition model that recognizes keywords through information such as word frequency, part of speech, and position information. Then, the confirmed abnormal keywords in the identified keywords are filtered out, and a keyword list composed of new keywords is generated, and then the keyword list is fed back to the keyword review party to obtain the review results of the keyword review party on the keyword list, and the review of the new abnormal keywords is completed by manual review. The staff can review whether the keyword is an abnormal keyword based on the keyword content in the keyword list and its corresponding text fragment, and then submit the review results. Finally, the abnormal keyword thesaurus can be updated based on the review results of the keyword review party to ensure the recognition accuracy of the abnormal keyword thesaurus for the newly appeared abnormal keywords. In this embodiment, the abnormal keyword word library is updated by screening out text keywords in the intercepted SMS text content and then determining new abnormal keywords by review, thereby ensuring the accuracy of keyword authentication and authorization based on the abnormal keyword word library.
[0081] In one embodiment, the method also includes: obtaining the SMS interface call log of the requester; performing call behavior identification processing based on the SMS interface call log to obtain the interface call behavior of the requester; when the interface call behavior indicates that the requester has abnormal call behavior, based on the behavior type of the abnormal call behavior, performing call restriction processing on the SMS interface call request subsequently submitted by the requester.
[0082] The SMS interface call log refers to the log data of the requester's call operation on the SMS interface of the current SMS platform. The SMS interface call log can record the requester's historical call behavior, so that the legitimacy of the current and future SMS sending processes can be verified based on the requester's historical call behavior.
[0083] Specifically, the SMS platform can obtain the SMS interface call log of the requester to implement log detection of the SMS interface, and discover and handle abnormal behavior through log detection. Therefore, call behavior identification processing can be performed based on the SMS interface call log to determine the frequency and interval of the requester calling the SMS interface, and obtain the interface call behavior of the requester. Then, the abnormal call behavior is detected through the interface call behavior to determine whether the requester has abnormal interface call behavior. In the case where the interface call behavior indicates that the requester has abnormal call behavior, it is necessary to restrict the abnormal call behavior, that is, to perform call restriction processing on the SMS interface call request subsequently submitted by the requester based on the behavior type of the abnormal call behavior. In a specific embodiment, abnormal call behavior may include frequent calls with a call frequency higher than a frequency threshold. At this time, for the call restriction processing of frequent calls, when receiving the SMS interface call request subsequently submitted by the requester, the SMS interface call request subsequently submitted can be parsed to obtain the target address; when the target address is consistent with the network address of the requester of the SMS interface call request in the SMS interface call log, the SMS interface call request subsequently submitted by the requester is subjected to access speed limit processing; when the target address is inconsistent with the network address of the requester of the SMS interface call request in the SMS interface call log, the SMS interface call request subsequently submitted by the requester is subjected to mandatory authentication processing. That is, by identifying the network address of the requester in the SMS interface call request, it is determined whether the requester has frequently changed the network address. If the SMS interface call request is issued by the same network IP address, its access speed can be limited, which can prevent the attacker from occupying server resources through a large number of requests. When the SMS interface call request is not issued by the same IP address, it is necessary to authenticate the process of each interface call through the SMS interface call request, and access is allowed only after each authentication. In addition, when receiving the SMS interface call request subsequently submitted by the requester, the current request frequency of the requester is determined; when the current request frequency is higher than the request frequency threshold, the SMS interface call request subsequently submitted is intercepted. That is, for the rate control of frequent calls, a speed limit control can be added to the front end, such as counting and filtering the SMS interface call request through JavaScript and other technologies to limit the number of requests of the requester within a period of time. When controlling the rate, the request frequency and other information can also be recorded for each IP address on the server side of the SMS platform, and the speed can be limited according to the set threshold to achieve the purpose of controlling the access speed. In another embodiment, the abnormal calling behavior includes illegal calls implemented by an automated program; at this time, the call restriction processing of the SMS interface call request subsequently submitted by the requester based on the illegal call includes: when receiving the SMS interface call request subsequently submitted by the requester, the SMS interface call request is isolated.That is, some requesters may send SMS interface call requests through automated programs and make illegal calls to the SMS interface. These calls may have similar content and the same time interval, so the SMS interface call log can be used to detect illegal calls made through automated programs. Then, when receiving SMS interface call requests submitted by the requester, the SMS interface call requests are isolated to prevent abnormal calls to the SMS interface caused by automated programs. In this embodiment, the abnormal interface call behavior of the requester is detected through the SMS interface call log, so that the requester is restricted from calling, thereby reducing the risk of abnormal calls to the SMS interface.
[0084] The present application also provides an application scenario, which applies the above-mentioned SMS platform interface management method. Specifically, the application of the SMS platform interface management method in the application scenario is as follows:
[0085] When the user needs to manage the SMS platform used for group SMS, the SMS platform interface management method of the present application can be used to implement the request authentication and SMS sending processes in the SMS interface call process. Specifically, the user can build an abnormal address list and abnormal keyword thesaurus based on the abnormal SMS and abnormal interface call request data in the historical data. Then, for the specific SMS sending process, its flow chart can refer to Figure 7As shown, it includes step 702, identity authentication: identity authentication processing of the requester to prevent abnormal calls implemented by tools such as scripts, and specifically, a verification pattern containing verification information can be pushed to the requester; and verification feedback information sent by the requester based on the verification pattern is received to complete the identity authentication processing. Step 704, address verification: address legitimacy verification of the requester based on the network address of the requester, specifically, address search in the abnormal address list based on the network address of the requester; when the abnormal address corresponding to the network address of the requester is not found, it is determined that the SMS interface call request passes the address legitimacy verification. Step 706, interface authorization: keyword authentication authorization of the SMS interface call request based on the SMS content to filter abnormal SMS content, thereby verifying whether the SMS content contains abnormal keywords, filtering out abnormal SMS content therein, and preventing abnormal interface calls. Step 708, interface detection: further analyzing whether there is an abnormality in the interface call process based on the log of the interface call of the requester. Step 710, rate control: control the rate at which the requester calls the SMS interface to send SMS. Step 712, identification and sending: after confirming that there is no abnormality in the interface call process, the SMS sending process is completed. . First, when the SMS platform receives the SMS interface call request from the requester, it can receive and parse the SMS interface call request from the requester to the SMS platform, and obtain the SMS content, the SMS recipient and the network address of the requester. Then push the verification pattern containing the verification information to the requester; receive the verification feedback information sent by the requester based on the verification pattern; when the verification feedback information is consistent with the verification information, process the sending quota, that is, based on the flag information of the requester, determine the historical request device information and historical device positioning information of the requester; compare the request device information with the historical request device information to obtain the first credit parameter, and compare the device positioning information with the historical device positioning information to obtain the second credit parameter; based on the first credit parameter and the second credit parameter, obtain the credit level of the requester, and determine the sending quota corresponding to the credit level. When the number of SMS recipients meets the requirements of the sending quota, the address legitimacy of the requester is verified based on the network address of the requester, that is, the address is searched in the abnormal address list based on the network address of the requester; when the abnormal address corresponding to the network address of the requester is not found, it is determined that the SMS interface call request passes the address legitimacy verification. Or determine the port information and protocol information of the requester based on the address information of the requester's network address; perform firewall address authentication on the SMS interface call request based on the address information, port information and protocol information; if the firewall address authentication passes, determine that the SMS interface call request passes the address legitimacy verification.After that, the text content of the SMS can be extracted from the content of the SMS; when the SMS text content contains abnormal keywords based on the abnormal keyword thesaurus, the SMS interface call request is intercepted and processed; when the SMS text content does not contain abnormal keywords based on the abnormal keyword thesaurus, it is determined that the SMS interface call request is authorized through keyword authentication. At the same time, the present application also includes a method for updating the abnormal keyword thesaurus, that is, extracting text keywords from the SMS text content, filtering abnormal keywords in the text keywords, and generating a keyword list; feeding back the keyword list to the keyword reviewer to obtain the review result of the keyword reviewer on the keyword list; and updating the abnormal keyword thesaurus based on the review result. In addition, the requester can also be authenticated through the SMS interface call log, that is, obtaining the SMS interface call log of the requester; performing call behavior identification processing based on the SMS interface call log to obtain the interface call behavior of the requester; when the interface call behavior indicates that the requester has abnormal call behavior, the SMS interface call request subsequently submitted by the requester is subject to call restriction processing based on the behavior type of the abnormal call behavior. If it is determined that the abnormal call behavior of the requester is a frequent call with a call frequency higher than the frequency threshold, then when the SMS interface call request subsequently submitted by the requester is received, the SMS interface call request subsequently submitted is parsed to obtain the target address; when the target address is consistent with the network address of the requester of the SMS interface call request in the SMS interface call log, the SMS interface call request subsequently submitted by the requester is subjected to access speed limit processing; when the target address is inconsistent with the network address of the requester of the SMS interface call request in the SMS interface call log, the SMS interface call request subsequently submitted by the requester is subjected to mandatory authentication processing. The speed limit processing process can specifically be: when the SMS interface call request subsequently submitted by the requester is received, the current request frequency of the requester is determined; when the current request frequency is higher than the request frequency threshold, the SMS interface call request subsequently submitted is intercepted. When the abnormal call behavior is an illegal call implemented by an automated program, the SMS interface call request subsequently submitted by the requester can be isolated when the SMS interface call request subsequently submitted by the requester is received. Finally, after all verification processes are passed, the SMS interface of the SMS platform can be called to send the SMS content to the target address of the SMS recipient.
[0086] In one embodiment, the complete process of the interface management method of the SMS platform of the present application can be referred to Figure 8 As shown, including:
[0087] Step 801, receiving and parsing the SMS interface call request from the requester to the SMS platform, and obtaining the SMS content, the SMS recipient and the network address of the requester. After receiving the SMS interface call request from the requester, the server equipped with the SMS platform will parse the SMS interface call request to obtain the SMS content, the SMS recipient and the network address of the requester, so as to perform verification processing in the SMS interface call process. Step 803, based on the flag information of the requester, determine the historical request device information and the historical device positioning information of the requester. The historical request device information and the historical device positioning information are searched through the flag information to identify and determine the status change of the requester. Step 805, comparing the request device information with the historical request device information, determining the first credit parameter based on the device similarity information obtained by comparison, and comparing the device positioning information with the historical device positioning information, and determining the second credit parameter based on the positioning distance information obtained by comparison. That is, by comparing the degree of change of the device information and the distance information, the corresponding credit parameter is determined to perform careful processing of the credit level. Step 807, based on the first credit parameter and the second credit parameter, the credit level of the requester is obtained, and the sending volume limit corresponding to the credit level is determined. The credit level and credit limit are determined by identifying the credit terminal parameters obtained, and the identification of the SMS limit for the requester is completed. Step 809, when the number of SMS recipients meets the requirements of the sending limit, the port information and protocol information of the requester are determined based on the address information of the network address of the requester. When the requester meets the limit requirements for sending SMS, the network address of the requester can be further authenticated. The authentication process is a firewall verification based on the port information and protocol information of the requester. Step 811, based on the address information, port information and protocol information, the SMS interface call request is authenticated by the firewall address. During the authentication process of the network address, the SMS interface call request can be authenticated by the firewall address through the address information, port information and protocol information to ensure the validity of the address authentication. Step 813, when the firewall address authentication passes, it is determined that the SMS interface call request passes the address legitimacy verification. When the address authentication passes, it can be determined that the address legitimacy authentication passes, so as to perform the subsequent verification and sending process. Step 815, when the address legitimacy verification passes, the SMS interface call request is authenticated by keywords based on the SMS content. That is, on the premise that the address legitimacy verification is completed, it is also possible to further identify whether there is any abnormality in the specific SMS content, and the identification is performed by whether the SMS content contains keywords. Step 817, when the keyword authentication authorization is passed, the SMS interface of the SMS platform is called to send the SMS content to the target address of the SMS recipient.Finally, after the requester's identity is authenticated, the sending limit is identified, the requester's address legitimacy is verified, and the keyword authentication authorization is authorized, and it is determined that there is no abnormality, the SMS interface of the SMS platform can be called to send the SMS content to the target address of the SMS recipient.
[0088] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0089] Based on the same inventive concept, the embodiment of the present application also provides an interface management device for a short message platform for implementing the interface management method for the short message platform involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the interface management device for one or more short message platforms provided below can refer to the limitations of the interface management method for the short message platform above, and will not be repeated here.
[0090] In one embodiment, Fig. 9 As shown, an interface management device for a short message platform is provided, comprising:
[0091] The request parsing module 902 is used to receive and parse the SMS interface call request from the requesting party to the SMS platform to obtain the SMS content, the SMS recipient and the network address of the requesting party.
[0092] The credit identification module 904 is used to identify the credit level of the requester and determine the sending volume limit based on the credit level.
[0093] The address validity verification module 906 is used to verify the address validity of the requester based on the network address of the requester when the number of SMS recipients meets the requirement of the sending quota.
[0094] The content verification module 908 is used to perform keyword authentication and authorization on the SMS interface call request based on the SMS content when the address legitimacy verification passes. The keyword authentication and authorization is used to verify whether the SMS content contains abnormal keywords.
[0095] The SMS sending module 910 is used to call the SMS interface of the SMS platform to send the SMS content to the target address of the SMS recipient when the keyword authentication and authorization are passed.
[0096] In one embodiment, the credit identification module 904 is specifically used to: push a verification pattern containing verification information to the requester; receive verification feedback information sent by the requester based on the verification pattern; when the verification feedback information is consistent with the verification information, identify the credit level of the requester, and use the credit level as a query keyword to find the sending limit.
[0097] In one embodiment, the SMS interface call request also includes request device information and device location information; the credit identification module 904 is specifically used to: determine the request party's historical request device information and historical device location information based on the request party's flag information; compare the request device information with the historical request device information, and determine a first credit parameter based on the device similarity information obtained by comparison; compare the device location information with the historical device location information, and determine a second credit parameter based on the location distance information obtained by comparison; obtain the request party's credit level based on the first credit parameter and the second credit parameter, and determine the sending volume limit corresponding to the credit level.
[0098] In one embodiment, the address legitimacy verification module 906 is specifically used to: perform address search in the abnormal address list based on the requester's network address; when the abnormal address corresponding to the requester's network address is not found, determine that the SMS interface call request passes the address legitimacy verification.
[0099] In one embodiment, the address legitimacy verification module 906 is specifically used to: determine the port information and protocol information of the requester based on the address information of the requester's network address; perform firewall address authentication on the SMS interface call request based on the address information, port information and protocol information; and determine that the SMS interface call request passes the address legitimacy verification if the firewall address authentication passes.
[0100] In one embodiment, the content verification module 908 is specifically used to: extract the SMS text content in the SMS content; when it is identified based on the abnormal keyword thesaurus that the SMS text content contains abnormal keywords, intercept and process the SMS interface call request; when it is identified based on the abnormal keyword thesaurus that the SMS text content does not contain abnormal keywords, determine that the SMS interface call request has passed the keyword authentication authorization.
[0101] In one embodiment, it also includes a keyword update module, which is used to: extract text keywords in the text content of the SMS, filter abnormal keywords in the text keywords, and generate a keyword list; feed back the keyword list to the keyword reviewer to obtain the review result of the keyword reviewer on the keyword list; and update the abnormal keyword thesaurus based on the review result.
[0102] In one embodiment, it also includes a call restriction module, which is used to: obtain the SMS interface call log of the requester; perform call behavior identification processing based on the SMS interface call log to obtain the interface call behavior of the requester; when the interface call behavior indicates that the requester has abnormal call behavior, call restriction processing is performed on the SMS interface call request subsequently submitted by the requester based on the behavior type of the abnormal call behavior.
[0103] In one embodiment, abnormal calling behavior includes frequent calling with a calling frequency higher than a frequency threshold; the calling restriction module is also used to: upon receiving a subsequent SMS interface calling request submitted by the requester, parse the subsequently submitted SMS interface calling request to obtain a target address; when the target address is consistent with the network address of the requester of the SMS interface calling request in the SMS interface calling log, perform access speed limit processing on the subsequently submitted SMS interface calling request by the requester; when the target address is inconsistent with the network address of the requester of the SMS interface calling request in the SMS interface calling log, perform mandatory authentication processing on the subsequently submitted SMS interface calling request by the requester.
[0104] In one embodiment, the call restriction module is also used to: determine the current request frequency of the requester when receiving a subsequent SMS interface call request submitted by the requester; and when the current request frequency is higher than the request frequency threshold, intercept and process the subsequently submitted SMS interface call request.
[0105] In one embodiment, abnormal calling behavior includes illegal calling implemented through an automated program; the calling restriction module is also used to: upon receiving a SMS interface calling request subsequently submitted by the requesting party, isolate the SMS interface calling request.
[0106] Each module in the interface management device of the above-mentioned SMS platform can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0107] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. 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, 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 database of the computer device is used to store relevant data of the text message sending process. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an interface management method for a text message platform is implemented.
[0108] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0109] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0110] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0111] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.
[0112] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0113] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0114] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0115] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for managing an interface of a short message platform, characterized in that: The method comprises: Receive and analyze the SMS interface call request from the requester to the SMS platform to obtain the SMS content, SMS recipient and the network address of the requester; Identifying a credit rating of the requester, and determining a transmission volume limit based on the credit rating; When the number of the SMS recipients meets the requirement of the sending volume limit, verifying the legitimacy of the address of the requester based on the network address of the requester; If the address legitimacy verification is passed, keyword authentication and authorization is performed on the SMS interface call request based on the SMS content, and the keyword authentication and authorization is used to verify whether the SMS content contains abnormal keywords; When the keyword authentication is authorized, the SMS interface of the SMS platform is called to send the SMS content to the target address of the SMS recipient.
2. The method according to claim 1, characterized in that The identifying the credit level of the requesting party and determining the transmission amount limit based on the credit level comprises: Pushing a verification pattern containing verification information to the requesting party; receiving verification feedback information sent by the requesting party based on the verification pattern; When the verification feedback information is consistent with the verification information, the credit level of the requester is identified, and the sending volume limit is searched using the credit level as a query keyword.
3. The method according to claim 1, characterized in that The SMS interface call request also includes requesting device information and device location information; The identifying the credit level of the requesting party and determining the transmission amount limit based on the credit level comprises: Based on the flag information of the requesting party, determining the historical requesting device information and the historical device positioning information of the requesting party; Comparing the requesting device information with the historical requesting device information, determining a first credit parameter based on the device similarity information obtained by the comparison, and comparing the device positioning information with the historical device positioning information, determining a second credit parameter based on the positioning distance information obtained by the comparison; Based on the first credit parameter and the second credit parameter, the credit level of the requester is obtained, and the sending volume limit corresponding to the credit level is determined.
4. The method according to claim 1, characterized in that: The performing address legitimacy verification on the requesting party based on the network address of the requesting party comprises: Performing an address search in an abnormal address list based on the requester network address; When the abnormal address corresponding to the requesting party's network address is not found, it is determined that the SMS interface call request passes the address legitimacy verification.
5. The method according to claim 1, characterized in that The performing address legitimacy verification on the requesting party based on the network address of the requesting party comprises: Determining the port information and protocol information of the requester based on the address information of the network address of the requester; Based on the address information, port information and protocol information, firewall address authentication is performed on the SMS interface call request; When the firewall address authentication passes, it is determined that the SMS interface call request passes the address legitimacy verification.
6. The method according to claim 1, characterized in that The keyword authentication and authorization of the SMS interface call request based on the SMS content includes: Extracting SMS text content from the SMS content; When the text content of the SMS message contains abnormal keywords based on the abnormal keyword word library, the SMS interface call request is intercepted and processed; In a case where it is identified based on the abnormal keyword thesaurus that the text content of the SMS message does not contain abnormal keywords, it is determined that the SMS interface call request passes the keyword authentication authorization.
7. The method according to claim 6, characterized in that When the text content of the SMS message contains abnormal keywords, after intercepting the SMS interface call request, the method further includes: Extracting text keywords from the text content of the SMS, filtering abnormal keywords from the text keywords, and generating a keyword list; Feedback the keyword list to the keyword reviewer to obtain the review result of the keyword reviewer on the keyword list; The abnormal keyword thesaurus is updated based on the audit results.
8. The method according to claim 1, characterized in that The method further comprises: Get the SMS interface call log of the requester; Performing call behavior identification processing based on the SMS interface call log to obtain the interface call behavior of the requester; In the case where the interface calling behavior indicates that the requesting party has abnormal calling behavior, call restriction processing is performed on the SMS interface calling request subsequently submitted by the requesting party based on the behavior type of the abnormal calling behavior.
9. The method according to claim 8, characterized in that The abnormal calling behavior includes frequent calling with a calling frequency higher than a frequency threshold; The call restriction processing of the SMS interface call request subsequently submitted by the requesting party based on the frequent call includes: Upon receiving a subsequent SMS interface call request submitted by the requesting party, parsing the subsequent SMS interface call request to obtain a target address; When the target address is consistent with the network address of the requester of the SMS interface call request in the SMS interface call log, performing access speed limit processing on the SMS interface call request subsequently submitted by the requester; When the target address is inconsistent with the network address of the requesting party of the SMS interface call request in the SMS interface call log, a mandatory authentication process is performed on the SMS interface call request subsequently submitted by the requesting party.
10. The method according to claim 9, characterized in that The access speed limiting process for the SMS interface call request subsequently submitted by the requesting party includes: Upon receiving a subsequent SMS interface call request submitted by the requesting party, determining the current request frequency of the requesting party; When the current request frequency is higher than the request frequency threshold, the subsequently submitted SMS interface call request is intercepted.
11. The method according to claim 8, characterized in that The abnormal calling behavior includes illegal calling implemented through automated programs; The call restriction processing of the SMS interface call request subsequently submitted by the requester based on the illegal call includes: When receiving a SMS interface call request subsequently submitted by the requesting party, the SMS interface call request is isolated.
12. An interface management device for a short message platform, characterized in that: The device comprises: The request parsing module is used to receive and parse the SMS interface call request from the requester to the SMS platform to obtain the SMS content, SMS recipient and the network address of the requester; A credit identification module, used to identify the credit level of the requester and determine the transmission volume limit based on the credit level; An address legitimacy verification module, configured to verify the legitimacy of the address of the requester based on the network address of the requester when the number of the SMS recipients meets the requirement of the sending volume limit; A content verification module, configured to perform keyword authentication and authorization on the SMS interface call request based on the SMS content if the address legitimacy verification passes, wherein the keyword authentication and authorization is used to verify whether the SMS content contains abnormal keywords; The SMS sending module is used to call the SMS interface of the SMS platform to send the SMS content to the target address of the SMS recipient when the keyword authentication authorization is passed.
13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 11 are implemented.
14. A 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 method according to any one of claims 1 to 11 are implemented.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.
