Message auditing method and device, electronic equipment and medium

CN121397547BActive Publication Date: 2026-11-03CHINA MOBILE INTERNET CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511123192.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-12
Publication Date
2026-11-03
Estimated Expiration
2045-08-12

AI Technical Summary

Technical Problem

Existing technologies suffer from poor accuracy and flexibility in message verification. Keyword filtering is prone to mistakenly blocking legitimate messages, and fixed sending frequencies cannot adapt to the diverse usage patterns of different users, resulting in high false alarm rates and high maintenance costs.

Method used

By obtaining a preset prime number sequence and the message reply rate of the target number, the message sending volume threshold is dynamically determined, and the message review strategy is adjusted based on the prime number sequence and the message reply rate to adapt to the personalized needs of different users.

Benefits of technology

It improves the flexibility and accuracy of message review, reduces the false positive and false negative rates, and enhances the accuracy and efficiency of spam message review.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121397547B_ABST
    Figure CN121397547B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a message auditing method and device, electronic equipment and medium, belonging to the field of communication technology, comprising: obtaining a preset prime number sequence; obtaining the message reply rate of a target number in a current time period; determining the message sending quantity threshold of the target number in the current time period according to at least one of the prime number sequence and the message reply rate; and auditing the sent messages of the target number in the current time period based on the message sending quantity threshold. The present disclosure can dynamically adjust the message sending quantity threshold of the target number, audit the sent messages of the target number in the current time period based on the message sending quantity threshold of the target number in the current time period, improve the flexibility and accuracy in the message auditing process, and thus improve the accuracy and efficiency of determining the spam messages.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of communication technology, and in particular to a message verification method, apparatus, electronic device, and medium. Background Technology

[0002] In related technologies, messages can be reviewed based on keyword filtering and setting a fixed sending frequency. However, keyword filtering may incorrectly block normal messages containing legitimate keywords, especially when the keyword database is too large or the settings are too strict, resulting in a high false positive rate for message review. Furthermore, by changing the spelling or structure of keywords to avoid them, the keyword database needs to be updated frequently, leading to high maintenance costs and poor adaptability for message review. Setting a fixed sending frequency cannot adapt to the diverse usage patterns of different users and is easily circumvented, resulting in poor flexibility and accuracy of message review. Summary of the Invention

[0003] This disclosure provides a message review method, apparatus, electronic device, and medium to at least address the problems of poor accuracy and flexibility in the message review process in related technologies.

[0004] The technical solution disclosed herein is as follows:

[0005] According to a first aspect of the present disclosure, a message review method is provided, comprising: obtaining a preset prime number sequence; obtaining a message reply rate of a target number in a current time period; determining a message sending volume threshold of the target number in the current time period based on at least one of the prime number sequence and the message reply rate; and reviewing the messages sent by the target number in the current time period based on the message sending volume threshold.

[0006] According to a second aspect of the present disclosure, a message review device is provided, comprising: a first acquisition module for acquiring a preset prime number sequence; a second acquisition module for acquiring a message reply rate of a target number in a current time period; a determination module for determining a message sending volume threshold of the target number in the current time period based on at least one of the prime number sequence and the message reply rate; and a review module for reviewing the messages sent by the target number in the current time period based on the message sending volume threshold.

[0007] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the instructions to implement the message auditing method as described in the first aspect of the present disclosure.

[0008] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided that, when instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform the message auditing method as described in the first aspect of the present disclosure.

[0009] The technical solutions provided by the embodiments of this disclosure have at least the following beneficial effects:

[0010] In this embodiment, a preset prime number sequence is obtained to acquire the message response rate of the target number in the current time period. Based on at least one of the prime number sequence and the message response rate, a message sending volume threshold for the target number in the current time period is determined. Based on the message sending volume threshold, the messages sent by the target number in the current time period are reviewed. This disclosure can dynamically adjust the message sending volume threshold of the target number and review the messages sent by the target number in the current time period based on the message sending volume threshold, thereby improving the flexibility and accuracy of the message review process and improving the accuracy and efficiency of identifying spam messages.

