CN114245410B - Method, equipment and system for detecting creditworthiness of communication channel - Google Patents
Method, equipment and system for detecting creditworthiness of communication channel Download PDFInfo
- Publication number
- CN114245410B CN114245410B CN202111229085.7A CN202111229085A CN114245410B CN 114245410 B CN114245410 B CN 114245410B CN 202111229085 A CN202111229085 A CN 202111229085A CN 114245410 B CN114245410 B CN 114245410B
- Authority
- CN
- China
- Prior art keywords
- user
- communication
- message
- communication channel
- communication message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 581
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000012360 testing method Methods 0.000 claims description 181
- 230000005540 biological transmission Effects 0.000 claims description 54
- 230000000737 periodic effect Effects 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 19
- 238000001514 detection method Methods 0.000 description 34
- 238000010586 diagram Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 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
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application discloses a method, equipment and a system for detecting the credibility of a communication channel, and belongs to the technical field of communication. The method comprises the following steps: and respectively sending communication messages to the plurality of user identifiers through the target communication channel, taking the communication messages sent to each user identifier as the sending communication messages corresponding to each user identifier, and acquiring the communication messages received by each user identifier in the plurality of user identifiers as the receiving communication messages corresponding to each user identifier. And then, determining the credibility of the target communication channel according to the matching success rates of the sent communication message and the received communication message corresponding to the plurality of user identifiers. Therefore, the credibility of the target communication channel can be accurately detected according to the probability that the communication message sent by the target communication channel cannot be tampered, and the communication channel with higher credibility can be conveniently provided for a message cloud system.
Description
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for detecting creditworthiness of a communications channel.
Background
With the development of communication technology, a message cloud system is also rapidly developed. The message cloud system is a converged communication platform for realizing message communication by adopting modes such as characters, pictures, voice and video based on the Internet and an operator network, supports a full network environment, combines rich industry application scenes, and can meet information communication requirements and diversified service requirements between enterprises and users. For example, based on the message cloud system, the enterprise may send a communication message such as a short message, a rich message, etc. to the user.
Currently, the message cloud system may not only establish a partnership with a direct operator (such as mobile, corporation, telecommunications, etc.) to send a communication message to a user through a communication channel provided by the direct operator, but also establish a partnership with a third party operator other than the direct operator to send a communication message to the user through a communication channel provided by the third party operator. However, since the third party operator is a relay between the message cloud system and the direct operator, when the message cloud system sends a communication message to the user through a communication channel provided by the third party operator, the message needs to be transferred through the third party operator, which may cause that the communication message sent by the message cloud system to the user through the communication channel provided by the third party operator may be tampered maliciously, so that the user may receive a false message. Based on this, it is necessary to detect the reputation of the communication channel provided by the third party operator, which is used to indicate the extent to which the communication message sent through the communication channel can be accurately received.
Disclosure of Invention
The application provides a method, equipment and a system for detecting the credibility of a communication channel, which can detect the credibility of the communication channel provided by an operator. The technical scheme is as follows:
In a first aspect, a method for detecting the reputation of a communication channel is provided, the method comprising:
respectively sending communication information to a plurality of user identifiers through a target communication channel, and taking the communication information sent to each user identifier as a corresponding sending communication information of each user identifier;
acquiring a communication message received by each user identifier in the plurality of user identifiers as a received communication message corresponding to each user identifier;
determining the matching success rate of the sent communication message and the received communication message corresponding to the plurality of user identifiers to obtain a first matching success rate;
and determining the credibility of the target communication channel according to the first matching success rate.
In a second aspect, there is provided an apparatus for detecting the reputation of a communication channel, the apparatus comprising:
the sending module is used for respectively sending communication messages to a plurality of user identifiers through a target communication channel, and taking the communication messages sent to each user identifier as the corresponding sending communication messages of each user identifier;
the first acquisition module is used for acquiring the communication message received by each user identifier in the plurality of user identifiers as a received communication message corresponding to each user identifier;
The first determining module is used for determining the matching success rate of the sent communication message and the received communication message corresponding to the plurality of user identifiers to obtain a first matching success rate;
and the second determining module is used for determining the credibility of the target communication channel according to the first matching success rate.
In a third aspect, a system for detecting the credibility of a communication channel is provided, the system includes a dial testing system and m pieces of analog user equipment, the dial testing system is respectively connected with the m pieces of analog user equipment, the analog user equipment is used for inserting n pieces of user identification cards and can set user states of user identifications corresponding to any inserted user identification card, m is a positive integer, and n is an integer greater than 2;
the dial testing system is used for determining a communication channel to be detected as the target communication channel;
the dial testing system is further used for determining user identifiers to be detected from user identifiers corresponding to the user identification cards inserted by the m pieces of analog user equipment to obtain a plurality of user identifiers;
the dial testing system is further configured to send communication messages to the plurality of user identifiers through the target communication channel, and use the communication message sent to each user identifier as a sending communication message corresponding to each user identifier;
The dial testing system is further configured to obtain a communication message received by each user identifier in the plurality of user identifiers as a received communication message corresponding to each user identifier;
the dial testing system is further used for determining the matching success rate of the sent communication message and the received communication message corresponding to the plurality of user identifiers, and obtaining a first matching success rate;
the dial testing system is further configured to determine, according to the first matching success rate, a reputation of the target communication channel.
In a fourth aspect, there is provided a computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the computer program implementing the method of any of the first aspects described above when executed by the processor.
In a fifth aspect, a computer readable storage medium is provided, characterized in that the computer readable storage medium stores a computer program, which when executed by a processor implements the method according to any of the first aspects.
In a sixth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of the first aspects described above.
In the embodiment of the application, communication messages are respectively sent to a plurality of user identifiers through a target communication channel, the communication messages sent to each user identifier are used as sending communication messages corresponding to each user identifier, and the communication messages received by each user identifier in the plurality of user identifiers are obtained as receiving communication messages corresponding to each user identifier. And then, determining the credibility of the target communication channel according to the matching success rates of the sent communication message and the received communication message corresponding to the plurality of user identifiers. Therefore, the credibility of the target communication channel can be accurately detected according to the probability that the communication message sent by the target communication channel is not tampered, and the communication channel with higher credibility is conveniently provided for the message cloud system.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a system for detecting the reputation of a communication channel according to an embodiment of the present application;
FIG. 2 is a flowchart of a method for detecting the reputation of a communication channel according to an embodiment of the present application;
fig. 3 is a schematic diagram of a communication message received by a mobile phone number according to an embodiment of the present application;
FIG. 4 is a logic diagram for detecting the credibility of a communication channel according to an embodiment of the present application;
FIG. 5 is a flowchart of another method for detecting the reputation of a communication channel according to an embodiment of the present application;
FIG. 6 is a logic diagram of another embodiment of detecting the reputation of a communication channel;
FIG. 7 is a flowchart of detecting the credibility of a communication channel in an immediate transmission manner according to an embodiment of the present application;
FIG. 8 is a flowchart of performing reputation detection on a communication channel by using a periodic transmission method according to an embodiment of the present application;
FIG. 9 is a flowchart of detecting the credibility of a communication channel by adopting a system triggering mode according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an apparatus for detecting creditworthiness of a communication channel according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that reference herein to "a plurality" means two or more. In the description of the present application, "/" means or, unless otherwise indicated, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, for the purpose of facilitating the clear description of the technical solutions of the present application, the words "first", "second", etc. are used to distinguish between the same item or similar items having substantially the same function and effect. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
Before explaining the embodiments of the present application in detail, an application scenario of the embodiments of the present application is explained.
The communication channels provided by third-party operators and third-party operators in the existing market are five-eight, and when the cloud message system needs to use the communication channels provided by the third-party operators, the problem that which third-party operators are high-quality third-party operators and which communication channels provided by the third-party operators have the function of falsifying the short message content cannot be determined. Therefore, there is a need for performing reputation detection on communication channels provided by various third party operators on the market to find out a good quality third party operator capable of providing a higher reputation communication channel as a third party partner of the cloud message system.
Next, an implementation environment according to an embodiment of the present application will be described.
Fig. 1 is a schematic diagram of a system for detecting creditworthiness of a communication channel according to an embodiment of the present application, and as shown in fig. 1, the system includes a dial testing system 11, m pieces of analog user equipment 12, and a third party operator 13.
Wherein the simulated user device 12 is a third party device other than the user device, and is used for simulating the use state of the user device. The analog user equipment 12 is used for inserting n user identification cards and can set the user state of the user identification corresponding to any inserted user identification card, and n is an integer greater than 2. The user identification card is used for identifying the user identity, the user identification corresponding to the user identification card can be a user name or a user ID (Identity Document, identity identification number) and the like, and the user state of the user identification is used for indicating the use state of the corresponding user identification card. For example, the subscriber identification card is a SIM (Subscriber Identity Module, subscriber identification module) card, the subscriber identifier corresponding to the SIM card is a mobile phone number, and the subscriber status of the mobile phone number may be null, off, on, normal, etc.
That is, the analog user device 12 may be considered a multi-card handset. One normal mobile phone corresponds to one or two SIM cards, and the analog user equipment 12 can insert more SIM cards and respectively set the use states of the inserted SIM cards. For example, the dial testing system 11 may perform status setting on a plurality of SIM cards inserted into the analog user equipment 12, and the analog user equipment 12 may set the usage status of the plurality of inserted SIM cards according to a status setting instruction of the dial testing system 11. For example, the analog user equipment may insert 16 SIM cards, and the dial testing system may perform state setting on the 16 SIM cards, for example, set a mobile phone number corresponding to the SIM card to be in an off state or an on state, etc.
The dial testing system 11 is respectively connected with the m analog user devices 12 and the third party operator 13, and is configured to send a communication message to a user identifier to be detected in user identifiers corresponding to user identification cards inserted in the m analog user devices 12 through a communication channel provided by the third party operator 13, match the sent communication message with a communication message received by the user identifiers, and detect the credibility of the communication channel provided by the third party operator 13 according to a matching result.
As an example, the dial testing system 11 may determine a communication channel to be detected from communication channels provided by the third party operator 13 as a target communication channel, and determine a user identifier to be detected from user identifiers corresponding to user identification cards inserted in m analog user devices 12, so as to obtain multiple user identifiers. Then, the communication message is sent to the plurality of user identifications through the target communication channel, and the communication message sent to each user identification is used as the corresponding sending communication message of each user identification. And acquiring the communication message received by each user identifier in the plurality of user identifiers as a received communication message corresponding to each user identifier, and determining the credibility of the target communication channel according to the first matching success rate of the transmitted communication message and the received communication message corresponding to the plurality of user identifiers.
In addition, the dial testing system 11 may further determine a channel identifier of a communication channel used for receiving the communication message corresponding to each of the plurality of user identifiers, and determine a second matching success rate between the channel identifier of the communication channel used for receiving the communication message corresponding to the plurality of user identifiers and the channel identifier of the target communication channel. And then, determining the credibility of the target communication channel according to the first matching success rate and the second matching success rate.
The channel identifier of the communication channel is used for uniquely identifying the corresponding communication channel, and may be a channel name or a channel number of the communication channel.
The dial testing system 11 may be connected to a message cloud system, and send a communication message to a user identifier corresponding to an identification card inserted in the analog user equipment 12 through the message cloud system. Alternatively, the dial testing system 11 may be integrated in a system architecture of the message cloud system, which is not limited in the embodiments of the present application. The message cloud system is also called a message sending platform or a short message sending platform, for example, the message sending platform can be provided for service providers such as a dream network.
It should be noted that fig. 1 only illustrates an example in which the dial testing system 11 detects the reputation of the communication channel provided by the third party operator 13, and in other embodiments, the third party operator 13 may also be a direct operator (such as a corporation, a mobile and a telecom, etc.), and the dial testing system 11 may also detect the reputation of the communication channel provided by the direct operator.
It should be noted that, fig. 1 only illustrates an example in which the dial testing system 11 is connected to the analog user equipment 12, and the communication information is sent to the user identifier corresponding to the user identification card inserted in the analog user equipment 12 to detect the credibility of the communication channel, and in other embodiments, the analog user equipment 12 may be other terminal devices such as a user equipment, and the user equipment may be a mobile phone or the like. That is, the dial testing system 11 may be further connected to a real user device, and detect the credibility of the communication channel by sending communication information to the user identifier corresponding to the user identification card inserted into the user device. For example, the dial testing system 11 may be connected to a plurality of mobile phones, and detect the credibility of the communication channel by sending communication information to the mobile phone numbers corresponding to the SIM cards inserted in the plurality of mobile phones.
Next, a method for detecting the credibility of the communication channel according to the embodiment of the present application will be described in detail with reference to the system provided in fig. 1.
Fig. 2 is a flowchart of a method for detecting the credibility of a communication channel according to an embodiment of the present application, where the method is applied to the dial testing system 11 in fig. 1, as shown in fig. 2, and the method includes the following steps:
step 201: the dial testing system respectively sends communication messages to a plurality of user identifiers through a target communication channel, and takes the communication messages sent to each user identifier as the corresponding sending communication messages of each user identifier.
The target communication channel is a communication channel to be detected, which can be a communication channel provided by a third party operator or a communication channel provided by a direct operator. The plurality of user identifiers are user identifiers to be detected, and the user identifiers can be user communication account numbers or telephone numbers and the like. The user communication account may be an instant messaging account of the user, such as a WeChat account.
The communication message may be a short message or a rich message. For example, the communication message may be an enterprise sms. The rich message refers to rich media information integrating the message communication capability of video, voice, pictures, characters, short chains, two-dimension codes and the like.
As an example, a tester may select a communication channel to be detected from communication channels provided by an operator through a dial testing system, and select a user identifier to be detected from user identifiers corresponding to user identification cards inserted in m analog user devices. The dial testing system responds to the selection operation of the detection personnel, takes the communication channel selected by the detection personnel as a target communication channel, and takes the user identification selected by the detection personnel as a plurality of user identifications.
The subscriber identification card inserted by the analog subscriber equipment can be a SIM card, and the subscriber identification corresponding to the SIM card can be a telephone number.
As one example, a dial testing system may provide a test platform for a tester to configure test parameters. The test parameters may include a communication channel to be detected and a user identifier to be detected. The dial testing system can test according to the testing parameters.
In addition, the test reference may also include one or more of a test plan name, a test account number, a user status of a user identification to be detected, a communication message to be sent, and a test type.
The test account is a user account logged in by a tester in a dial testing system, and a plurality of communication channels are bound to the test account. The tester can select a communication channel to be tested from a plurality of communication channels bound by the test account number. The user state of the user identification to be detected is used for indicating the use state of the corresponding identity card. For example, the user status may include off, on, off, null, on-line, normal, and the like. The communication message to be sent may include a message body and may also include a message signature for indicating the sender of the message. The test types may include an immediate transmission type, a periodic transmission type, and a system trigger type, and these 3 test types will be described in detail in the following embodiment of fig. 5, which is not described herein.
In addition, the tester can also configure different test plans on the test platform and configure different test parameters for the different test plans. The dial testing system can execute the corresponding test plan according to the configured test parameters.
As an example, before performing a test, a tester may input a test plan name at the test platform, then select a test account number for the test plan, select a communication channel to be detected, select a user identification to be detected, perform a status setting for a user status of the user identification to be detected, then input a message content of a communication message to be sent, and select a test type. After the tester configures the test parameters for the test plan, the test plan can be executed by dialing the test plan according to the configured test parameters.
The dial testing system can call an operator interface corresponding to the target communication channel, and communication messages are respectively sent to a plurality of user identifiers through the operator interface.
The communication messages sent to the plurality of user identifiers may be the same communication message or different communication messages, which is not limited in this application.
Step 202: the dial testing system acquires the communication message received by each user identifier in the plurality of user identifiers as the received communication message corresponding to each user identifier.
After the dial testing system sends the communication message to the plurality of user identifiers through the target communication channel, the dial testing system can also acquire the communication message actually received by each user identifier in the plurality of user identifiers, and take the communication message actually received by each user identifier as the received communication message corresponding to each user identifier.
The dial testing system may send a command for acquiring the content of the communication message to the terminal device corresponding to each user identifier to acquire the communication message received by the user identifier, where the command for acquiring the content of the communication message may carry the user identifier of the communication message to be acquired. After receiving the instruction for acquiring the content of the communication message, the terminal equipment can call an acquisition interface of the communication message, acquire the communication message received by the user identifier through the acquisition interface, and send the acquired communication message to the dial testing system.
As one example, the plurality of subscriber identities are mobile phone numbers corresponding to SIM cards inserted by the analog subscriber equipment. The dial testing system can send a command for acquiring the content of the communication message to the analog user equipment, wherein the command for acquiring the content of the communication message carries a mobile phone number corresponding to a certain SIM card inserted by the analog user equipment. After receiving the instruction for acquiring the content of the communication message, the analog user equipment can call an acquisition interface of the communication message, acquire the communication message received by the mobile phone number through the acquisition interface, and send the acquired communication message to the dial testing system.
Step 203: the dial testing system determines the matching success rate of the sent communication message and the received communication message corresponding to the plurality of user identifiers, and obtains a first matching success rate.
The matching success rate of the sending communication message and the receiving communication message corresponding to the plurality of user identifiers refers to the ratio between the number of the user identifiers, which are matched successfully with the sending communication message and the receiving communication message, in the plurality of user identifiers and the total number of the plurality of user identifiers.
The dial testing system can firstly determine the user identifiers which are matched successfully and correspond to the sent communication messages and the received communication messages in the plurality of user identifiers, then determine the ratio between the number of the user identifiers which are matched successfully and the total number of the plurality of user identifiers, and take the determined ratio as a first matching success rate.
As a quantity, determining a user identity of the plurality of user identities for which matching of the corresponding sent communication message and the received communication message is successful may include two implementations:
the first implementation mode: and determining the transmitted communication message and the received communication message with the same message body as successful matching.
For a first user identifier in the plurality of user identifiers, determining whether a message body in a sent communication message and a received communication message corresponding to the first user identifier are the same. If the message text of the sending communication message corresponding to the first user identifier is the same as that of the receiving communication message, the sending communication message corresponding to the first user identifier and the receiving communication message are determined to be successfully matched. If the message text of the sending communication message corresponding to the first user identifier is different from that of the receiving communication message, determining that the sending communication message corresponding to the first user identifier and the receiving communication message are not successfully matched.
Wherein the first user identification may be any one of a plurality of user identifications.
In a first implementation manner, the dial testing system can judge whether the communication message is tampered according to whether the message text is the same or not by matching the communication message sent by the dial testing system with the communication message actually received by the user identifier.
The second implementation mode: each of the plurality of user identities corresponds to a received communication message comprising a message body and a message signature. Determining that the transmitted communication message and the received communication message with the same message body and message signature are successfully matched
For a first user identifier of the plurality of user identifiers, determining whether a message body in the transmitted communication message corresponding to the first user identifier is identical to a message body in the received communication message, and determining whether a message signature in the received communication message corresponding to the first user identifier is identical to a sender signature corresponding to the transmitted communication message. If the message text of the sending communication message corresponding to the first user identifier is the same as the message text of the receiving communication message, and the message signature of the receiving communication message corresponding to the first user identifier is the same as the signature of the message sender of the sending communication message, the successful matching of the sending communication message and the receiving communication message corresponding to the first user identifier is determined.
Wherein, the message signature in the received communication message is used for indicating the message sender, and the message signatures of different message senders are different. The signature of the message sender that sent the communication message may be preset. When the dial testing system sends a communication message to the first user identifier through the message cloud system, the message cloud system needs to set a corresponding signature according to a message sender and embed the set signature into message content of the communication message.
The message signature may be located at the beginning or the end of the message content of the received communication message, or may be located at other positions of the message content, which is not limited in the embodiment of the present application.
Referring to fig. 3, fig. 3 is a schematic diagram of a communication message received by a mobile phone number according to an embodiment of the present application, where, as shown in fig. 3, the communication message includes a message body and a message signature at the beginning of the message body.
In a second implementation manner, the dial testing system can judge whether the communication message is tampered according to whether the message text and the message signature are the same by matching the communication message sent by the dial testing system with the communication message actually received by the user identifier.
Step 204: and the dial testing system determines the credibility of the target communication channel according to the first matching success rate.
The first matching success rate is used for indicating the probability that the message content of the communication message sent through the target communication channel is not tampered. The first matching success rate is in direct proportion to the credibility of the target communication channel, and the higher the first matching success rate is, the higher the credibility of the target communication channel is.
As one example, the dial testing system may generate a first detection report according to a first match success rate, where the first detection report is used to indicate match success rates of sending communication messages and receiving communication messages corresponding to a plurality of user identities. And then, displaying the first detection report on a test platform of the dial testing system so that a tester can intuitively observe the credibility of the target communication channel according to the first detection report.
Taking a mobile phone number corresponding to a SIM card inserted by a user equipment as an example, a communication message as an example, please refer to fig. 4, fig. 4 is a logic diagram for detecting the credibility of a communication channel according to an embodiment of the present application. As shown in fig. 4, a tester may obtain a test account through a dial testing system, obtain a communication channel to be tested from the communication channels bound by the test account, set the content of a short message to be sent, select a mobile phone number to be detected, and then trigger a short message sending instruction. And the dial testing system receives the short message sending instruction and can call an operator interface corresponding to the communication channel to be tested. After the operator interface corresponding to the communication channel to be tested is called, the operator can send the short message content to be sent to the analog user equipment corresponding to the mobile phone number to be detected, and generate a corresponding status report, where the status report is used for indicating the short message sending result. In addition, after receiving the short message sending instruction and calling the operator interface corresponding to the communication channel to be tested to send the short message content, the dial testing system can also send an instruction for acquiring the short message content to the analog user equipment. After receiving the short message content instruction, the analog user equipment can call an acquisition interface of the short message content, acquire the received short message content through the acquisition interface, and send the acquired short message content to the dial testing system. After the dial testing system receives the short message content returned by the analog user equipment, whether the short message content set by the dial testing system is the same as the short message content received by the analog user equipment or not can be determined. If the matching is the same, the matching is determined to be successful, and if the matching is different, the matching is determined to be unsuccessful. The short message content can comprise a short message text or a short message text and a short message signature.
In addition, the dial testing system can also determine the credibility of the target communication channel according to the first matching success rate and the second matching success rate of the communication channel used by the received communication message and the target communication channel. In addition, the credibility of the target communication channel can be further determined by combining the accuracy degree of the status report fed back by the provider corresponding to the target communication channel.
In the embodiment of the application, communication messages are respectively sent to a plurality of user identifiers through a target communication channel, the communication messages sent to each user identifier are used as sending communication messages corresponding to each user identifier, and the communication messages received by each user identifier in the plurality of user identifiers are obtained as receiving communication messages corresponding to each user identifier. And then, determining the credibility of the target communication channel according to the matching success rates of the sent communication message and the received communication message corresponding to the plurality of user identifiers. Therefore, the credibility of the target communication channel can be accurately detected according to the probability that the communication message sent by the target communication channel is not tampered, and the communication channel with higher credibility is conveniently provided for the message cloud system.
Fig. 5 is a flowchart of another method for detecting the credibility of a communication channel according to an embodiment of the present application, where the method is applied to the dial testing system 11 in fig. 1, as shown in fig. 5, and the method includes the following steps:
Step 501: the dial testing system determines a communication channel to be detected as a target communication channel.
For example, a tester may select a communication channel to be detected on a test platform provided by a dial testing system, and the dial testing system determines the communication channel to be tested selected by the tester as a target communication channel in response to a selection operation of the tester.
Step 502: and the dial testing system determines the user identification to be detected from the user identifications corresponding to the user identification cards inserted by the m simulated user equipment, so as to obtain a plurality of user identifications.
The simulation user equipment is used for inserting n user identification cards and can set the user state of the user identification corresponding to any inserted user identification card, m is a positive integer, and n is an integer greater than 1.
For example, a tester may select a user identifier to be detected from user identifiers corresponding to user identification cards inserted in m analog user devices on a test platform provided by a dial testing system, and the dial testing system determines the user identifier to be tested selected by the tester as a plurality of user identifiers in response to a selection operation of the tester.
Step 503: and the dial testing system sets the states of the user states of the plurality of user identifiers.
The user states of the plurality of user identifiers are set to be the starting-up state by default. The dial testing system may set the user status of a portion of the plurality of user identifications to a power-off status.
For example, the dial testing system may send a shutdown setting instruction to the simulated user device, where the shutdown setting instruction carries a specified user identifier. After receiving the shutdown setting instruction, the simulation user equipment can call a related setting interface of the simulation user equipment to set the user state of the appointed user identifier as a shutdown state. For example, the specified mobile phone number is set to the flight mode to set the specified mobile phone number to the off state.
Step 504: the dial testing system respectively sends communication messages to a plurality of user identifiers through a target communication channel, and takes the communication messages sent to each user identifier as the corresponding sending communication messages of each user identifier.
Step 505: the dial testing system acquires the communication message received by each user identifier in the plurality of user identifiers as the received communication message corresponding to each user identifier.
Step 506: the dial testing system determines the matching success rate of the sent communication message and the received communication message corresponding to the plurality of user identifiers, and obtains a first matching success rate.
It should be noted that, steps 504-506 are similar to steps 201-203 in the embodiment of fig. 2, and specific implementation process may refer to the related descriptions of steps 201-203, which are not limited in this embodiment of the present application.
Step 507: the dial testing system obtains the channel identification of the communication channel used for receiving the communication message and corresponding to each user identification in the plurality of user identifications, and obtains the channel identification corresponding to each user identification.
The channel identifier of the communication channel is used for uniquely identifying the corresponding communication channel, and may be a channel name or a channel number of the communication channel. For example, the channel number may be a short number sent 999, 666, etc. The dial testing system may use the channel identifier of the communication channel used for receiving the communication message corresponding to each user identifier as the channel identifier corresponding to each user identifier.
The communication channel used by the received communication message corresponding to each user identifier refers to a communication channel actually used when the received communication message corresponding to each user identifier is sent, and the communication channel may be the same as or different from the target communication channel.
As an example, the dial testing system may send an instruction for obtaining a channel identifier to a terminal device corresponding to each user identifier, so as to obtain a channel identifier of a communication channel used by a communication message received by the user identifier, where the instruction for obtaining a content of the communication message may carry the user identifier. After receiving the instruction for obtaining the channel identifier, the terminal device can call an obtaining interface of the channel identifier, obtain the channel identifier of the communication channel used by the communication message received by the user identifier through the obtaining interface, and send the obtained channel identifier to the dial testing system.
As another example, the dial testing system may send, to the terminal device corresponding to each user identifier, an instruction for acquiring the content of the communication message to acquire the communication message received by the user identifier and the channel identifier of the communication channel used by the received communication message, where the instruction for acquiring the content of the communication message may carry the user identifier. After receiving the instruction for acquiring the content of the communication message, the terminal equipment can call an acquisition interface of the communication message, acquire the communication message received by the user identifier and the channel identifier of the communication channel used by the received communication message through the acquisition interface, and send the acquired communication message and the channel identifier to the dial testing system.
Step 508: and the dial testing system determines the success rate of matching the channel identifiers corresponding to the plurality of user identifiers with the channel identifiers of the target communication channel, and obtains a second matching success rate.
The success rate of matching the channel identifiers corresponding to the plurality of user identifiers with the channel identifiers of the target communication channel refers to the ratio between the number of the user identifiers, which are successfully matched with the channel identifiers of the target communication channel, in the plurality of user identifiers and the total number of the plurality of user identifiers.
The dial testing system can determine the user identifier, corresponding to the channel identifier, in the plurality of user identifiers, which is the same as the channel identifier of the target communication channel, as the user identifier, wherein the corresponding channel identifier is successfully matched with the channel identifier of the target communication channel. And determining the user identifiers of which the corresponding channel identifiers are different from the channel identifiers of the target communication channel as the user identifiers of which the corresponding channel identifiers are not successfully matched with the channel identifiers of the target communication channel. And then determining the ratio between the number of the user identifications successfully matched with the corresponding channel identifications and the total number of the plurality of user identifications, and taking the determined ratio as a second matching success rate.
If the channel identifier of the communication channel used for receiving the communication message corresponding to a certain user identifier is different from the channel identifier of the target communication channel, the operator tamper the communication channel identifier which is wanted to be used by the dial testing system. If the operator tampers with the communication channel identifier, the user may misunderstand the sender according to the displayed communication channel identifier, thereby missing the important message. Thus, the reputation of the target communication channel may also be determined in conjunction with the success rate of matching the channel identification used to receive the communication message with the target communication channel identification.
Referring to fig. 6, fig. 6 is a logic diagram of another embodiment of detecting the reputation of a communication channel according to the present application. As shown in fig. 6, after receiving the sms message sending instruction and invoking the operator interface corresponding to the communication channel to be tested to send the sms message content, the dial testing system may also send an instruction for obtaining the sms message content to the analog user equipment. After receiving the short message content instruction, the analog user equipment can call an acquisition interface of the short message content, acquire the received short message content and the channel number of the communication channel used by the short message content through the acquisition interface, and send the acquired short message content and the channel number to the dial testing system. That is, the information returned by the analog user equipment received by the dial testing system includes the short message content and the channel number. The dial testing system may then determine whether the channel number set by itself is the same as the channel number received from the analog user device. If the matching is the same, the matching is determined to be successful, and if the matching is different, the matching is determined to be unsuccessful.
Step 509: and the dial testing system determines the credibility of the target communication channel according to the first matching success rate and the second matching success rate.
The first matching success rate is used for indicating the probability that the message content of the communication message sent through the target communication channel is not tampered. The second match success rate is used to indicate a probability that the target communication channel is not tampered with when a communication message is sent over the target communication channel. The first matching success rate and the second matching success rate are both in direct proportion to the credibility of the target communication channel. The higher the first match success rate, the higher the reputation of the target communication channel. The higher the second match success rate, the higher the reputation of the target communication channel.
As an example, the corresponding weights may be set in advance for the first matching success rate and the second matching success rate. The dial testing system can carry out weighted summation on the first matching success rate and the second matching success rate according to the weight corresponding to the first matching success rate and the weight corresponding to the second matching success rate, and the credibility of the target communication channel is obtained.
As another example, the dial testing system may generate a first detection report based on a first match success rate and a second detection report based on a second match success rate. And then, the first detection report and the second detection report are displayed on a test platform of the dial testing system, so that a tester can intuitively observe the credibility of the target communication channel according to the two detection reports.
The first detection report is used for indicating the matching success rate of the sent communication message and the received communication message corresponding to the plurality of user identifiers. The second detection report is used for indicating the success rate of matching the channel identifications corresponding to the plurality of user identifications with the channel identifications of the target communication channel.
In addition, the dial testing system can further combine the accuracy degree of the status report fed back by the provider corresponding to the target communication channel to determine the credibility of the target communication channel.
As an example, after sending communication messages to the plurality of user identifiers through the target communication channel, the dial testing system may further obtain status reports corresponding to the plurality of user identifiers, and then obtain actual user statuses of the plurality of user identifiers. And then determining the matching success rate of the user state indicated by the state report corresponding to the plurality of user identifiers and the real user state, and obtaining a third matching success rate. And determining the credibility of the target communication channel according to the first matching success rate, the second matching success rate and the third matching success rate.
The status report corresponding to each user identifier is fed back by the operator corresponding to the target communication channel, and the status report corresponding to each user identifier is used for indicating a sending result of sending the communication message to the corresponding user identifier and a user status of the corresponding user identifier. For example, the status report may include information such as transmission success and status report reception time, or the status report may include information such as transmission failure, error code, error description, and status report reception time.
As an example, the corresponding weights may be set in advance for the first matching success rate, the second matching success rate, and the third matching success rate, respectively. The dial testing system can carry out weighted summation on the first matching success rate, the second matching success rate and the third matching success rate according to weights respectively corresponding to the first matching success rate, the second matching success rate and the third matching success rate, so as to obtain the credibility of the target communication channel.
As one example, the dial test system may generate a first detection report based on a first match success rate, a second detection report based on a second match success rate, and a third detection report based on a third power. And then, displaying the first detection report, the second detection report and the third detection report on a test platform of the dial testing system so that a tester can intuitively observe the credibility of the target communication channel according to the three detection reports. The third detection report is used for indicating the matching success rate of the user state indicated by the state report corresponding to the plurality of user identifiers and the real user state.
It should be noted that, in the foregoing step 504, the dial testing system may send the communication message to the plurality of user identifiers through the target communication channel respectively, which may include the following three test types:
first test type: and immediately transmitting.
That is, when the dial testing system receives the test instruction, the step of sending the communication message to the plurality of user identifiers through the target communication channel is immediately executed, and then the credibility of the target communication channel is detected according to the detection method described in the embodiment of fig. 2 or the embodiment of the present application.
Referring to fig. 7, fig. 7 is a flowchart of performing reputation detection of a communication channel by using an immediate transmission method according to an embodiment of the present application. Taking the user identifier as the mobile phone number corresponding to the SIM card inserted by the analog user equipment, and taking the short message as an example as the communication message, as shown in fig. 7, after the credit degree detection of the communication channel is started by adopting the immediate transmission mode, the dial testing system can firstly acquire the selected mobile phone number as the mobile phone number to be detected, and then perform state setting on the mobile phone number to be detected. When the state is set, part of the mobile phone numbers to be detected can be set to be in a power-off state, and other mobile phone numbers are set to be in a power-on state. For example, a related setting interface of the analog user equipment may be invoked to set a part of mobile phone numbers to a flight mode so as to set the part of mobile phone numbers to a power-on state; if the mobile phone number is not successfully set, the selected mobile phone number has a problem and can not be tested, and in this case, the transmission detail data can be directly stored in the transmission detail table without short message transmission. If the setting is successful, the transmission detail data is assembled according to the selected mobile phone number, and then the transmission detail data is stored in a transmission detail table. The sending detail data comprise any mobile phone number in the selected mobile phone numbers, channel identification of a communication channel to be tested, short message content to be sent and other detail data. The transmission detail table is used for storing transmission detail data.
After storing the transmission detail data in the transmission detail table, a corresponding data number may also be set for each piece of data in the transmission detail data, so that status report matching may be performed subsequently according to the corresponding data number. And then, assembling task batch data, and storing the task batch data into a task batch table. The task batch data may include a plurality of pieces of transmission detail data, among others. The task lot table is used for storing task lot data of a plurality of task lots.
After the task batch data is assembled, a group sending interface of the operator gateway is called to execute the task indicated by the task batch data through the group sending interface of the operator gateway, namely, corresponding short message content is respectively sent to the selected mobile phone numbers. If the result state returned by the operator gateway indicates the gateway call failure, the batch setting of the sending detail state as the gateway submitting failure and the batch task state as the gateway submitting failure. And then, calling a relevant setting interface of the simulated user equipment, and resetting the mobile phone number which is set to be in the off state in the selected mobile phone numbers to be in the on state. In addition, if the result state returned by the operator gateway indicates that the gateway call is successful, the mobile phone number set as the power-off state in the selected mobile phone numbers is added into the power-on setting queue, so that after the power-off state setting time expires, the mobile phone numbers in the power-on setting queue are sequentially set as the power-on state. In addition, the batch task state is set to be successful in submitting the gateway, and the state of the test plan is modified to be dialed and tested.
Second test type: and (5) periodically sending.
That is, the dial-test system may periodically send communication messages to the plurality of user identifications, respectively, over the target communication channel. In each transmission period, the reputation of the target communication channel may be detected according to the detection method described in the embodiment of fig. 2 or the embodiment of the present application.
As one example, a tester may set a period transmission configuration information for the test plan in advance, the period transmission configuration information indicating a plurality of transmission periods. For example, the periodic transmission configuration information may include a periodic transmission start-stop time and a periodic transmission time interval.
The dial testing system may acquire the periodic transmission configuration information, and then periodically transmit communication messages to the plurality of user identifiers through the target communication channel according to the periodic transmission configuration information until the periodic transmission schedule expires, for example, until the current time reaches the periodic transmission end time.
When the test type is a periodic transmission type, the dial testing system can determine the matching success rate of the transmission communication message and the reception communication message corresponding to a plurality of user identifications in each of a plurality of transmission periods included in the periodic transmission plan, and obtain a first matching success rate in each transmission period. Then, the credibility of the target communication channel is determined according to the first matching success rate in a plurality of sending periods.
For example, the reputation of the target communication channel may be determined based on an average of the first match success rates over multiple transmit periods. The average matching success rate is in direct proportion to the credibility of the target communication channel, and the higher the average matching success rate is, the higher the credibility of the target communication channel is.
Referring to fig. 8, fig. 8 is a flowchart of performing reputation detection of a communication channel by using a periodic transmission method according to an embodiment of the present application. Taking the user identifier as the mobile phone number corresponding to the SIM card inserted by the analog user equipment, and taking the sent communication message as a short message as an example, as shown in fig. 8, after the credibility of the communication channel is detected by adopting a periodic sending mode, the dial testing system can trigger a periodic sending task, then acquire a test plan corresponding to the periodic sending task, and periodically execute the test plan. The flow of executing the test plan in each period is the same as the flow of executing the test plan in the immediate transmission manner in fig. 7, and the specific implementation process may refer to the related description in fig. 7, which is not repeated herein in the embodiment of the present application.
In addition, after completion of any of the periodic execution test plans, it may be determined whether the periodic transmission task has expired. If not, wait for the next cycle to trigger. If so, modifying the state of the test plan to dialed test, and deleting the test plan from the task list.
Third test type: and triggering the system.
That is, a trigger condition for executing the detection operation may be preset, and when the current time is detected to meet the preset trigger condition, a step of sending communication messages to the plurality of user identifiers through the target communication channel is executed, and then the credibility of the target communication channel is detected according to the embodiment of fig. 2 or the detection method described in the embodiment of the present application.
The triggering condition may be that the number of communication messages that the message cloud system needs to send through the target communication channel is greater than a number threshold, or that a triggering message is received, or the like. The triggering message may carry a channel identifier of the target communication channel, and is used for triggering the reputation detection of the target communication channel. Or the trigger message can be sent to a dial testing system through the target communication channel and used for triggering the target communication channel to detect the credibility. The trigger message can be sent by any subsystem in the message cloud system.
In addition, the threshold of the number of executions of the detection operation may be preset, and when the number of executions of the communication message sent to the plurality of user identities through the target communication channel exceeds the threshold of the number of executions, the step of sending the communication message to the plurality of user identities through the target communication channel is not performed.
As an example, when it is detected that the current opportunity satisfies the preset trigger condition, after the communication message is sent to the plurality of user identifiers through the target communication channel, the dial testing system may further increase the execution frequency of sending the communication message to the plurality of user identifiers through the target communication channel by a preset frequency. And when the current time is detected to meet the preset trigger condition again, determining the execution times of respectively sending the communication message to the plurality of user identifiers through the target communication channel. And if the execution times are smaller than the execution times threshold, the step of respectively sending the communication message to the plurality of user identifiers through the target communication channel is executed again. If the execution times are greater than or equal to the execution times threshold, the step of respectively sending the communication message to the plurality of user identifications through the target communication channel is not executed.
The preset times and the execution times threshold can be set in advance according to requirements. For example, the preset number of times may be set to 1, the execution number threshold may be set to 5 or 10, or the like.
Referring to fig. 9, fig. 9 is a flowchart of performing creditworthiness detection of a communication channel by using a system triggering method according to an embodiment of the present application. Taking the user identifier as a mobile phone number corresponding to the SIM card inserted by the analog user equipment, and taking a short message as an example of a communication message to be sent, as shown in fig. 9, the dial test system can receive the trigger message, then query a test plan matched with a sending communication channel of the trigger message, and the test plan matched with the sending communication channel of the trigger message refers to the test plan for detecting the credibility of the sending communication channel of the trigger message. And if the matched test plan is not queried, ending the test task. If a matched test plan is queried, modifying the state of the test plan into a dial test, and executing the test plan. The flow of executing the test plan is the same as the flow of executing the test plan in the immediate transmission manner in fig. 7, and the specific implementation process may refer to the related description in fig. 7, and the embodiments of the present application are not repeated here.
In addition, after each execution of the test plan is completed, the execution times of the test plan can be acquired, and whether the execution times reach the execution times threshold value can be judged. If not, modifying the state of the test plan to be measured. If so, modifying the state of the test plan to be finished, and adding 1 to the execution times of the test plan.
In the embodiment of the application, communication messages are respectively sent to a plurality of user identifiers through a target communication channel, the communication messages sent to each user identifier are used as sending communication messages corresponding to each user identifier, and the communication messages received by each user identifier in the plurality of user identifiers are obtained as receiving communication messages corresponding to each user identifier. And then, determining the credibility of the target communication channel according to the first matching success rate of the sent communication message and the received communication message corresponding to the plurality of user identifiers and the second matching success rate of the channel identifier of the communication channel used for receiving the communication message corresponding to the plurality of user identifiers and the channel identifier of the target communication channel. Therefore, the credibility of the target communication channel can be accurately detected according to the probability that the communication message sent by the target communication channel is not tampered and the probability that the channel identification of the target communication channel is not tampered, so that the communication channel with higher credibility can be conveniently provided for a message cloud system.
Fig. 10 is a schematic structural diagram of an apparatus for detecting creditworthiness of a communication channel according to an embodiment of the present application. The apparatus may be implemented by software, hardware, or a combination of both as part or all of a computer device, which may be the computer device shown in fig. 11 below. Referring to fig. 10, the apparatus includes:
a sending module 1011, configured to send communication messages to a plurality of user ids through a target communication channel, respectively, and use the communication message sent to each user id as a sending communication message corresponding to each user id;
a first obtaining module 1012, configured to obtain a communication message received by each user identifier in the plurality of user identifiers as a received communication message corresponding to each user identifier;
a first determining module 1013, configured to determine a matching success rate of the sent communication message and the received communication message corresponding to the plurality of user identities, to obtain a first matching success rate;
a second determining module 1014 is configured to determine a reputation of the target communication channel according to the first match success rate.
Optionally, the first determining module 1013 is configured to:
for a first user identifier in the plurality of user identifiers, determining whether a message body in a sent communication message and a received communication message corresponding to the first user identifier is the same, wherein the first user identifier is any one of the plurality of user identifiers;
If the message text of the sending communication message corresponding to the first user identifier is the same as that of the receiving communication message, determining that the matching of the sending communication message corresponding to the first user identifier and the receiving communication message is successful;
and determining the ratio of the number of the user identifications, corresponding to the sent communication message and the received communication message, successfully matched with the received communication message to the total number of the plurality of user identifications, and taking the determined ratio as the first matching success rate.
Optionally, the received communication message corresponding to each user identifier in the plurality of user identifiers includes a message body and a message signature;
the first determining module 1013 is further configured to:
determining whether a message signature in the received communication message corresponding to the first user identifier is the same as a sender signature corresponding to the sent communication message;
if the message text of the sending communication message corresponding to the first user identifier is the same as the message text of the receiving communication message, and the message signature of the receiving communication message corresponding to the first user identifier is the same as the signature of the message sender of the sending communication message, the matching between the sending communication message corresponding to the first user identifier and the receiving communication message is determined to be successful.
Optionally, the apparatus further comprises:
The second acquisition module is used for acquiring the channel identifier of the communication channel used for receiving the communication message and corresponding to each user identifier in the plurality of user identifiers, and acquiring the channel identifier corresponding to each user identifier;
a third determining module, configured to determine a matching success rate of the channel identifiers corresponding to the plurality of user identifiers and the channel identifier of the target communication channel, to obtain a second matching success rate;
the second determining module 1014 is further configured to determine a reputation of the target communication channel according to the first matching success rate and the second matching success rate.
Optionally, the apparatus further comprises:
the third acquisition module is used for acquiring the status reports corresponding to the plurality of user identifiers, the status report corresponding to each user identifier is fed back by an operator corresponding to the target communication channel, and the status report corresponding to each user identifier is used for indicating a sending result of sending a communication message to the corresponding user identifier and a user status of the corresponding user identifier;
a fourth obtaining module, configured to obtain real user states of the plurality of user identifiers;
a fourth determining module, configured to determine a matching success rate of the user states indicated by the status reports corresponding to the plurality of user identifiers and the real user states, to obtain a third matching success rate;
The second determining module 1014 is further configured to determine the reputation of the target communication channel according to the first matching success rate, the second matching success rate, and the third matching success rate.
Optionally, the sending module 1011 is configured to:
and when receiving the test instruction, respectively sending communication messages to the plurality of user identifiers through the target communication channel.
Optionally, the sending module 1011 is configured to:
acquiring periodic transmission configuration information, wherein the periodic transmission configuration information is used for indicating a plurality of transmission periods;
and periodically sending the configuration information according to the period, and respectively sending communication messages to the plurality of user identifiers through the target communication channel.
Optionally, a first determining module 1013 is configured to determine a matching success rate of the transmission communication message and the reception communication message corresponding to the plurality of user identifiers in each of the plurality of transmission periods, so as to obtain a first matching success rate in each transmission period;
a second determining module 1014 is configured to determine a reputation level of the target communication channel according to the first match success rate in the plurality of transmission periods.
Optionally, the sending module 1011 is configured to:
when the current time is detected to meet the preset triggering condition, communication messages are respectively sent to the plurality of user identifiers through the target communication channel.
Optionally, the sending module 1011 is further configured to:
increasing the execution times of the communication message sent to the plurality of user identifiers respectively through the target communication channel by preset times;
when the current time is detected to meet the preset triggering condition again, determining the execution times of respectively sending the communication message to the plurality of user identifiers through the target communication channel;
if the execution times is smaller than the execution times threshold, respectively sending communication messages to the plurality of user identifiers through the target communication channel;
if the execution times is greater than or equal to the execution times threshold, the step of respectively sending communication messages to the plurality of user identifiers through the target communication channel is not executed.
Optionally, the apparatus further comprises:
a fifth determining module, configured to determine a communication channel to be detected as the target communication channel;
a sixth determining module, configured to determine a user identifier to be detected from user identifiers corresponding to user identification cards inserted by m pieces of analog user equipment, to obtain the plurality of user identifiers, where the analog user equipment is configured to insert n pieces of user identification cards and be capable of setting a user state of the user identifier corresponding to any inserted user identification card, where m is a positive integer, and n is an integer greater than 1.
In the embodiment of the application, communication messages are respectively sent to a plurality of user identifiers through a target communication channel, the communication messages sent to each user identifier are used as sending communication messages corresponding to each user identifier, and the communication messages received by each user identifier in the plurality of user identifiers are obtained as receiving communication messages corresponding to each user identifier. And then, determining the credibility of the target communication channel according to the matching success rates of the sent communication message and the received communication message corresponding to the plurality of user identifiers. Therefore, the credibility of the target communication channel can be accurately detected according to the probability that the communication message sent by the target communication channel is not tampered, and the communication channel with higher credibility is conveniently provided for the message cloud system.
It should be noted that: the device for detecting the reputation of the communication channel provided in the above embodiment is only exemplified by the division of the above functional modules when detecting the reputation of the communication channel, and in practical application, the above functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
The functional units and modules in the above embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiments of the present application.
The device for detecting the reputation of the communication channel provided in the foregoing embodiment belongs to the same concept as the embodiment of the method for detecting the reputation of the communication channel, and the specific working process and the brought technical effects of the units and the modules in the foregoing embodiment may be referred to in the method embodiment section, and are not repeated herein.
Fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 11, the computer device 110 includes: processor 1100, memory 1101, and computer program 1102 stored in memory 1101 and executable on processor 1100, when executing computer program 1102, implements the steps in the method of detecting a reputation of a communication channel in the above-described embodiments.
The computer device 110 may be a general purpose computer device or a special purpose computer device. In a specific implementation, the computer device 110 may be a desktop, a portable computer, a network server, a palmtop, a mobile handset, a tablet, a wireless terminal device, a communication device, or an embedded device, and embodiments of the present application are not limited to the type of computer device 110. It will be appreciated by those skilled in the art that fig. 11 is merely an example of computer device 110 and is not intended to limit computer device 110, and may include more or fewer components than shown, or may combine certain components, or may include different components, such as input-output devices, network access devices, etc.
The processor 1100 may be a central processing unit (Central Processing Unit, CPU), the processor 1100 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or may be any conventional processor.
The memory 1101 may be an internal storage unit of the computer device 110 in some embodiments, such as a hard disk or memory of the computer device 110. The memory 1101 may also be an external storage device of the computer device 110 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer device 110. Further, the memory 1101 may also include both internal and external storage units of the computer device 110. The memory 1101 is used to store an operating system, application programs, boot Loader (Boot Loader), data, and other programs. The memory 1101 may also be used to temporarily store data that has been output or is to be output.
The embodiment of the application also provides a computer device, which comprises: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, which when executed by the processor performs the steps of any of the various method embodiments described above.
The present application also provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the respective method embodiments described above.
The present embodiments provide a computer program product which, when run on a computer, causes the computer to perform the steps of the various method embodiments described above.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. With such understanding, the present application implements all or part of the flow of the above-described method embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, may implement the steps of the above-described method embodiments. Wherein the computer program comprises computer program code which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal device, recording medium, computer Memory, ROM (Read-Only Memory), RAM (Random Access Memory ), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk, optical data storage device, and so forth. The computer readable storage medium mentioned in the present application may be a non-volatile storage medium, in other words, a non-transitory storage medium.
It should be understood that all or part of the steps to implement the above-described embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The computer instructions may be stored in the computer-readable storage medium described above.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in this application, it should be understood that the disclosed apparatus/computer device and method may be implemented in other ways. For example, the apparatus/computer device embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.
Claims (8)
1. A method of detecting a reputation of a communication channel, the method comprising:
respectively sending communication information to a plurality of user identifiers through a target communication channel, and taking the communication information sent to each user identifier as a corresponding sending communication information of each user identifier;
Acquiring a communication message received by each user identifier in the plurality of user identifiers as a received communication message corresponding to each user identifier;
determining the matching success rate of message texts in the sent communication message and the received communication message corresponding to the plurality of user identifiers to obtain a first matching success rate;
obtaining channel identifiers of communication channels used for receiving communication messages and corresponding to each user identifier in the plurality of user identifiers, and obtaining the channel identifier corresponding to each user identifier;
determining the matching success rate of the channel identifiers corresponding to the plurality of user identifiers and the channel identifier of the target communication channel to obtain a second matching success rate;
acquiring state reports corresponding to the user identifiers, wherein the state report corresponding to each user identifier is fed back by an operator corresponding to the target communication channel, and the state report corresponding to each user identifier is used for indicating a sending result of sending a communication message to the corresponding user identifier and a user state of the corresponding user identifier;
acquiring the real user states of the plurality of user identifications;
determining the matching success rate of the user state indicated by the state report corresponding to the plurality of user identifiers and the real user state, and obtaining a third matching success rate;
And determining the credibility of the target communication channel according to the first matching success rate, the second matching success rate and the third matching success rate.
2. The method of claim 1, wherein determining the success rate of matching the message body in the sent communication message and the received communication message corresponding to the plurality of user identities, to obtain the first success rate of matching, comprises:
for a first user identifier in the plurality of user identifiers, determining whether a message body in a sent communication message and a received communication message corresponding to the first user identifier is the same, wherein the first user identifier is any one of the plurality of user identifiers;
if the message text of the sending communication message corresponding to the first user identifier is the same as that of the receiving communication message, determining that the matching of the sending communication message corresponding to the first user identifier and the receiving communication message is successful;
and determining the ratio between the number of the user identifiers which are matched successfully by the corresponding sent communication message and the received communication message in the plurality of user identifiers and the total number of the plurality of user identifiers, and taking the determined ratio as the first matching success rate.
3. The method of claim 2, wherein the received communication message corresponding to each of the plurality of user identities comprises a message body and a message signature;
If the message text of the sending communication message corresponding to the first user identifier is the same as that of the receiving communication message, before the sending communication message corresponding to the first user identifier and the receiving communication message are successfully matched, the method further comprises the steps of:
determining whether a message signature in the received communication message corresponding to the first user identifier is the same as a sender signature corresponding to the sent communication message;
if the message text of the sending communication message corresponding to the first user identifier is the same as that of the receiving communication message, determining that the matching between the sending communication message corresponding to the first user identifier and the receiving communication message is successful includes:
if the message text of the sending communication message corresponding to the first user identifier is the same as the message text of the receiving communication message, and the message signature of the receiving communication message corresponding to the first user identifier is the same as the sender signature corresponding to the sending communication message, the sending communication message corresponding to the first user identifier and the receiving communication message are determined to be successfully matched.
4. A method according to any of claims 1-3, wherein said sending communication messages to a plurality of subscriber identities via a target communication channel, respectively, comprises:
Acquiring periodic transmission configuration information, wherein the periodic transmission configuration information is used for indicating a plurality of transmission periods;
according to the periodic sending configuration information, periodically sending communication messages to the plurality of user identifiers through the target communication channel respectively;
the determining the matching success rate of the sending communication message and the receiving communication message corresponding to the plurality of user identifiers, to obtain a first matching success rate, includes:
determining the matching success rate of the transmission communication message and the receiving communication message corresponding to the user identifications in each transmission period in the multiple transmission periods to obtain a first matching success rate in each transmission period;
the determining the reputation of the target communication channel according to the first matching success rate includes:
and determining the credibility of the target communication channel according to the first matching success rate in the multiple sending periods.
5. A method according to any of claims 1-3, wherein said sending communication messages to a plurality of subscriber identities via a target communication channel, respectively, comprises:
when the current time is detected to meet the preset triggering condition, respectively sending communication messages to the plurality of user identifiers through the target communication channel, and increasing the execution times of respectively sending the communication messages to the plurality of user identifiers through the target communication channel by preset times;
When the fact that the current time meets the preset trigger condition is detected again, determining the execution times of sending communication messages to the plurality of user identifiers through the target communication channel;
if the execution times is smaller than the execution times threshold, respectively sending communication messages to the plurality of user identifiers through the target communication channel;
and if the execution times are greater than or equal to the execution times threshold, not executing the step of respectively sending communication messages to the plurality of user identifiers through the target communication channel.
6. A method according to any one of claims 1-3, wherein before said sending the communication message to the plurality of subscriber identities via the target communication channel, respectively, further comprises:
determining a communication channel to be detected as the target communication channel;
and determining user identifiers to be detected from user identifiers corresponding to user identification cards inserted by m pieces of analog user equipment, wherein the analog user equipment is used for inserting n pieces of user identification cards and can set the user states of the user identifiers corresponding to any inserted user identification card, m is a positive integer, and n is an integer larger than 1.
7. The system for detecting the credibility of the communication channel is characterized by comprising a dial testing system and m pieces of analog user equipment, wherein the dial testing system is respectively connected with the m pieces of analog user equipment, the analog user equipment is used for inserting n pieces of user identification cards and can set the user state of a user identifier corresponding to any inserted user identification card, m is a positive integer, and n is an integer larger than 2;
The dial testing system is used for determining a communication channel to be detected as a target communication channel;
the dial testing system is further used for determining user identifiers to be detected from user identifiers corresponding to the user identification cards inserted by the m pieces of analog user equipment to obtain a plurality of user identifiers;
the dial testing system is further configured to send communication messages to the plurality of user identifiers through the target communication channel, and use the communication message sent to each user identifier as a sending communication message corresponding to each user identifier;
the dial testing system is further configured to obtain a communication message received by each user identifier in the plurality of user identifiers as a received communication message corresponding to each user identifier;
the dial testing system is further used for determining the matching success rate of the message texts in the sent communication message and the received communication message corresponding to the plurality of user identifiers, so as to obtain a first matching success rate;
the dial testing system is further configured to obtain a channel identifier of a communication channel used for receiving the communication message and corresponding to each user identifier in the plurality of user identifiers, so as to obtain a channel identifier corresponding to each user identifier; determining the matching success rate of the channel identifiers corresponding to the plurality of user identifiers and the channel identifier of the target communication channel to obtain a second matching success rate;
The dial testing system is further configured to obtain status reports corresponding to the plurality of user identifiers, where the status report corresponding to each user identifier is fed back by an operator corresponding to the target communication channel, and the status report corresponding to each user identifier is used to indicate a sending result of sending a communication message to the corresponding user identifier and a user status of the corresponding user identifier; acquiring the real user states of the plurality of user identifications; determining the matching success rate of the user state indicated by the state report corresponding to the plurality of user identifiers and the real user state, and obtaining a third matching success rate;
the dial testing system is further configured to determine a reputation of the target communication channel according to the first matching success rate, the second matching success rate and the third matching success rate.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, which computer program, when executed by the processor, implements the method according to any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111229085.7A CN114245410B (en) | 2021-10-21 | 2021-10-21 | Method, equipment and system for detecting creditworthiness of communication channel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111229085.7A CN114245410B (en) | 2021-10-21 | 2021-10-21 | Method, equipment and system for detecting creditworthiness of communication channel |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114245410A CN114245410A (en) | 2022-03-25 |
CN114245410B true CN114245410B (en) | 2024-02-09 |
Family
ID=80743175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111229085.7A Active CN114245410B (en) | 2021-10-21 | 2021-10-21 | Method, equipment and system for detecting creditworthiness of communication channel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114245410B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101542943A (en) * | 2007-08-09 | 2009-09-23 | 联发科技股份有限公司 | Method and device for channel evaluation |
US8781093B1 (en) * | 2012-04-18 | 2014-07-15 | Google Inc. | Reputation based message analysis |
CN107182042A (en) * | 2017-06-13 | 2017-09-19 | 北京凤凰理理它信息技术有限公司 | Short message channel method for evaluating quality, device, medium and system |
CN107371146A (en) * | 2017-06-05 | 2017-11-21 | 深圳市金立通信设备有限公司 | A kind of method and terminal for selecting short message channel |
CN111182482A (en) * | 2020-03-17 | 2020-05-19 | 深圳市朱墨科技有限公司 | Short message distribution method, device, storage medium and short message platform |
CN112272363A (en) * | 2020-10-26 | 2021-01-26 | 浙江百应科技有限公司 | Method for comparing quality of short message channel |
-
2021
- 2021-10-21 CN CN202111229085.7A patent/CN114245410B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101542943A (en) * | 2007-08-09 | 2009-09-23 | 联发科技股份有限公司 | Method and device for channel evaluation |
US8781093B1 (en) * | 2012-04-18 | 2014-07-15 | Google Inc. | Reputation based message analysis |
CN107371146A (en) * | 2017-06-05 | 2017-11-21 | 深圳市金立通信设备有限公司 | A kind of method and terminal for selecting short message channel |
CN107182042A (en) * | 2017-06-13 | 2017-09-19 | 北京凤凰理理它信息技术有限公司 | Short message channel method for evaluating quality, device, medium and system |
CN111182482A (en) * | 2020-03-17 | 2020-05-19 | 深圳市朱墨科技有限公司 | Short message distribution method, device, storage medium and short message platform |
CN112272363A (en) * | 2020-10-26 | 2021-01-26 | 浙江百应科技有限公司 | Method for comparing quality of short message channel |
Non-Patent Citations (1)
Title |
---|
基于信誉度的合作式频谱感知;张晓玉;袁野;杜荣;李生红;;计算机工程(01);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114245410A (en) | 2022-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105682077B (en) | A kind of virtual SIM card switching method and device | |
KR100948217B1 (en) | Apparatus and methods for product acceptance testing on a wireless device | |
JP5112340B2 (en) | Improved method and system for testing a subscriber identity module (SIM) application toolkit | |
CN108429670B (en) | Message sending method, message receiving method and terminal | |
WO2016188181A1 (en) | Test method, mobile terminal, server and computer storage medium | |
CN110971757B (en) | Method, device, equipment and medium for adding WeChat friends from telephone application | |
CN107241336A (en) | Auth method and device | |
CN112566078A (en) | Device connection method and apparatus, storage medium, and electronic apparatus | |
CN105515887A (en) | Application test method, server and system | |
CN106230702A (en) | Identity information verification method, Apparatus and system | |
CN114245410B (en) | Method, equipment and system for detecting creditworthiness of communication channel | |
CN108377357B (en) | Visual platform call method and device | |
CN101340642A (en) | Method, system and apparatus for transmitting electronic business card | |
CN110493735B (en) | Short message processing method and device | |
CN110225097B (en) | Information processing method, device and storage medium | |
CN113934552A (en) | Method and device for determining function code, storage medium and electronic device | |
CN113672460A (en) | Service monitoring method and device | |
CN113905335B (en) | Method for detecting quality of short message channel, dial testing equipment and storage medium | |
KR101514294B1 (en) | Method for guiding caller information | |
CN113556729B (en) | Method, device, storage medium and electronic equipment for identifying privacy number abnormity | |
KR100631683B1 (en) | Maintenance management method and system using short message | |
CN114584978B (en) | Value added service authentication method, device, equipment and readable medium | |
CN104104743B (en) | A kind of method and device for obtaining phone number automatically based on android system | |
CN117155890B (en) | Method and device for processing applet message and electronic equipment | |
CN104640126B (en) | Method for monitoring terminal information, data card and terminal |
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 |