CN114979983B - Message processing method and device and electronic equipment - Google Patents

Message processing method and device and electronic equipment Download PDF

Info

Publication number
CN114979983B
CN114979983B CN202210403131.9A CN202210403131A CN114979983B CN 114979983 B CN114979983 B CN 114979983B CN 202210403131 A CN202210403131 A CN 202210403131A CN 114979983 B CN114979983 B CN 114979983B
Authority
CN
China
Prior art keywords
message
determining
processing
identification type
processing method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210403131.9A
Other languages
Chinese (zh)
Other versions
CN114979983A (en
Inventor
戴晶晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Internet Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Internet Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Internet Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202210403131.9A priority Critical patent/CN114979983B/en
Publication of CN114979983A publication Critical patent/CN114979983A/en
Application granted granted Critical
Publication of CN114979983B publication Critical patent/CN114979983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a message processing method, a message processing device and electronic equipment, which belong to the technical field of communication and are used for realizing classified interception of messages. The method comprises the following steps: determining an identification type of a sender and an identification type of a receiver corresponding to the first message, wherein the identification type comprises at least one of a personal user, an industry client and an Internet of things device; determining a first processing method according to the identification type of the sender and the identification type of the receiver; and processing the first message according to the first processing method to obtain a first processing result, wherein the first processing result comprises interception or release of the first message.

Description

Message processing method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a message processing method, a message processing device and electronic equipment.
Background
With the rapid development of information technology, the conventional short message service cannot meet the diversified demands of users, and the fifth generation mobile communication technology (5 th-generation, 5G) message is used as an enhanced information service based on the rich media communication suite/service (Rich Communication Suite/service, RCS) technology, so that not only the multimedia message interaction between individual users is supported, but also the interactive service between industry clients and users can be realized.
However, a large number of content violating messages are also followed, and these violating messages are propagated through the channels of the 5G messages. Therefore, how to identify and intercept content violating messages from 5G messages before or after the messages are sent is a challenge.
Disclosure of Invention
The embodiment of the application provides a message processing method, a message processing device, electronic equipment and a storage medium, which can realize the processing of a structured message containing a plurality of information elements.
In a first aspect, an embodiment of the present application provides a message processing method, including: determining an identification type of a sender and an identification type of a receiver corresponding to the first message, wherein the identification type comprises at least one of a personal user, an industry client and an Internet of things device; determining a first processing method according to the identification type of the sender and the identification type of the receiver; and processing the first message according to the first processing method to obtain a first processing result, wherein the first processing result comprises interception or release of the first message.
In a second aspect, an embodiment of the present application provides a message processing apparatus, including: the first determining module is used for determining an identification type of a sender and an identification type of a receiver corresponding to the first message, wherein the identification type comprises at least one of a personal user, an industry client and an Internet of things device; the second determining module is used for determining a first processing method according to the identification type of the sender and the identification type of the receiver; and the processing module is used for processing the first message according to the first processing method to obtain a first processing result, wherein the first processing result comprises interception or release of the first message.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions implementing the steps of the message processing method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the message processing method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement a message processing method according to the first aspect.
In the embodiment of the application, the identification type of the sender and the identification type of the receiver corresponding to the first message are determined, wherein the identification type comprises at least one of a personal user, an industry client and an Internet of things device; determining a first processing method according to the identification type of the sender and the identification type of the receiver; according to the first processing method, the first message is processed to obtain a first processing result, wherein the first processing result comprises interception or release of the first message, classification interception of the message can be achieved, and meanwhile error interception is effectively reduced.
Drawings
Fig. 1 is a flow chart of a message processing method according to an embodiment of the present application;
FIG. 2 is a flow chart of another message processing method according to an embodiment of the present application;
FIG. 3 is a flow chart of another message processing method according to an embodiment of the present application;
FIG. 4 is a flow chart of another message processing method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The following describes in detail a message processing method, a device, an electronic apparatus, and a storage medium provided by the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 illustrates a message processing method provided by an embodiment of the present application, which may be performed by an electronic device. The electronic device may include: server and/or terminal device. In other words, the method may be performed by software or hardware installed in the electronic device, the method comprising the steps of:
s101: and determining the identification type of the sender and the identification type of the receiver corresponding to the first message.
Wherein the identification type comprises at least one of an individual user, an industry client, and an internet of things device.
The 5G message is used as the upgrade of the traditional short message, so that the multimedia messages such as text, pictures, audio, video, positioning and the like can be mutually sent between the individual users, and the interaction of the multimedia information between the individual users and enterprises (industry clients) and between the individual users and various Internet of things devices can be realized. The method is used for monitoring whether the user sends out the 5G message, and when the user sends out the 5G message, the identification types of the sender and the receiver corresponding to the 5G message are recorded. If the identification of the receiver (or sender) is the mobile phone number of the receiver (or sender) user, the identification type of the receiver (or sender) is the personal user; when the receiver (or sender) is identified as the 5G message server address of the enterprise (industry client), the identification type of the receiver (or sender) is the industry client; when the receiver identification is the 5G message receiving address of the Internet of things equipment, the identification type of the receiver is the Internet of things equipment.
S102: and determining a first processing method according to the identification type of the sender and the identification type of the receiver.
And determining different processing methods of the corresponding 5G message according to different sender identification types and different receiver identification types.
S103: and processing the first message according to the first processing method to obtain a first processing result.
The first processing result includes intercepting or releasing the first message.
And processing the first message according to the first processing method corresponding to the first message determined in the step S102, so as to obtain a processing result of intercepting or releasing the first message.
The embodiment of the application provides a message processing method, which is characterized by determining an identification type of a sender and an identification type of a receiver corresponding to a first message, wherein the identification type comprises at least one of a personal user, an industry client and an Internet of things device; determining a first processing method according to the identification type of the sender and the identification type of the receiver; according to the first processing method, the first message is processed to obtain a first processing result, wherein the first processing result comprises interception or release of the first message, classification interception of the message can be achieved, and meanwhile error interception is effectively reduced.
Fig. 2 illustrates a message processing method provided by an embodiment of the application, which may be performed by an electronic device. The electronic device may include: server and/or terminal device. In other words, the method may be performed by software or hardware installed in the electronic device, the method comprising the steps of:
s201: and determining the identification type of the sender and the identification type of the receiver corresponding to the first message.
This step may be described in step S101 in the embodiment of fig. 1, and will not be described herein.
S202: and determining the intimacy between the sender and the receiver in the case that the identification type of the sender and the identification type of the receiver are both personal users.
Wherein the affinity includes at least one of strong relationships, weak relationships, and no relationships. The step determines the intimacy between the sender and the receiver under the condition that the identification type of the sender and the identification type of the receiver are both personal users.
S203: and determining the first processing method according to the intimacy.
A first processing method corresponding to the first message is determined based on the different affinities.
In one implementation, before step S203, the method further includes: determining a first number of times, wherein the first number of times comprises at least one of a number of inter-conversations, a number of inter-messages, and a number of occurrences of a same base station coverage area within a predetermined time between the sender and the receiver; and determining the affinity according to the first times.
In one implementation, the determining the affinity according to the first number of times includes:
determining the affinity according to the following formula:
affinity = Max (relationship strength (number of inter-calls), relationship strength (number of inter-messages), relationship strength (number of occurrences in coverage of the same base station))
The relationship of the relationship strength is: strong relationship > weak relationship > no relationship
For example, the judgment section in which the number of intercommunications, and the number of occurrences of coverage in the same base station may be as shown in table 1.
In one implementation, the determining the first number includes:
determining a first behavior log of the sender in a preset time and a second behavior log of the receiver in the preset time;
And determining the first times according to the first behavior log and the second behavior log.
For example, all numbers under the identification card can be queried according to the identification card information of the sender number and the receiver number, and the first times can be determined according to the behavior records of all numbers under the sender identification card for nearly N months and the behavior records of all numbers under the receiver identification card for nearly N months, wherein the behavior records comprise call ticket, message ticket, base station information and the like, and N can be configured according to the needs.
Table 1 affinity determination interval example
Wherein Tmax, tmin, xmax, xmin, wmax, wmin are configurable parameters, and Tmax > Tmin, xmax > Xmin, wmax > Wmin.
In one implementation, step S203 includes: determining a first proportion value according to the intimacy, wherein the first proportion value is used for selecting processing proportions of a plurality of first messages; and determining the first processing method according to the first proportion value.
For example, when the affinity is determined to be a strong relationship, the first message is directly released without being processed; when the intimacy is determined to be weak, processing the message content of the message of the sender according to a certain proportion; and when the intimacy is determined to be irrelevant, processing the messages sent by the sender one by one.
S204: and processing the first message according to the first processing method to obtain a first processing result.
In one implementation, step S204 includes: and processing the plurality of first messages according to the first processing method to obtain a plurality of first processing results.
In one implementation, step S204 includes: performing recognition processing on the first message based on a preset recognition processing method to obtain a recognition processing result, wherein the recognition processing result comprises whether the first message meets a preset condition or not; and determining the first processing result as interception of the first message under the condition that the first message does not meet a preset condition.
In one implementation, the predetermined recognition processing method includes at least one of content-based recognition processing methods for the first message, including but not limited to word segmentation, keyword matching, natural semantic understanding, image recognition, optical character recognition (Optical Character Recognition, OCR), and the like.
In one implementation, before the determining the first processing method, the method further includes: determining a message type of the first message, wherein the message type comprises: at least one of text, picture, audio, video.
The embodiment of the application provides a message processing method, which is characterized by determining an identification type of a sender and an identification type of a receiver corresponding to a first message, wherein the identification type comprises at least one of a personal user, an industry client and an Internet of things device; determining a degree of affinity between the sender and the receiver in the case that the identification type of the sender and the identification type of the receiver are both personal users, and determining the first processing method according to the degree of affinity, wherein the degree of affinity comprises at least one of strong relationship, weak relationship and no relationship; according to the first processing method, the first message is processed to obtain a first processing result, wherein the first processing result comprises interception or release of the first message, so that classified interception of messages among individual users based on the affinity can be realized, and meanwhile, false interception is effectively reduced.
Fig. 3 illustrates a message processing method provided by an embodiment of the application, which may be performed by an electronic device. The electronic device may include: server and/or terminal device. In other words, the method may be performed by software or hardware installed in the electronic device, the method comprising the steps of:
S301: and determining the identification type of the sender and the identification type of the receiver corresponding to the first message.
This step may be described in step S101 in the embodiment of fig. 1, and will not be described herein.
S302: and determining a first characteristic corresponding to the first message in the case that at least one of the identification type of the sender and the identification type of the receiver is an industry client.
The first feature is a feature of a first service contained in the first message, and the first service comprises at least one service in a plurality of services provided by a corresponding industry client for an individual user.
In the step, under the condition that at least one of the identification type of the sender and the identification type of the receiver is judged to be an industry client, the first message is analyzed to determine the characteristics of a first service contained in the first message.
For example, when business of the business client is transacted based on the 5G message, the business client attribute characteristics carried in the 5G message can be obtained by means of semantic analysis and the like on the content of the 5G message. Taking an industry client as a bank for example, the attribute characteristics of the industry client of the type can be the characteristics of the service which the industry client can provide for the user. Features of the service include, for example, but are not limited to:
The bank card activates the confirmation information;
debit card password modification confirmation information;
the bank card sells the user request information;
transfer information, and the like.
S303: and determining the first processing method according to the first characteristic.
And determining a corresponding first processing method according to the characteristics of the first service contained in the first message determined in the steps.
In one implementation, step S303 includes: and determining the first processing method according to the first characteristic and the preset service characteristic.
S304: and processing the first message according to the first processing method to obtain a first processing result.
In one implementation, step S304 includes: and carrying out matching processing on the first characteristics and preset service characteristics to obtain a first processing result.
For example, according to the obtained 5G message server address of the industry client 5G message, the mapping relationship between the 5G message server address and the attribute feature of the industry client stored in the database is queried to obtain the attribute feature of the industry client corresponding to the industry client 5G message, and then whether the attribute feature of the industry client of the message content of the 5G message is matched with the attribute feature of the industry client obtained from the database is determined.
In one implementation, step S304 includes: and under the condition that the matching result is unsuccessful, intercepting the first message by the first processing result.
In one implementation, step S304 includes: and under the condition that the matching result is successful, determining the business relation between the sender and the receiver, and obtaining the first processing result according to the business relation.
For example, for a 5G message with a receiver identified as a personal user and a sender identified as an enterprise user server platform address, according to a user 5G message service opening condition (including a corresponding relationship between the server platform address of the 5G message service opened by the personal user and the user identifier) recorded in a database, judging whether the personal user identifier and the sender identifier hit a record in the database; if hit, show that the personal user has already established the business relation with the service platform of the enterprise user, thus release the 5G message; otherwise, the 5G message may be filtered as spam.
Aiming at the 5G message of which the receiver is identified as the address of the enterprise user server platform and the sender is the personal user, the service relationship between the personal user and the enterprise user service platform is judged by inquiring the database, if yes, the 5G message is released; otherwise, judging whether the message content of the 5G message contains attribute features of 'first request for opening the service of the enterprise user' or not by means of semantic recognition and the like, and if so, releasing the 5G message; otherwise, the 5G message may be filtered as spam.
In one implementation, after the 5G message server address of the industry client is obtained, whether the address of the pseudo base station belongs to the address of the pseudo base station or not can be judged by comparing the 5G message server address with the pre-stored pseudo base station blacklist address in a peer-to-peer mode; if yes, the industry client 5G message is directly intercepted, so that loss of a user is avoided.
The embodiment of the application provides a message processing method, which is characterized by determining an identification type of a sender and an identification type of a receiver corresponding to a first message, wherein the identification type comprises at least one of a personal user, an industry client and an Internet of things device; determining a first feature corresponding to the first message when at least one of the identification type of the sender and the identification type of the receiver is an industry client, and determining the first processing method according to the first feature, wherein the first feature is a feature of a first service contained in the first message, and the first service comprises at least one service of a plurality of services provided by the corresponding industry client for an individual user; according to the first processing method, the first message is processed to obtain a first processing result, wherein the first processing result comprises interception or release of the first message, so that classified interception of messages between an individual user and an industry client based on service attribute characteristics or service relations can be realized, and meanwhile, false interception is effectively reduced.
Fig. 4 illustrates a message processing method provided by an embodiment of the application, which may be performed by an electronic device. The electronic device may include: server and/or terminal device. In other words, the method may be performed by software or hardware installed in the electronic device, the method comprising the steps of:
s401: and determining the identification type of the sender and the identification type of the receiver corresponding to the first message.
This step may be described in step S101 in the embodiment of fig. 1, and will not be described herein.
S402: and determining a second characteristic corresponding to the first message under the condition that at least one of the identification type of the sender and the identification type of the receiver is the Internet of things equipment.
The second feature is a feature of a first instruction contained in the first message, and the first instruction includes at least one instruction of a plurality of instructions for controlling a corresponding internet of things device.
For example, according to the obtained 5G message receiving address of the internet of things device, the mapping relation between the 5G message receiving address of the internet of things device and the instruction feature stored in the database is queried, the instruction feature corresponding to the 5G message receiving address of the internet of things device is obtained, and then instruction feature analysis is performed on the message content of the 5G message, so as to determine the instruction feature contained in the internet of things 5G message. Because the 5G message may be used for sending to each internet of things device, which may include an instruction for controlling the internet of things device, such as an instruction for obtaining the control right of the internet of things device, some risks may be caused, the application proposes to perform instruction feature analysis on the message content of the 5G message, so as to perform corresponding processing on the 5G message according to the obtained instruction feature.
S403: according to a second feature, the first processing method is determined.
S404: and processing the first message according to the first processing method to obtain a first processing result.
In one implementation, step S403 includes: and determining the first processing method according to the second characteristic and the preset instruction characteristic.
In one implementation, step S404 includes: and matching the second characteristic with a preset instruction characteristic to obtain a first processing result.
In one implementation, step S404 includes: under the condition that the matching result is unsuccessful, the first processing result is that the first message is released; and under the condition that the matching result is successful, intercepting the first message by the first processing result.
If yes, judging whether the instruction characteristics of the message content of the 5G message are matched with the preset instruction characteristics obtained from the database; if the instruction features are matched consistently, filtering; if not, the communication can be released. Because the matching is consistent, the 5G message possibly belongs to an instruction for acquiring the control right of the equipment of the Internet of things, and interception processing is needed.
The embodiment of the application provides a message processing method, which is characterized by determining an identification type of a sender and an identification type of a receiver corresponding to a first message, wherein the identification type comprises at least one of a personal user, an industry client and an Internet of things device; determining a second feature corresponding to the first message when at least one of the identification type of the sender and the identification type of the receiver is an internet of things device, and determining the first processing method according to the second feature, wherein the second feature is a feature of a first instruction contained in the first message, and the first instruction comprises at least one instruction of a plurality of instructions for controlling the corresponding internet of things device; according to the first processing method, the first message is processed to obtain a first processing result, wherein the first processing result comprises interception or release of the first message, so that classified interception of messages between a personal user and the Internet of things equipment based on instruction feature analysis can be realized, and meanwhile, false interception is effectively reduced.
It should be noted that, in the message processing method provided in the embodiment of the present application, the execution body may be a message processing apparatus, or a control module in the message processing apparatus for executing the message processing method. In the embodiment of the present application, a message processing device executes a message processing method as an example, and the message processing device provided in the embodiment of the present application is described.
Fig. 5 is a schematic diagram of a message processing apparatus according to an embodiment of the present application. As shown in fig. 5, the message processing apparatus 500 includes: a first determining module 510, configured to determine an identification type of a sender and an identification type of a receiver corresponding to the first message, where the identification type includes at least one of a personal user, an industry client, and an internet of things device; a second determining module 520, configured to determine a first processing method according to the identification type of the sender and the identification type of the receiver; and the processing module 530 is configured to process the first message according to the first processing method to obtain a first processing result, where the first processing result includes intercepting or releasing the first message.
In one implementation, the second determining module 520 is configured to: and determining the intimacy between the sender and the receiver under the condition that the identification type of the sender and the identification type of the receiver are personal users, and determining the first processing method according to the intimacy, wherein the intimacy comprises at least one of strong relationship, weak relationship and no relationship.
In one implementation, the second determining module 520 is configured to: and determining a first characteristic corresponding to the first message under the condition that at least one of the identification type of the sender and the identification type of the receiver is an industry client, and determining the first processing method according to the first characteristic, wherein the first characteristic is the characteristic of a first service contained in the first message, and the first service comprises at least one service of a plurality of services provided by the corresponding industry client for an individual user.
In one implementation, the second determining module 520 is configured to: and determining a second characteristic corresponding to the first message under the condition that at least one of the identification type of the sender and the identification type of the receiver is the internet of things equipment, and determining the first processing method according to the second characteristic, wherein the second characteristic is the characteristic of a first instruction contained in the first message, and the first instruction comprises at least one instruction of a plurality of instructions for controlling the corresponding internet of things equipment.
In one implementation, the second determining module 520 is further configured to: determining a first number of times, wherein the first number of times comprises at least one of a number of inter-conversations, a number of inter-messages, and a number of occurrences of a same base station coverage area within a predetermined time between the sender and the receiver; and determining the affinity according to the first times.
In one implementation, the second determining module 520 is further configured to: determining a first proportion value according to the intimacy, wherein the first proportion value is used for selecting processing proportions of a plurality of first messages; and determining the first processing method according to the first proportion value.
In one implementation, the processing module 530 is further configured to: and processing the plurality of first messages according to the first processing method to obtain a plurality of first processing results.
In one implementation, the second determining module 520 is further configured to: and determining the first processing method according to the first characteristic and the preset service characteristic.
In one implementation, the processing module 530 is further configured to: and carrying out matching processing on the first characteristics and preset service characteristics to obtain a first processing result.
In one implementation, the processing module 530 is further configured to: under the condition that the matching result is unsuccessful, the first processing result is interception of the first message; and under the condition that the matching result is successful, determining the business relation between the sender and the receiver, and obtaining the first processing result according to the business relation.
In one implementation, the second determining module 520 is further configured to: and determining the first processing method according to the second characteristic and the preset instruction characteristic.
In one implementation, the processing module 530 is further configured to: and matching the second characteristic with a preset instruction characteristic to obtain a first processing result.
The message processing apparatus in the embodiment of the present application may be an apparatus electronic device, or may be a component in a terminal electronic device, for example, an integrated circuit, or a chip. The electronic device may be a terminal, or may be other devices than a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a mobile internet appliance (Mobile Internet Device, MID), an augmented Reality (Augmented Reality, AR)/Virtual Reality (VR) device, a robot, a wearable device, an Ultra-mobile Personal Computer (UMPC), a netbook or a personal digital assistant (Personal Digital Assistant, PDA), etc., and the non-mobile electronic device may also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (Personal Computer, PC), a Television (Television), a teller machine or a self-service machine, etc., without limitation in the embodiments of the present application.
The message processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The message processing apparatus provided in the embodiment of the present application can implement each process implemented in the method embodiments of fig. 1 to fig. 4, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 6, an embodiment of the present application further provides an electronic device 600, including a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is implemented when executed by the processor 601: determining an identification type of a sender and an identification type of a receiver corresponding to the first message, wherein the identification type comprises at least one of a personal user, an industry client and an Internet of things device; determining a first processing method according to the identification type of the sender and the identification type of the receiver; and processing the first message according to the first processing method to obtain a first processing result, wherein the first processing result comprises interception or release of the first message.
In one implementation, the above-described programs or instructions, when executed by the processor 601, implement: and determining the intimacy between the sender and the receiver under the condition that the identification type of the sender and the identification type of the receiver are personal users, and determining the first processing method according to the intimacy, wherein the intimacy comprises at least one of strong relationship, weak relationship and no relationship.
In one implementation, the above-described programs or instructions, when executed by the processor 501, implement: and determining a first characteristic corresponding to the first message under the condition that at least one of the identification type of the sender and the identification type of the receiver is an industry client, and determining the first processing method according to the first characteristic, wherein the first characteristic is the characteristic of a first service contained in the first message, and the first service comprises at least one service of a plurality of services provided by the corresponding industry client for an individual user.
In one implementation, the above-described programs or instructions, when executed by the processor 601, implement: and determining a second characteristic corresponding to the first message under the condition that at least one of the identification type of the sender and the identification type of the receiver is the internet of things equipment, and determining the first processing method according to the second characteristic, wherein the second characteristic is the characteristic of a first instruction contained in the first message, and the first instruction comprises at least one instruction of a plurality of instructions for controlling the corresponding internet of things equipment.
In one implementation, the above-described programs or instructions, when executed by the processor 601, implement: determining a first behavior log of the sender in a preset time and a second behavior log of the receiver in the preset time; determining a first number according to the first behavior log and the second behavior log, wherein the first number comprises at least one of the number of inter-calls, the number of inter-messages and the number of occurrences of the same base station coverage area in a predetermined time between the sender and the receiver; and determining the affinity according to the first times.
In one implementation, the above-described programs or instructions, when executed by the processor 601, implement: determining a first proportion value according to the intimacy, wherein the first proportion value is used for selecting processing proportions of a plurality of first messages; determining the first processing method according to the first proportion value; and processing the plurality of first messages according to the first processing method to obtain a plurality of first processing results.
In one implementation, the above-described programs or instructions, when executed by the processor 601, implement: determining the first processing method according to the first characteristic and a preset service characteristic; and carrying out matching processing on the first characteristics and preset service characteristics to obtain a first processing result.
In one implementation, the above-described programs or instructions, when executed by the processor 501, implement: determining the first processing method according to the second characteristic and a preset instruction characteristic; and matching the second characteristic with a preset instruction characteristic to obtain a first processing result.
In one implementation, the above-described programs or instructions, when executed by the processor 601, implement: under the condition that the matching result is unsuccessful, the first processing result is interception of the first message; or under the condition that the matching result is successful, determining the business relation between the sender and the receiver, and obtaining the first processing result according to the business relation.
The specific execution steps can be referred to the steps of the above message processing method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and no further description is provided here.
It should be noted that, the electronic device in the embodiment of the present application includes: a server, a terminal device, or other devices in addition to a terminal device.
The above electronic device structure does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine some components, or may be different in arrangement of components, for example, an input unit, may include a graphics processor (Graphics Processing Unit, GPU) and a microphone, and a display unit may configure a display panel in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit includes at least one of a touch panel and other input devices. Touch panels are also known as touch screens. Other input devices may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory may be used to store software programs as well as various data. The memory may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory may include volatile memory or nonvolatile memory, or the memory may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM).
The processor may include one or more processing units; optionally, the processor integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above-mentioned message processing method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the message processing method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (9)