[0011] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0012] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0013] Figure 1 This is a flowchart illustrating a message review method according to an exemplary embodiment.

[0014] Figure 2 This is a flowchart illustrating a message review method according to another exemplary embodiment.

[0015] Figure 3 This is a flowchart illustrating a message review method according to another exemplary embodiment.

[0016] Figure 4 This is a flowchart illustrating a message review method according to another exemplary embodiment.

[0017] Figure 5 This is a block diagram illustrating a message review device according to an exemplary embodiment.

[0018] Figure 6 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation

[0019] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0020] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0021] The following examples illustrate the message review method, apparatus, and electronic device proposed in this disclosure in detail.

[0022] Figure 1 This is a flowchart illustrating a message review method provided in an embodiment of this application.

[0023] like Figure 1 As shown, the message review method proposed in this embodiment includes the following steps:

[0024] S101, obtain the preset prime number sequence.

[0025] Among them, the prime number sequence is a sequence formed by arranging all prime numbers in ascending order. The prime number sequence can be P{2,3,5,7,11,13,17,19,...}, P (n) Let P be the nth prime number in the sequence of prime numbers. (1) =2.

[0026] S102, Get the message response rate of the target number in the current time period.

[0027] In this embodiment of the disclosure, the number of messages sent (Ms) and received (Mr) of the target number in the current time period can be obtained. Based on the number of messages sent (Ms) and received (Mr), the message response rate of the target number in the current time period can be determined. Here, the number of messages sent (Ms) can be understood as the total number of messages actively sent by the target number in the current time period, and the number of messages received (Mr) can be understood as the total number of messages received by the target number in the current time period.

[0028] Alternatively, the message response rate Rr for the target number in the current time period can be determined according to the following formula:

[0029]

[0030] Where Rr is the message response rate, Ms is the number of messages sent, and Mr is the number of messages received.

[0031] S103, determine the message sending threshold for the target number in the current time period based on at least one of the prime number sequence and the message reply rate.

[0032] It should be noted that in related technologies, the message sending threshold is often set in a fixed way, which cannot adapt to the diverse patterns of different numbers.

[0033] In this embodiment of the disclosure, after obtaining the prime number sequence and the message response rate, the message sending volume threshold of the target number in the current time period can be dynamically determined based on at least one of the prime number sequence and the message response rate.

[0034] Optionally, the basic message sending threshold for the target number in the current time period can be obtained, and threshold adjustment information can be determined based on the message reply rate and prime number sequence. Based on the threshold adjustment information, the basic message sending threshold can be adjusted to determine the message sending threshold.

[0035] S104, based on the message sending volume threshold, review the messages sent by the target number in the current time period.

[0036] In this embodiment of the disclosure, the total number of messages sent can be obtained. In response to the total number of messages being greater than the message sending threshold, a target message to be reviewed is selected from the sent messages, the target message is reviewed, and the review result of the target message is obtained.

[0037] Optionally, a message review strategy can be selected, and the target message can be reviewed according to the message review strategy to determine whether the target message is normal or abnormal. If the review result of the target message is normal, the target message is a normal message; if the review result of the target message is abnormal, the target message is a spam message.

[0038] In summary, the message review method provided in this disclosure obtains a preset prime number sequence and the message reply rate of the target number in the current time period. Based on at least one of the prime number sequence and the message reply rate, a message sending threshold for the target number in the current time period is determined. Based on the message sending threshold, the messages sent by the target number in the current time period are reviewed. Thus, this disclosure can dynamically adjust the message sending threshold of the target number and review the messages sent by the target number in the current time period based on the message sending threshold, improving the flexibility and accuracy of the message review process, thereby improving the accuracy and efficiency of identifying spam messages.

[0039] As one possible implementation, such as Figure 2As shown, based on the above embodiments, the specific process of determining the message sending volume threshold of the target number in the current time period according to at least one of the message response rates in the prime number series includes the following steps:

