CN106792842A - A kind of short message channel monitoring method and system - Google Patents
A kind of short message channel monitoring method and system Download PDFInfo
- Publication number
- CN106792842A CN106792842A CN201610984870.6A CN201610984870A CN106792842A CN 106792842 A CN106792842 A CN 106792842A CN 201610984870 A CN201610984870 A CN 201610984870A CN 106792842 A CN106792842 A CN 106792842A
- Authority
- CN
- China
- Prior art keywords
- short message
- test
- time
- message channel
- test terminal
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
Abstract
A kind of short message channel monitoring method provided in an embodiment of the present invention, including test short message is sent to test terminal by short message channel by predetermined period;Judge whether short message channel is abnormal according to whether test terminal receives test short message in Preset Time, if short message channel exception, by the short message channel temporary close;If short message channel recovers normal, the short message channel is opened.The embodiment of the present invention provides a kind of short message channel monitoring system based on the above method simultaneously.The present invention is to overcome many weak points for being monitored for short message channel in the prior art, there is provided realize minute level monitor in real time for short message service passage.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of short message channel monitoring method.
Background technology
It is general in order to stabilization and cost etc. consider on short message sending platform, multiple passages can be accessed.This is accomplished by can be real
When the short message that is sent by each passage of monitoring it is whether normal, and then can intelligence switching channel, it is ensured that stability.
Currently for the monitoring of short message, a kind of is by artificial mode, on sending short messages at definite time to the mobile phone of oneself, certainly
Oneself judges whether to occur postponing or mistake occurs in content.This just at least needs 3 phonecards (UNICOM, mobile, telecommunications), many
Mobile phone, and can not leave for a long time
Another way is the state report fed back by passage provider after sending short message, and carrying out automatization judgement is
It is no to go wrong.The state report of passage provider feedback can typically include the state that short message is received, if wrong, it is right to have
The error code answered, also has the specific short message sending time in addition and short message receives the time.Monitoring system can be believed by these
Breath, judges whether to occur in that delay and mistake on a large scale, is adjusted automatically.
The mode of manual monitoring easily malfunctions and with popularization, cost improves quickly, and the present invention passes through will be whole
Individual process full automation, it is not necessary to which people participates in, the human cost for greatly reducing.Keeper only needs to configured in advance and monitors short well
Letter transmission frequency and corresponding threshold values.The regional faults problem that may be sent for passage simultaneously, can be very simply
It is extending transversely, monitoring cell-phone is being disposed more, do not need manpower to participate in substantially.
The content fed back by way of state report is monitored, and a maximum problem is time delay, it is impossible in time
Short message sending platform is fed back to, it is more for purposes such as chargings afterwards, therefore the monitor in real time demand of minute level cannot be met.
The content of the invention
The present invention is to overcome many weak points in the prior art for short message sending channel monitoring, there is provided be directed to
Short message service passage realizes a kind of short message channel monitoring method and system of minute level monitor in real time.
To achieve the above object, the present invention uses following steps:
A kind of short message channel monitoring method provided in an embodiment of the present invention, specifically includes following steps:It is logical by predetermined period
Cross short message channel and send test short message to test terminal;Judge according to whether test terminal receives test short message in Preset Time
Whether short message channel is abnormal, if short message channel exception, by the short message channel temporary close;If short message channel recovers normal,
Open the short message channel.
The embodiment of the present invention provides a kind of short message channel monitoring system, including service end and test terminal simultaneously, described
Service end includes:SMS transmission module, for sending test short message to test terminal by short message channel by predetermined period;Monitoring
Module, for judging whether short message channel is abnormal according to whether test terminal receives test short message in Preset Time, if short
Letter channel abnormal, by the short message channel temporary close;If short message channel recovers normal, the short message channel is opened.
The technical program calculates the time-consuming of short message sending by sending test short message to timing, assessment short message channel
Situation, when taking more than threshold value, illustrates that the short message channel has certain time delay or failure, can in time close this short
Letter passage, using standby short message channel, and sends alarm and facilitates technical staff to investigate failure in time.Test short because timing sends
The monitoring method that the interval of letter can be completed in test job, therefore this programme with the time of 30 seconds or so can accomplish logical to short message
The minute level monitor in real time in road.
Brief description of the drawings
Fig. 1 is a kind of first pass figure of short message channel monitoring method provided in an embodiment of the present invention.
Fig. 2 is a kind of second flow chart of short message channel monitoring method provided in an embodiment of the present invention.
A kind of first structure schematic diagram of short message channel monitoring system that Fig. 3 is provided for inventive embodiments.
Fig. 4 is a kind of the second structural representation of short message channel monitoring system provided in an embodiment of the present invention.
Specific embodiment
The present invention is described further with reference to the accompanying drawings and detailed description.
Embodiment 1:It is as shown in Figure 1 a kind of first pass of short message channel monitoring method provided in an embodiment of the present invention
Figure.The method specifically includes following steps:
S101 sends test short message by short message channel by predetermined period to test terminal.
Preferably, the test terminal under at least two equivalent environments of short message channel correspondence;Before test short message is sent every time,
Test terminal sends heartbeat signal and service end and carries out time synchronized by preset interval time, if service end in Preset Time not
The heartbeat signal of terminal device is received, is then judged the terminal device offline and is alerted, stopped sending the terminal device and test short
Letter.Ensureing will not be because of test terminal is offline or the factor such as failure is interfered to monitoring work.
S102 judges whether short message channel is abnormal according to whether test terminal receives test short message in Preset Time, if
Short message channel exception, by the short message channel temporary close;If short message channel recovers normal, the short message channel is opened.
Preferably, after test terminal receives test short message in the step, record short message receives time and uplink time report;
Judge that the short message in time report receives whether the time exceedes threshold value, if a test terminal receives test short message
Time exceed threshold value, test short message is sent to corresponding another test terminal of the short message channel immediately, if another is surveyed
When examination terminal receives the time of test short message still above threshold value, short message channel exception is judged.Ensure to judge by secondary-confirmation
Accuracy.
The technical program calculates the time-consuming of short message sending by sending test short message to timing, assessment short message channel
Situation, when taking more than threshold value, illustrates that the short message channel has certain time delay or failure, can in time close this short
Letter passage, using standby short message channel, and sends alarm and facilitates technical staff to investigate failure in time.Test short because timing sends
The monitoring method that the interval of letter can be completed in test job, therefore this programme with the time of 30 seconds or so can accomplish logical to short message
The minute level monitor in real time in road.
Embodiment 2:It is as shown in Figure 2 a kind of second procedure of short message channel monitoring method provided in an embodiment of the present invention
Figure.The method is specifically included:
Test terminal under S201 short message channels at least two equivalent environments of correspondence;Before test short message is sent every time, survey
Examination terminal sends heartbeat signal and service end and carries out time synchronized by preset interval time, if service end is not received in Preset Time
To the heartbeat signal of terminal device, then judge the terminal device offline and alert, stop sending test short message to the terminal device.
S202 sends test short message by short message channel by predetermined period to test terminal.
After S203 test terminals receive test short message, record short message receives time and uplink time report;Reported when uploading
Generation time-out, is retried according to the incremental interval of 1s, 1s, 2s, 3s, 5s, 8s.
Client upload report time, the possibility for occurring postponing is maximum, can be by way of retrying, according to progressive time
Interval is retried, while reduction request avoids consuming too many resource, it is ensured that network one recovers, then uploaded.
S204 judges that the short message in time report receives whether the time exceedes threshold value, if a test terminal receives test
The time of short message exceedes threshold value, test short message is sent to corresponding another test terminal of the short message channel immediately, if another
When individual test terminal receives the time of test short message still above threshold value, short message channel exception is judged.
If S205 short message channel exceptions, by the short message channel temporary close;If short message channel recovers normal, opening should
Short message channel.
The technical program calculates the time-consuming of short message sending by sending test short message to timing, assessment short message channel
Situation, when taking more than threshold value, illustrates that the short message channel has certain time delay or failure, can in time close this short
Letter passage, uses standby short message channel.
The heartbeat signal sent by terminal device in this programme, on the one hand can realize terminal device and service end when
Between it is synchronous, it is ensured that the time-consuming data of short message sending for calculating every time are accurate, on the other hand can be so that monitoring terminal equipment is offline or failure
The problems such as, the monitoring for causing fails.Ensure the accuracy of the monitoring method.
Embodiment 3:It is as shown in Figure 3 that a kind of first structure of short message channel monitoring system provided in an embodiment of the present invention is shown
It is intended to.The system includes service end 1 and test terminal 2.
Described service end 1 includes:
SMS transmission module 11, for sending test short message to test terminal by short message channel by predetermined period;
Monitoring module 12, for judging that short message channel is according to whether test terminal receives test short message in Preset Time
No exception, if short message channel exception, by the short message channel temporary close;If short message channel recovers normal, the short message is opened
Passage.
Embodiment 4:It is as shown in Figure 4 that a kind of the second structure of short message channel monitoring system provided in an embodiment of the present invention is shown
It is intended to.The system includes service end 1 and test terminal 2.Described service end 1 includes:
SMS transmission module 11, for sending test short message to test terminal by short message channel by predetermined period;
Monitoring module 12, the short message for judging in time report receives whether the time exceedes threshold value, if a test
The time that terminal receives test short message exceedes threshold value, and it is short to send test to corresponding another test terminal of the short message channel immediately
Letter, if another test terminal receives the time of test short message still above threshold value, judges short message channel exception.
Test terminal 2 under each short message channel at least two equivalent environments of correspondence.
Test terminal 2 includes:
Synchronization module 21, for before test short message is sent every time, test terminal to send heartbeat letter by preset interval time
Number and service end carry out time synchronized, if service end does not receive the heartbeat signal of terminal device in Preset Time, judging should
Terminal device offline and is alerted, and stops sending test short message to the terminal device.
Report uploading module 22, after receiving test short message, record short message receives time and uplink time report;
Time-out retries module 23, and for there is time-out when report uploading module uploads report, control report uploading module is pressed
Incremental interval according to 1s, 1s, 2s, 3s, 5s, 8s is retried.
The technical program calculates the time-consuming of short message sending by sending test short message to timing, assessment short message channel
Situation, when taking more than threshold value, illustrates that the short message channel has certain time delay or failure, can in time close this short
Letter passage, using standby short message channel, and sends alarm and facilitates technical staff to investigate failure in time.Test short because timing sends
The monitoring method that the interval of letter can be completed in test job, therefore this programme with the time of 30 seconds or so can accomplish logical to short message
The minute level monitor in real time in road.
Claims (8)
1. a kind of short message channel monitoring method, it is characterized in that, the method specifically includes following steps:
Test short message is sent to test terminal by short message channel by predetermined period;
Judge whether short message channel is abnormal according to whether test terminal receives test short message in Preset Time, if short message channel
It is abnormal, by the short message channel temporary close;If short message channel recovers normal, the short message channel is opened.
2. a kind of short message channel monitoring method as claimed in claim 1, it is characterized in that, it is described logical by short message by predetermined period
Before the step of road sends test short message to test terminal, also include:
Test terminal under short message channel at least two equivalent environments of correspondence;
Before test short message is sent every time, it is same that test terminal carries out the time by preset interval time transmission heartbeat signal and service end
Step, if service end does not receive the heartbeat signal of terminal device in Preset Time, judges the terminal device offline and alerts, and stops
Test short message only is sent to the terminal device.
3. a kind of short message channel monitoring method according to claim 2, it is characterized in that, it is described according to test terminal whether
Test short message is received in Preset Time and judges the whether abnormal step of short message channel, further included:
After test terminal receives test short message, record short message receives time and uplink time report;
Judge that the short message in time report receives whether the time exceedes threshold value, if test terminal receive test short message when
Between exceed threshold value, test short message is sent to corresponding another test terminal of the short message channel immediately, if another test is eventually
When terminating the time of Acceptance Tests short message still above threshold value, short message channel exception is judged.
4. a kind of short message channel monitoring method according to claim 3, it is characterized in that, test terminal receives test short message
Afterwards, the step of record short message receives time and uplink time and reports, further includes:
There is time-out when report is uploaded, retried according to the incremental interval of 1s, 1s, 2s, 3s, 5s, 8s.
5. a kind of short message channel monitoring system, it is characterized in that, including service end and test terminal, described service end include:
SMS transmission module, for sending test short message to test terminal by short message channel by predetermined period;
Monitoring module, for judging whether short message channel is different according to whether test terminal receives test short message in Preset Time
Often, if short message channel exception, by the short message channel temporary close;If short message channel recovers normal, the short message channel is opened.
6. a kind of short message channel monitoring system according to claim 5, it is characterized in that, short message channel at least two phases of correspondence
With the test terminal under environment;Test terminal includes synchronization module, for before test short message is sent every time, test terminal to be by pre-
If interval time sends heartbeat signal and service end and carries out time synchronized, if service end does not receive terminal device in Preset Time
Heartbeat signal, then judge the terminal device offline and alert, stop to the terminal device send test short message.
7. a kind of short message channel monitoring system according to claim 6, it is characterized in that, test terminal includes that report uploads mould
Block, after receiving test short message, record short message receives time and uplink time report;Monitoring module, during the time that judges reports
Short message receive whether the time exceedes threshold value, if the time that test terminal receives test short message exceedes threshold value, immediately to
Corresponding another test terminal of the short message channel sends test short message, if another test terminal receive test short message when
Between still above threshold value when, judge short message channel exception.
8. a kind of short message channel monitoring system according to claim 7, it is characterized in that, test terminal retries mould including time-out
Block, for there is time-out when report uploading module uploads report, control report uploading module is according to 1s, 1s, 2s, 3s, 5s, 8s
Incremental interval is retried.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610984870.6A CN106792842A (en) | 2016-11-09 | 2016-11-09 | A kind of short message channel monitoring method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610984870.6A CN106792842A (en) | 2016-11-09 | 2016-11-09 | A kind of short message channel monitoring method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106792842A true CN106792842A (en) | 2017-05-31 |
Family
ID=58972654
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610984870.6A Pending CN106792842A (en) | 2016-11-09 | 2016-11-09 | A kind of short message channel monitoring method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106792842A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107182042A (en) * | 2017-06-13 | 2017-09-19 | 北京凤凰理理它信息技术有限公司 | Short message channel method for evaluating quality, device, medium and system |
CN107260140A (en) * | 2017-06-09 | 2017-10-20 | 上海斐讯数据通信技术有限公司 | A kind of whole day rhythm of the heart method and system |
CN111901298A (en) * | 2020-06-22 | 2020-11-06 | 北京天融信网络安全技术有限公司 | Method and device for determining cloud short message platform during SSLVPN authentication and electronic equipment |
CN112311770A (en) * | 2020-09-29 | 2021-02-02 | 北京达佳互联信息技术有限公司 | Information platform selection method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075987A (en) * | 2009-11-24 | 2011-05-25 | 中国移动通信集团四川有限公司 | Method, system and network management monitoring server for obtaining abnormal information of message link |
WO2013063370A1 (en) * | 2011-10-26 | 2013-05-02 | ERP Systems Corp. | Two way short message service (sms)-enabled blood glucose meter and related communications systems and methods |
CN105025449A (en) * | 2014-04-24 | 2015-11-04 | 中国移动通信集团湖南有限公司 | Short message receiving state reset method, device and system |
CN105307139A (en) * | 2014-07-31 | 2016-02-03 | 中国电信股份有限公司 | Method, mobile terminal and system for transmitting application heartbeat signals |
CN106028438A (en) * | 2016-05-18 | 2016-10-12 | 北京永安信通科技有限公司 | Method, device and system for base station time synchronization algorithm |
-
2016
- 2016-11-09 CN CN201610984870.6A patent/CN106792842A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075987A (en) * | 2009-11-24 | 2011-05-25 | 中国移动通信集团四川有限公司 | Method, system and network management monitoring server for obtaining abnormal information of message link |
WO2013063370A1 (en) * | 2011-10-26 | 2013-05-02 | ERP Systems Corp. | Two way short message service (sms)-enabled blood glucose meter and related communications systems and methods |
CN105025449A (en) * | 2014-04-24 | 2015-11-04 | 中国移动通信集团湖南有限公司 | Short message receiving state reset method, device and system |
CN105307139A (en) * | 2014-07-31 | 2016-02-03 | 中国电信股份有限公司 | Method, mobile terminal and system for transmitting application heartbeat signals |
CN106028438A (en) * | 2016-05-18 | 2016-10-12 | 北京永安信通科技有限公司 | Method, device and system for base station time synchronization algorithm |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107260140A (en) * | 2017-06-09 | 2017-10-20 | 上海斐讯数据通信技术有限公司 | A kind of whole day rhythm of the heart method and system |
CN107182042A (en) * | 2017-06-13 | 2017-09-19 | 北京凤凰理理它信息技术有限公司 | Short message channel method for evaluating quality, device, medium and system |
CN107182042B (en) * | 2017-06-13 | 2020-08-25 | 北京凤凰理理它信息技术有限公司 | Short message channel quality evaluation method, device, medium and system |
CN111901298A (en) * | 2020-06-22 | 2020-11-06 | 北京天融信网络安全技术有限公司 | Method and device for determining cloud short message platform during SSLVPN authentication and electronic equipment |
CN112311770A (en) * | 2020-09-29 | 2021-02-02 | 北京达佳互联信息技术有限公司 | Information platform selection method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106792842A (en) | A kind of short message channel monitoring method and system | |
KR100456719B1 (en) | System And The Method For Integration Surveillance And Test Of Wireless Network | |
CN103684733B (en) | Automatic verification method and special-purpose equipment for clock synchronization | |
US20140211638A1 (en) | Method and system for detecting sleeping cell | |
CN101883374A (en) | Method for reporting information by terminal, and terminal equipment | |
WO2018205850A1 (en) | Operation and maintenance method and apparatus for base station | |
CN108064054B (en) | FTP file transmission monitoring method and system in LTE system | |
KR20200138565A (en) | Method and apparatus for managing a plurality of remote radio heads in a communication network | |
US9306822B2 (en) | Method and system for silent trunk failure detection | |
CN110971459B (en) | Session fault detection method and device, terminal equipment and readable storage medium | |
CN109699041B (en) | RRU channel fault diagnosis processing method, device and computer storage medium | |
CN113949657B (en) | Internet of things detection device, system and test method | |
CN110445647A (en) | A kind of diagnosis of internet of things data and error correction method | |
CN113013992B (en) | Method and device for monitoring functions of information-protecting master station | |
CN104038955B (en) | A kind of method of fault detect and treatment in GSM and base station | |
EP2846578B1 (en) | Reconfiguration record measurement test method and network side | |
CN112532486B (en) | Network diagnosis method, electronic device, system and readable storage medium | |
CN112312376B (en) | Method and system for remotely and interactively managing multifunctional electric meter | |
CN205427007U (en) | Steal electric report system | |
CN101834749A (en) | Method and device for acquiring data, method and device for monitoring business service quality | |
CN105044552A (en) | Fault diagnosis method, system and device for distribution network automation system | |
KR102128333B1 (en) | Remote electrical safety system and method with electrical spark monitoring | |
CN110557295A (en) | Alarm positioning method and device for network equipment | |
CN111585814A (en) | Remote studying and judging method for communication quality of power distribution terminal | |
CN112788636A (en) | Method and device for determining cell state and network management system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |