CN115604668B - Short message sending and pushing monitoring method, device, equipment and storage medium - Google Patents

Short message sending and pushing monitoring method, device, equipment and storage medium Download PDF

Info

Publication number
CN115604668B
CN115604668B CN202211575628.5A CN202211575628A CN115604668B CN 115604668 B CN115604668 B CN 115604668B CN 202211575628 A CN202211575628 A CN 202211575628A CN 115604668 B CN115604668 B CN 115604668B
Authority
CN
China
Prior art keywords
short message
monitoring
pushing
message sending
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211575628.5A
Other languages
Chinese (zh)
Other versions
CN115604668A (en
Inventor
钱亮
梁光明
夏继存
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ronghe Communication Technology Tianjin Co ltd
Original Assignee
Ronghe Communication Technology Tianjin Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ronghe Communication Technology Tianjin Co ltd filed Critical Ronghe Communication Technology Tianjin Co ltd
Priority to CN202211575628.5A priority Critical patent/CN115604668B/en
Publication of CN115604668A publication Critical patent/CN115604668A/en
Application granted granted Critical
Publication of CN115604668B publication Critical patent/CN115604668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application relates to a method, a device, equipment and a storage medium for monitoring short message sending and pushing, belonging to the technical field of short message platforms, wherein the method for monitoring short message sending comprises the following steps: receiving a short message sending request sent by a short message user; classifying and counting the short message sending requests, and updating short message sending statistic data of the corresponding category based on the classifying and counting result; writing the updated short message sending statistical data into a memory database; and responding to a short message sending monitoring request, reading the latest short message sending statistical data from the memory database, and monitoring the short message sending service based on the latest short message sending statistical data. The method and the device can solve the problem that the real-time performance of the short message receiving and sending monitoring is affected due to the large data volume.

Description

Short message sending and pushing monitoring method, device, equipment and storage medium
Technical Field
The present invention relates to the technical field of short message platforms, and in particular, to a method, an apparatus, a device, and a storage medium for monitoring short message sending and pushing.
Background
The short message service platform is based on the connection between the short message ports provided by the short message operators such as China Mobile, china Unicom and China telecom and the Internet, so as to realize the batch transmission and the custom transmission of the short messages with the client designated number. The short message service platform is used for sending a short message pushing data to the short message user for feeding back the short message sending state.
In order to ensure uninterrupted service of the short message service and monitor the condition of the short message service, real-time monitoring needs to be performed on the short message service data, wherein the main monitoring relates to statistics of the short message receiving and transmitting real-time data. At present, short message sending data and short message pushing data are generally stored in a relational database, the monitoring system collects database data in real time for calculation, and the result record is fed back to the data presentation system for presentation. Therefore, if real-time monitoring is required, the monitoring system needs to frequently calculate the data in the relational database, and under the condition of large data volume, the data calculation is easy to be slow, so that the real-time performance of the short message receiving and transmitting monitoring is affected.
Disclosure of Invention
In order to solve the problem that the real-time performance of the short message receiving and sending monitoring is affected due to the large data volume, the application provides a method, a device, equipment and a storage medium for short message sending and pushing monitoring.
In a first aspect, the present application provides a method for monitoring sending of a short message, which adopts the following technical scheme:
a short message sending monitoring method comprises the following steps:
receiving a short message sending request sent by a short message user;
classifying and counting the short message sending requests, and updating short message sending statistic data of the corresponding category based on the classifying and counting result;
writing the updated short message sending statistical data into a memory database;
and responding to a short message sending monitoring request, reading the latest short message sending statistical data from the memory database, and monitoring the short message sending service based on the latest short message sending statistical data.
Optionally, the responding to the sms sending monitoring request reads the latest sms sending statistic data from the memory database, and monitoring the sms sending service based on the latest sms sending statistic data includes:
responding to a short message sending monitoring request, writing the latest short message sending statistical data into a time sequence database, and updating the short message sending time sequence data stored in the time sequence database;
reading updated short message sending time sequence data from the time sequence database;
and monitoring the short message sending service based on the updated short message sending time sequence data.
Optionally, the monitoring the sms sending service based on the updated sms sending time sequence data includes:
judging whether the updated short message sending time sequence data belongs to abnormal monitoring data or not;
if yes, an abnormal alarm is carried out.
In a second aspect, the present application provides a method for monitoring short message push, which adopts the following technical scheme:
a short message push monitoring method comprises the following steps:
receiving a short message pushing request sent by a short message operator;
classifying and counting the short message pushing requests, and updating short message pushing statistical data of corresponding categories based on classification statistical results;
writing the updated short message pushing statistical data into a memory database;
and responding to a short message pushing monitoring request, reading the latest short message pushing statistical data from the memory database, and monitoring the short message pushing service based on the latest short message pushing statistical data.
Optionally, the responding to the sms push monitoring request reads the latest sms push statistic data from the memory database, and monitoring the sms push service based on the latest sms push statistic data includes:
responding to a short message pushing monitoring request, writing the latest short message pushing statistical data into a time sequence database, and updating the short message pushing time sequence data stored in the time sequence database;
reading updated short message pushing time sequence data from the time sequence database;
and monitoring the short message pushing service based on the updated short message pushing time sequence data.
Optionally, the monitoring the short message pushing service based on the updated short message pushing time sequence data includes:
judging whether the updated short message pushing time sequence data belongs to abnormal monitoring data or not;
if yes, an abnormal alarm is carried out.
In a third aspect, the present application provides a short message sending monitoring device, which adopts the following technical scheme:
a short message sending monitoring device comprises:
the first request receiving module is used for receiving a short message sending request sent by a short message user;
the first statistics updating module is used for carrying out classification statistics on the short message sending request and updating short message sending statistical data of corresponding categories based on classification statistical results;
the first writing module is used for writing the updated short message sending statistical data into the internal database;
and the first monitoring module is used for responding to the short message sending monitoring request, reading the latest short message sending statistical data from the memory database, and monitoring the short message sending service based on the latest short message sending statistical data.
In a fourth aspect, the present application provides a short message pushing monitoring device, which adopts the following technical scheme:
a short message pushing monitoring device comprises:
the second request receiving module is used for receiving a short message pushing request sent by a short message operator;
the second statistics updating module is used for carrying out classification statistics on the short message pushing request and updating short message pushing statistical data of corresponding categories based on classification statistical results;
the second writing module is used for writing the updated short message pushing statistical data into the internal database;
and the second monitoring module is used for responding to the short message pushing monitoring request, reading the latest short message pushing statistical data from the memory database, and monitoring the short message pushing service based on the latest short message pushing statistical data.
In a fifth aspect, the present application provides an electronic device, which adopts the following technical scheme:
an electronic device includes a memory and a processor; the memory has stored thereon a computer program capable of being loaded by the processor and performing the method of any of the first or second aspects.
In a sixth aspect, the present application provides a computer readable storage medium, which adopts the following technical scheme:
a computer readable storage medium storing a computer program capable of being loaded by a processor and performing the method of any one of the first or second aspects.
By adopting the technical scheme, after receiving the short message sending request and the short message pushing request, updating the short message sending statistical data and the short message pushing statistical data, writing the short message sending statistical data and the short message pushing statistical data into the internal storage database, and when a platform operation department needs data analysis or provides data statistics for a short message user and a short message operator, directly reading the latest short message sending statistical data and the latest short message pushing statistical data from the internal storage database, so that the real-time monitoring of the short message receiving and sending service can be realized without writing a storage process/method in a relational database, and traversing all data and calculating the short message sending statistical data for each statistics; the method is particularly suitable for a short message receiving and transmitting monitoring scene with large short message data quantity, and can improve the real-time performance of the short message receiving and transmitting monitoring.
Drawings
Fig. 1 is a schematic structural diagram of a short message service platform according to an embodiment of the present application.
Fig. 2 is a flow chart of a method for monitoring sending of a short message according to an embodiment of the present application.
Fig. 3 is a flow chart of a method for monitoring short message pushing according to an embodiment of the present application.
Fig. 4 is a block diagram of a short message sending monitoring device according to an embodiment of the present application.
Fig. 5 is a block diagram of a short message pushing monitoring device according to an embodiment of the present application.
Fig. 6 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Fig. 1 is a schematic structural diagram of a short message service platform according to the present embodiment. As shown in FIG. 1, the SMS service platform mainly comprises an SMS sending monitoring device, an SMS pushing monitoring device, a relational database, a memory database, a time sequence database, an SMS service processing module, a routing center and an SMS gateway.
The short message sending monitoring device is used for carrying out statistics monitoring on a short message sending request sent by a short message user to a short message operator and writing statistics data sent by the short message into the internal database; the short message operator feeds back the state report information of the specific short message to the short message service processing module through the short message gateway and the routing center, the short message service processing module reads the short message sending statistical data from the memory database, generates a short message pushing request according to the short message sending statistical data and the state report information, and sends the short message pushing request to the short message pushing monitoring device to carry out statistical monitoring on the short message pushing request. In addition, the relational database is used for storing log data, namely the number, the content, the success and failure state and other information of each sent short message.
The short message service platform can be a server or terminal equipment, wherein the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and a cloud server for providing cloud computing service; the terminal device may be, but is not limited to, a smart phone, a tablet computer, a desktop computer, etc.
Fig. 2 is a flow chart of a method for monitoring sending of a short message according to the present embodiment. As shown in fig. 2, the main flow of the method is described as follows (steps S101 to S104):
step S101, receiving a short message sending request sent by a short message user;
in this embodiment, the short message sending request includes information such as a short message original message id, a source account number, a source unit, a destination gateway, a destination number, and the like.
Step S102, classifying and counting the short message sending requests, and updating short message sending statistical data of corresponding categories based on classification statistical results;
in this embodiment, the short message sending request is parsed to obtain information such as an original short message id, a source account number, a source unit, a destination gateway, a destination number, and the like. And dividing the newly received short message sending requests into corresponding categories according to the preset categories of the gateway, the unit, the account and the like, and accumulating and updating the short message sending statistical data of the category.
Step S103, writing the updated short message sending statistical data into a memory database;
step S104, responding to the short message sending monitoring request, reading the latest short message sending statistical data from the memory database, and monitoring the short message sending service based on the latest short message sending statistical data.
In this embodiment, the sms sending monitoring request may be generated according to a first preset period, for example, the first preset period is set to 1 minute, that is, each minute obtains the sms sending statistics that have been calculated in the previous minute from the memory database. Of course, the short message sending monitoring request may also be generated according to a preset triggering operation, where the preset triggering operation may include, but is not limited to, input modes such as a key, a sound, a fingerprint, a touch screen, and the like.
The short message sending monitoring request comprises monitoring categories, wherein the monitoring categories also comprise gateway, unit, account and the like, the latest short message sending statistical data corresponding to the monitoring categories in the short message sending monitoring request is obtained, and then the obtained short message sending statistical data is subjected to real-time visual data presentation by a monitoring presentation system.
In this embodiment, after receiving a sms sending request, update the sms sending statistics data and write the updated sms sending statistics data into the internal database, and when the platform operation department needs data analysis or provides data statistics for a sms user and a sms operator, the latest sms sending statistics data is directly read from the internal database, so that real-time monitoring of a sms sending service can be achieved, and all data needs to be traversed and sms sending statistics data needs not to be calculated in each statistics through writing a storage process/method in the relational database. The embodiment is particularly suitable for the scene of large short message data quantity, and can effectively improve the monitoring efficiency and instantaneity of the whole short message sending service.
In some embodiments, after receiving a short message sending monitoring request, writing the latest short message sending statistical data into the time sequence database, and updating the short message sending time sequence data stored in the time sequence database; then reading updated short message sending time sequence data from the time sequence database; and then monitoring the short message sending service based on the updated short message sending time sequence data.
In this embodiment, the calculated data result in the time sequence database is directly used to perform logic processing such as accumulation. Because the short message sending time sequence data is the short message sending statistical data with the time tag, the follow-up monitoring data presentation, particularly the visual data presentation, of the short message sending statistical data according to the time characteristic is facilitated.
Further, if the obtained updated short message sending time sequence data belongs to abnormal monitoring data, for example, the number of short message sending exceeds a preset threshold, namely, exceeds the maximum number of short message sending allowed by the platform, at the moment, an abnormal alarm needs to be carried out, and platform staff is prompted to timely remove the abnormality.
Fig. 3 is a flow chart of a method for monitoring short message pushing according to the present embodiment. As shown in fig. 3, the main flow of the method is described as follows (steps S201 to S204):
step S201, receiving a short message pushing request sent by a short message operator;
in this embodiment, the short message push request includes information such as a short message original message id, a source account, a source unit, a destination gateway, a destination number, a sending state, and the like. If the short message pushing request is the same as the short message original message id of the short message sending request, the short message pushing request is a short message sending state fed back by a short message operator aiming at the short message sending request.
Step S202, classifying and counting the short message pushing request, and updating short message pushing statistical data of corresponding categories based on the classifying and counting result;
in this embodiment, each short message fed back to the short message service platform by the short message operator includes a short message original message id and status report information of a specific short message, and the short message service processing module reads the short message sending statistic data from the memory database according to the short message original message id, adds specific information such as a source unit, a source account number, a destination gateway, a destination number and the like to each status report information, and then generates a short message pushing request.
The short message pushing monitoring device analyzes the short message pushing request to obtain information such as an original short message id, a source account number, a source unit, a destination gateway, a destination number, a sending state and the like, wherein the sending state comprises a success state, a failure state and the like. Dividing the newly received short message pushing request into corresponding categories according to preset categories such as gateway, unit and account number, and carrying out accumulation update on the short message pushing statistical data of the category, for example, updating the success number or failure number of short message sending of a certain category, wherein the success number is mainly obtained by accumulation calculation of the success state in the short message pushing request, and the failure number can also be obtained by accumulation calculation of the success state in the short message pushing request.
Step S203, the updated short message pushing statistical data is written into a memory database;
step S204, responding to the short message pushing monitoring request, reading the latest short message pushing statistical data from the memory database, and monitoring the short message pushing service based on the latest short message pushing statistical data.
In this embodiment, the sms push monitoring request may be generated according to a second preset period, for example, the second preset period is set to 1 minute, that is, each minute obtains the sms push statistics that have been calculated in the previous minute from the memory database. Of course, the sms push monitoring request may also be generated according to a preset triggering operation, where the preset triggering operation may include, but is not limited to, input manners such as a key, a sound, a fingerprint, a touch screen, and the like.
The short message pushing monitoring request comprises monitoring categories, wherein the monitoring categories also comprise gateway, unit, account and the like, the latest short message pushing statistical data corresponding to the monitoring categories in the short message pushing monitoring request is obtained, and then the obtained short message pushing statistical data is subjected to real-time visual data presentation by the monitoring presentation system.
In the embodiment, after receiving the short message pushing request, the short message pushing statistical data is updated and written into the internal storage database, when the platform operation department needs data analysis or provides data statistics for the short message user and the short message operator, the latest short message pushing statistical data is directly read from the internal storage database, so that the real-time monitoring of the short message pushing service can be realized, and the storage process/method is not required to be written in the relational database, and all data are traversed and the short message pushing statistical data are calculated in each statistics. The embodiment is particularly suitable for the scene of large short message data quantity, and can effectively improve the monitoring efficiency and instantaneity of the whole short message pushing service.
In some embodiments, after receiving a monitoring request sent by a short message, writing the latest short message pushing statistical data into a time sequence database, and updating the short message pushing time sequence data stored in the time sequence database; then reading updated short message pushing time sequence data from the time sequence database; and then monitoring the short message pushing service based on the updated short message pushing time sequence data.
In this embodiment, the calculated data result in the time sequence database is directly used to perform logic processing such as accumulation. Because the short message pushing time sequence data is short message pushing statistical data with a time tag, the follow-up monitoring data presentation, particularly the visual data presentation, of the short message pushing statistical data according to the time characteristic is facilitated.
Further, if the obtained updated short message pushing time sequence data belongs to abnormal monitoring data, for example, the number of short message sending failures of a certain class exceeds a preset threshold, namely exceeds the maximum number of short message sending failures allowed by the platform, at the moment, an abnormal alarm needs to be carried out to prompt a platform worker to timely remove the abnormality.
Fig. 4 is a block diagram of a short message sending monitoring apparatus 300 according to an embodiment of the present application. As shown in fig. 4, the sms sending monitoring apparatus 300 mainly includes:
a first request receiving module 301, configured to receive a short message sending request sent by a short message user;
the first statistics updating module 302 is configured to perform classification statistics on the short message sending request, and update short message sending statistics data of a corresponding class based on a classification statistics result;
a first writing module 303, configured to write the updated sms sending statistics data into the internal database;
the first monitoring module 304 is configured to read the latest sms sending statistics data from the memory database in response to the sms sending monitoring request, and monitor the sms sending service based on the latest sms sending statistics data.
In some embodiments, the first monitoring module 304 includes:
the first updating sub-module is used for responding to the short message sending monitoring request, writing the latest short message sending statistical data into the time sequence database, and updating the short message sending time sequence data stored in the time sequence database;
the first reading sub-module is used for reading updated short message sending time sequence data from the time sequence database;
and the first monitoring sub-module is used for monitoring the short message sending service based on the updated short message sending time sequence data.
Optionally, the first monitoring sub-module is specifically configured to determine whether the updated short message sending time sequence data belongs to abnormal monitoring data; if yes, an abnormal alarm is carried out.
Fig. 5 is a block diagram of a short message pushing monitoring device 400 according to an embodiment of the present application. As shown in fig. 5, the short message pushing monitoring apparatus 400 mainly includes:
a second request receiving module 401, configured to receive a short message push request sent by a short message operator;
the second statistics updating module 402 is configured to perform classification statistics on the short message pushing request, and update short message pushing statistics data of a corresponding class based on a classification statistics result;
a second writing module 403, configured to write the updated short message pushing statistics data into the internal database;
the second monitoring module 404 is configured to read the latest sms push statistics data from the memory database in response to the sms push monitoring request, and monitor the sms push service based on the latest sms push statistics data.
In some embodiments, the second monitoring module 404 includes:
the second updating sub-module is used for responding to the short message pushing monitoring request, writing the latest short message pushing statistical data into the time sequence database, and updating the short message pushing time sequence data stored in the time sequence database;
the second reading submodule is used for reading updated short message pushing time sequence data from the time sequence database;
and the second monitoring sub-module is used for monitoring the short message pushing service based on the updated short message pushing time sequence data.
Optionally, the second monitoring sub-module is specifically configured to determine whether the updated short message pushing time sequence data belongs to abnormal monitoring data; if yes, an abnormal alarm is carried out.
The functional modules in the embodiments of the present application may be integrated together to form a single unit, for example, integrated in a processing unit, or each module may exist alone physically, or two or more modules may be integrated to form a single unit. The integrated units may be implemented in hardware or in software functional units. The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored on a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing an electronic device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk.
Various changes and specific examples in the method provided in the embodiment of the present application are also applicable to a short message sending and pushing monitoring device provided in the embodiment, and by the foregoing detailed description of the short message sending and pushing monitoring method, those skilled in the art may clearly know the implementation method of the short message sending and pushing monitoring device in the embodiment, which is not described in detail herein for brevity of description.
Fig. 6 is a block diagram of an electronic device 500 according to an embodiment of the present application. As shown in fig. 6, the electronic device 500 includes a memory 501, a processor 502, and a communication bus 503; the memory 501 and the processor 502 are connected by a communication bus 503.
Memory 501 may be used to store instructions, programs, code sets, or instruction sets. The memory 501 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing an operating system, instructions for at least one function, and instructions for implementing the sms sending and push monitoring methods provided in the above embodiments, and the like; the data storage area may store data and the like involved in the short message sending and pushing monitoring method provided in the foregoing embodiments.
The processor 502 may include one or more processing cores. The processor 502 performs various functions of the present application and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 501, invoking data stored in the memory 501. The processor 502 may be at least one of an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD), a programmable logic device (Programmable Logic Device, PLD), a field programmable gate array (Field Programmable Gate Array, FPGA), a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, and a microprocessor. It will be appreciated that the electronics for implementing the functions of the processor 502 described above may be other for different devices, and embodiments of the present application are not specifically limited.
Communication bus 503 may include a path to transfer information between the above components. The communication bus 503 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. The communication bus 503 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one double arrow is shown in FIG. 6, but not only one bus or one type of bus. And the electronic device shown in fig. 6 is only an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present application.
The embodiment of the application provides a computer readable storage medium storing a computer program capable of being loaded by a processor and executing the short message sending and pushing monitoring method provided by the embodiment.
In this embodiment, the computer-readable storage medium may be a tangible device that holds and stores instructions for use by the instruction execution device. The computer readable storage medium may be, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination of the preceding. In particular, the computer readable storage medium may be a portable computer disk, hard disk, USB flash disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), podium random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital Versatile Disk (DVD), memory stick, floppy disk, optical disk, magnetic disk, mechanical coding device, and any combination of the foregoing.
The computer program in this embodiment contains program code for executing the method shown in fig. 2 and 3, and the program code may include instructions corresponding to executing the steps of the method provided in the above embodiment. The computer program may be downloaded from a computer readable storage medium to the respective computing/processing device or to an external computer or external storage device via a network (e.g., the internet, a local area network, a wide area network, and/or a wireless network). The computer program may execute entirely on the user's computer and as a stand-alone software package.
In the embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, it is to be understood that relational terms such as first and second are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The foregoing is merely a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and variations may be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (8)