1. A method of message processing, the method comprising:
determining an identification type of a sender and an identification type of a receiver corresponding to the first message, wherein the identification type comprises at least one of a personal user, an industry client and an Internet of things device;
determining a first processing method according to the identification type of the sender and the identification type of the receiver;
processing the first message according to the first processing method to obtain a first processing result, wherein the first processing result comprises interception or release of the first message;
the first processing method is determined according to the identification type of the sender and the identification type of the receiver, and at least comprises one of the following steps:
determining a degree of affinity between the sender and the receiver in the case that the identification type of the sender and the identification type of the receiver are both personal users, and determining the first processing method according to the degree of affinity, wherein the degree of affinity comprises at least one of strong relationship, weak relationship and no relationship;
determining a first feature corresponding to the first message when at least one of the identification type of the sender and the identification type of the receiver is an industry client, and determining the first processing method according to the first feature, wherein the first feature is a feature of a first service contained in the first message, and the first service comprises at least one service of a plurality of services provided by the corresponding industry client for an individual user;
And determining a second characteristic corresponding to the first message under the condition that at least one of the identification type of the sender and the identification type of the receiver is the internet of things equipment, and determining the first processing method according to the second characteristic, wherein the second characteristic is the characteristic of a first instruction contained in the first message, and the first instruction comprises at least one instruction of a plurality of instructions for controlling the corresponding internet of things equipment.
2. The method of claim 1, wherein prior to said determining said first processing method based on said affinity, said method further comprises:
determining a first number of times, wherein the first number of times comprises at least one of a number of inter-conversations, a number of inter-messages, and a number of occurrences of a same base station coverage area within a predetermined time between the sender and the receiver;
and determining the affinity according to the first times.
3. The method of claim 1, wherein said determining said first processing method based on said affinity comprises:
determining a first proportion value according to the intimacy, wherein the first proportion value is used for selecting processing proportions of a plurality of first messages;
Determining the first processing method according to the first proportion value;
the processing the first message according to the first processing method to obtain a first processing result includes:
and processing the plurality of first messages according to the first processing method to obtain a plurality of first processing results.
4. The method of claim 1, wherein said determining said first processing method based on said first characteristic comprises:
determining the first processing method according to the first characteristic and a preset service characteristic;
the processing the first message according to the first processing method to obtain a first processing result includes:
and carrying out matching processing on the first characteristics and preset service characteristics to obtain a first processing result.
5. The method of claim 1, wherein said determining said first processing method based on said second characteristic comprises:
determining the first processing method according to the second characteristic and a preset instruction characteristic;
the processing the first message according to the first processing method to obtain a first processing result includes:
And matching the second characteristic with a preset instruction characteristic to obtain a first processing result.
6. The method of claim 2, wherein the determining the first number comprises:
determining a first behavior log of the sender in a preset time and a second behavior log of the receiver in the preset time;
and determining the first times according to the first behavior log and the second behavior log.
7. The method of claim 4, wherein the matching the first feature with a preset service feature to obtain a first processing result includes at least one of:
under the condition that the matching result is unsuccessful, the first processing result is interception of the first message;
and under the condition that the matching result is successful, determining the business relation between the sender and the receiver, and obtaining the first processing result according to the business relation.
8. A message processing apparatus, the apparatus comprising:
the first determining module is used for determining an identification type of a sender and an identification type of a receiver corresponding to the first message, wherein the identification type comprises at least one of a personal user, an industry client and an Internet of things device;
The second determining module is used for determining a first processing method according to the identification type of the sender and the identification type of the receiver;
the processing module is used for processing the first message according to the first processing method to obtain a first processing result, wherein the first processing result comprises interception or release of the first message;
the first processing method is determined according to the identification type of the sender and the identification type of the receiver, and at least comprises one of the following steps:
determining a degree of affinity between the sender and the receiver in the case that the identification type of the sender and the identification type of the receiver are both personal users, and determining the first processing method according to the degree of affinity, wherein the degree of affinity comprises at least one of strong relationship, weak relationship and no relationship;
determining a first feature corresponding to the first message when at least one of the identification type of the sender and the identification type of the receiver is an industry client, and determining the first processing method according to the first feature, wherein the first feature is a feature of a first service contained in the first message, and the first service comprises at least one service of a plurality of services provided by the corresponding industry client for an individual user;
And determining a second characteristic corresponding to the first message under the condition that at least one of the identification type of the sender and the identification type of the receiver is the internet of things equipment, and determining the first processing method according to the second characteristic, wherein the second characteristic is the characteristic of a first instruction contained in the first message, and the first instruction comprises at least one instruction of a plurality of instructions for controlling the corresponding internet of things equipment.
9. An electronic device, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method according to any one of claims 1 to 7.
CN202210403131.9A 2022-04-18 2022-04-18 Message processing method and device and electronic equipment Active CN114979983B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210403131.9A CN114979983B (en) 2022-04-18 2022-04-18 Message processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210403131.9A CN114979983B (en) 2022-04-18 2022-04-18 Message processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114979983A CN114979983A (en) 2022-08-30
CN114979983B true CN114979983B (en) 2023-08-15

