CN114390452A - Message sending method and related equipment - Google Patents

Message sending method and related equipment Download PDF

Info

Publication number
CN114390452A
CN114390452A CN202210054975.7A CN202210054975A CN114390452A CN 114390452 A CN114390452 A CN 114390452A CN 202210054975 A CN202210054975 A CN 202210054975A CN 114390452 A CN114390452 A CN 114390452A
Authority
CN
China
Prior art keywords
message
user
push
type
pushing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210054975.7A
Other languages
Chinese (zh)
Other versions
CN114390452B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202210054975.7A priority Critical patent/CN114390452B/en
Publication of CN114390452A publication Critical patent/CN114390452A/en
Application granted granted Critical
Publication of CN114390452B publication Critical patent/CN114390452B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a message sending method and related equipment. The method comprises the following steps: receiving a message pushing task, wherein the message pushing task comprises message content to be pushed and a user list of messages to be received, and the user list comprises communication identification of at least one user; determining a message pushing type corresponding to the user according to the communication identifier; generating a push message corresponding to a message push type according to the content of the message to be pushed; and sending the push message to a user matched with the message push type in the user list according to the message push type corresponding to the push message. The method and the device for pushing the message can automatically select the type of the message to be sent, and improve the pushing effect.

Description

Message sending method and related equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a message sending method and a related device.
Background
At present, the traditional message service needs to independently interface a plurality of services, and before message pushing, the message type to be sent needs to be manually selected in advance, and meanwhile, the disadvantages of the selected message type that a better display effect cannot be achieved on a user terminal, and the selected message type brings higher pushing cost and other pushing effects exist. Therefore, how to provide a message sending method, which can automatically select the type of the sent message and improve the pushing effect, becomes a technical problem to be solved urgently.
Disclosure of Invention
The embodiments of the present application mainly aim to provide a message sending method, a message sending apparatus, a computer device, and a computer readable storage medium, which can automatically select a type of a sent message and improve a pushing effect.
In order to achieve the above object, a first aspect of an embodiment of the present application provides a message sending method, where the message sending method includes:
receiving a message pushing task, wherein the message pushing task comprises message content to be pushed and a user list of messages to be received, and the user list comprises communication identification of at least one user;
determining a message pushing type corresponding to the user according to the communication identifier;
generating a push message corresponding to a message push type according to the content of the message to be pushed;
and sending the push message to a user matched with the message push type in the user list according to the message push type corresponding to the push message.
According to some embodiments of the present application, the determining, according to the communication identifier, a message push type corresponding to the user includes:
searching the message receiving capacity corresponding to the user from a pre-established database according to the communication identifier;
and determining the message pushing type corresponding to the user according to the message receiving capacity corresponding to the user.
According to some embodiments of the application, before the searching for the message receiving capability corresponding to the user from the pre-established database according to the communication identifier, the method further comprises:
determining the message receiving capacity corresponding to the user according to the communication identifier;
and storing the message receiving capacity corresponding to the user in the database.
According to some embodiments of the application, the determining, according to the communication identifier, a message receiving capability corresponding to the user includes one of:
acquiring terminal information corresponding to the communication identifier through a client application, and determining message receiving capacity corresponding to the user according to the terminal information;
receiving terminal information returned by the 5G uplink message corresponding to the communication identifier, and determining the message receiving capacity corresponding to the user according to the terminal information;
and acquiring terminal information corresponding to the communication identifier through a capability detection interface provided by an operator or a service provider, and determining the message receiving capability corresponding to the user according to the terminal information.
According to some embodiments of the application, after the sending the push message to the user in the user list matching the message push type, the method further comprises:
when a message receiving failure instruction from a user is received, re-determining a message pushing type corresponding to the user, wherein the priority of the re-determined message pushing type is lower than that of the message pushing type before re-determination;
and sending the push message to the user according to the redetermined message push type.
According to some embodiments of the application, the Message push type includes at least one of a Short Message Service (SMS), a 5G Message, an AIM Message, and a mail.
According to some embodiments of the present application, the sending the push message to the user in the user list matched with the message push type according to the message push type corresponding to the push message includes:
dividing users in the user list according to the message pushing type corresponding to each user to obtain at least one sub-user list, wherein the users in the sub-user list correspond to the same message pushing type;
and determining a sub-user list corresponding to the push message according to the message push type corresponding to the push message, and sending the push message to a user corresponding to the sub-user list.
In order to achieve the above object, a second aspect of an embodiment of the present application provides a message sending apparatus, including:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a message pushing task, the message pushing task comprises message content to be pushed and a user list of messages to be received, and the user list comprises at least one communication identifier of a user;
the processing module is used for determining the message pushing type corresponding to the user according to the communication identifier;
the generation module is used for generating a push message corresponding to a message push type according to the content of the message to be pushed;
and the sending module is used for sending the push message to a user in the user list matched with the message push type according to the message push type corresponding to the push message.
To achieve the above object, a third aspect of embodiments of the present application proposes a computer device, which includes a memory and a processor, wherein the memory stores computer-readable instructions, and the computer-readable instructions, when executed by one or more of the processors, cause the one or more processors to execute the steps of any one of the methods described in the first aspect above.
To achieve the above object, a fourth aspect of the embodiments of the present application proposes a computer-readable storage medium, which can be read and written by a processor, and stores computer instructions, which, when executed by one or more processors, cause the one or more processors to execute the steps of any one of the methods described in the first aspect above.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
the message pushing task is received, wherein the message pushing task comprises a message content to be pushed and a user list of the message to be received, the user list comprises at least one communication identifier of a user, a message pushing type corresponding to the user is determined according to the communication identifier, then a pushing message corresponding to the message pushing type is generated according to the message content to be pushed, and finally the pushing message is sent to the user matched with the message pushing type in the user list according to the message pushing type corresponding to the pushing message. According to the method and the device, the message pushing type corresponding to the user is determined according to the selected condition through the communication identification of the user, then the pushing message corresponding to the message pushing type is generated and sent, and on the basis that the message type is automatically selected according to the communication identification, the message type is selected through the selected condition, so that the pushing effect is improved.
Drawings
Fig. 1 is a schematic flowchart of a message sending method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a message sending method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a message sending method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a message sending method according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a message sending method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a message sending apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that although functional blocks are partitioned in a schematic diagram of an apparatus and a logical order is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the partitioning of blocks in the apparatus or the order in the flowchart. The terms first, second and the like in the description and in the claims, and the drawings described above, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
First, several message push types involved in the present application are parsed:
SMS message: short message SMS is an alphanumeric message that a user sends or receives directly through a cell phone or other telecommunications terminal. The short message is not directly sent from the sender to the receiver, but is always forwarded through the short message service center. If the recipient is in an unconnected state, the message will be sent when the recipient is connected again.
5G message: the 5G message is the upgrade of the short message service, is a basic telecommunication service of an operator, realizes the leap of service experience based on the IP technology, and has more supported media formats and richer expression forms. The 5G message is constructed based on RCS and UP standards of the global system for mobile communication, and multimedia and lightweight of the message are realized.
AIM message: the AIM message seamlessly upgrades the traditional text short message into interactive rich media information through the mobile phone terminal short message enhancement technology. The rich media information integrates the message communication capabilities of video, voice, pictures, characters, short chains, two-dimensional codes and the like. And guiding the terminal user to directly reach the service scene in the AIM message in a button mode.
E, mail: that is, electronic mail, which is a communication method for providing information exchange by electronic means, is the most widely used service of the internet. Through the network e-mail system, users can contact with network users in any corner of the world in a cheap and fast mode, and e-mails can be in various forms such as characters, images, sound and the like.
At present, the traditional message service needs to independently interface a plurality of services, and before message pushing, the message type to be sent needs to be manually selected in advance, and meanwhile, the defects that the selected message type can not achieve a better display effect on a user terminal, and the selected message type brings higher pushing cost and other pushing effects exist. Therefore, how to provide a message sending method, which can automatically select the type of the sent message and improve the pushing effect, becomes a technical problem to be solved urgently.
Based on this, the embodiment of the application provides a message sending method, a message sending device, a computer device and a computer readable storage medium, which can automatically select the type of a sent message and improve the pushing effect.
The message sending method, the message sending device, the computer device, and the storage medium provided in the embodiments of the present application are specifically described in the following embodiments, and first, the message sending method in the embodiments of the present application is described.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
The embodiment of the application provides a message sending method, and relates to the technical field of artificial intelligence and digital medical treatment. The message sending method provided by the embodiment of the application can be applied to a terminal, a server side and software running in the terminal or the server side. In some embodiments, the terminal may be a smartphone, tablet, laptop, desktop computer, or the like; the server side can be configured into an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and cloud servers for providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN (content delivery network) and big data and artificial intelligence platforms; the software may be an application or the like that implements a message sending method, but is not limited to the above form.
The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
Referring to fig. 1, fig. 1 is a schematic flowchart of a message sending method according to an embodiment of the present application. It can be understood that the method of the embodiment of the present application may be applied to a server, may also be applied to a terminal, may also be applied to a system including a terminal and a server, and is implemented through interaction between the terminal and the server. As shown in fig. 1, the method comprises the steps of:
step S110, receiving a message pushing task, where the message pushing task includes a message content to be pushed and a user list of a message to be received, and the user list includes a communication identifier of at least one user.
It will be appreciated that the communication identification of the user may be the user's cell phone number.
Illustratively, receiving a service message pushing task, the service message pushing task includes service content information and a user list to receive the service message, where the user list includes mobile phone numbers of ten users.
Step S120, determining the message push type corresponding to the user according to the communication identifier.
According to the communication identification of the user in the user list, the communication identification or the terminal where the communication identification is located is detected to support the received message push type, and the optimal message push type is selected, namely the message push type corresponding to the user is determined.
In some embodiments, the message push type in embodiments of the present application includes at least one of an SMS message, a 5G message, an AIM message, and a mail.
Determining that the message push type corresponding to the user is at least one of an SMS message, a 5G message, an AIM message and a mail.
It should be understood that the message push type mentioned in the above embodiments should not be construed as a limitation to the embodiments of the present application, and the message push type determined according to the communication identifier is within the scope of the embodiments of the present application.
In some embodiments, referring to fig. 2, fig. 2 is a schematic flowchart of a message sending method provided in an embodiment of the present application, where determining a message push type corresponding to the user according to the communication identifier includes:
step S210, searching the message receiving capacity corresponding to the user from a pre-established database according to the communication identifier;
it is understood that the pre-established database stores the corresponding message receiving capability of the user in a desensitized form, the message receiving capability is a message type supported by the user for receiving, and the message type may be an SMS message, a 5G message, an AIM message, an email, or the like.
It should be understood that desensitization, i.e. data desensitization, refers to data deformation performed by desensitization rules on some sensitive information, so as to achieve reliable protection of sensitive private data.
Illustratively, the communication identifier corresponding to the user is a mobile phone number, a pre-established database stores the message receiving capability corresponding to the user in a desensitization form, and then the database is queried to determine the message receiving capability corresponding to the mobile phone number, that is, the mobile phone number supports the type of the received message.
In some embodiments, referring to fig. 3, fig. 3 is a schematic flowchart of a message sending method provided in an embodiment of the present application, where before step S210, the message sending method further includes:
step S310, determining the message receiving capacity corresponding to the user according to the communication identifier;
in some embodiments, the determining, according to the communication identifier, a message receiving capability corresponding to the user includes one of:
acquiring terminal information corresponding to the communication identifier through a client application, and determining message receiving capacity corresponding to the user according to the terminal information;
receiving terminal information returned by the 5G uplink message corresponding to the communication identifier, and determining the message receiving capacity corresponding to the user according to the terminal information;
and acquiring terminal information corresponding to the communication identifier through a capability detection interface provided by an operator or a service provider, and determining the message receiving capability corresponding to the user according to the terminal information.
It should be understood that the terminal information may be a terminal equipment brand, a terminal equipment model, or an operating system of the terminal equipment, a version thereof, and the like.
It will be appreciated that different message types have different requirements on the terminal equipment brand, the terminal equipment type or operating system and its version etc.
For example, existing mobile terminals are mostly supported for receiving SMS messages.
Illustratively, a small portion of public or white-list mobile terminals support receiving 5G messages.
Illustratively, most Hua cell phones and a small part of millet cell phones support receiving AIM messages.
In a specific embodiment, the method further includes establishing a database storing terminal requirements corresponding to different message types, and establishing the database so as to quickly query the message types supported to be received according to the terminal information.
The method comprises the steps of acquiring and receiving terminal information such as a terminal equipment brand, a terminal equipment model or an operating system and a version of the terminal equipment corresponding to a communication identifier through a path such as a 5G uplink message return acquired and received by a client application and a capability detection interface provided by an operator or a service provider, and determining the message receiving capability corresponding to a user according to different requirements of different message types on the terminal, namely determining the message type supported to be received by the user.
In some embodiments, the method further includes determining a message receiving capability corresponding to the user by recording a type of a message that is sent most recently.
It is understood that the message push type sent recently is a message type that the user has received successfully recently, where successful reception refers to "delivered" or "read". Classifying the message types which are successfully received recently by the user according to different requirements of different message types on the brand of the terminal equipment, the model of the terminal equipment or the operating system and the version thereof, and recording the message types which are successfully received or read at the highest level each time. And taking the message type successfully received or read at the latest highest level as the message type supported to be received by the user, namely the message receiving capability corresponding to the user is the message type successfully received or read at the latest highest level.
Illustratively, the type of message that a certain mobile phone number has received successfully recently is recorded: according to different requirements of the SMS message, the 5G message and the AIM message on the terminal information of the mobile phone number, if the adaptation level of the SMS message, the AIM message and the 5G message to the terminal where the mobile phone number is located is the 5G message, the AIM message and the SMS message, and the 5G message is the latest highest level message type by combining the receiving time of the mobile phone number, the 5G message is used as the message type which the mobile phone number supports to receive, namely the message receiving capacity corresponding to the mobile phone number is capable of receiving the 5G message.
Step S320, storing the message receiving capability corresponding to the user in the database.
And storing the message receiving capacity corresponding to the user in a database, so that the message receiving capacity corresponding to the user can be searched from the database according to the communication identifier, namely the message type supported by the user is searched.
It can be understood that, in this embodiment, the communication identifier of the user and the corresponding message receiving capability may be stored in the database in a desensitized form, the communication identifier of the user and the corresponding terminal information may also be stored in the database a in a desensitized form, another database B storing the terminal requirements corresponding to different message types is then established, and the two databases a and B are queried according to the communication identifier connection to determine the message receiving capability corresponding to the user.
Step S220, determining the message pushing type corresponding to the user according to the message receiving capacity corresponding to the user.
It can be understood that, according to the capability of receiving the message corresponding to the user, the message push type corresponding to the user is determined, that is, the message push type of the user is determined from the message types that the user can receive.
Illustratively, the message receiving capability corresponding to the user is capable of receiving an SMS message, a 5G message and an AIM message, and the message pushing type corresponding to the user is determined to be the 5G message, so that the message is pushed to the user in the form of the 5G message.
Specifically, the message push type corresponding to the user may be determined from the message receiving capability corresponding to the user according to the type of the message push task and the actual service scenario and according to the principles of minimizing the push cost or maximizing the display effect, so as to reduce the push cost or improve the display effect.
Illustratively, according to the communication identifier, the capability of searching for a message received corresponding to the user from a pre-established database is as follows: the method can receive SMS messages, 5G messages and AIM messages, the current message pushing task is to send advertisement service short messages, the message pushing task can select message types such as SMS messages, mails or AIM messages to push, and the AIM messages are used as message pushing types corresponding to users based on a display effect priority principle according to the types of the messages which can be pushed and the types of the messages which can be received by the users.
In another specific embodiment, the determining, according to the communication identifier, a message push type corresponding to the user according to the communication identifier in the embodiment of the present application may further include: determining the types of the pushable messages of the message pushing task, sequencing the types of the pushable messages according to the principles of cost priority or display effect priority and the like, sequentially selecting the types of the messages in the sequence as the current message types, and then searching whether the message receiving capability corresponding to the user supports receiving the current message types or not from a pre-established database according to the communication identification so as to determine the message pushing type corresponding to the user.
Illustratively, the message pushing task is to send a verification code short message, and the message pushing task may select message types such as an SMS message, a 5G message text short message, or a 5G message card type short message to push, and rank the pushable message types according to a cost priority: 5G message text short message, 5G message card type short message, SMS message … …, then under the condition of cost priority, the 5G message text short message is the highest priority. Searching whether the message receiving capacity corresponding to the user supports receiving the 5G message text short message or not from a pre-established database according to the communication identifier, and if the user supports receiving, using the 5G message text short message as a message pushing type corresponding to the user; if the user does not support receiving, selecting the 5G message card type short message with the second priority, and determining whether the corresponding message receiving capability of the user supports receiving the 5G message card type short message, and so on.
According to the message receiving capacity corresponding to the user and different selection principles such as display effect priority or cost priority, the message push type corresponding to the user is determined, and different push effects can be achieved.
Step S130, generating a push message corresponding to the message push type according to the content of the message to be pushed.
It can be understood that the message template in the release record is subjected to big data analysis, push content and form are summarized by combining the interception rules of operators and manufacturers and behavior reports of reading, clicking and the like of the user terminal, so that the template in the full message form is automatically generated according to the message push task, and a push message corresponding to the message push type is generated according to the content of the message to be pushed based on the template.
In a specific embodiment, the push message corresponding to the message push type is generated according to the content of the message to be pushed, and the push message corresponding to the message push type can be generated according to the content of the message to be pushed based on the optimized template by receiving the template provided by the push party and optimizing the template, for example, removing sensitive words, high-frequency intercepted words, replacing the words with optimal description sentences or integrating hot topics.
The push message corresponding to the message push type is generated according to the content of the message to be pushed, so that the reading experience of a user is improved to the maximum extent, and the reading and the conversion of the message are promoted.
Step S140, according to the message push type corresponding to the push message, sending the push message to the user in the user list matching with the message push type.
Illustratively, when the message push type corresponding to the push message is an AIM message, the push message is sent to a user in the user list matching the message push type, that is, the AIM message is sent to a user in the user list whose message push type is an AIM message.
In some embodiments, referring to fig. 5, fig. 5 is a schematic flow chart of a message sending method provided in an embodiment of the present application, where sending, according to a message push type corresponding to the push message, the push message to a user in the user list that is matched with the message push type includes:
step S510, according to the message push type corresponding to each user, dividing the users in the user list to obtain at least one sub-user list, where the users in the sub-user list correspond to the same message push type.
Step S520, determining a sub-user list corresponding to the push message according to the message push type corresponding to the push message, and sending the push message to a user corresponding to the sub-user list.
It can be understood that the user list of the message to be received includes a communication identifier of at least one user, that is, there are multiple users of the message to be received, before sending push messages of different message push types to the multiple users in the user list, the users are divided into multiple sub-user lists according to the message push type corresponding to each user, the users in the sub-user lists correspond to the same message push type, and then the sub-user lists corresponding to the push messages are determined according to the message push type corresponding to the push messages, and the push messages are sent to the users corresponding to the sub-user lists.
After the message pushing types corresponding to all the users in the user list are determined, the users with the same message pushing type are divided, and message sending is carried out according to the divided list, so that the message sending efficiency can be improved when a large batch of pushing tasks are processed.
In another specific embodiment, when a large batch of push tasks are processed, the method may further include, when the message push type corresponding to each user in the user list is determined according to the communication identifier, distributing the users of the same message push type to the same sub-user list, then determining the sub-user list corresponding to the push message according to the message push type corresponding to the push message, and sending the push message to the user corresponding to the sub-user list, so as to achieve an effect of improving message sending efficiency.
In some embodiments, referring to fig. 4, fig. 4 is a schematic flowchart of a message sending method provided in an embodiment of the present application, where after sending the push message to a user in the user list, which is matched with the message push type, the message sending method further includes:
step S410, when receiving a message receiving failure instruction from a user, re-determining a message push type corresponding to the user, where the priority of the message push type after re-determination is lower than that before re-determination.
Step S420, sending the push message to the user according to the redetermined message push type.
Illustratively, the corresponding message receiving capability of the user is: the method can receive SMS messages, 5G messages and AIM messages, the current message pushing task is to send advertisement service short messages, the message pushing task can select message types such as SMS messages, mails or AIM messages to push, the AIM messages are used as first message pushing types corresponding to users, the SMS messages are used as second message pushing types corresponding to the users based on a display priority principle according to the message types capable of being pushed and the message types capable of being received by the users, and the priority of the second message pushing types is lower than that of the first message pushing types.
After the push message is sent to the user in the user list matched with the first message push type (AIM message), and a message receiving failure instruction from the user is received, the message push type corresponding to the user is determined again, namely the message push type corresponding to the user is determined again as the second message push type (SMS message), and the push message is sent to the user again according to the SMS message type.
By re-determining the message pushing type corresponding to the user and then sending the pushing information to the user according to the re-determined message pushing type, the reach rate of message sending can be improved.
In a specific embodiment, before sending the push information to the user according to the re-determined message push type, the method further includes:
and generating a push message corresponding to the re-determined message push type according to the content of the message to be pushed.
It should be noted that, the specific implementation of the steps in the above embodiment may refer to step S130, and details are not described here.
In another specific embodiment, before receiving the message reception failure instruction from the user, the method may further include:
and acquiring a pre-configured message reissue strategy, and determining whether to perform message reissue according to the message reissue strategy and a message receiving failure instruction.
For example, the pre-configured message reissue policy may be: after the first message is sent in a pushing type failure, whether message complementary sending is carried out or not is judged; or whether message retransmission is carried out or not when the report return time of the first message push type successful transmission is exceeded; or the number of retries to make a message reissue, etc.
The message pushing task is received, wherein the message pushing task comprises a message content to be pushed and a user list of the message to be received, the user list comprises at least one communication identifier of a user, a message pushing type corresponding to the user is determined according to the communication identifier, then a pushing message corresponding to the message pushing type is generated according to the message content to be pushed, and finally the pushing message is sent to the user matched with the message pushing type in the user list according to the message pushing type corresponding to the pushing message. According to the method and the device, the message pushing type corresponding to the user is determined according to the selected condition through the communication identification of the user, then the pushing message corresponding to the message pushing type is generated and sent, and on the basis that the message type is automatically selected according to the communication identification, the message type is selected through the selected condition, so that the pushing effect is improved.
An embodiment of the present application further provides a message sending apparatus, referring to fig. 6, fig. 6 is a schematic structural diagram of the message sending apparatus provided in an embodiment of the present application, and as shown in fig. 6, the message sending apparatus 100 includes:
a receiving module 110, configured to receive a message pushing task, where the message pushing task includes content of a message to be pushed and a user list of the message to be received, and the user list includes a communication identifier of at least one user;
a processing module 120, configured to determine, according to the communication identifier, a message push type corresponding to the user;
a generating module 130, configured to generate, according to the content of the message to be pushed, a push message corresponding to a message push type;
a sending module 140, configured to send the push message to a user in the user list matching the message push type according to the message push type corresponding to the push message.
It should be noted that, because the contents of information interaction, execution process, and the like between the modules/units are based on the same concept as that of the method embodiment of the present application, specific functions and technical effects thereof may be referred to specifically in the method embodiment section, and are not described herein again.
Fig. 7 illustrates a computer device 200 provided by an embodiment of the present application. The computer device 200 may be a server or a terminal, and the internal structure of the computer device 200 includes but is not limited to:
a memory 210 for storing a program;
and a processor 220 for executing the program stored in the memory 210, wherein when the processor 220 executes the program stored in the memory 210, the processor 220 is configured to execute the message sending method.
The processor 220 and the memory 210 may be connected by a bus or other means.
The memory 210, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs and non-transitory computer executable programs, such as the message sending method described in any embodiment of the present invention. Processor 220 implements the messaging method described above by executing non-transitory software programs and instructions stored in memory 210.
The memory 210 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store a message transmission method that is performed as described above. Further, the memory 210 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 210 may optionally include memory located remotely from the processor 220, and such remote memory may be coupled to the processor 220 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Non-transitory software programs and instructions necessary to implement the messaging methods described above are stored in memory 210 and, when executed by the one or more processors 220, perform the messaging methods provided by any of the embodiments of the present invention.
An embodiment of the present application further provides a storage medium, where the storage medium is a computer-readable storage medium and is used for computer-readable storage, and the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the above-mentioned message sending method.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The embodiments described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation to the technical solutions provided in the embodiments of the present application, and it is obvious to those skilled in the art that the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems with the evolution of technology and the emergence of new application scenarios.
Those skilled in the art will appreciate that the solutions shown in fig. 1 to 5 do not constitute a limitation on the embodiments of the present application, and may include more or less steps than those shown, or combine some steps, or different steps.
The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
The terms "first," "second," "third," "fourth," and the like in the description of the application and the above-described figures, if any, 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 is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the above-described division of units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes multiple instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing programs, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The preferred embodiments of the present application have been described above with reference to the accompanying drawings, and the scope of the claims of the embodiments of the present application is not limited thereto. Any modifications, equivalents and improvements that may occur to those skilled in the art without departing from the scope and spirit of the embodiments of the present application are intended to be within the scope of the claims of the embodiments of the present application.