[0040] S201, obtain the basic message sending threshold for the target number in the current time period.

[0041] Optionally, the message sending volume threshold of the target number in the previous time period can be obtained, and the message sending volume threshold of the previous time period can be used as the basic message sending volume threshold Mcur for the current time period.

[0042] S202, determine the threshold adjustment information based on the message response rate and the prime number sequence.

[0043] In this embodiment of the disclosure, a preset message baseline response rate can be obtained, and a weighting factor can be determined based on the message response rate and the message baseline response rate. A second prime value can be determined from the prime number sequence based on the weighting factor and the first prime value corresponding to the previous time period. Threshold adjustment information can be determined based on the weighting factor and the second prime value.

[0044] It should be noted that this disclosure does not impose any restrictions on the setting of the message baseline response rate R0, which can be set according to the actual situation.

[0045] Alternatively, the weighting factor W can be determined by combining the message response rate and the baseline message response rate using the hyperbolic tangent function.

[0046] For example, the weighting factor W can be determined using the following formula:

[0047] W = tanh(k*(Rr-R0))

[0048] Where W is the weighting factor, k is the scaling factor, used to set the sensitivity of the message response rate to the weight, Rr is the message response rate, and R0 is the baseline message response rate.

[0049] In this embodiment of the disclosure, after obtaining the weight factor, a second prime value can be determined from the prime number sequence based on the weight factor and the first prime value corresponding to the previous time period, and threshold adjustment information can be determined based on the weight factor and the second prime value.

[0050] Optionally, if the first prime value corresponding to the previous time period is P (n) It can be determined that the first prime value is P. (n) And, taking into account the magnitude of the weighting factors, determine the second prime value P from the sequence of prime numbers. new .

[0051] For example, the second prime value P can be determined from the sequence of prime numbers using the following formula. new :

[0052]

[0053] Among them, P new The second prime value, P (n-1) P is a prime number sequence (n) The previous prime number, P (n+1) Is P in the sequence of prime numbers? (n) The next prime number, W, is the weighting factor.

[0054] In this embodiment of the disclosure, a parameter λ used to control the adjustment rate can be obtained, and the product λ*W*Pnew between the parameter, the weight factor, and the second prime value can be obtained, and the product can be used as threshold adjustment information.

[0055] S203, Based on the threshold adjustment information, adjust the basic message sending volume threshold to determine the message sending volume threshold.

[0056] Optionally, the sum between the threshold adjustment information and the basic message sending volume threshold can be obtained, and the sum can be used as the message sending volume threshold.

[0057] For example, the message sending threshold Mnew = Mcur + λ*W*Pnew, where Mnew is the message sending threshold, Mcur is the basic message sending threshold, and λ*W*Pnew is the threshold adjustment information.

[0058] It should be noted that when the message response rate Rr is lower than the baseline response rate R0, the weighting factor W is negative, and the message sending threshold is reduced compared to the basic message sending threshold. When the message response rate Rr is higher than the baseline response rate R0, the weighting factor W is positive, and the message sending threshold is increased compared to the basic message sending threshold.

[0059] In summary, the message review method provided in this disclosure obtains the basic message sending volume threshold of the target number in the current time period, determines threshold adjustment information based on the message reply rate and prime number sequence, and adjusts the basic message sending volume threshold based on the threshold adjustment information to determine the message sending volume threshold. Therefore, this disclosure differs from traditional keyword filtering and fixed message sending volume thresholds. By analyzing the message reply rate of the target number and combining it with the irregularity of the prime number sequence, the message sending volume threshold of different numbers in different time periods is dynamically adjusted through a weighted average of the message reply rate and the prime number sequence. This ensures the flexibility and accuracy of the message sending volume threshold, reduces the opportunity for malicious users to circumvent spam messages, and lays the foundation for improving the accuracy and efficiency of identifying spam messages in the future.