Family

ID=82977368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210403131.9A Active CN114979983B (en) 2022-04-18 2022-04-18 Message processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114979983B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8886727B1 (en) * 2004-01-27 2014-11-11 Sonicwall, Inc. Message distribution control
CN107864459A (en) * 2016-09-22 2018-03-30 中兴通讯股份有限公司 A kind of message treatment method and device, communication system
CN112333081A (en) * 2020-10-28 2021-02-05 维沃软件技术有限公司 Message processing method and electronic equipment
CN112929257A (en) * 2021-02-26 2021-06-08 招商银行股份有限公司 Multi-scenario message sending method, device, server and storage medium
CN112995018A (en) * 2021-02-09 2021-06-18 北京百度网讯科技有限公司 Message processing method, device, equipment and storage medium
CN113392178A (en) * 2020-11-25 2021-09-14 腾讯科技(深圳)有限公司 Message reminding method, related device, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10986602B2 (en) * 2018-02-09 2021-04-20 Intel Corporation Technologies to authorize user equipment use of local area data network features and control the size of local area data network information in access and mobility management function

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8886727B1 (en) * 2004-01-27 2014-11-11 Sonicwall, Inc. Message distribution control
CN107864459A (en) * 2016-09-22 2018-03-30 中兴通讯股份有限公司 A kind of message treatment method and device, communication system
CN112333081A (en) * 2020-10-28 2021-02-05 维沃软件技术有限公司 Message processing method and electronic equipment
CN113392178A (en) * 2020-11-25 2021-09-14 腾讯科技(深圳)有限公司 Message reminding method, related device, equipment and storage medium
CN112995018A (en) * 2021-02-09 2021-06-18 北京百度网讯科技有限公司 Message processing method, device, equipment and storage medium
CN112929257A (en) * 2021-02-26 2021-06-08 招商银行股份有限公司 Multi-scenario message sending method, device, server and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
融合通信中即时消息业务安全监测与处置技术要求;赵蓓;常玲;薛姗;马力鹏;;电信工程技术与标准化(第11期);全文 *

