Message processing method and device, electronic equipment, storage medium and program product
Immediate messages are identified and filtered through preset identification models and filtered chains, and only filtered messages are sent, solving the problem of useless message bombing caused by the huge number of instant messages, improving the value of messages and user processing efficiency.
Patent Information
- Application Number
- CN202411311955.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-12-13
AI Technical Summary
The huge number of instant messages makes it difficult for users to find valuable information in the ocean of messages, causing interference and useless message bombing.
Immediate messages are identified and filtered through preset identification models and filtered chains, and only filtered messages are sent to the target receiver, and messages that need to be filtered are filtered using sequential filtering rules and classification models.
It greatly reduces the number of instant messages received by the receiver, increases the value of messages, enables users to better handle instant messages of attention, and solves the problem of useless message bombing.
Smart Images

Figure CN119135649A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to message processing technology, and in particular to a message processing method, device, electronic device, storage medium and program product. Background Art
[0002] Modern messaging has changed the way we communicate, and the Internet has revolutionized the way we interact with each other. Innovations in Internet technology have had a profound impact on the way humans communicate in the twenty-first century. Instant Messaging (IM) is an effective form of communication that requires a stable Internet connection. It is basically an online chat where users can keep a list of people they interact with and send real-time text transmissions over the Internet. In simple terms, it is the exchange of text messages in real time through a software application.
[0003] Instant messaging services are more interactive than other forms of communication. However, due to the huge number of instant messages, users will receive a large number of instant message reminders every day. The messages that are truly valuable to users will be drowned in the ocean of messages, causing interference to users and also causing them to be bombarded with useless messages. Summary of the invention
[0004] In order to solve the above technical problems, the present disclosure is proposed. Embodiments of the present disclosure provide a message processing method, device, electronic device, storage medium and program product.
[0005] According to one aspect of an embodiment of the present disclosure, a message processing method is provided, including:
[0006] Receiving instant messages sent by a message sending end to a target receiving end;
[0007] Identify the instant message using a preset identification model to determine whether the instant message is intercepted;
[0008] In response to the instant message being determined not to be intercepted, filtering the instant message through a preset filter chain corresponding to the target receiving end to determine whether the instant message passes the filtering of the preset filter chain; the preset filter chain includes at least one filter rule with an order;
[0009] In response to the instant message passing through the filtering of the preset filtering chain, the instant message is sent to the target receiving end.
[0010] Optionally, filtering the instant message through a preset filter chain corresponding to the target receiving end to determine whether the instant message passes the filtering of the preset filter chain includes:
[0011] According to the order of the at least one filtering rule in the preset filtering chain, the instant message is matched in sequence to determine whether the instant message matches the filtering rule;
[0012] In response to the instant message matching at least one filtering rule in the preset filtering chain, determining that the instant message fails filtering;
[0013] In response to the instant message not matching any of the filtering rules in the preset filtering chain, it is determined that the instant message passes filtering.
[0014] Optionally, the filtering of the instant message by a preset filter chain corresponding to the target receiving end and determining whether the instant message passes the filtering of the preset filter chain further includes:
[0015] Filtering from a filtering rule library to obtain at least one filtering rule corresponding to the target receiving end;
[0016] The at least one filtering rule is sorted to obtain a preset filtering chain including at least one filtering rule having an order.
[0017] Optionally, the filtering from the filtering rule library to obtain at least one filtering rule corresponding to the target receiving end includes:
[0018] Determine the classification result of each of the plurality of filtering rules in the filtering rule library by using a preset classification model; the classification result includes whether filtering is required or not required;
[0019] At least one filtering rule corresponding to the target receiving end is determined according to the classification result.
[0020] Optionally, the filtering from the filtering rule library to obtain at least one filtering rule corresponding to the target receiving end includes:
[0021] Determine, according to the received input information, a judgment result of whether each of the plurality of filtering rules in the filtering rule library needs to be filtered; the judgment result includes whether filtering is needed or not;
[0022] At least one filtering rule corresponding to the target receiving end is determined according to the discrimination result.
[0023] Optionally, the filtering from the filtering rule library to obtain at least one filtering rule corresponding to the target receiving end includes:
[0024] Determine, according to the preset rule configuration, whether each of the plurality of filtering rules in the filtering rule library needs to be filtered; the configuration result includes whether filtering is needed or not;
[0025] At least one filtering rule corresponding to the target receiving end is determined according to the configuration result.
[0026] Optionally, the step of sorting the at least one filtering rule to obtain a preset filtering chain including at least one filtering rule having an order includes:
[0027] Determine the priority corresponding to the filtering rule according to the screening method for determining the filtering rule; wherein different screening methods correspond to different priorities;
[0028] The at least one filtering rule is sorted according to the priority to obtain the preset filtering chain.
[0029] Optionally, it also includes:
[0030] In response to reaching a preset period, performing statistical analysis on the multiple instant messages based on the operation-related information of the multiple instant messages within the preset period;
[0031] The screening method for determining the filtering rules is updated according to the statistical analysis results.
[0032] Optionally, it also includes:
[0033] The instant messages that fail to pass the filtering are stored in a database.
[0034] According to another aspect of an embodiment of the present disclosure, a message processing device is provided, including:
[0035] A message receiving module, used for receiving an instant message sent by a message sending end to a target receiving end;
[0036] A model recognition module, used to recognize the instant message through a preset recognition model to determine whether the instant message is intercepted;
[0037] A filter chain identification module, configured to filter the instant message through a preset filter chain corresponding to the target receiving end in response to the instant message being determined not to be intercepted, and determine whether the instant message passes the filtering of the preset filter chain; the preset filter chain includes at least one filter rule with an order;
[0038] The message sending module is used to send the instant message to the target receiving end in response to the instant message passing through the filtering of the preset filtering chain.
[0039] Optionally, the filtering chain identification module is specifically used to match the instant message in sequence according to the order of the at least one filtering rule in the preset filtering chain to determine whether the instant message matches the filtering rules; in response to the instant message matching at least one filtering rule in the preset filtering chain, determine that the instant message has not passed the filtering; in response to the instant message not matching all the filtering rules in the preset filtering chain, determine that the instant message has passed the filtering.
[0040] Optionally, the device further comprises:
[0041] A rule screening module, used for screening from a filtering rule library to obtain at least one filtering rule corresponding to the target receiving end;
[0042] The filter chain determination module is used to sort the at least one filter rule to obtain a preset filter chain including at least one filter rule having an order.
[0043] Optionally, the rule screening module is specifically used to determine the classification result of each of the multiple filtering rules in the filtering rule library through a preset classification model; the classification result includes whether filtering is required or not; and based on the classification result, determine at least one filtering rule corresponding to the target receiving end.
[0044] Optionally, the rule screening module is specifically used to determine, based on the received input information, a judgment result of whether each of the multiple filtering rules in the filtering rule library needs to be filtered; the judgment result includes whether filtering is needed or not; and based on the judgment result, determine at least one filtering rule corresponding to the target receiving end.
[0045] Optionally, the rule screening module is specifically used to determine the configuration result of whether each of the multiple filtering rules in the filtering rule library needs to be filtered according to the preset rule configuration; the configuration result includes whether filtering is required or not; and based on the configuration result, determine at least one filtering rule corresponding to the target receiving end.
[0046] Optionally, the filter chain determination module is specifically used to determine the priority corresponding to the filter rule according to the screening method for determining the filter rule; wherein different screening methods correspond to different priorities; and sort the at least one filter rule according to the priority to obtain the preset filter chain.
[0047] Optionally, the device further comprises:
[0048] The big data processing module is used to perform statistical analysis on the multiple instant messages based on the operation-related information of the multiple instant messages within the preset period in response to reaching the preset period; and update the screening method for determining the filtering rules according to the statistical analysis results.
[0049] Optionally, the device further comprises:
[0050] The message storage module is used to store the instant messages that fail to pass the filtering into a database.
[0051] According to another aspect of the embodiments of the present disclosure, there is provided an electronic device, including:
[0052] A memory for storing a computer program product;
[0053] The processor is used to execute the computer program product stored in the memory, and when the computer program product is executed, the message processing method described in any one of the above embodiments is implemented.
[0054] According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the message processing method described in any of the above embodiments is implemented.
[0055] According to another aspect of an embodiment of the present disclosure, a computer program product is provided, including computer program instructions, which implement the message processing method described in any of the above embodiments when executed by a processor.
[0056] Based on the message processing method, device, electronic device, storage medium and program product provided by the above-mentioned embodiments of the present disclosure, the method includes: receiving an instant message sent by a message sending end to a target receiving end; filtering the instant message through a preset filter chain corresponding to the target receiving end to determine whether the instant message passes the filtering of the preset filter chain; in response to the instant message passing the filtering of the preset filter chain, determining that the instant message is a target instant message; and sending the target instant message to the target receiving end. The embodiments of the present disclosure filter instant messages through a preset filter chain including at least one filtering rule, and only instant messages filtered by the preset filter chain can be sent to the target receiving end, which solves the problem of useless message bombardment, greatly reduces the number of instant messages received by the target receiving end, and improves the value of instant messages, so that users can better handle the instant messages they are concerned about.
[0057] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0059] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
[0060] Figure 1 is a flowchart of a message processing method provided by an exemplary embodiment of the present disclosure;
[0061] Figure 2 This is a schematic diagram of big data statistics in an example of a message processing method provided by an exemplary embodiment of the present disclosure;
[0062] Figure 3 is a structural diagram of a message processing device provided by an exemplary embodiment of the present disclosure;
[0063] Figure 4 A block diagram of an electronic device according to an embodiment of the present disclosure is illustrated. DETAILED DESCRIPTION
[0064] Below, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described here.
[0065] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
[0066] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.
[0067] It should also be understood that in the embodiments of the present disclosure, “plurality” may refer to two or more than two, and “at least one” may refer to one, two, or more than two.
[0068] It should also be understood that any component, data or structure mentioned in the embodiments of the present disclosure can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.
[0069] In addition, the term "and / or" in this disclosure is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this disclosure generally indicates that the previous and next associated objects are in an "or" relationship. The data referred to in this disclosure may include unstructured data such as text, images, and videos, and may also be structured data.
[0070] It should also be understood that the description of the various embodiments in the present disclosure focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.
[0071] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0072] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0073] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0074] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0075] The disclosed embodiments can be applied to electronic devices such as terminal devices, computer systems, servers, etc., which can operate with many other general or special computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, servers, etc. include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.
[0076] Electronic devices such as terminal devices, computer systems, servers, etc. can be described in the general context of computer system executable instructions (such as program modules) executed by computer systems. Generally, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media including storage devices.
[0077] Exemplary Methods
[0078] Figure 1 is a flow chart of a message processing method provided by an exemplary embodiment of the present disclosure. This embodiment can be applied to electronic devices such as clients and servers, such as Figure 1 As shown, the following steps are included:
[0079] Step 102: Receive an instant message sent by a message sending end to a target receiving end.
[0080] Optionally, the message sending end corresponding to the instant message can be a device end such as other clients or servers that can implement message sending. The device end can include any system, for example, a verification system, a contract system, a spare parts system, an attention system, etc., which generates different instant messages based on different built-in systems; the target receiving end can be any device end that can receive instant messages, for example, mobile phones, tablets, computers and other clients.
[0081] In this embodiment, the types of instant messages may include, but are not limited to: text messages, rich text messages, system prompt messages, static card messages, dynamic card messages, etc. By receiving different types of instant messages, the message types of the system are enriched.
[0082] Step 104: Identify the instant message using a preset identification model to determine whether the instant message is intercepted.
[0083] In this embodiment, the preset recognition model can be a deep neural network of any structure, which can realize the recognition of instant messages, and the preset recognition model is trained based on sample messages that are known to be intercepted to realize the interception of instant messages; for example, the preset recognition model can be used to recognize instant messages in multiple dimensions such as sensitive information (for example, including identity cards, telephone numbers, etc.), message types (for example, message types that are not oriented to specific users, etc.), and message sending scenarios (for example, business scenarios that are not oriented to specific users, etc.), and directly output the result of whether it is intercepted; optionally, the preset recognition model can also be a scoring model, which scores the instant message and determines whether the instant message is intercepted based on the obtained scoring value. In response to the preset recognition model determining that the instant message is intercepted, the instant message is not sent to the target receiving end.
[0084] Step 106, in response to the instant message being determined not to be intercepted, the instant message is filtered through a preset filter chain corresponding to the target receiving end to determine whether the instant message passes the filtering of the preset filter chain.
[0085] In one embodiment, the preset filter chain includes at least one filter rule with a sequence, and the specific filter rule included can be determined according to a preset setting, for example, according to the user input information setting, to achieve personalized message filtering. Optionally, the process of filtering instant messages using the preset filter chain can include matching the instant messages with the filter rules in the preset filter chain in sequence, and matching the next filter rule only after filtering by the previous filter rule.
[0086] Step 108: In response to the instant message passing through the filtering of the preset filtering chain, the target instant message is sent to the target receiving end.
[0087] Optionally, this embodiment determines that the instant message has passed the filtering only when the instant message does not comply with all the filtering rules in the preset filtering chain; wherein, as long as the instant message matches any filtering rule, it can be determined that the instant message has not passed the filtering; for example, the filtering rules in the preset filtering chain include the Do Not Disturb At Night rule. At this time, if the sending time of instant message A is at night, it can be determined that the instant message A matches the Do Not Disturb At Night rule, and it is determined that instant message A has not passed the filtering.
[0088] In this embodiment, only instant messages filtered by a preset filter chain are sent to the target receiving end, which greatly reduces the number of instant messages received by the target receiving end. In addition, instant messages that the user is not interested in are filtered and processed, so that the user can concentrate on processing the instant messages he is interested in, rather than wasting a lot of manpower and material resources processing unimportant instant messages.
[0089] The message processing method provided by the above-mentioned embodiment of the present disclosure includes: receiving an instant message sent by a message sending end to a target receiving end; filtering the instant message through a preset filter chain corresponding to the target receiving end to determine whether the instant message passes the filtering of the preset filter chain; in response to the instant message passing the filtering of the preset filter chain, determining that the instant message is a target instant message; and sending the target instant message to the target receiving end. The embodiment of the present disclosure filters instant messages through a preset filter chain including at least one filtering rule. Only instant messages filtered by the preset filter chain can be sent to the target receiving end, which solves the problem of useless message bombardment, greatly reduces the number of instant messages received by the target receiving end, improves the value of instant messages, and enables users to better handle the instant messages of concern.
[0090] Filter useless messages and push more valuable messages to brokers to maximize the value of messages. Support brokers to set personalized interception strategies, and combine with AI intelligent filtering system to realize intelligent message filtering. Personalized interception strategies can be configured by receiving input information input by brokers. For example, according to the received input information, at least one filtering rule to be filtered is determined from multiple filtering rules in the filtering rule library. Different users have different input information, so personalized interception strategies can be realized.
[0091] In some optional embodiments, step 104 may include:
[0092] Matching the instant message in sequence according to the order of at least one filtering rule in the preset filtering chain to determine whether the instant message matches the filtering rule;
[0093] In response to the instant message matching at least one filtering rule in a preset filtering chain, determining that the instant message fails filtering;
[0094] In response to the instant message not matching any filtering rules in the preset filtering chain, it is determined that the instant message passes filtering.
[0095] In this embodiment, the filtering process may include: taking filtering rules from a preset filtering chain as current filtering rules in order;
[0096] Matching the instant message with the current filtering rule to determine whether the instant message matches the current filtering rule;
[0097] In response to the instant message matching the current filtering rule, determining that the instant message fails filtering;
[0098] In response to the instant message not matching the current filtering rule, determining whether there is a next filtering rule in the preset filtering chain;
[0099] In response to the presence of a next filter rule in the preset filter chain, determining that the next filter rule is the current filter rule, and returning at least the above match;
[0100] In response to the absence of a next filtering rule in the preset filtering chain, it is determined that the instant message passes the filtering.
[0101] This embodiment achieves sequential filtering by sorting at least one filtering rule, thereby avoiding problems such as errors caused by processing multiple filtering rules at the same time. In addition, by sequentially implementing priority filtering, important filtering rules are executed first, thereby improving filtering efficiency. For example, the filtering rules include do not disturb at night, and the filtering rule is set at the first position in the preset filtering chain. At this time, after judging the time information of receiving the instant message, if it belongs to the night time period (the specific time period can be preset according to the scene), it is directly determined that the instant message has not passed the filtering.
[0102] In some optional embodiments, before filtering the instant message based on the preset filter chain, this embodiment may further include:
[0103] Filter from the filtering rule library to obtain at least one filtering rule corresponding to the target receiving end.
[0104] Optionally, the filtering rule library includes multiple filtering rules, which can be based on big data accumulation, and multiple filtering rules can be determined according to the operation information of the data terminal of the same type as the target receiving terminal on the instant message. For example, multiple instant messages with the lowest cumulative click volume and / or exposure within 3 months can be statistically analyzed to determine at least one corresponding filtering rule. In addition, different priorities can be set for the filtering rules in the filtering rule library. For example, the filtering rule library is in the form of a metadata table, and the metadata table divides the rules into primary rule metadata and secondary rule metadata. The priority of the primary rule is higher than that of the secondary rule, so that the priority of the set rule can be guaranteed.
[0105] At least one filtering rule is sorted to obtain a preset filtering chain including at least one filtering rule having an order.
[0106] In this embodiment, in addition to the priority set in the filtering rule library, the filtering rules set by the user can also be set to a higher priority. For example, interactive reception is provided for the user, the filtering rules included in the filtering rule library are received by the user, and the filtering rules set by the user are set to a high priority. Other filtering rules continue to be sorted according to the priority in the filtering rule library. After sorting according to the priority, the preset filtering chain corresponding to the target receiving end can be obtained. This embodiment realizes intelligent and personalized message interception through screening, so that message interception can be realized in a variety of ways.
[0107] Optionally, when receiving instant messages, you can dynamically generate corresponding rule filtering links based on the filtering rules of the set information and the system default rules, and then filter the messages layer by layer according to the rules. High-priority rules are executed first. For example, in the real estate agent scenario, the configurable filtering rules include: do not disturb at night rules, price adjustment dynamic rules, key dynamic rules, on-site inspection dynamic rules, and dynamic showing rules.
[0108] In some optional embodiments, filtering from a filtering rule library to obtain at least one filtering rule corresponding to the target receiving end includes:
[0109] The classification result of each filtering rule in the plurality of filtering rules in the filtering rule library is determined by a preset classification model; wherein the classification result includes whether filtering is required or not required.
[0110] At least one filtering rule corresponding to the target receiving end is determined according to the classification result.
[0111] For example, the classification result is that at least one filtering rule that needs to be filtered is determined as at least one filtering rule corresponding to the target receiving end.
[0112] In this embodiment, the preset classification model can be any network model that can realize classification, and optionally, a classification model in machine learning, etc. For example, the classification model can be a decision tree, a support vector machine, a naive Bayes, a logistic regression, etc. The preset classification model is trained by using sample information of known classification results, so that the preset classification model can classify multiple filtering rules and determine whether the classification result needs to be filtered or not; for example, in an optional example, after screening by the preset classification model, at least one filtering rule obtained may include: sensitive information filtering, message category filtering, and message scenario filtering; usually, the filtering rules classified based on the preset classification model are filtering rules with higher filtering priority, and therefore, the obtained at least one filtering rule is ranked higher in the preset filtering chain, but the multiple filtering rules determined based on the preset classification model can be ranked arbitrarily.
[0113] In some optional embodiments, filtering from a filtering rule library to obtain at least one filtering rule corresponding to the target receiving end includes:
[0114] A determination result of whether each of the plurality of filtering rules in the filtering rule library needs to be filtered is determined according to the received input information; wherein the determination result includes whether filtering is needed or not.
[0115] At least one filtering rule corresponding to the target receiving end is determined according to the determination result.
[0116] For example, the at least one filtering rule that needs to be filtered as a result of the determination is determined as the at least one filtering rule corresponding to the target receiving end.
[0117] In this embodiment, an input interface is provided for the user, which can receive the user's personalized input information, set filtering rules according to the input information to achieve personalized interception, and provide personalized interception rules based on the user rules set by the user's personalized interaction according to the different settings of each user, so as to ensure that the system can change according to the person and provide different preset filter chains for different users; in an optional example, the filtering rule library includes: Rule 1, Rule 2, Rule 3, Rule 4, Rule 5, etc.; the input information of user A determines that Rule 1, Rule 2 and Rule 3 need to be filtered; the input information of user B determines that Rule 3, Rule 4 and Rule 5 need to be filtered; at this time, the preset filter chain corresponding to the target receiving end corresponding to user A (for example, a mobile phone, etc.) includes Rule 1, Rule 2 and Rule 3; and the preset filter chain corresponding to the target receiving end corresponding to user B includes Rule 3, Rule 4 and Rule 5, that is, different preset filter chains are provided for different users. For example, the filtering rule library includes: do not disturb at night rules, price adjustment dynamic rules, key dynamic rules, actual inspection dynamic rules, dynamic rules for showing, etc.; user A's input information determines that the do not disturb at night rules and price adjustment dynamic rules need to be filtered; user B's input information determines that the key dynamic rules, do not disturb at night rules and dynamic rules for showing need to be filtered; at this time, the preset filter chain corresponding to the target receiving end (for example, mobile phone, etc.) corresponding to user A includes the do not disturb at night rules and price adjustment dynamic rules; and the preset filter chain corresponding to the target receiving end corresponding to user B includes the key dynamic rules, do not disturb at night rules and dynamic rules for showing. In addition, in order to ensure that the filtering rules set by the user can work when executing instant message filtering, optionally, the filtering rules set by the user are recorded through the rule setting table, and the priority of the filtering rules set by the user is higher than the default filtering rules of the system. If the user does not set the filtering rules, the system rules are displayed. In order to ensure that the user can better set the message interception rules according to their own situation, a specific interactive page can be designed for the user to realize the different settings of the receiving user.
[0118] In some other optional embodiments, screening from the filtering rule library to obtain at least one filtering rule corresponding to the target receiving end may also include:
[0119] A configuration result of whether each of the multiple filtering rules in the filtering rule base needs to be filtered is determined according to the preset rule configuration; the configuration result includes whether filtering is needed or not.
[0120] At least one filtering rule corresponding to the target receiving end is determined according to the configuration result.
[0121] For example, the configuration result is at least one filtering rule that needs to be filtered, which is determined as at least one filtering rule corresponding to the target receiving end.
[0122] This embodiment provides a default filtering rule, which can provide the function of instant message filtering without receiving the user's personalized settings; optionally, the default preset rule configuration can be determined based on historical data, for example, statistics on the processing information (for example, whether to view, whether to process, etc.) of multiple target receiving terminals on received instant messages within a certain period of time (for example, 3 months, 6 months, etc.) can be used to determine the user's interest in different messages. According to big data statistics, it can be determined that the user is not interested in a variety of instant messages, and the instant messages that the user is not interested in can be filtered to increase the user's viewing probability of instant messages. The method provided in this embodiment supports default interception rules and ensures the security of the system. For example, in an optional example, at least one of the following filtering rules needs to be filtered according to the preset rule configuration: time identification, special housing source identification, message volume identification, etc. The user's personalized filtering rules can override the filtering rules determined by the preset rule configuration.
[0123] Optionally, the above-mentioned screening methods for determining filtering rules can be used alone or in combination, that is, the screening methods for filtering rules can include at least one of the following: determining by a preset classification model, determining according to received input information, and determining according to a preset rule configuration. After at least one filtering rule is determined based on at least one screening method, sorting the at least one filtering rule to obtain a preset filtering chain including at least one filtering rule having an order can include:
[0124] Determine the priority corresponding to the filtering rule according to the screening method of determining the filtering rule; wherein different screening methods correspond to different priorities;
[0125] At least one filtering rule is sorted according to priority to obtain a preset filtering chain.
[0126] In this embodiment, different screening methods correspond to different priorities, among which, since the filtering rules determined by the preset classification model are for protection of data security, they have the highest priority; and in order to increase the user's interest, the priority of the filtering rules determined according to the received input information is only lower than the filtering rules determined based on the preset classification model; correspondingly, the filtering rules determined according to the preset rule configuration have the lowest priority, and based on the priorities corresponding to these filtering rules, the multiple filtering rules included in the preset filtering chain can be sorted to achieve filtering and screening in order when receiving instant messages.
[0127] In order to adapt to the filtering requirements after time changes, the embodiment of the present disclosure may further include:
[0128] In response to reaching a preset period, performing statistical analysis on the multiple instant messages based on the operation-related information of the multiple instant messages within the preset period;
[0129] The screening method for determining the filtering rules is updated based on the statistical analysis results.
[0130] Optionally, the multiple instant messages obtained within a preset period can also be used to train a preset recognition model to implement parameter updates for the preset recognition model.
[0131] In this embodiment, the instant message will trigger the broker only after it has been filtered by multiple layers of the system, and the message will also be synchronized to the big data analysis system. By analyzing instant messages with big data, dynamic message classification is provided, and brokers can set personalized interception of messages. Big data analyzes all messages sent within a period of time, classifies messages according to statistical information, and provides brokers with more classification options; the big data analysis system regularly performs multi-dimensional analysis on massive messages, such as: message exposure, message business opportunities, which messages users are interested in, which messages are more likely to promote transactions, etc. Based on big data analysis, the message filtering rules are regularly updated to ensure that the entire message filtering system can change with the changes in the business system, and the filtering system can adapt to business changes to ensure the high adaptability of the system. The indicators after big data analysis will be synchronized to the preset classification model, the received input information and the preset rule configuration; the preset classification model can be trained through big data; the personalized settings are adjusted, and the default filtering rules are updated, thereby forming a positive cycle to ensure the sustainability and real-time nature of the filtering method. According to the user's attention to the message over a period of time, the user's personalized interception system is dynamically adjusted, and the classification interception strategy is returned to the AI model, so that the entire interception system can adapt to the interception strategy as the business changes.
[0132] The method provided in the embodiment of the present disclosure also supports the instant message do not disturb function. After the function is turned on, no reminder is given when receiving instant messages that have passed the filtering. In addition, in order to give users more initiative, the method provided in the embodiment also supports instant message playback. In some optional embodiments, the method provided in the embodiment may also include:
[0133] The messages that fail to pass the filter are stored in the database.
[0134] In this embodiment, by storing the filtered instant messages in the database, the user can view the filtered instant messages from the database at any time when the user needs to view them, thereby avoiding missing messages. Optionally, the user can be reminded of the existence of filtered messages and the number of filtered messages at a fixed time by means of prompt information, and at this time, historical message playback is implemented according to the user's operation. For example, in an optional example, the broker is notified of the number of intercepted messages the next morning, and historical messages are played back according to whether the broker wants to receive yesterday's messages, so as to ensure that the broker does not miss important messages.
[0135] In an optional example, the application scenario is a broker message receiving system. Brokers receive a large number of IM message reminders every day, among which messages that are truly valuable to brokers will be drowned in a large number of messages. In order to accurately know which messages brokers are really interested in, a big data analysis is performed on all IM messages within 3 months. The data statistics time is: 2022.7.1-2020.10.13. The data analysis and statistical results are as follows Figure 2 As shown, Figure 2 The pv in the figure represents the click-through rate of the instant message, and the uv represents the page views of the instant message. Figure 2 The data is available in Table 1, and the types of messages that brokers are interested in are shown in Table 1:
[0136]
[0137]
[0138] Table 1
[0139] In order to determine the accuracy of the tracking data, a questionnaire survey was conducted on brokers based on the data. By analyzing the survey results, the following conclusions were drawn:
[0140] 1. Pay attention to the message priority: follow the listings; the listings that have been viewed in the past 14 days; the listings that may be of interest;
[0141] 2.Priority of property information: price adjustment; new keys; new inspections; showings by others;
[0142] Types of messages that need to be optimized: the properties you are interested in being shown; message reminders for properties you have shown within 14 days; For information that needs to be optimized, the number of corresponding instant messages can be reduced to 5-10. Optionally, the number of messages can be controlled by setting filtering rules with quantity limits.
[0143] This embodiment scheme designs personalized recommendations of information of interest to improve message reach and house conversion rate.
[0144] Any message processing method provided in the embodiments of the present disclosure may be executed by any appropriate device with data processing capabilities, including but not limited to: a terminal device and a server, etc. Alternatively, any message processing method provided in the embodiments of the present disclosure may be executed by a processor, such as the processor executing any message processing method mentioned in the embodiments of the present disclosure by calling corresponding instructions stored in a memory. This will not be described in detail below.
[0145] Exemplary Devices
[0146] Figure 3 Schematic diagram of a message processing device provided by an exemplary embodiment of the present disclosure. Figure 3 As shown, the device provided in this embodiment includes:
[0147] The message receiving module 31 is used to receive an instant message sent by a message sending end to a target receiving end.
[0148] The model recognition module 32 is used to recognize the instant message through a preset recognition model to determine whether the instant message is intercepted.
[0149] The filter chain identification module 33 is used to filter the instant message through the preset filter chain corresponding to the target receiving end in response to the instant message being determined not to be intercepted, and determine whether the instant message passes the filtering of the preset filter chain. The preset filter chain includes at least one filter rule with an order.
[0150] The message sending module 34 is used to send the instant message to a target receiving end in response to the instant message passing through the filtering of the preset filtering chain.
[0151] The message processing device provided by the above-mentioned embodiment of the present disclosure includes: receiving an instant message sent by a message sending end to a target receiving end; filtering the instant message through a preset filter chain corresponding to the target receiving end to determine whether the instant message passes the filtering of the preset filter chain; in response to the instant message passing the filtering of the preset filter chain, determining that the instant message is a target instant message; and sending the target instant message to the target receiving end. The embodiment of the present disclosure filters instant messages through a preset filter chain including at least one filtering rule. Only instant messages filtered by the preset filter chain can be sent to the target receiving end, which solves the problem of useless message bombardment, greatly reduces the number of instant messages received by the target receiving end, improves the value of instant messages, and enables users to better handle the instant messages of concern.
[0152] In some optional embodiments, the filter chain identification module 33 is specifically used to match the instant message in sequence according to the order of at least one filter rule in the preset filter chain to determine whether the instant message matches the filter rules; in response to the instant message matching at least one filter rule in the preset filter chain, determine that the instant message has not passed the filter; in response to the instant message not matching all filter rules in the preset filter chain, determine that the instant message has passed the filter.
[0153] In some optional embodiments, the device provided in this embodiment may further include:
[0154] A rule screening module, used for screening from a filtering rule library to obtain at least one filtering rule corresponding to a target receiving end;
[0155] The filter chain determination module is used to sort at least one filter rule to obtain a preset filter chain including at least one filter rule having an order.
[0156] Optionally, the rule screening module is specifically used to determine the classification result of each filtering rule in the multiple filtering rules in the filtering rule library through a preset classification model; the classification result includes whether filtering is required or not; and according to the classification result, determine at least one filtering rule corresponding to the target receiving end.
[0157] Optionally, the rule screening module is specifically used to determine whether each of the multiple filtering rules in the filtering rule library needs to be filtered based on the received input information; the judgment result includes whether filtering is needed or not; based on the judgment result, determine at least one filtering rule corresponding to the target receiving end.
[0158] Optionally, the rule screening module is specifically used to determine the configuration result of whether each of the multiple filtering rules in the filtering rule library needs to be filtered according to the preset rule configuration; the configuration result includes whether filtering is required or not; according to the configuration result, determine at least one filtering rule corresponding to the target receiving end.
[0159] Optionally, the filter chain determination module is specifically used to determine the priority corresponding to the filter rule according to the screening method for determining the filter rule; wherein different screening methods correspond to different priorities; and sort at least one filter rule according to the priority to obtain a preset filter chain.
[0160] In some optional embodiments, the device provided in this embodiment may further include:
[0161] The big data processing module is used to perform statistical analysis on multiple instant messages based on the operation-related information of multiple instant messages within the preset period in response to reaching a preset period; and to update the screening method for determining the filtering rules according to the statistical analysis results.
[0162] In some optional embodiments, the device provided in this embodiment may further include:
[0163] The message storage module is used to store the instant messages that fail to pass the filtering into the database.
[0164] Exemplary Electronic Devices
[0165] Below, reference Figure 4 The electronic device according to the embodiment of the present disclosure is described. The electronic device may be any one or both of the first device and the second device, or a stand-alone device independent of them, and the stand-alone device may communicate with the first device and the second device to receive the collected input signals from them.
[0166] Figure 4 A block diagram of an electronic device according to an embodiment of the present disclosure is illustrated.
[0167] like Figure 4 As shown, the electronic device includes one or more processors and memory.
[0168] The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
[0169] The memory may store one or more computer program products, and the memory may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program products may be stored on the computer-readable storage medium, and the processor may run the computer program product to implement the message processing method of each embodiment of the present disclosure described above and / or other desired functions.
[0170] In one example, the electronic device may further include: an input device and an output device, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0171] In addition, the input device may also include, for example, a keyboard, a mouse, and the like.
[0172] The output device can output various information to the outside, including determined distance information, direction information, etc. The output device can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.
[0173] Of course, to simplify, Figure 4 Only some of the components related to the present disclosure in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device may further include any other appropriate components.
[0174] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the message processing method according to various embodiments of the present disclosure described in the above part of this specification.
[0175] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0176] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enables the processor to execute the steps of the message processing method according to various embodiments of the present disclosure described in the above part of this specification.
[0177] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0178] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0179] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0180] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0181] The method and apparatus of the present disclosure may be implemented in many ways. For example, the method and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
[0182] It should also be noted that in the apparatus, device and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0183] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0184] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A message processing method, characterized in that: include: Receiving instant messages sent by a message sending end to a target receiving end; Identify the instant message using a preset identification model to determine whether the instant message is intercepted; In response to the instant message being determined not to be intercepted, filtering the instant message through a preset filter chain corresponding to the target receiving end to determine whether the instant message passes the filtering of the preset filter chain; The preset filter chain includes at least one filter rule having an order; In response to the instant message passing through the filtering of the preset filtering chain, the instant message is sent to the target receiving end.
2. The method according to claim 1, characterized in that The filtering process of the instant message through the preset filter chain corresponding to the target receiving end to determine whether the instant message passes the filtering of the preset filter chain includes: According to the order of the at least one filtering rule in the preset filtering chain, the instant message is matched in sequence to determine whether the instant message matches the filtering rule; In response to the instant message matching at least one filtering rule in the preset filtering chain, determining that the instant message fails filtering; In response to the instant message not matching any of the filtering rules in the preset filtering chain, it is determined that the instant message passes filtering.
3. The method according to claim 1 or 2, characterized in that: Before filtering the instant message through the preset filter chain corresponding to the target receiving end and determining whether the instant message passes the filtering of the preset filter chain, the method further includes: Filtering from a filtering rule library to obtain at least one filtering rule corresponding to the target receiving end; The at least one filtering rule is sorted to obtain a preset filtering chain including at least one filtering rule having an order.
4. The method according to claim 3, characterized in that The filtering from the filtering rule library to obtain at least one filtering rule corresponding to the target receiving end includes: Determine the classification result of each of the plurality of filtering rules in the filtering rule library by using a preset classification model; the classification result includes whether filtering is required or not required; At least one filtering rule corresponding to the target receiving end is determined according to the classification result.
5. The method according to claim 3 or 4, characterized in that: The filtering from the filtering rule library to obtain at least one filtering rule corresponding to the target receiving end includes: Determine, according to the received input information, a judgment result of whether each of the plurality of filtering rules in the filtering rule library needs to be filtered; the judgment result includes whether filtering is needed or not; At least one filtering rule corresponding to the target receiving end is determined according to the discrimination result.
6. The method according to any one of claims 3 to 5, characterized in that: The filtering from the filtering rule library to obtain at least one filtering rule corresponding to the target receiving end includes: Determine, according to the preset rule configuration, whether each of the plurality of filtering rules in the filtering rule library needs to be filtered; the configuration result includes whether filtering is needed or not; At least one filtering rule corresponding to the target receiving end is determined according to the configuration result.
7. The method according to any one of claims 3 to 6, characterized in that: The step of sorting the at least one filtering rule to obtain a preset filtering chain including at least one filtering rule having an order includes: Determine the priority corresponding to the filtering rule according to the screening method for determining the filtering rule; wherein different screening methods correspond to different priorities; The at least one filtering rule is sorted according to the priority to obtain the preset filtering chain.
8. The method according to claim 7, characterized in that Also includes: In response to reaching a preset period, performing statistical analysis on the multiple instant messages based on the operation-related information of the multiple instant messages within the preset period; The screening method for determining the filtering rules is updated according to the statistical analysis results.
9. The method according to any one of claims 1 to 8, characterized in that: Also includes: The instant messages that fail to pass the filtering are stored in a database.
10. A message processing device, characterized in that: include: A message receiving module, used for receiving an instant message sent by a message sending end to a target receiving end; A model recognition module, used to recognize the instant message through a preset recognition model to determine whether the instant message is intercepted; A filter chain identification module, configured to filter the instant message through a preset filter chain corresponding to the target receiving end in response to the instant message being determined not to be intercepted, and determine whether the instant message passes the filtering of the preset filter chain; the preset filter chain includes at least one filter rule with an order; The message sending module is used to send the instant message to the target receiving end in response to the instant message passing through the filtering of the preset filtering chain.
11. An electronic device, characterized in that: include: a memory for storing a computer program product; A processor is used to execute the computer program product stored in the memory, and when the computer program product is executed, the message processing method described in any one of claims 1 to 9 is implemented.
12. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the message processing method described in any one of claims 1 to 9 is implemented.
13. A computer program product comprising computer program instructions, characterized in that When the computer program instructions are executed by a processor, the message processing method described in any one of claims 1 to 9 is implemented.