[0060] As one possible implementation, such as Figure 3As shown, based on the above embodiments, the specific process of determining the message sending volume threshold of the target number in the current time period according to at least one of the message response rates in the prime number series includes the following steps:

[0061] S301, group the numbers to obtain different number groups.

[0062] Optionally, numbers can be grouped based on multi-dimensional information such as attribute information, behavioral information, and business information to obtain different number groups.

[0063] S302, determine the initial message sending threshold for each number group in the current time period based on the prime values ​​in the prime number sequence, wherein each time period includes at least one time period.

[0064] Optionally, the prime values ​​in the prime number sequence can be directly used as the initial message sending threshold for the number group in the current time period.

[0065] Optionally, an adjustment coefficient can be obtained, and the product of the adjustment coefficient and the prime values ​​in the prime number sequence can be used as the initial message sending threshold for the number group in the current time period.

[0066] S303, obtain the target number group to which the target number is located, and determine the initial message sending threshold corresponding to the target number group, which is the message sending threshold of the target number in the current time period.

[0067] In this embodiment of the disclosure, a query can be performed based on the target number to obtain the target number group to which the target number belongs, and the initial message sending volume threshold corresponding to the target number group can be used as the message sending volume threshold of the target number in the current time period.

[0068] In this embodiment of the disclosure, in response to the end of the current time period, the initial message sending threshold for the next time period is determined based on the initial message sending threshold of the current time period.

[0069] In this embodiment of the disclosure, in response to the total number of messages being less than the message sending threshold for N consecutive time periods, a message sending adjustment threshold is obtained, and the difference between the initial message sending threshold and the message sending adjustment threshold is used as the initial message sending threshold for the next time period.

[0070] Optionally, if the initial message sending threshold for the current time period is M0, select the first prime value P smaller than M0 / 2 from the prime number sequence. (m) The message sending volume adjustment threshold is P. (m) Then the initial message sending threshold M for the next time period ′ 0 = M0 - P (m) , of which M ′0 is greater than or equal to the preset minimum message sending amount.

[0071] In this embodiment of the disclosure, in response to the fact that the total number of messages in at least one time period is greater than the message sending threshold, the initial message sending threshold is adjusted in conjunction with the review result of the target message to determine the initial message sending threshold for the next time period.

[0072] Optionally, in response to the number of times the total number of messages exceeds the message sending threshold within the current time period reaches a preset number, and the review result of the target message is normal, a second message sending volume adjustment threshold is obtained, and the sum between the initial message sending volume threshold and the second message sending volume adjustment threshold is used as the initial message sending volume threshold for the next period.

[0073] For example, the message sending volume threshold for each time period can be obtained, the message sending volume threshold for each time period can be averaged to obtain the average message sending volume threshold, and the average message sending volume threshold can be used as the second message sending volume adjustment threshold.

[0074] Optionally, in response to the situation where the total number of messages exceeds the message sending threshold for at least one time period, and the audit result of the target message is abnormal, the minimum message sending value is used as the initial message sending threshold for the next period.

[0075] Optionally, in response to the fact that the number of times the total number of messages exceeds the message sending threshold within the current time period has not reached the preset number, and the review result of the target message is normal, the initial message sending threshold is maintained, and the initial message sending threshold is used as the initial message sending threshold for the next period.

[0076] In summary, the message review method provided in this disclosure group numbers to obtain different number groups. Based on the prime values ​​in the prime number sequence, it determines the initial message sending threshold for each number group in the current time period. It then obtains the target number group to which the target number belongs and determines the initial message sending threshold corresponding to the target number group, which is the message sending threshold for the target number in the current time period. In response to the end of the current time period, it determines the initial message sending threshold for the next time period based on the initial message sending threshold of the current time period. Thus, this disclosure updates the initial message sending threshold for each time period by using at least one of the relationship between the total number of messages and the message sending threshold, and the review result of the target message. This optimizes the initial message sending threshold, adapts to changes in the sending and receiving behavior of the target number, ensures the continuity and accuracy of the message review process, and improves the efficiency and accuracy of message review.

[0077] As one possible implementation, such as Figure 4As shown, based on the above embodiments, the specific process of reviewing sent messages of a target number in the current time period based on a message sending volume threshold includes the following steps:

[0078] S401, Get the total number of messages sent.

[0079] In this embodiment of the disclosure, the total number of sent messages can be obtained by counting the sent messages.

[0080] S402, in response to the total number of messages exceeding the message sending threshold, select the target message to be reviewed from the sent messages.

[0081] It should be noted that, in response to the total number of messages exceeding the message sending threshold, in order to increase the flexibility and unpredictability of the message review process and avoid excessively frequent reviews, target messages to be reviewed can be selected from the sent messages.

[0082] In this embodiment of the disclosure, a first target message to be reviewed can be determined from the sent messages based on the message reply rate and the prime number sequence, first sent information located after the first target message can be obtained, the selection interval of the first sent information can be determined, and a second target message to be reviewed can be selected from the first sent information according to the selection interval, wherein the target message includes the first target message and the second target message.

[0083] Optionally, a target prime value can be determined from a sequence of prime numbers based on the total number of messages and the message sending threshold, and the first target message to be reviewed can be determined from the sent messages based on the target prime value.

[0084] For example, the target primality value can be determined using the following formula. Where Ms is the total number of messages, M(n) is the message sending threshold, a is the adjustment parameter, and Rr is the message response rate. This is for rounding up.

[0085] In this embodiment of the disclosure, after obtaining the target element value, the first target message to be reviewed can be determined from the sent messages based on the target element value.

[0086] For example, if the target element value is P (4) That is, the 4th prime value in the prime number sequence. According to the prime number sequence, the target prime value P is... (4) If the target prime value is 7, then the first message to be reviewed will be selected as the sequence number of the message to be reviewed. If the target prime value is 7, then the 7th message will be selected as the first target message to be reviewed from the sent messages.

[0087] In the embodiments of the present disclosure, in response to the message reply rate being greater than or equal to the message reference reply rate, the next prime value of the target prime value is determined according to the prime number sequence, and the next prime value of the target prime value is used as the selection interval of the first sent information.

[0088] For example, if the target prime value is P (4) =7, in response to Rr≥R0, according to the prime number sequence, it is determined that the next prime value of the target prime value is P (5) =11, and the selection interval of the first sent information is determined as every 11 pieces.

[0089] In the embodiments of the present disclosure, in response to the message reply rate being less than the message reference reply rate, the sequence number value of the first target message in the sent messages is acquired, and the sequence number value is used as the selection interval of the first sent information.

[0090] For example, if the target prime value is P (4) =7, in response to Rr<R0, the sequence number value of the first target message in the sent messages is 7, and the selection interval of the first sent information is every 7 pieces.

[0091] In the embodiments of the present disclosure, after the selection interval is acquired, the second target message to be audited may be selected from the first sent information according to the selection interval, and the first target message and the second target message are aggregated to obtain the target message to be audited.

[0092] S403: The target message is audited to obtain an audit result of the target message.

[0093] In summary, in the message auditing method provided by the embodiments of the present disclosure, the total number of sent messages is acquired, in response to the total number of messages being greater than the message sending amount threshold, the target message to be audited is selected from the sent messages, and the target message is audited to obtain the audit result of the target message. Therefore, after determining that the total number of messages is greater than the message sending amount threshold, the present disclosure determines the target message to be audited through the message reply rate and the prime number sequence, and flexibly adjusts the selection interval in combination with the message reply rate, which is adaptive to the message sending modes of different numbers, improves the use efficiency of auditing resources, reduces the misjudgment rate and missed judgment rate of message auditing, and improves the auditing accuracy in high-risk scenarios.

[0094] Figure 5 is a block diagram illustrating a message auditing apparatus according to an exemplary embodiment. As shown Figure 5 in the figure, the message auditing apparatus 500 according to the embodiment of the present disclosure may specifically include: a first acquisition module 501, a second acquisition module 502, a determination module 503, and an auditing module 504.

[0095] The first acquisition module 501 is configured to acquire a preset prime number sequence;

[0096] The second acquisition module 502 is used to acquire the message reply rate of the target number in the current time period;

[0097] The determining module 503 is used to determine the message sending volume threshold of the target number in the current time period based on at least one of the prime number sequence and the message reply rate;

[0098] The review module 504 is used to review the messages sent by the target number in the current time period based on the message sending volume threshold.

[0099] In one embodiment of this disclosure, the determining module 503 is further configured to: obtain the basic message sending volume threshold of the target number in the current time period; determine threshold adjustment information based on the message reply rate and the prime number sequence; and adjust the basic message sending volume threshold based on the threshold adjustment information to determine the message sending volume threshold.

[0100] In one embodiment of this disclosure, the determining module 503 is further configured to: obtain a preset message baseline response rate, and determine a weighting factor based on the message response rate and the message baseline response rate; determine a second prime value from the prime number sequence based on the weighting factor and a first prime value corresponding to the previous time period; and determine the threshold adjustment information based on the weighting factor and the second prime value.

[0101] In one embodiment of this disclosure, the determining module 503 is further configured to: group the numbers to obtain different number groups; determine the initial message sending threshold of each number group in the current time period based on the prime values ​​in the prime number sequence, wherein each time period includes at least one time period; obtain the target number group to which the target number is located, and determine the initial message sending threshold corresponding to the target number group as the message sending threshold of the target number in the current time period.

[0102] In one embodiment of this disclosure, the review module 504 is further configured to: obtain the total number of messages sent; in response to the total number of messages being greater than the message sending threshold, select a target message to be reviewed from the sent messages; review the target message to obtain the review result of the target message.

[0103] In one embodiment of this disclosure, the review module 504 is further configured to: determine a first target message to be reviewed from the sent messages based on the message reply rate and the prime number sequence; obtain first sent information located after the first target message; determine the selection interval of the first sent information, and select a second target message to be reviewed from the first sent information according to the selection interval, wherein the target message includes the first target message and the second target message.

[0104] In one embodiment of this disclosure, the review module 504 is further configured to: determine a target prime value from the prime number sequence based on the total number of messages and the message sending threshold; and determine a first target message to be reviewed from the sent messages based on the target prime value.

[0105] In one embodiment of this disclosure, the review module 504 is further configured to: in response to the message response rate being greater than or equal to the message baseline response rate, determine the next prime value of the target prime value based on the prime number sequence, and use the next prime value of the target prime value as the selection interval of the first sent information; or, in response to the message response rate being less than the message baseline response rate, obtain the sequence number value of the first target message in the sent messages, and use the sequence number value as the selection interval of the first sent information.

[0106] In one embodiment of this disclosure, the apparatus 500 is further configured to: in response to the end of the current time period, determine an initial message sending threshold for the next time period based on the initial message sending threshold of the current time period.

[0107] In one embodiment of this disclosure, the apparatus 500 is further configured to: in response to the total number of messages in N consecutive time periods being less than the message sending threshold, obtain a message sending adjustment threshold, and use the difference between the initial message sending threshold and the message sending adjustment threshold as the initial message sending threshold for the next time period.

[0108] In one embodiment of this disclosure, the apparatus 500 is further configured to: in response to the existence of a total message volume exceeding the message sending volume threshold for at least one time period, adjust the initial message sending volume threshold based on the review result of the target message, and determine the initial message sending volume threshold for the next time period.

[0109] In the embodiments disclosed herein, the specific manner in which each module in the message review device of the above embodiments performs its operations has been described in detail in the embodiments relating to the message review method, and will not be repeated here.