Also Published As

Publication number Publication date
CN114979983A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
US11252252B2 (en) Installable web applications
KR102237912B1 (en) Methods and devices to implement service functions
EP3140767B1 (en) Method, apparatus, and system for managing user accounts in the event of conflicting login names
US9559992B2 (en) System and method for updating information in an instant messaging application
US10671813B2 (en) Performing actions based on determined intent of messages
US20150143215A1 (en) Method and system for accessing audio/video community virtual rooms
CN109271768B (en) Distribution information management method, distribution information management device, storage medium and terminal
CN112162965B (en) Log data processing method, device, computer equipment and storage medium
CN106487655B (en) Message interaction method and device and processing server
WO2014176896A1 (en) System and method for updating information in an instant messaging application
CN109670109A (en) Information acquisition method, device, server, terminal and medium
CN111901221A (en) Message processing method, device and computer storage medium
US9348999B2 (en) User terminal, reliability management server, and method and program for preventing unauthorized remote operation
US20170155739A1 (en) Advertisement data processing method and router
CN114979983B (en) Message processing method and device and electronic equipment
CN106487653B (en) Message processing method and server
CN112637338A (en) Internet of things node service management method, device, equipment and storage medium
CN113098757B (en) Red packet transmitting method, red packet receiving method, red packet transmitting device and red packet receiving device
WO2020215905A1 (en) Data delivery method, apparatus, and device, and computer-readable storage medium
US20170263068A1 (en) Method for generating counting events and electronic device
CN115795100A (en) User event processing method and device, electronic equipment and readable storage medium
CN107222559B (en) Information calling method
CN112257100A (en) Method and device for detecting sensitive data protection effect and storage medium
CN111694999A (en) Information processing method and device and electronic equipment
CN114980072B (en) Electronic business card exchange method and device based on Subscriber Identity Module (SIM) card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant