CN107182042B - Short message channel quality evaluation method, device, medium and system - Google Patents
Short message channel quality evaluation method, device, medium and system Download PDFInfo
- Publication number
- CN107182042B CN107182042B CN201710444114.9A CN201710444114A CN107182042B CN 107182042 B CN107182042 B CN 107182042B CN 201710444114 A CN201710444114 A CN 201710444114A CN 107182042 B CN107182042 B CN 107182042B
- Authority
- CN
- China
- Prior art keywords
- short message
- verification
- message channel
- verification code
- quality
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000013441 quality evaluation Methods 0.000 title claims description 18
- 238000012795 verification Methods 0.000 claims abstract description 326
- 230000015654 memory Effects 0.000 claims description 16
- 230000005540 biological transmission Effects 0.000 claims description 12
- 238000001303 quality assessment method Methods 0.000 claims description 11
- 238000012545 processing Methods 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 3
- 239000013256 coordination polymer Substances 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- 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]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a method, a device, a medium and a system for evaluating the quality of a short message channel, wherein the method comprises the following steps: sending the verification code in a short message mode through a short message channel, and recording verification code sending data; receiving the input verification code, and recording verification result data of the verification code, wherein the verification result data comprises whether verification is successful; and obtaining quality parameters of the short message channel within a set time interval according to the verification code sending data and the verification code verification result data, and if the quality parameters are within a preset range, judging that the quality of the short message channel is unavailable. The method, the device, the medium and the system for evaluating the quality of the short message channel can evaluate the quality of the short message channel more accurately, and necessary subsequent processing measures are taken in time when the quality of the short message channel is unavailable.
Description
Technical Field
The invention relates to the technical field of communication safety, in particular to a method, a device, a medium and a system for evaluating the quality of a short message channel.
Background
Currently, when a user uses various services provided by a website or a mobile app, the user often needs to input a verification code received in a short message manner, and after the verification of the verification code is successful, the user can enjoy the corresponding services. The application scene has high requirements on the quality of the short message channel. Generally, when the verification code is sent in a short message mode, a corresponding short message channel is selected according to a number segment to which a mobile phone number receiving the verification code belongs, and the quality of the selected short message channel directly influences whether the verification code sent in the short message mode can successfully reach the mobile phone of the user or not, and further influences whether the user can successfully verify the verification code within a specified time. Therefore, the quality evaluation of the short message channel is of great importance, and the short message channel with poor quality or even unavailable quality should be found in time to avoid continuously using the short message channel to send the verification code.
In the prior art, a short message receipt is used as a means for evaluating the quality of a short message channel, but under the influence of the real-time state of a communication network, the actual time of the short message receipt reaching a user is uncertain, and may be from several minutes to tens of hours, and a large time delay may exist in the result obtained by evaluation. Therefore, the quality of the short message channel cannot be accurately evaluated in real time only from the point of receiving the short message receipt.
Disclosure of Invention
In view of this, an embodiment of the present invention provides a method for evaluating quality of a short message channel, where the method includes:
sending the verification code in a short message mode through a short message channel, and recording verification code sending data;
receiving the input verification code, and recording verification result data of the verification code, wherein the verification result data comprises whether verification is successful;
and obtaining quality parameters of the short message channel within a set time interval according to the verification code sending data and the verification code verification result data, and if the quality parameters are within a preset range, judging that the quality of the short message channel is unavailable.
Preferably, the step of obtaining a quality parameter of the short message channel within a set time interval according to the verification code sending data and the verification code verification result data, and if the quality parameter is within a predetermined range, determining that the quality of the short message channel is unavailable includes:
obtaining the number of the verification codes sent through the short message channel within a set time interval according to the verification code sending data;
obtaining the number of verification codes which are transmitted through the short message channel and successfully verified within a set time interval according to the verification result data of the verification codes;
obtaining the verification failure rate of the short message channel in the set time interval as the quality parameter according to the number of the verification codes sent through the short message channel in the set time interval and the number of the verification codes which are sent through the short message channel in the set time interval and are verified successfully;
and if the quality parameter is greater than or equal to a first threshold value, judging that the quality of the short message channel is unavailable.
Preferably, the set time interval is 1 hour; the first threshold is 20%.
Preferably, the step of obtaining a quality parameter of the short message channel within a set time interval according to the verification code sending data and the verification code verification result data, and if the quality parameter is within a predetermined range, determining that the quality of the short message channel is unavailable includes:
obtaining the average time required from the sending of the verification code to the successful verification of the verification code which is sent through the short message channel within a set time interval and is successfully verified according to the verification code sending data and the verification code verification result data as the quality parameter;
and if the quality parameter is larger than or equal to a second threshold value, judging that the quality of the short message channel is unavailable.
Preferably, the verification code sending data includes a verification code sending time, and the verification code verification result data includes a verification code verification success time.
Preferably, the set time interval is 1 hour; the second threshold is 60 seconds.
The embodiment of the invention also provides a device for evaluating the quality of the short message channel, which comprises:
the transmission module is used for sending the verification code in a short message mode through a short message channel and receiving the input verification code;
the recording module is used for recording the verification code sending data and recording verification result data including whether verification is successful;
and the judging module is used for obtaining the quality parameter of the short message channel within a set time interval according to the verification code sending data and the verification code verification result data, and judging that the quality of the short message channel is unavailable if the quality parameter is within a preset range.
Preferably, the determination module is specifically configured to:
obtaining the number of the verification codes sent through the short message channel within a set time interval according to the verification code sending data;
obtaining the number of verification codes which are transmitted through the short message channel and successfully verified within a set time interval according to the verification result data of the verification codes;
obtaining the verification failure rate of the short message channel in the set time interval as the quality parameter according to the number of the verification codes sent through the short message channel in the set time interval and the number of the verification codes which are sent through the short message channel in the set time interval and are verified successfully;
and if the quality parameter is greater than or equal to a first threshold value, judging that the quality of the short message channel is unavailable.
Preferably, the set time interval is 1 hour; the first threshold is 20%.
Preferably, the determination module is specifically configured to:
obtaining the average time from the sending to the verification success of the verification code which is sent through the short message channel within a set time interval and is verified successfully according to the verification code sending data and the verification code verification result data as the quality parameter;
and if the quality parameter is larger than or equal to a second threshold value, judging that the quality of the short message channel is unavailable.
Preferably, the verification code sending data recorded by the recording module includes a verification code sending time, and the verification code verification result data recorded includes a verification code verification success time.
Preferably, the set time interval is 1 hour; the second threshold is 60 seconds.
The embodiment of the invention also provides a non-transitory computer storage medium, wherein the non-transitory computer readable storage medium stores a computer instruction, and when a computer executes the computer instruction, the method for evaluating the quality of the short message channel is executed.
The embodiment of the invention also provides a short message channel quality evaluation system, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute any one of the above short message channel quality assessment methods.
The technical scheme provided by the embodiment of the invention can more accurately evaluate the quality of the short message channel in an actual communication network, and timely take necessary subsequent processing measures when the quality is low to the extent that the short message channel is unavailable so as to ensure that the verification code is timely and reliably sent in a short message mode.
Drawings
Fig. 1 is a schematic diagram of a short message channel quality evaluation method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a short message channel quality evaluation method according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of a short message channel quality evaluation method according to a third embodiment of the present invention;
fig. 4 is a schematic diagram of a short message channel quality evaluation device according to fourth to sixth embodiments of the present invention;
fig. 5 is a schematic hardware structure diagram of a short message channel quality evaluation system according to an eighth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described through embodiments with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention.
In the embodiments provided in the present invention, the related terms are explained as follows:
setting a time interval: the method comprises the steps that a preset time interval is set, according to verification code sending data and verification code verification result data which are related to an evaluated short message channel within the time interval, the verification failure rate of a verification code which is sent in a short message mode through the evaluated short message channel and/or the average time required by the verification code which is sent in a short message mode through the short message channel and is verified successfully from sending to verification, and the set time interval can be adjusted to be 1 minute, 5 minutes, 1 hour and the like according to actual needs;
the first threshold value: evaluating a predetermined threshold value of the quality of the short message channel according to the verification failure rate of the verification code sent in a short message mode through the short message channel, wherein the quality of the short message channel is available when the verification failure rate is smaller than a first threshold value; when the verification failure rate is greater than or equal to a first threshold value, the quality of the short message channel is unavailable;
the second threshold value: evaluating a preset threshold value of the quality of the short message channel according to the average time from sending to successful verification of the verification code which is sent in a short message mode through the short message channel and is successfully verified, wherein the quality of the short message channel is available when the average time from sending to successful verification of the verification code is less than a second threshold value; and when the average time from the sending of the verification code to the successful verification is larger than or equal to a second threshold value, the quality of the short message channel is unavailable.
Example one
As shown in fig. 1, the present embodiment provides a method for evaluating quality of a short message channel, including the following steps:
101. and sending the verification code in a short message mode through a short message channel, and recording verification code sending data.
102. And receiving the input verification code, and recording verification result data of the verification code, wherein the verification result data comprises whether verification is successful or not.
103. And obtaining quality parameters of the short message channel within a set time interval according to the verification code sending data and the verification code verification result data, and if the quality parameters are within a preset range, judging that the quality of the short message channel is unavailable.
The whole process of sending the verification code in a short message mode through the short message channel and verifying is as follows:
1. the server generates a new verification code according to the request of the user;
2. sending the verification code to a mobile phone of a user in a short message mode through a short message channel;
3. the user inputs the verification code extracted from the short message through the website or the mobile phone app and performs one or more verification attempts;
4. after one or more verification attempts, the final verification code is successful or failed.
From each generation of a new verification code until the verification of the verification code is successful or failed finally, the server records relevant data in the database, wherein the relevant data can comprise a mobile phone number, short message content, a website or app relevant authority for verifying the verification code, verification code issuing time, verification code receiving time, verification code input times, whether verification is successful, verification success time, verification success times and the like.
There are many quality parameters for evaluating the quality of the short message channel, which at least include:
1. the verification failure rate E of all verification codes which are sent through the evaluated short message channel and successfully verified within a set time interval;
2. within a set time interval, the average Time (TP) from sending to successful verification is carried out on all verification codes which are sent through the evaluated short message channel and are successfully verifieda(i.e. the difference between the moment TP at which the authentication code has been successfully verified and the moment TS at which the authentication code is transmitted.
Each quality parameter has a corresponding threshold value, the calculation result of the quality parameter is compared with the threshold value corresponding to the quality parameter, and if the calculation result is smaller than the threshold value corresponding to the quality parameter, the quality of the corresponding short message channel is available; if the calculated result is greater than or equal to the threshold corresponding to the quality parameter, the quality of the corresponding short message channel is unavailable, and further follow-up processing measures are required.
The technical scheme provided by the embodiment can quantitatively evaluate the quality of the short message channel, so that the evaluation result is more accurate, and when the sending quality of the short message channel is too low to cause unavailability, subsequent processing measures can be taken conveniently in time, so as to ensure that the verification code can be sent in a short message mode in time and reliably through the short message channel.
Example two
As shown in fig. 2, the present embodiment provides a method for evaluating the quality of a short message channel by using the verification failure rate of a verification code as a quality parameter, which includes the following steps:
201. and sending the verification code in a short message mode through a short message channel, and recording verification code sending data.
The verification code sending data required to be recorded in the process comprises the following steps: and the verification code sending time TS is the time for sending the verification code to the user in a short message mode through the short message channel.
202. And receiving the input verification code, and recording verification result data of the verification code, wherein the verification result data comprises whether verification is successful or not.
And the user extracts the verification code from the received short message, inputs the verification code into a website or a mobile phone app and performs one or more verification attempts. In this process, the verification result data of the verification code to be recorded in the database includes: the verification successful time TP is the time when the user finally successfully verifies the verification code extracted from a certain short message.
203. And obtaining the number of the verification codes sent through the short message channel within a set time interval according to the verification code sending data.
In this embodiment, the set time interval is 1 hour, and in practical application, other appropriate values may be taken as needed, such as 1 minute and 5 minutes.
According to the verification code sending data recorded in the database, the recorded number of the verification codes sent in a short message mode through the evaluated short message channel within a set time interval is inquired in the database, namely the number CS of the verification codes sent through the evaluated short message channel within the set time interval.
204. And obtaining the number of verification codes which are transmitted through the short message channel within a set time interval and successfully verified according to the verification result data of the verification codes.
According to the verification result data of the verification codes recorded in the database, the recorded number of the verification codes which are sent in a short message mode through the evaluated short message channel within a set time interval and are verified successfully is inquired in the database, namely the number CP of the verification codes which are sent in the short message channel within the set time interval and are verified successfully.
205. And obtaining the verification failure rate of the short message channel in the set time interval as the quality parameter according to the number of the verification codes sent through the short message channel in the set time interval and the number of the verification codes which are sent through the short message channel in the set time interval and are verified successfully.
A calculation formula of the verification failure rate E: and E is (CS-CP)/CS is 100%, and the verification failure rate of the evaluated short message channel in the set time interval is calculated according to the formula to be used as the quality parameter.
206. And if the quality parameter is greater than or equal to a first threshold value, judging that the quality of the short message channel is unavailable.
In this embodiment, the first threshold is 20%, and in practical applications, the first threshold may take other suitable values according to actual needs. Comparing the calculation result of the verification failure rate with a first threshold value: if the calculation result is smaller than the first threshold value, the quality of the evaluated short message channel is available; if the calculation result is greater than or equal to the first threshold value, the quality of the evaluated short message channel is unavailable, and other further follow-up measures such as channel switching and the like need to be taken so as to ensure that the verification code is timely and reliably sent through the short message channel in a short message mode.
EXAMPLE III
As shown in fig. 3, the present embodiment provides a method for evaluating the quality of a short message channel by using the average time from sending to verifying a successful verification code as a quality parameter, the method includes the following steps:
301. and sending the verification code in a short message mode through a short message channel, and recording verification code sending data.
The verification code sending data required to be recorded in the process comprises the following steps: and the verification code sending time TS is the time for sending the verification code to the user in a short message mode through the short message channel.
302. And receiving the input verification code, and recording verification result data of the verification code, wherein the verification result data comprises whether verification is successful or not.
And the user extracts the verification code from the received short message, inputs the verification code into a website or a mobile phone app and performs one or more verification attempts. In this process, the verification result data of the verification code to be recorded in the database includes: the verification successful time TP is the time when the user finally successfully verifies the verification code extracted from a certain short message.
303. And obtaining the average time from the sending to the verification success of the verification code which is sent through the short message channel within a set time interval and is verified successfully according to the verification code sending data and the verification code verification result data as the quality parameter.
In this embodiment, the time interval is set to 1 hour, which is actually requiredWhen used, other suitable values may be used as needed, such as 1 minute, 5 minutes, and the like. Average Time (TP) taken for verification of verification code to be successful in short message channel to be evaluatedaThe calculation formula of (2) is as follows:the method comprises the steps that i is the ith verification code which is sent and verified successfully through an evaluated short message channel in a short message mode within a set time interval, n is the number of the verification codes which are sent and verified successfully through the evaluated short message channel in the short message mode within the set time interval, and the number of records of the verification codes which are sent and verified successfully through the evaluated short message channel in the short message mode within the set time interval is inquired in a database and is the value of n; (TP)iThe verification code verification success time TP of the ith verification code which is sent in a short message mode through the evaluated short message channel and is verified successfully is set; (TS)iIs an and (TP)iThe corresponding moment of sending of the verification code TS. And calculating the average time from the sending to the successful verification of the verification code which is sent in a short message mode through the evaluated short message channel in the set time interval according to the formula to be used as the quality parameter.
304. And if the quality parameter is larger than or equal to a second threshold value, judging that the quality of the short message channel is unavailable.
In this embodiment, the second threshold is 60 seconds, and in practical applications, the second threshold may take other suitable values according to actual needs. Comparing the calculation result of the average time from the sending of the short message channel to the verification of the successful verification code with a second threshold value: if the calculation result is smaller than the second threshold value, the quality of the evaluated short message channel is available; if the calculation result is greater than or equal to the second threshold value, the quality of the evaluated short message channel is unavailable, and other further follow-up measures such as channel switching and the like need to be taken to ensure that the verification code is timely and reliably sent in a short message mode through the short message channel.
Example four
As shown in fig. 4, the present embodiment provides a short message channel quality evaluation device D, which includes: the transmission module 110 is configured to send a verification code in a short message manner through a short message channel and receive the input verification code; a recording module 120, configured to record the verification code sending data and record verification result data including whether verification is successful; a decision module 130 for: and obtaining quality parameters of the short message channel within a set time interval according to the verification code sending data and the verification code verification result data, and if the quality parameters are within a preset range, judging that the quality of the short message channel is unavailable.
The transmission module 110 sends the verification code in a short message mode through a short message channel, and the recording module 120 records the data sent by the verification code in a database. The transmission module 110 receives the verification code input through the website or the mobile app, and the recording module 120 records verification result data including whether the verification is successful in the database. The determining module 130 calculates corresponding quality parameters according to the verification code sending data, the verification code verification result data and the calculation formulas of different quality parameters, and determines the quality of the short message channel according to the threshold values corresponding to different quality parameters: if the calculation result of a certain quality parameter is smaller than the threshold value corresponding to the quality parameter, judging that the quality of the corresponding short message channel is available; if the calculated result is greater than or equal to the threshold corresponding to the quality parameter, the quality of the corresponding short message channel is judged to be unavailable, and further follow-up processing measures are required.
EXAMPLE five
As shown in fig. 4, the present embodiment provides a short message channel quality evaluation device D, which includes: the transmission module 110 is configured to send a verification code in a short message manner through a short message channel and receive the input verification code; a recording module 120, configured to record the verification code sending data and record verification result data including whether verification is successful; a decision module 130 for: obtaining the number of the verification codes sent through the short message channel within a set time interval according to the verification code sending data; obtaining the number of verification codes which are transmitted through the short message channel and successfully verified within a set time interval according to the verification result data of the verification codes; obtaining the verification failure rate of the short message channel in the set time interval as the quality parameter according to the number of the verification codes sent through the short message channel in the set time interval and the number of the verification codes which are sent through the short message channel in the set time interval and are verified successfully; and if the quality parameter is greater than or equal to a first threshold value, judging that the quality of the short message channel is unavailable.
The transmission module 110 sends the verification code in a short message mode through a short message channel, and the recording module 120 records the data sent by the verification code in a database. The transmission module 110 receives the verification code input through the website or the mobile app, and the recording module 120 records verification result data including whether the verification is successful in the database. The determining module 130 calculates the verification failure rate of the short message channel within a set time interval as a quality parameter according to the above verification code sending data, verification code verification result data, and a calculation formula of the verification failure rate E, and determines the quality of the short message channel according to a first threshold (in this embodiment, the first threshold is 20%): if the calculation result of the verification failure rate is smaller than a first threshold value, judging that the quality of the evaluated short message channel is available; if the calculation result of the verification failure rate is larger than or equal to the first threshold value, the quality of the evaluated short message channel is judged to be unavailable, and other further follow-up measures such as channel switching and the like need to be taken so as to ensure that the verification code is timely and reliably sent in a short message mode through the short message channel.
EXAMPLE six
As shown in fig. 4, the present embodiment provides a short message channel quality evaluation device D, which includes: the transmission module 110 is configured to send a verification code in a short message manner through a short message channel and receive the input verification code; a recording module 120, configured to record the verification code sending data and record verification result data including whether the verification is successful; a decision module 130 for: obtaining the average time from the sending to the verification success of the verification code which is sent through the short message channel within a set time interval and is verified successfully according to the verification code sending data and the verification code verification result data as the quality parameter; and if the quality parameter is larger than or equal to a second threshold value, judging that the quality of the short message channel is unavailable.
The transmission module 110 sends the verification code in a short message mode through a short message channel, and the recording module 120 records the data sent by the verification code in a database. The transmission module 110 receives the verification code input through the website or the mobile app, and the recording module 120 records verification result data including whether the verification is successful in the database. The decision module 130 sends data and verification result data according to the verification code, and the average Time (TP) taken for the verification code to be successfully verified in the evaluated short message channelaThe calculation formula (a) calculates an average time from sending to successful verification of the verification code which is sent through the short message channel within a set time interval, as a quality parameter, and determines the quality of the short message channel according to a second threshold (in this embodiment, the first threshold is 60 seconds): if the calculation result of the average time is smaller than a second threshold value, judging that the quality of the evaluated short message channel is available; if the calculation result of the average time is larger than or equal to the second threshold value, the quality of the evaluated short message channel is judged to be unavailable, and other further follow-up measures such as channel switching and the like need to be taken to ensure that the verification code is timely and reliably sent in a short message mode through the short message channel.
EXAMPLE seven
The embodiment provides a non-transitory computer storage medium, which stores computer instructions, and when a computer executes the computer instructions, the method performs any one of the above methods for evaluating the quality of a short message channel.
Example eight
The embodiment provides a short message channel quality evaluation system, which includes: at least one processor 701; and a memory 702 communicatively coupled to the at least one processor 701; the memory 702 stores instructions executable by the processor 701, and the instructions are executed by the at least one processor 701, so that the at least one processor 701 can execute any of the above methods for evaluating short message channel quality.
In fig. 5, taking a processor 701 as an example, the short message channel quality evaluation system may further include: an input device 703 and an output device 704.
The processor 701, the memory 702, the input device 703 and the output device 704 may be connected by a bus or other means, and fig. 5 illustrates an example of a connection by a bus.
The memory 702, which is a non-volatile computer-readable storage medium, may be used to store a non-volatile software program, a non-volatile computer-executable program, and modules, such as program instructions/modules corresponding to the short message channel quality assessment method in the embodiment of the present application (for example, the transmission module 110, the recording module 120, and the determination module 130 shown in fig. 4). The processor 701 executes various functional applications and data processing of the server by running the nonvolatile software program, instructions and modules stored in the memory 702, that is, the short message channel quality assessment method in the above-described method embodiment is implemented.
The memory 702 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the short message channel quality evaluation device D, and the like. Further, the memory 702 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 702 may optionally include a memory remotely located from the processor 701, and these remote memories may be connected to the short message channel quality assessment apparatus D through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 703 may receive input numeric or character information and generate key signal inputs related to user settings for short message channel quality assessment and function control. The output device 704 may include a display device such as a display screen.
The one or more modules are stored in the memory 702, and when executed by the one or more processors 701, perform the short message channel quality evaluation method in any of the above-described method embodiments.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
The electronic device of embodiments of the present invention exists in a variety of forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for evaluating quality of a short message channel is characterized by comprising the following steps:
sending the verification code in a short message mode through a short message channel, and recording verification code sending data;
receiving the input verification code, and recording verification result data of the verification code, wherein the verification result data comprises whether verification is successful;
obtaining quality parameters of the short message channel within a set time interval according to the verification code sending data and the verification code verification result data, and if the quality parameters are within a preset range, judging that the quality of the short message channel is unavailable; wherein, include:
obtaining the number of the verification codes sent through the short message channel within a set time interval according to the verification code sending data;
obtaining the number of verification codes which are transmitted through the short message channel and successfully verified within a set time interval according to the verification result data of the verification codes;
obtaining the verification failure rate of the short message channel in the set time interval as the quality parameter according to the number of the verification codes sent through the short message channel in the set time interval and the number of the verification codes which are sent through the short message channel in the set time interval and are verified successfully;
if the quality parameter is larger than or equal to a first threshold value, judging that the quality of the short message channel is unavailable;
or,
obtaining the average time required from the sending of the verification code to the successful verification of the verification code which is sent through the short message channel within a set time interval and is successfully verified according to the verification code sending data and the verification code verification result data as the quality parameter;
and if the quality parameter is larger than or equal to a second threshold value, judging that the quality of the short message channel is unavailable.
2. The method of claim 1, wherein the predetermined time interval is 1 hour; the first threshold is 20%.
3. The short message channel quality evaluation method of claim 1, wherein the verification code sending data includes a verification code sending time, and the verification code verification result data includes a verification code verification success time.
4. The method of claim 3, wherein the set time interval is 1 hour; the second threshold is 60 seconds.
5. A short message channel quality assessment device is characterized in that the device comprises:
the transmission module is used for sending the verification code in a short message mode through a short message channel and receiving the input verification code;
the recording module is used for recording the verification code sending data and recording verification result data including whether verification is successful;
the judging module is used for obtaining quality parameters of the short message channel within a set time interval according to the verification code sending data and the verification code verification result data, and judging that the quality of the short message channel is unavailable if the quality parameters are within a preset range;
the determination module is specifically configured to:
obtaining the number of the verification codes sent through the short message channel within a set time interval according to the verification code sending data;
obtaining the number of verification codes which are transmitted through the short message channel and successfully verified within a set time interval according to the verification result data of the verification codes;
obtaining the verification failure rate of the short message channel in the set time interval as the quality parameter according to the number of the verification codes sent through the short message channel in the set time interval and the number of the verification codes which are sent through the short message channel in the set time interval and are verified successfully;
if the quality parameter is larger than or equal to a first threshold value, judging that the quality of the short message channel is unavailable;
or,
obtaining the average time from the sending to the verification success of the verification code which is sent through the short message channel within a set time interval and is verified successfully according to the verification code sending data and the verification code verification result data as the quality parameter;
and if the quality parameter is larger than or equal to a second threshold value, judging that the quality of the short message channel is unavailable.
6. The short message channel quality assessment device according to claim 5, wherein the set time interval is 1 hour; the first threshold is 20%.
7. The short message channel quality assessment device according to claim 5, wherein the verification code sending data recorded by the recording module includes a verification code sending time, and the verification code verification result data recorded includes a verification code verification success time.
8. The short message channel quality assessment device according to claim 7, wherein the set time interval is 1 hour; the second threshold is 60 seconds.
9. A non-transitory computer-readable storage medium storing computer instructions which, when executed by a computer, perform the short message channel quality assessment method according to any one of claims 1 to 4.
10. A short message channel quality evaluation system is characterized by comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the short message channel quality assessment method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710444114.9A CN107182042B (en) | 2017-06-13 | 2017-06-13 | Short message channel quality evaluation method, device, medium and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710444114.9A CN107182042B (en) | 2017-06-13 | 2017-06-13 | Short message channel quality evaluation method, device, medium and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107182042A CN107182042A (en) | 2017-09-19 |
CN107182042B true CN107182042B (en) | 2020-08-25 |
Family
ID=59836373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710444114.9A Expired - Fee Related CN107182042B (en) | 2017-06-13 | 2017-06-13 | Short message channel quality evaluation method, device, medium and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107182042B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112311770A (en) * | 2020-09-29 | 2021-02-02 | 北京达佳互联信息技术有限公司 | Information platform selection method and device, electronic equipment and storage medium |
CN113905335B (en) * | 2021-10-21 | 2023-03-24 | 湖南省梦网科技发展有限公司 | Method for detecting quality of short message channel, dial testing equipment and storage medium |
CN114245410B (en) * | 2021-10-21 | 2024-02-09 | 湖南省梦网科技发展有限公司 | Method, equipment and system for detecting creditworthiness of communication channel |
CN114205325B (en) * | 2021-12-17 | 2023-08-04 | 平安壹钱包电子商务有限公司 | Message sending method, device, server and storage medium |
CN114257318B (en) * | 2021-12-21 | 2023-09-22 | 合肥博雷电气有限公司 | Channel quality measurement system and method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6230020B1 (en) * | 1998-12-11 | 2001-05-08 | Nokia Mobile Phones Ltd. | Method and devices for transmitting short messages |
CN102075987A (en) * | 2009-11-24 | 2011-05-25 | 中国移动通信集团四川有限公司 | Method, system and network management monitoring server for obtaining abnormal information of message link |
CN102547789A (en) * | 2010-12-30 | 2012-07-04 | 中国移动通信集团河北有限公司 | Early warning method, device and system for quality of peer-to-peer service |
CN103002415A (en) * | 2011-09-15 | 2013-03-27 | 阿里巴巴集团控股有限公司 | Method and device for transmitting verification codes via short messages |
CN106611304A (en) * | 2015-10-21 | 2017-05-03 | 湘潭智联技术转移促进有限责任公司 | Check code information processing method |
CN106792842A (en) * | 2016-11-09 | 2017-05-31 | 浙江企朋网络技术股份有限公司 | A kind of short message channel monitoring method and system |
-
2017
- 2017-06-13 CN CN201710444114.9A patent/CN107182042B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6230020B1 (en) * | 1998-12-11 | 2001-05-08 | Nokia Mobile Phones Ltd. | Method and devices for transmitting short messages |
CN102075987A (en) * | 2009-11-24 | 2011-05-25 | 中国移动通信集团四川有限公司 | Method, system and network management monitoring server for obtaining abnormal information of message link |
CN102547789A (en) * | 2010-12-30 | 2012-07-04 | 中国移动通信集团河北有限公司 | Early warning method, device and system for quality of peer-to-peer service |
CN103002415A (en) * | 2011-09-15 | 2013-03-27 | 阿里巴巴集团控股有限公司 | Method and device for transmitting verification codes via short messages |
CN106611304A (en) * | 2015-10-21 | 2017-05-03 | 湘潭智联技术转移促进有限责任公司 | Check code information processing method |
CN106792842A (en) * | 2016-11-09 | 2017-05-31 | 浙江企朋网络技术股份有限公司 | A kind of short message channel monitoring method and system |
Also Published As
Publication number | Publication date |
---|---|
CN107182042A (en) | 2017-09-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107182042B (en) | Short message channel quality evaluation method, device, medium and system | |
AU2017277712B2 (en) | Personalized chatbots for inmates | |
US10579837B2 (en) | Method, device and electronic apparatus for testing capability of analyzing a two-dimensional code | |
CN110691085B (en) | Login method, login device, password management system and computer readable medium | |
CN106779831A (en) | Data screening method, device and electronic equipment | |
CN111953668B (en) | Network security information processing method and device | |
CN107820702B (en) | Management and control method, device and electronic equipment | |
CN110932960A (en) | Social software-based fraud prevention method, server and system | |
CN110784474B (en) | Embedded product access authorization method and device | |
CN106971296B (en) | Method for processing information object, electronic equipment and storage medium | |
WO2024174714A1 (en) | Authenticity verification method and device | |
CN110248211B (en) | Live broadcast room message current limiting method and device, electronic equipment and storage medium | |
CN106788993A (en) | A kind of encryption communication method, device and electronic equipment | |
CN113191169A (en) | Terminal code scanning login method, device and system | |
CN110022327B (en) | Short message authentication test method and device | |
CN116939283A (en) | Equipment control method, device, electronic equipment and storage medium | |
CN112202765A (en) | Block chain common identification block method and device based on trusted computing and related products | |
CN106815741A (en) | A kind of advertisement placement method, device and electronic equipment | |
CN109344052B (en) | Interface automation test method and device and electronic equipment | |
CN114449026B (en) | Method for recording online learning duration and related equipment | |
CN113099453A (en) | Authentication method, device and equipment for access server and readable storage medium | |
CN114285657A (en) | Firewall security policy change verification method and device | |
CN112948815A (en) | Off-line weak password checking method and device based on Hash matching | |
CN114036551A (en) | Data processing method and device for private data, computer equipment and medium | |
CN112910911A (en) | Network intrusion detection method and device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200825 Termination date: 20210613 |