[0110] In summary, the message review device provided in the embodiments of this disclosure obtains a preset prime number sequence and the message reply rate of the target number in the current time period. Based on at least one of the prime number sequence and the message reply rate, it determines the message sending volume threshold of the target number in the current time period. Based on the message sending volume threshold, it reviews the messages sent by the target number in the current time period. Thus, this disclosure can dynamically adjust the message sending volume threshold of the target number and review the messages sent by the target number in the current time period based on the message sending volume threshold of the target number in the current time period, improving the flexibility and accuracy of the message review process, thereby improving the accuracy and efficiency of identifying spam messages.

[0111] Figure 6 This is a block diagram illustrating an electronic device 600 according to an exemplary embodiment.

[0112] like Figure 6 As shown, the above-mentioned electronic device 600 includes:

[0113] The memory 601 and the processor 602 are connected by a bus 603, which connects the different components (including the memory 601 and the processor 602). The memory 601 stores a computer program, and when the processor 602 executes the program, it implements the message review method of the present disclosure embodiment.

[0114] Bus 603 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0115] Electronic device 600 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by electronic device 600, including volatile and non-volatile media, removable and non-removable media.

[0116] Memory 601 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 604 and / or cache memory 605. Electronic device 600 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 606 can be used to read and write non-removable, non-volatile magnetic media (… Figure 6 Not shown; usually referred to as a "hard drive"). Although Figure 6Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 603 via one or more data media interfaces. Memory 601 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of this disclosure.

[0117] A program / utility 608 having a set (at least one) of program modules 607 may be stored, for example, in memory 601. Such program modules 607 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 607 typically perform the functions and / or methods described in the embodiments of this disclosure.

[0118] Electronic device 600 can also communicate with one or more external devices 609 (e.g., keyboard, pointing device, display 611, etc.), and with one or more devices that enable a user to interact with the electronic device 600, and / or with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 612. Furthermore, electronic device 600 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 613. Figure 6 As shown, network adapter 613 communicates with other modules of electronic device 600 via bus 603. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0119] The processor 602 executes various functional applications and data processing by running programs stored in the memory 601.

[0120] It should be noted that the implementation process and technical principles of the electronic device in this embodiment are explained in the foregoing description of the message review method of this disclosure embodiment, and will not be repeated here.

[0121] The electronic device provided in this disclosure obtains a preset prime number sequence and the message reply rate of the target number in the current time period. Based on at least one of the prime number sequence and the message reply rate, it determines a message sending volume threshold for the target number in the current time period. Based on the message sending volume threshold, it reviews the messages sent by the target number in the current time period. Thus, this disclosure can dynamically adjust the message sending volume threshold of the target number and review the messages sent by the target number in the current time period based on the message sending volume threshold, improving the flexibility and accuracy of the message review process, thereby improving the accuracy and efficiency of identifying spam messages.

[0122] To implement the above embodiments, this disclosure also proposes a computer-readable storage medium.

[0123] When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the message verification method as described above. Optionally, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device, etc.

[0124] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0125] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A message review method, characterized in that, The method includes: Get the preset sequence of prime numbers; Get the message response rate of the target number in the current time period; Obtain the basic message sending volume threshold for the target number in the current time period; Obtain a preset message baseline response rate, and determine a weighting factor based on the message response rate and the message baseline response rate; Based on the weighting factor and the first prime value corresponding to the previous time period, determine the second prime value from the prime number sequence; Based on the weighting factor and the second prime value, the threshold adjustment information is determined; Based on the threshold adjustment information, the basic message sending volume threshold is adjusted to determine the message sending volume threshold of the target number in the current time period; Based on the message sending volume threshold, the messages sent by the target number in the current time period are reviewed; The step of determining the threshold adjustment information based on the weighting factor and the second prime value includes: Obtain the parameters used to control the adjustment rate, obtain the product between the parameters, the weighting factor, and the second prime value, and use the product as the threshold adjustment information.

2. The method according to claim 1, characterized in that, The process of determining the message sending volume threshold also includes: Group the numbers to obtain different number groups; Based on the prime values ​​in the prime number sequence, determine the initial message sending threshold for each number group in the current time period, wherein each time period includes at least one time period; Obtain the target number group to which the target number belongs, and determine the initial message sending volume threshold corresponding to the target number group, which is the message sending volume threshold of the target number in the current time period.

3. The method according to any one of claims 1-2, characterized in that, The step of reviewing the messages sent by the target number in the current time period based on the message sending volume threshold includes: Get the total number of messages that have been sent; In response to the total number of messages exceeding the message sending threshold, a target message to be reviewed is selected from the sent messages; The target message is reviewed to obtain the review result.

4. The method according to claim 3, characterized in that, The step of selecting target messages for review from the sent messages in response to the total number of messages exceeding the message sending threshold includes: Based on the message response rate and the prime number sequence, determine the first target message to be reviewed from the sent messages; Obtain the first sent information located after the first target message; Determine the selection interval for the first sent information, and select a second target message to be reviewed from the first sent information according to the selection interval, wherein the target message includes the first target message and the second target message.

5. The method according to claim 4, characterized in that, The step of determining the first target message to be reviewed from the sent messages based on the message response rate and the prime number sequence includes: Based on the total number of messages and the message sending threshold, determine the target prime value from the prime number sequence; Based on the target element value, the first target message to be reviewed is determined from the sent messages.

6. The method according to claim 5, characterized in that, Determining the selection interval for the first sent information includes: In response to the message response rate being greater than or equal to the message baseline response rate, based on the prime number sequence, the next prime value of the target prime value is determined, and this next prime value is used as the selection interval for the first sent information; or... In response to the message response rate being less than the message baseline response rate, the sequence number of the first target message in the sent messages is obtained, and the sequence number is used as the selection interval for the first sent information.

7. The method according to claim 2, characterized in that, The method further includes: In response to the end of the current time period, the initial message sending threshold for the next time period is determined based on the initial message sending threshold of the current time period.

8. The method according to claim 7, characterized in that, The step of determining the initial message sending threshold for the next time period based on the initial message sending threshold of the current time period further includes: In response to the total number of messages being less than the message sending threshold for N consecutive time periods, a message sending adjustment threshold is obtained, and the difference between the initial message sending threshold and the message sending adjustment threshold is used as the initial message sending threshold for the next time period.

9. The method according to claim 7, characterized in that, The step of determining the initial message sending threshold for the next time period based on the initial message sending threshold of the current time period includes: In response to the fact that the total number of messages in at least one time period exceeds the message sending threshold, the initial message sending threshold is adjusted based on the review results of the target messages to determine the initial message sending threshold for the next time period.

10. A message review device, characterized in that, The device includes: The first acquisition module is used to acquire a preset sequence of prime numbers; The second acquisition module is used to acquire the message reply rate of the target number in the current time period; The determination module is used to obtain the basic message sending volume threshold of the target number in the current time period; obtain a preset message baseline response rate, and determine a weighting factor based on the message response rate and the message baseline response rate; determine a second prime value from the prime number sequence based on the weighting factor and the first prime value corresponding to the previous time period; determine threshold adjustment information based on the weighting factor and the second prime value; and adjust the basic message sending volume threshold based on the threshold adjustment information to determine the message sending volume threshold of the target number in the current time period. The review module is used to review the messages sent by the target number in the current time period based on the message sending volume threshold. The determining module is further configured to obtain parameters for controlling the adjustment rate, obtain the product between the parameters and the weighting factor and the second prime value, and use the product as threshold adjustment information.

11. An electronic device, characterized in that, include: processor; Memory for storing the executable instructions of the processor; The processor is configured to execute the instructions to implement the message auditing method as described in any one of claims 1-9.

12. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the message auditing method as described in any one of claims 1-9.

Citation Information

Patent Citations

  • Api fusing method based on hierarchical dynamic feedback and multi-factor decision

    CN117827157A

  • Personal monitoring system

    US20160287166A1