Claims (10)

1. A method for sending a message, the method comprising:
receiving a message pushing task, wherein the message pushing task comprises message content to be pushed and a user list of messages to be received, and the user list comprises communication identification of at least one user;
determining a message pushing type corresponding to the user according to the communication identifier;
generating a push message corresponding to a message push type according to the content of the message to be pushed;
and sending the push message to a user matched with the message push type in the user list according to the message push type corresponding to the push message.
2. The method according to claim 1, wherein the determining a message push type corresponding to the user according to the communication identifier includes:
searching the message receiving capacity corresponding to the user from a pre-established database according to the communication identifier;
and determining the message pushing type corresponding to the user according to the message receiving capacity corresponding to the user.
3. The method of claim 2, wherein prior to said searching for a capability to receive messages corresponding to said user from a pre-established database based on said communication identifier, said method further comprises:
determining the message receiving capacity corresponding to the user according to the communication identifier;
and storing the message receiving capacity corresponding to the user in the database.
4. The method of claim 3, wherein the determining the message receiving capability corresponding to the user according to the communication identifier comprises one of:
acquiring terminal information corresponding to the communication identifier through a client application, and determining message receiving capacity corresponding to the user according to the terminal information;
receiving terminal information returned by the 5G uplink message corresponding to the communication identifier, and determining the message receiving capacity corresponding to the user according to the terminal information;
and acquiring terminal information corresponding to the communication identifier through a capability detection interface provided by an operator or a service provider, and determining the message receiving capability corresponding to the user according to the terminal information.
5. The method of claim 1, wherein after the sending the push message to the user in the user list matching the message push type, the method further comprises:
when a message receiving failure instruction from a user is received, re-determining a message pushing type corresponding to the user, wherein the priority of the re-determined message pushing type is lower than that of the message pushing type before re-determination;
and sending the push message to the user according to the redetermined message push type.
6. The method of claim 1, wherein the message push type comprises at least one of an SMS message, a 5G message, an AIM message, and a mail.
7. The method according to claim 1, wherein the sending the push message to the user in the user list matching the message push type according to the message push type corresponding to the push message includes:
dividing users in the user list according to the message pushing type corresponding to each user to obtain at least one sub-user list, wherein the users in the sub-user list correspond to the same message pushing type;
and determining a sub-user list corresponding to the push message according to the message push type corresponding to the push message, and sending the push message to a user corresponding to the sub-user list.
8. A message transmission apparatus, characterized in that the apparatus comprises:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a message pushing task, the message pushing task comprises message content to be pushed and a user list of messages to be received, and the user list comprises at least one communication identifier of a user;
the processing module is used for determining the message pushing type corresponding to the user according to the communication identifier;
the generation module is used for generating a push message corresponding to a message push type according to the content of the message to be pushed;
and the sending module is used for sending the push message to a user in the user list matched with the message push type according to the message push type corresponding to the push message.
9. A computer device, comprising:
a memory for storing a program;
a processor for executing the memory-stored program, the processor being configured to perform, when the processor executes the memory-stored program: the method of any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon computer-executable instructions for performing: the method of any one of claims 1 to 7.
CN202210054975.7A 2022-01-18 2022-01-18 Message sending method and related equipment Active CN114390452B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210054975.7A CN114390452B (en) 2022-01-18 2022-01-18 Message sending method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210054975.7A CN114390452B (en) 2022-01-18 2022-01-18 Message sending method and related equipment

Publications (2)

Publication Number Publication Date
CN114390452A true CN114390452A (en) 2022-04-22
CN114390452B CN114390452B (en) 2023-05-26

Family

ID=81203794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210054975.7A Active CN114390452B (en) 2022-01-18 2022-01-18 Message sending method and related equipment

Country Status (1)

Country Link
CN (1) CN114390452B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979055A (en) * 2022-04-26 2022-08-30 中移互联网有限公司 Message transmission method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7609686B1 (en) * 2004-11-01 2009-10-27 At&T Mobility Ii Llc Mass multimedia messaging
US20100093379A1 (en) * 2008-10-13 2010-04-15 Microsoft Corporation Universal mobile device messaging
US20100115035A1 (en) * 2008-10-31 2010-05-06 Palm, Inc. Apparatus and methods for providing enhanced mobile messaging services
US20110125864A1 (en) * 2008-08-14 2011-05-26 Zte Corporation Content adaptation realizing method and content adaptation server
CN103973461A (en) * 2013-02-06 2014-08-06 阿里巴巴集团控股有限公司 Notification message pushing method and message server
CN105027587A (en) * 2012-12-20 2015-11-04 微软技术许可有限责任公司 Messages augmented with structured entities

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7609686B1 (en) * 2004-11-01 2009-10-27 At&T Mobility Ii Llc Mass multimedia messaging
US20110125864A1 (en) * 2008-08-14 2011-05-26 Zte Corporation Content adaptation realizing method and content adaptation server
US20100093379A1 (en) * 2008-10-13 2010-04-15 Microsoft Corporation Universal mobile device messaging
US20100115035A1 (en) * 2008-10-31 2010-05-06 Palm, Inc. Apparatus and methods for providing enhanced mobile messaging services
CN105027587A (en) * 2012-12-20 2015-11-04 微软技术许可有限责任公司 Messages augmented with structured entities
CN103973461A (en) * 2013-02-06 2014-08-06 阿里巴巴集团控股有限公司 Notification message pushing method and message server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979055A (en) * 2022-04-26 2022-08-30 中移互联网有限公司 Message transmission method
CN114979055B (en) * 2022-04-26 2023-09-19 中移互联网有限公司 Message transmission method

Also Published As

Publication number Publication date
CN114390452B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
EP2814212B1 (en) Method and apparatus for adding friend, and storage medium
CN104253741B (en) A kind of method for sending information, relevant apparatus and system
US20140328478A1 (en) Method and system for identifying prank call, client, server, and storage medium
CN110113247B (en) Rich media information receiving and sending system, sending and displaying method and terminal equipment
CN112689202B (en) Live broadcast room message processing method and device, server and storage medium
CN108768835B (en) Mail analysis method, device, server and storage medium
CN109766315B (en) File display method and terminal, computer storage medium and computer equipment
CN114390452B (en) Message sending method and related equipment
US20180343216A1 (en) Context driven modification of attachments in a messaging session
US20210112025A1 (en) Method and server for processing messages
CN107423446B (en) New media automation trusted deployment system and method based on cloud storage
CN113282590A (en) Interface joint debugging method and device based on 5G message
CN1503544A (en) Portable terminal displaying relative E-mail, E-mail display method and program
US20130067006A1 (en) Information Combining Method, Terminal, and IM System
US20140310361A1 (en) Method and system for handling message on instant messaging open platform
CN114124860A (en) Session management method, device, equipment and storage medium
CN105991417B (en) Method and device for receiving dynamic information of friends in social network
CN114189502A (en) Information sending method, device, storage medium and equipment
CN113992352A (en) Message pushing method and device, electronic equipment and storage medium
CN109299240B (en) Chat robot knowledge display method and device
CN108965356B (en) Information interaction method and electronic equipment
EP2843923A2 (en) Device and method for enriching communication
CN108966157B (en) Method and device for sending and displaying terminal information
CN113472631B (en) Reminding information processing method and device, electronic equipment and storage medium
CN113766437B (en) Short message sending method and device

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