1. The short message sending monitoring method is characterized by being applied to a short message sending monitoring device in a short message service platform, and comprises the following steps:
receiving a short message sending request sent by a short message user;
classifying and counting the short message sending requests, and updating short message sending statistic data of the corresponding category based on the classifying and counting result;
writing the updated short message sending statistical data into a memory database;
responding to a short message sending monitoring request, reading latest short message sending statistical data from the memory database, and monitoring a short message sending service based on the latest short message sending statistical data;
the responding to the short message sending monitoring request reads the latest short message sending statistical data from the memory database, and the monitoring of the short message sending business based on the latest short message sending statistical data comprises the following steps:
responding to a short message sending monitoring request, writing the latest short message sending statistical data into a time sequence database, and updating the short message sending time sequence data stored in the time sequence database;
reading updated short message sending time sequence data from the time sequence database;
monitoring the short message sending service based on the updated short message sending time sequence data;
wherein, the short message sending monitoring request is generated according to a first preset period; acquiring the short message sending statistical data calculated in the previous first preset period from the memory database at intervals of the first preset period;
the short message service platform comprises a short message sending monitoring device, a short message pushing monitoring device, a relational database, a memory database, a time sequence database, a short message service processing module, a routing center and a short message gateway;
the time sequence database is respectively connected with the short message sending monitoring device and the short message pushing monitoring device;
the memory database is respectively connected with the short message sending monitoring device and the short message pushing monitoring device;
the short message operator is used for feeding back the state report information of the specific short message to the short message service processing module through the short message gateway and the routing center;
the short message sending statistical data is read from the memory database by the short message service processing module, a short message pushing request is generated according to the short message sending statistical data and the state report information, and the short message pushing request is sent to the short message pushing monitoring device;
the short message pushing monitoring device is used for carrying out statistics monitoring on the short message pushing request.
2. The method of claim 1, wherein the monitoring the sms traffic based on the updated sms timing data comprises:
judging whether the updated short message sending time sequence data belongs to abnormal monitoring data or not;
if yes, an abnormal alarm is carried out.
3. The short message pushing monitoring method is characterized by being applied to a short message pushing monitoring device in a short message service platform, and comprises the following steps:
receiving a short message pushing request sent by a short message operator;
classifying and counting the short message pushing requests, and updating short message pushing statistical data of corresponding categories based on classification statistical results;
writing the updated short message pushing statistical data into a memory database;
responding to a short message pushing monitoring request, reading latest short message pushing statistical data from the memory database, and monitoring a short message pushing service based on the latest short message pushing statistical data;
the responding to the short message pushing monitoring request reads the latest short message pushing statistical data from the memory database, and monitors the short message pushing service based on the latest short message pushing statistical data, and the responding comprises the following steps:
responding to a short message pushing monitoring request, writing the latest short message pushing statistical data into a time sequence database, and updating the short message pushing time sequence data stored in the time sequence database;
reading updated short message pushing time sequence data from the time sequence database;
monitoring the short message pushing service based on the updated short message pushing time sequence data;
wherein, the short message sending monitoring request is generated according to a second preset period; acquiring short message pushing statistical data calculated in the previous second preset period from the memory database at intervals of the second preset period;
the short message service platform comprises a short message sending monitoring device, a short message pushing monitoring device, a relational database, a memory database, a time sequence database, a short message service processing module, a routing center and a short message gateway;
the time sequence database is respectively connected with the short message sending monitoring device and the short message pushing monitoring device;
the memory database is respectively connected with the short message sending monitoring device and the short message pushing monitoring device;
the short message operator is used for feeding back the state report information of the specific short message to the short message service processing module through the short message gateway and the routing center;
the short message sending statistical data is read from the memory database by the short message service processing module, a short message pushing request is generated according to the short message sending statistical data and the state report information, and the short message pushing request is sent to the short message pushing monitoring device;
the short message pushing monitoring device is used for carrying out statistics monitoring on the short message pushing request.
4. The method of claim 3, wherein the monitoring the sms push service based on the updated sms push timing data comprises:
judging whether the updated short message pushing time sequence data belongs to abnormal monitoring data or not;
if yes, an abnormal alarm is carried out.
5. A short message sending monitoring device, which is characterized in that the device is applied to a short message service platform, and comprises:
the first request receiving module is used for receiving a short message sending request sent by a short message user;
the first statistics updating module is used for carrying out classification statistics on the short message sending request and updating short message sending statistical data of corresponding categories based on classification statistical results;
the first writing module is used for writing the updated short message sending statistical data into the internal database;
the first monitoring module is used for responding to a short message sending monitoring request, reading the latest short message sending statistical data from the memory database, and monitoring a short message sending service based on the latest short message sending statistical data;
the first monitoring module includes:
the first updating sub-module is used for responding to the short message sending monitoring request, writing the latest short message sending statistical data into the time sequence database, and updating the short message sending time sequence data stored in the time sequence database;
the first reading sub-module is used for reading updated short message sending time sequence data from the time sequence database;
the first monitoring sub-module is used for monitoring the short message sending service based on the updated short message sending time sequence data;
wherein, the short message sending monitoring request is generated according to a first preset period; acquiring the short message sending statistical data calculated in the previous first preset period from the memory database at intervals of the first preset period;
the short message service platform comprises a short message sending monitoring device, a short message pushing monitoring device, a relational database, a memory database, a time sequence database, a short message service processing module, a routing center and a short message gateway;
the time sequence database is respectively connected with the short message sending monitoring device and the short message pushing monitoring device;
the memory database is respectively connected with the short message sending monitoring device and the short message pushing monitoring device;
the short message operator is used for feeding back the state report information of the specific short message to the short message service processing module through the short message gateway and the routing center;
the short message sending statistical data is read from the memory database by the short message service processing module, a short message pushing request is generated according to the short message sending statistical data and the state report information, and the short message pushing request is sent to the short message pushing monitoring device;
the short message pushing monitoring device is used for carrying out statistics monitoring on the short message pushing request.
6. The utility model provides a SMS push monitoring device which is characterized in that is applied to the SMS service platform, and the device includes:
the second request receiving module is used for receiving a short message pushing request sent by a short message operator;
the second statistics updating module is used for carrying out classification statistics on the short message pushing request and updating short message pushing statistical data of corresponding categories based on classification statistical results;
the second writing module is used for writing the updated short message pushing statistical data into the internal database;
the second monitoring module is used for responding to a short message pushing monitoring request, reading the latest short message pushing statistical data from the memory database, and monitoring the short message pushing service based on the latest short message pushing statistical data;
the second monitoring module includes:
the second updating sub-module is used for responding to the short message pushing monitoring request, writing the latest short message pushing statistical data into the time sequence database, and updating the short message pushing time sequence data stored in the time sequence database;
the second reading submodule is used for reading updated short message pushing time sequence data from the time sequence database;
the second monitoring sub-module is used for monitoring the short message pushing service based on the updated short message pushing time sequence data;
wherein, the short message sending monitoring request is generated according to a second preset period; acquiring short message pushing statistical data calculated in the previous second preset period from the memory database at intervals of the second preset period;
the short message service platform comprises a short message sending monitoring device, a short message pushing monitoring device, a relational database, a memory database, a time sequence database, a short message service processing module, a routing center and a short message gateway;
the time sequence database is respectively connected with the short message sending monitoring device and the short message pushing monitoring device;
the memory database is respectively connected with the short message sending monitoring device and the short message pushing monitoring device;
the short message operator is used for feeding back the state report information of the specific short message to the short message service processing module through the short message gateway and the routing center;
the short message sending statistical data is read from the memory database by the short message service processing module, a short message pushing request is generated according to the short message sending statistical data and the state report information, and the short message pushing request is sent to the short message pushing monitoring device;
the short message pushing monitoring device is used for carrying out statistics monitoring on the short message pushing request.
7. An electronic device comprising a memory and a processor; the memory has stored thereon a computer program that can be loaded by the processor and that performs the method according to any of claims 1 to 4.
8. A computer readable storage medium, characterized in that a computer program is stored which can be loaded by a processor and which performs the method according to any of claims 1 to 4.
CN202211575628.5A 2022-12-09 2022-12-09 Short message sending and pushing monitoring method, device, equipment and storage medium Active CN115604668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211575628.5A CN115604668B (en) 2022-12-09 2022-12-09 Short message sending and pushing monitoring method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211575628.5A CN115604668B (en) 2022-12-09 2022-12-09 Short message sending and pushing monitoring method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115604668A CN115604668A (en) 2023-01-13
CN115604668B true CN115604668B (en) 2023-05-09

