CN107182042A - Short message channel method for evaluating quality, device, medium and system - Google Patents

Short message channel method for evaluating quality, device, medium and system Download PDF

Info

Publication number
CN107182042A
CN107182042A CN201710444114.9A CN201710444114A CN107182042A CN 107182042 A CN107182042 A CN 107182042A CN 201710444114 A CN201710444114 A CN 201710444114A CN 107182042 A CN107182042 A CN 107182042A
Authority
CN
China
Prior art keywords
short message
verification
message channel
quality
verification code
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.)
Granted
Application number
CN201710444114.9A
Other languages
Chinese (zh)
Other versions
CN107182042B (en
Inventor
王永坡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Phoenix Reason It Information Technology Co Ltd
Original Assignee
Beijing Phoenix Reason It Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Phoenix Reason It Information Technology Co Ltd filed Critical Beijing Phoenix Reason It Information Technology Co Ltd
Priority to CN201710444114.9A priority Critical patent/CN107182042B/en
Publication of CN107182042A publication Critical patent/CN107182042A/en
Application granted granted Critical
Publication of CN107182042B publication Critical patent/CN107182042B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements 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 kind of short message channel method for evaluating quality, device, medium and system, this method includes:Identifying code is sent with short message mode by short message channel, and records identifying code and sends data;The identifying code of input is received, and record includes verifying whether successful identifying code the result data;Data are sent according to the identifying code and the identifying code the result data obtain the mass parameter of the short message channel in setting time interval, if the mass parameter is within a predetermined range, judge the short message channel quality to be unavailable.Short message channel method for evaluating quality, device, medium and system that the present invention is provided, can more accurately assess short message channel quality, and when short message channel quality is unavailable, necessary subsequent treatment measure is taken in time.

Description

Short message channel quality evaluation method, device, medium and system
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 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. 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. According to the aboveThe average time from sending to successfully verifying the verification code which is sent in a short message mode through the evaluated short message channel in a set time interval is calculated as a 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 channelaIs calculated and setThe average time from sending to successfully verifying the verification code which is sent through the short message channel within the time interval and successfully verified is used as a quality parameter, and the quality of the short message channel is determined 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 (14)

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;
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.
2. The method of claim 1, wherein 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 determining that the quality of the short message channel is unavailable if the quality parameter is within a predetermined range comprises:
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.
3. The method of claim 2, wherein the set time interval is 1 hour; the first threshold is 20%.
4. The method of claim 1, wherein 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 determining that the quality of the short message channel is unavailable if the quality parameter is within a predetermined range comprises:
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.
5. The short message channel quality evaluation method of claim 4, 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.
6. The method of claim 5, wherein the predetermined time interval is 1 hour; the second threshold is 60 seconds.
7. 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;
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.
8. The short message channel quality assessment device of claim 7, wherein 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.
9. The apparatus for evaluating the quality of a short message channel according to claim 8, wherein the set time interval is 1 hour; the first threshold is 20%.
10. The apparatus for evaluating short message channel quality of claim 7, wherein the determining 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.
11. The apparatus for evaluating short message channel quality as claimed in claim 10, 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.
12. The apparatus for evaluating the quality of a short message channel according to claim 11, wherein the set time interval is 1 hour; the second threshold is 60 seconds.
13. 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 6.
14. 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 6.
CN201710444114.9A 2017-06-13 2017-06-13 Short message channel quality evaluation method, device, medium and system Expired - Fee Related CN107182042B (en)

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 true CN107182042A (en) 2017-09-19
CN107182042B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
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
CN113905335A (en) * 2021-10-21 2022-01-07 湖南省梦网科技发展有限公司 Method for detecting quality of short message channel, dial testing equipment and storage medium
CN114205325A (en) * 2021-12-17 2022-03-18 平安壹钱包电子商务有限公司 Message sending method, device, server and storage medium
CN114245410A (en) * 2021-10-21 2022-03-25 湖南省梦网科技发展有限公司 Method, equipment and system for detecting credibility of communication channel
CN114257318A (en) * 2021-12-21 2022-03-29 合肥博雷电气有限公司 Channel quality measuring system and method

Citations (6)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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

Cited By (8)

* Cited by examiner, † Cited by third party
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
CN113905335A (en) * 2021-10-21 2022-01-07 湖南省梦网科技发展有限公司 Method for detecting quality of short message channel, dial testing equipment and storage medium
CN114245410A (en) * 2021-10-21 2022-03-25 湖南省梦网科技发展有限公司 Method, equipment and system for detecting credibility of communication channel
CN114245410B (en) * 2021-10-21 2024-02-09 湖南省梦网科技发展有限公司 Method, equipment and system for detecting creditworthiness of communication channel
CN114205325A (en) * 2021-12-17 2022-03-18 平安壹钱包电子商务有限公司 Message sending method, device, server and storage medium
CN114205325B (en) * 2021-12-17 2023-08-04 平安壹钱包电子商务有限公司 Message sending method, device, server and storage medium
CN114257318A (en) * 2021-12-21 2022-03-29 合肥博雷电气有限公司 Channel quality measuring system and method
CN114257318B (en) * 2021-12-21 2023-09-22 合肥博雷电气有限公司 Channel quality measurement system and method

Also Published As

Publication number Publication date
CN107182042B (en) 2020-08-25

Similar Documents

Publication Publication Date Title
CN107182042B (en) Short message channel quality evaluation method, device, medium and system
US20230362108A1 (en) Personalized chatbots for inmates
US10276168B2 (en) Voiceprint verification method and device
CN105516133B (en) User identity verification method, server and client
CN110691085B (en) Login method, login device, password management system and computer readable medium
CN106445621A (en) Upgrading method and device of application and electronic device
CN106779831A (en) Data screening method, device and electronic equipment
CN111312218B (en) Neural network training and voice endpoint detection method and device
US10579837B2 (en) Method, device and electronic apparatus for testing capability of analyzing a two-dimensional code
CN111953668B (en) Network security information processing method and device
CN111130807A (en) Vehicle-mounted account management method based on voiceprint recognition
CN110546641A (en) access control method and device, intelligent device and storage medium
CN110784474B (en) Embedded product access authorization method and device
CN114358307A (en) Federal learning method and device based on differential privacy law
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
CN112511739B (en) Interactive information generation method and equipment
CN105871900A (en) Identity authentication method and system
CN110022327B (en) Short message authentication test method and device
CN116939283A (en) Equipment control method, device, electronic equipment and storage medium
WO2017185618A1 (en) Method and device for implementing civilian commentary
CN114449026B (en) Method for recording online learning duration and related equipment
CN114602186A (en) Cheating behavior identification method and device, storage medium and electronic equipment
CN109344052B (en) Interface automation test method and device and electronic equipment

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

Granted publication date: 20200825

Termination date: 20210613

CF01 Termination of patent right due to non-payment of annual fee