Method for determining running state of short message sending channel and related device
By sending specified SMS content and comparing it with actual content, the method automates the verification of SMS channel reliability, improving efficiency in validating SMS channel performance.
Patent Information
- Application Number
- CN202510608393.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-12
- Publication Date
- 2025-07-15
AI Technical Summary
In the prior art, the reliability verification efficiency of the SMS sending channel is low, and enterprises need to manually verify whether the SMS sending channel meets expectations, which is inefficient.
By sending a designated SMS sending request to the SMS sending channel, the actual SMS content collected by the data collection platform from the user equipment is obtained, and the operation status of the SMS sending channel is determined based on the actual SMS content and the expected SMS content, so as to realize automatic verification.
It improves the efficiency of reliability verification of SMS sending channels and realizes an automated reliability verification process.
Smart Images

Figure CN120321704A_ABST
Abstract
Description
Technical Field
[0001] The embodiments in the present application relate to the field of computer technology, and particularly to a method for determining the running state of a short message sending channel and related devices. Background Art
[0002] With the rapid development of fields such as Internet platforms, e-commerce, finance, medical care, and government affairs, short messages, as an efficient communication method with a wide coverage, high real-time performance, and the ability to reach users without installing applications, are widely used in services such as verification code short messages, system notifications, and event promotions, and it is quite common to generate a large daily sending volume. Usually, an enterprise requests a short message sending channel to send short messages to a specified user group, and the short message sending channel accessing the operator calls the authorization channel to complete the short message sending task. This process depends on the reliability of the short message sending channel, and enterprises usually need to manually verify whether the reliability meets the expectations, with low efficiency. Summary of the Invention
[0003] In view of this, multiple embodiments of the present application are dedicated to providing a method for determining the running state of a short message sending channel and related devices, which can improve the efficiency of verifying the reliability of the short message sending channel.
[0004] An embodiment of the present application provides a method for determining the running state of a short message sending channel, including: sending a specified short message sending request to the short message sending channel based on a short message sending task, so that the short message sending channel sends expected short message content to a user device corresponding to a specified mobile phone number; obtaining the actual short message content collected by a data collection platform from the user device; and determining the running state of the short message sending channel according to the actual short message content and the expected short message content.
[0005] An embodiment of the present application provides a device for determining the running state of a short message sending channel, including: a request sending module, configured to send a specified short message sending request to the short message sending channel based on a short message sending task, so that the short message sending channel sends expected short message content to a user device corresponding to a specified mobile phone number; a content obtaining module, configured to obtain the actual short message content collected by a data collection platform from the user device; and a state determination module, configured to determine the running state of the short message sending channel according to the actual short message content and the expected short message content.
[0006] An embodiment of the present application provides a computer device, where the computer device includes a memory and a processor, and at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the method for determining the running state of a short message sending channel as described above.
[0007] One embodiment of the present application provides a computer-readable storage medium, in which at least one computer program is stored, and when the at least one computer program is executed by a processor, it can implement the method for determining the running state of the SMS sending channel as described above.
[0008] One embodiment of the present application provides a computer program product for implementing the method for determining the running state of the SMS sending channel as described above.
[0009] In multiple embodiments provided by the present application, a specified SMS sending request can be sent to the SMS sending channel based on the SMS sending task, so that the SMS sending channel sends the expected SMS content to the specified mobile phone number, and further, the actual SMS content collected by the data collection platform from the user equipment corresponding to the specified mobile phone number can be obtained. Then, the running state of the SMS sending channel can be determined according to the actual SMS content and the expected SMS content, so as to realize the automatic verification of the reliability of the SMS sending channel and improve the reliability verification efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 It is a schematic diagram of a system to which the method for determining the running state of the SMS sending channel provided by one embodiment of the present application is applied.
[0011] Figure 2 It is a flowchart of the method for determining the running state of the SMS sending channel provided by one embodiment of the present application.
[0012] Figure 3 It is a module diagram of the device for determining the running state of the SMS sending channel provided by one embodiment of the present application.
[0013] Figure 4 It is a schematic diagram of a computer device provided by one embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0014] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments.
[0015] In the description of the embodiments of the present application, it should be understood that the terms "first" and "second" are only used for descriptive purposes, and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of the described features. In the description of the embodiments of the present application, "a plurality" means two or more, unless otherwise specifically defined.
[0016] Short message sending tasks are common in services such as verification code messages, system notifications, and event promotions. Operators who directly control short message sending resources have the ability to send short messages. To ensure the compliant use of short message sending resources, first-level short message service providers with the ability to deploy complex short message gateway devices and handle communication protocols connect with each operator, acting as an intermediate agent to provide short message sending resources authorized by the operator to the outside world, so as to respond to the short message sending requests of enterprises with business needs, enabling the short message sending needs of enterprises that do not have the ability to connect with operators to be met. On this basis, there are also second-level short message service providers that act as agents for the short message sending resources of first-level short message service providers, meeting customized short message sending needs not provided by first-level short message service providers.
[0017] Whether it is a first-level short message service provider or a second-level short message service provider, they both act as intermediate agents. When an abnormality occurs in the short message sending channel provided by a first-level or second-level short message service provider, such as under-sending, mis-sending, or late-sending of short messages, it will result in the failure to meet the short message sending needs of enterprises. Specifically, after an enterprise initiates a short message sending request, the first-level or second-level short message service provider receives the request but does not actually submit the short message to the operator network and feedbacks a successful sending status to the enterprise, resulting in the user device that the enterprise intends to reach not receiving the due short message.
[0018] Therefore, it is necessary to provide a method for determining the running status of a short message sending channel, which can send a specified short message sending request to the short message sending channel based on a short message sending task, so that the short message sending channel sends the expected short message content to a specified mobile phone number, and obtain the actual short message content collected by the data collection platform from the user device corresponding to the specified mobile phone number. Furthermore, the running status of the short message sending channel can be determined based on the actual short message content and the expected short message content, so as to realize the automatic verification of the reliability of the short message sending channel and improve the reliability verification efficiency.
[0019] Please refer to Figure 1 . In multiple embodiments provided in this application, the method for determining the running status of a short message sending channel can be applied to a device for determining the running status of a short message sending channel. The running status determination device can be an electronic device with certain computing power and network access capabilities. This electronic device can be a desktop computer, a laptop computer, a tablet computer, a smart phone, or a server. The server can also be a distributed server, including multiple processors, memories, network communication modules, etc., which cooperate to achieve various functions. Or, the server can also be a server cluster formed by several servers, with higher computing and data processing capabilities. With the development of science and technology, the server can also be realized by new forms of technical means, such as a new type of "server" based on quantum computing. Of course, in some embodiments, the running status determination device can also be a program module running on an electronic device.
[0020] In this embodiment, the operation status determination device of the SMS sending channel generates an SMS sending task based on service requirements. When it is necessary to trigger the SMS sending channel to execute SMS sending, in order to ensure that there is no abnormality in the SMS sending channel, a specified SMS sending request is sent to the SMS sending channel, so that the communication sending channel sends the expected SMS content to the user equipment corresponding to the specified mobile phone number through the operator network. At the same time, the actual SMS content collected by the data collection platform in the user equipment is synchronized to the operation status determination device of the SMS sending channel. The operation status determination device of the SMS sending channel is used to determine the operation status of the SMS sending channel according to the actual SMS content and the expected SMS content.
[0021] An embodiment of the present application provides an application scenario example of a method for determining the operation status of an SMS sending channel. The method for determining the operation status of the SMS sending channel is applied to the operation status determination device of the SMS sending channel to achieve automatic verification of the reliability of the SMS sending channel and improve the reliability verification efficiency.
[0022] For example, there is a promotion activity service on an e-commerce platform. This service needs to send activity notifications to the registered users of the platform, and the sending method is SMS sending. In order to ensure that the activity notifications can reach each registered user accurately and in a timely manner, the e-commerce platform counted the number of registered users who need to receive SMS on the promotion day as 100, and selected 10 users from the registered users based on this number.
[0023] Furthermore, the e-commerce platform sends a specified SMS sending request to the first-level agency service platform, so that the first-level agency service platform sends "
Test SMS
[0024] The e-commerce platform compares the received situation of each of the 10 users with "
Test SMS
Test SMS
[0025] Please refer to Figure 2。Embodiments of this application provide a method for determining the running state of a short message sending channel. The method for determining the running state of a short message sending channel can be applied to a device for determining the running state of a short message sending channel, and the device for determining the running state can be applied to a service management platform, which is used to manage the short message sending requirements corresponding to at least one service (such as verification code service, activity promotion service). The method for determining the running state of a short message sending channel may include the following steps.
[0026] Step S110: Send a specified short message sending request to the short message sending channel based on the short message sending task, so that the short message sending channel sends the expected short message content to the user device corresponding to the specified mobile phone number.
[0027] Step S120: Obtain the actual short message content collected by the data collection platform from the user device.
[0028] Step S130: Determine the running state of the short message sending channel according to the actual short message content and the expected short message content.
[0029] In this embodiment, the short message sending task is a one-time or periodic short message batch sending instruction generated by the service management platform, and the short message sending task includes but is not limited to short message content, sending target, sending time, etc. The short message sending task can be applied to but is not limited to the following services: login / registration / authentication, payment / transaction notification, marketing promotion, service reminder, government affairs notification, and security warning.
[0030] In this embodiment, when there is a short message sending task, a specified short message sending request including the expected short message content and the specified mobile phone number can be generated. The short message sending task does not include the expected short message content to be triggered to be sent by the short message sending channel, but the short message sending task can also be executed through the short message sending channel. Optionally, the specified short message sending request may further include data such as the sending time. Furthermore, the API interface provided by the short message sending channel can be called to send the specified short message sending request to the short message sending channel, so that the short message sending channel sends the expected short message content to the user device corresponding to the specified mobile phone number.
[0031] In this embodiment, the expected short message content may include but is not limited to: short message body, link, variable content (such as dynamically generated verification code, order number, time), specific identifier (such as "
Test SMS
[0032] Among them, the SMS sending channel refers to the agent or communication operator that provides SMS sending resources, supports the SMS to be sent from the service management platform until it reaches the user device, can provide reliable and scalable SMS sending capabilities, and supports the large-scale concurrent SMS sending requirements. Specifically, the SMS sending channel may include, but is not limited to: a first-level agent service platform for self-built channels that directly obtains SMS sending resources from the communication operator and provides API interfaces externally, and a second-level agent service platform and a communication operator that obtain communication operator resources from the first-level service platform.
[0033] Among them, the specified mobile phone number is the SMS reach target for specifying the SMS sending request. The user device corresponding to the specified mobile phone number can be devices such as a mobile phone with communication capabilities, a personal computer, a smart watch, and a tablet computer. The expected SMS content is the SMS content that the user of the SMS reach target hopes to view.
[0034] In this embodiment, since there may be abnormal sending situations such as missed sending and mis-sending in the SMS sending channel, after sending the specified SMS sending request to the SMS sending channel, the running state determination device of the SMS sending channel can also synchronize the information in the specified SMS sending request sent this time (such as the specified mobile phone number and the expected SMS content) to the data collection platform, so that the data collection platform collects SMS for the user device corresponding to the specified mobile phone number, thereby obtaining the actual SMS content received by the user device and synchronizing it to the running state determination device of the SMS sending channel.
[0035] In some embodiments, the specified mobile phone number and the expected SMS content are preset information. The data collection platform periodically collects the actual SMS content received by the user device corresponding to the specified mobile phone number and synchronizes it to the running state determination device of the SMS sending channel.
[0036] It should be noted that before the data collection platform collects the actual SMS content, a SMS acquisition authorization request has been sent to the user device, and the consent authorization information fed back by the user device has been received.
[0037] In this embodiment, the running state determination device of the SMS sending channel can also compare the actual SMS content with the expected SMS content. When the actual SMS content is consistent with the expected SMS content, it is determined that the running state of the SMS sending channel is the normal state, that is, there is no abnormal sending situation such as missed sending or mis-sending. Among them, the running state is used to characterize the performance state of the SMS sending channel when executing the SMS sending task. The running state includes, but is not limited to: the normal state and the abnormal state. Optionally, the running state may also include a failure state, which is not limited in this embodiment of the present application.
[0038] In some embodiments, when the similarity between the actual SMS content and the expected SMS content is greater than a preset similarity (e.g., 90%), the operating state of the SMS sending channel is determined to be normal.
[0039] In this embodiment, if the actual SMS content is inconsistent with the expected SMS content, or the similarity between the two is less than the preset similarity, the operating state of the SMS sending channel is determined to be abnormal and an alarm is triggered.
[0040] In this embodiment, a specified SMS sending request can be sent to the SMS sending channel based on the SMS sending task, so that the SMS sending channel sends the expected SMS content to the specified mobile phone number, and the actual SMS content collected by the data collection platform from the user device corresponding to the specified mobile phone number can be obtained. Furthermore, the operating state of the SMS sending channel can be determined according to the actual SMS content and the expected SMS content, so as to realize the automatic verification of the reliability of the SMS sending channel and improve the reliability verification efficiency.
[0041] In some embodiments, the device for determining the operating state of the SMS sending channel can select a specified number of mobile phone numbers from the mobile phone numbers corresponding to the SMS sending task based on the number of SMSs in the SMS sending task as the specified mobile phone numbers; and send a specified SMS sending request including the specified mobile phone numbers to the SMS sending channel.
[0042] In this embodiment, the number of SMSs in the SMS sending task is related to the specific service. Therefore, the number of SMSs in different SMS sending tasks may be different. To improve the accuracy of the determined operating state, the number of specified mobile phone numbers can be related to the number of SMSs in the SMS sending task, and the relationship between the two is a positive correlation, that is, the more the number of SMSs in the SMS sending task, the more the corresponding number of specified mobile phone numbers.
[0043] In this embodiment, the specified number is determined according to the number of SMSs in the SMS sending task. Based on the number of SMSs in the SMS sending task, a specified number of mobile phone numbers can be randomly selected from the mobile phone numbers corresponding to the SMS sending task as the specified mobile phone numbers. Or, based on the number of SMSs in the SMS sending task, a specified number of mobile phone numbers with device locations in the same area can be selected from the mobile phone numbers corresponding to the SMS sending task as the specified mobile phone numbers, where the area can be divided based on provinces / cities / districts / base station coverage. Selecting these mobile phone numbers as the specified mobile phone numbers is more conducive to conducting SMS sending tests, facilitating the verification of the reception time difference between the specified mobile phone numbers, and using this as the basis for determining the operating state, thus improving the accuracy of the determined operating state.
[0044] In this embodiment, the triggered SMS sending channel sends the expected SMS content to multiple specified mobile phone numbers, obtains the actual SMS content of the multiple specified mobile phone numbers, and compares the results obtained from multiple groups of expected SMS content and actual SMS content. When used as the basis for determining the operating state, the accuracy of the determined operating state can be improved. When the results obtained from multiple groups of expected SMS content and actual SMS content all show consistency, it is determined that the operating state of the SMS sending channel is the normal state.
[0045] In some embodiments, the operating state determination device of the SMS sending channel may send a specified SMS sending request to the SMS sending channel before / during / after the execution of the SMS sending task.
[0046] In this embodiment, in order to improve the accurate determination of the operating state, the specified SMS sending request can be triggered to be executed by the SMS sending channel at any stage corresponding to the SMS sending task (i.e., before / during / after the task execution). This can facilitate the comparison of SMS content at any time to ensure that the operating state is the normal state.
[0047] In some embodiments, the specified SMS sending request can be sent to the SMS sending channel at least in two of the stages before, during, and after the task execution.
[0048] In some embodiments, the expected SMS content includes an expected link, and the actual SMS content contains an actual link; the operating state determination device of the SMS sending channel can obtain the actual access result of the data collection platform to the actual link; when the actual SMS content is consistent with the expected SMS content and the actual access result corresponds to the expected access result of the expected link, it is determined that the operating state of the SMS sending channel is the normal state.
[0049] In this embodiment, in order to ensure the effectiveness of the SMS sent to the user device, the expected SMS content for testing can also include an expected link. The data collection platform can access the actual link in the collected actual SMS content, take a screenshot of the access result, and synchronize the screenshot as the actual access result to the task management platform. When the actual access result is the same as / higher than the specified similarity of the expected access result of the expected link, it is determined that the operating state is the normal state. This can achieve the reliability verification of the SMS sending channel. When it is determined that the operating state is the normal state, it can be determined that the SMS sending channel has the expected reliability and can accurately execute the SMS sending task.
[0050] In some embodiments, the device for determining the running state of the SMS sending channel may determine that the running state of the SMS sending channel is normal when the acquisition time corresponding to the actual SMS content is within the time window and the actual SMS content is consistent with the expected SMS content; wherein, the time window is determined based on the sending time of the specified SMS sending request.
[0051] In this embodiment, in order to ensure that the SMS sending channel can send SMS in a timely manner, a time window is set based on the sending time of the specified SMS sending request. The time window starts from the sending time and ends at the time after a specified duration (e.g., 30s) has passed, and then it can be verified whether the acquisition time of the actual SMS content is within the time window. If so, it means that the SMS sending channel can send SMS in a timely manner, and it is determined that the running state of the SMS sending channel is normal. If not, it means that the SMS sending channel fails to send SMS in a timely manner, and there may be problems such as mis-sending or missed sending. It is determined that the running state of the SMS sending channel is abnormal and an alarm is triggered.
[0052] In some embodiments, the device for determining the running state of the SMS sending channel also has a supplementary window, which is a specified duration after the time window. If the acquisition time corresponding to the actual SMS content is within the supplementary window, it is determined that the running state of the SMS sending channel is in a suspected abnormal state. If the acquisition time corresponding to the actual SMS content is later than the supplementary window, it is determined that the running state of the SMS sending channel is in a missed sending state.
[0053] In some embodiments, the device for determining the running state of the SMS sending channel may perform abnormal keyword detection on the actual SMS content when the actual SMS content is classified as an abnormal SMS by the user device.
[0054] In this embodiment, abnormal keywords refer to information that may be recognized as abnormal SMS such as spam SMS or invalid SMS by the user device, such as "big promotion", "add WeChat", etc. Since the vocabulary for which the user device determines abnormal SMS is dynamically changing, when the actual SMS content is classified as an abnormal SMS by the user device, abnormal keyword detection can be performed on the actual SMS content.
[0055] In some embodiments, the method of abnormal keyword detection may be: detecting whether there are words in the actual SMS content that match the latest abnormal keyword library. Or, call a large model to analyze the possible suspected abnormal keywords in the actual SMS content, trigger the SMS sending channel to re-send the SMS after removing the suspected abnormal keywords, and use the actual SMS content re-collected by the data acquisition platform as the basis for abnormal keyword determination until the abnormal keyword is determined from the original actual SMS content, and then update the abnormal keyword to the abnormal keyword library.
[0056] Please refer to Figure 3 。The embodiment of the present application also provides a device for determining the running state of a short message sending channel, including: a request sending module, configured to send a specified short message sending request to the short message sending channel based on a short message sending task, so that the short message sending channel sends an expected short message content to a user device corresponding to a specified mobile phone number; a content obtaining module, configured to obtain the actual short message content collected by the data collection platform from the user device; a state determination module, configured to determine the running state of the short message sending channel according to the actual short message content and the expected short message content.
[0057] Regarding the specific functions and effects achieved by the device for determining the running state of the short message sending channel, reference can be made to other embodiments of the present application for explanation, and details will not be elaborated here. Each module in the device for determining the running state of the short message sending channel can be implemented in whole or in part by software, hardware, and their combination. The modules can be embedded in the processor of the computer device in hardware form or be independent of it, or be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0058] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor implements the method for determining the running state of the short message sending channel as described above.
[0059] The embodiment of the present application also provides a computer program product containing instructions. When the instructions are executed by a processor, the computer implements the method for determining the running state of the short message sending channel as described above.
[0060] Please refer to Figure 4 。The embodiment of this specification can provide a computer device, where the computer device includes: a memory, and one or more processors communicatively connected to the memory; instructions executable by the one or more processors are stored in the memory, and when the instructions are executed by the one or more processors, the one or more processors implement the method for determining the running state of the short message sending channel as described above.
[0061] In some embodiments, the computer device may include a processor, a non-volatile storage medium, an internal memory, a communication interface, a display device, and an input device connected by a system bus. The non-volatile storage medium may store an operating system and related computer programs.
[0062] The user information or user account information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, etc.) involved in multiple embodiments of this application are all information and data that have been authorized by the user or fully authorized by all parties. Moreover, the collection, use, and processing of relevant data need to comply with the relevant laws and regulations and standards of the relevant countries and regions, and corresponding operation entrances are provided for users to choose to authorize or refuse.
[0063] It can be understood that the specific examples in this article are only to help those skilled in the art better understand the embodiments of this application, rather than limiting the scope of the present invention.
[0064] It can be understood that in various embodiments of this application, the magnitudes of the sequence numbers of each process do not imply the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of this application.
[0065] It can be understood that the various embodiments described in this application can be implemented alone or in combination, and the embodiments of this application do not limit this.
[0066] Unless otherwise specified, all technical and scientific terms used in the embodiments of this application have the same meaning as commonly understood by those skilled in the technical field of this application. The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit the scope of this application. The term "and / or" used in this application includes any and all combinations of one or more of the related listed items. The singular forms of "a", "the above", and "the" used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0067] It can be understood that the processor in the implementation manner of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method implementation manner can be completed by the integrated logic circuit in the hardware of the processor or the instructions in the form of software. The above-mentioned processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute each method, step and logic block diagram disclosed in the implementation manner of the present application. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the implementation manner of the present application can be directly embodied as being executed and completed by the hardware decoding processor, or executed and completed by a combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the steps of the above method.
[0068] It can be understood that the memory in the implementation manner of the present application may be a volatile memory or a non-volatile memory, or may include both a volatile and a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory may be a random access memory (RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0069] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0070] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0071] In several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0072] 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, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0073] In addition, in each embodiment of the present application, the functional units can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
[0074] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0075] The above is only the specific embodiment of the present application, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, and all should be covered by the protection scope of the present application. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A method for determining the operating state of a short message sending channel, characterized in that The method includes: Sending a specified SMS sending request to an SMS sending channel based on an SMS sending task, so that the SMS sending channel sends expected SMS content to a user device corresponding to a specified mobile phone number; Obtaining actual SMS content collected by a data collection platform from the user device; Determining the running state of the SMS sending channel according to the actual SMS content and the expected SMS content.
2. The method according to claim 1, characterized in that, The step of sending a specified SMS sending request to an SMS sending channel based on an SMS sending task includes: Selecting a specified number of mobile phone numbers from the mobile phone numbers corresponding to the SMS sending task as specified mobile phone numbers based on the number of SMSs in the SMS sending task; Sending a specified SMS sending request including the specified mobile phone numbers to the SMS sending channel.
3. The method according to claim 1, characterized in that The step of sending a specified SMS sending request to an SMS sending channel based on an SMS sending task includes: Sending a specified SMS sending request to the SMS sending channel before / during / after the execution of the SMS sending task.
4. The method according to claim 1, characterized in that The expected SMS content includes an expected link, and the actual SMS content contains an actual link; The step of determining the running state of the SMS sending channel according to the actual SMS content and the expected SMS content includes: Obtaining the actual access result of the data collection platform for the actual link; When the actual SMS content is consistent with the expected SMS content and the actual access result corresponds to the expected access result of the expected link, it is determined that the running state of the SMS sending channel is a normal state.
5. The method according to claim 1, characterized in that, The step of determining the running state of the SMS sending channel according to the actual SMS content and the expected SMS content includes: When the collection time corresponding to the actual SMS content is within a time window and the actual SMS content is consistent with the expected SMS content, it is determined that the running state of the SMS sending channel is a normal state; wherein, the time window is determined based on the sending time of the specified SMS sending request.
6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: Performing abnormal keyword detection on the actual SMS content when the actual SMS content is classified as an abnormal SMS by the user device.
7. An operating state determination device for a short message sending channel, characterized in that, The device includes: A request sending module, configured to send a specified SMS sending request to an SMS sending channel based on an SMS sending task, so that the SMS sending channel sends expected SMS content to a user device corresponding to a specified mobile phone number; A content obtaining module, configured to obtain actual SMS content collected by a data collection platform from the user device; A state determination module, configured to determine the running state of the SMS sending channel according to the actual SMS content and the expected SMS content.
8. A computer device, characterized in that, The computer device includes a memory and a processor, and at least one computer program is stored in the memory. The at least one computer program is loaded and executed by the processor to implement the method for determining the running state of an SMS sending channel according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, At least one computer program is stored in the computer-readable storage medium, and when the at least one computer program is executed by a processor, it can implement the method for determining the running state of the SMS sending channel as described in any one of claims 1 to 6.
10. A computer program product, characterized in that, A computer program product is used to implement the method for determining the running state of the SMS sending channel as described in any one of claims 1 to 6.