A kind of invalid number detection system and method based on various dimensions
Technical field
The invention belongs to moving communicating field, be specifically related to a kind of invalid number detection system and method based on various dimensions.
Background technology
In note sends, send number regular invalid (number reason or by operator's shutoff etc.), thus can not transmitting short message.System need to detect this type of number in time, and suspends its use, otherwise can affect the arrival rate of note.
Existing system generally can only judge by the specific error code after sending, but many times, the type of the error code of transmission note is a lot, even do not return to any error code, and user does not receive note.Cause thus a lot of systems cannot correctly judge send number whether effective.
Summary of the invention
For solving the problems of the technologies described above, the object of this invention is to provide a kind of invalid number detection system and method based on various dimensions.
The technical solution used in the present invention is:
An invalid number detection system based on various dimensions, is characterized in that comprising:
One number management module, this number management module is responsible for whether suspending use;
One SMS transmission module, this SMS transmission module is responsible for the transmission of note, and in the time finding that there is specific error code and return, in time to number management module reporting errors;
One short message analysis module, the transmission record of responsible timing analysis note, the relevant data of statistics note, if find that statistics is lower than threshold values, to number management module reporting errors.
Concrete, when described number management module receives the error reporting of SMS transmission module or short message analysis module, judge that this number is as invalid number, and suspend the use of invalid number.
Further, the workflow of described SMS transmission module comprises: S1, first obtain one from number management module and effectively send number;
S2, note is sent to Short Message Service Gateway;
If S3 Short Message Service Gateway returns to specific error code, notify number management module by interface at once;
S4, number management module receive after notice, suspend at once the use of this number.
Wherein, the statistics of described short message analysis module is each number transmission success rate, successful receiving rate, do not report one or more combinations in return rate.
Further, the workflow of described short message analysis module comprises:
The transmission record of Q1, timing analysis every day note;
Q2 count each number transmission success rate, successful receiving rate, do not report return rate;
Q3, check one by one each number indices whether lower than the threshold values of setting;
If Q4, lower than threshold values, notifies number management module by interface;
Q5, number management module receive after notice, suspend at once the use of this number.
The present invention also comprises the method based on the same inventive concept of said system, i.e. a kind of invalid number detection method based on various dimensions, is characterized in that: comprise the following steps:
Whether A, a significant number note of detection have specific error code to return after sending, if wrong error code directly enters step C; Otherwise enter next step;
The transmission record of B, this number note of timing analysis, the relevant data of statistics note, if find that statistics, lower than threshold values, enters next step; Otherwise this number is effective, not to its management;
C, judge that this number is invalid and suspend its use.
Wherein, described statistics is each number transmission success rate, successful receiving rate, do not report one or more combinations in return rate.
Beneficial effect of the present invention:
The present invention is based on the invalid number detection system of various dimensions and method by specific error code, send error rate, receive error rate, there is no multiple dimensions such as note report return rate, analyze sending number, can identify in time problematic number and be suspended use, effectively having improved the arrival rate of note.
Brief description of the drawings
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further.
Fig. 1 is the structured flowchart of invalid number detection system of the present invention;
Fig. 2 is note transmission flow figure of the present invention;
Fig. 3 is note analysis process figure of the present invention;
Fig. 4 is the flow chart of invalid number detection method of the present invention.
Embodiment
Shown in figure 1, be a kind of invalid number detection system based on various dimensions of the present invention, comprising:
One number management module, this number management module is responsible for whether suspending use;
One SMS transmission module, this SMS transmission module is responsible for the transmission of note, and in the time finding that there is specific error code and return, in time to number management module reporting errors;
One short message analysis module, the transmission record of responsible timing analysis note, the relevant data of statistics note, if find that statistics is lower than threshold values, to number management module reporting errors.
Concrete, when described number management module receives the error reporting of SMS transmission module or short message analysis module, judge that this number is as invalid number, and suspend the use of invalid number.
Further, the workflow of described SMS transmission module comprises: see Fig. 2
S1, first obtain one from number management module and effectively send number;
S2, note is sent to Short Message Service Gateway;
If S3 Short Message Service Gateway returns to specific error code, notify number management module by interface at once;
S4, number management module receive after notice, suspend at once the use of this number.
Wherein, the statistics of described short message analysis module is each number transmission success rate, successful receiving rate, do not report return rate.
Further, the workflow of described short message analysis module comprises: see Fig. 3
The transmission record of Q1, timing analysis every day note;
Q2 count each number transmission success rate, successful receiving rate, do not report return rate;
Q3, check one by one each number indices whether lower than the threshold values of setting;
If Q4, lower than threshold values, notifies number management module by interface;
Q5, number management module receive after notice, suspend at once the use of this number.
As shown in Figure 4, the present invention also comprises the method based on the same inventive concept of said system, i.e. a kind of invalid number detection method based on various dimensions, comprises the following steps:
Whether A, a significant number of detection have specific error code to return after sending note, if wrong error code directly enters step C; Otherwise enter next step;
The transmission record of B, this number note of timing analysis, the relevant data of statistics note, if find that statistics, lower than threshold values, enters next step; Otherwise this number is effective, not to its management;
C, judge that this number is invalid and suspend its use.
Wherein, described statistics is each number transmission success rate, successful receiving rate, do not report return rate etc.
As mentioned above, the present invention is based on the invalid number detection system of various dimensions and method by specific error code, send error rate, receive error rate, there is no multiple dimensions such as note report return rate, analyze sending number, can identify in time problematic number and be suspended use, effectively having improved the arrival rate of note.
The foregoing is only preferential execution mode of the present invention, the present invention is not limited to above-mentioned execution mode, as long as within the technical scheme that realizes the object of the invention with basic identical means all belongs to protection scope of the present invention.