Family

ID=84852209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211575628.5A Active CN115604668B (en) 2022-12-09 2022-12-09 Short message sending and pushing monitoring method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115604668B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413599A (en) * 2019-06-18 2019-11-05 上海展湾信息科技有限公司 Generating date and storage system and method
WO2021207926A1 (en) * 2020-04-14 2021-10-21 深圳市欢太科技有限公司 Method for determining memory, statistics server, physical machine and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792593B (en) * 2016-12-29 2019-11-19 江西博瑞彤芸科技有限公司 The statistical analysis technique of short message
CN109597837B (en) * 2018-11-29 2023-12-01 深圳前海微众银行股份有限公司 Time sequence data storage method, time sequence data query method and related equipment
CN110727727B (en) * 2019-10-15 2023-01-10 深圳前海微众银行股份有限公司 Statistical method and device for database
KR102102313B1 (en) * 2019-11-27 2020-04-20 주식회사 리얼타임테크 System for Managing TimeSeries data in In-Memory Database
CN111552719A (en) * 2020-04-23 2020-08-18 深圳前海微众银行股份有限公司 Data management method, device and system, big data platform and readable storage medium
CN114003580A (en) * 2021-09-16 2022-02-01 交控科技股份有限公司 Database construction method and device applied to distributed scheduling system
CN114328466A (en) * 2022-01-06 2022-04-12 北京微吼时代科技有限公司 Data cold and hot storage method and device and electronic equipment
CN115242745B (en) * 2022-07-19 2023-08-15 南京鼎山信息科技有限公司 Short message pushing system and method based on 5G communication network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413599A (en) * 2019-06-18 2019-11-05 上海展湾信息科技有限公司 Generating date and storage system and method
WO2021207926A1 (en) * 2020-04-14 2021-10-21 深圳市欢太科技有限公司 Method for determining memory, statistics server, physical machine and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁海飞 ; .基于分布式实时计算架构的生产设备数据分析平台.电子技术与软件工程.2020,(第04期),全文. *

Also Published As

Publication number Publication date
CN115604668A (en) 2023-01-13

Similar Documents

Publication Publication Date Title
CN110347716B (en) Log data processing method, device, terminal equipment and storage medium
US20150170070A1 (en) Method, apparatus, and system for monitoring website
CN110362455B (en) Data processing method and data processing device
CN108038130B (en) Automatic false user cleaning method, device, equipment and storage medium
CN112636957B (en) Early warning method and device based on log, server and storage medium
CN111835760B (en) Alarm information processing method and device, computer storage medium and electronic equipment
CN110535713B (en) Monitoring management system and monitoring management method
CN113342564B (en) Log auditing method and device, electronic equipment and medium
CN112311617A (en) Configured data monitoring and alarming method and system
CN109543891B (en) Method and apparatus for establishing capacity prediction model, and computer-readable storage medium
CN111740868B (en) Alarm data processing method and device and storage medium
CN109039817B (en) Information processing method, device, equipment and medium for flow monitoring
CN110807050B (en) Performance analysis method, device, computer equipment and storage medium
CN111258798A (en) Fault positioning method and device for monitoring data, computer equipment and storage medium
CN114268957A (en) Abnormal business data processing method, device, server and storage medium
CN110955581A (en) Online software abnormity warning method and device, electronic equipment and storage medium
CN114091704A (en) Alarm suppression method and device
CN108111328B (en) Exception handling method and device
CN115604668B (en) Short message sending and pushing monitoring method, device, equipment and storage medium
CN114090268B (en) Container management method and container management system
CN111431764B (en) Node determining method, device, system and medium
CN108874923B (en) Virtual article distribution method, server, and computer-readable storage medium
CN109388546B (en) Method, device and system for processing faults of application program
CN113254313A (en) Monitoring index abnormality detection method and device, electronic equipment and storage medium
CN111291127A (en) Data synchronization method, device, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant