CN114390452B - Message sending method and related equipment - Google Patents

Message sending method and related equipment Download PDF

Info

Publication number
CN114390452B
CN114390452B CN202210054975.7A CN202210054975A CN114390452B CN 114390452 B CN114390452 B CN 114390452B CN 202210054975 A CN202210054975 A CN 202210054975A CN 114390452 B CN114390452 B CN 114390452B
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.)
Active
Application number
CN202210054975.7A
Other languages
Chinese (zh)
Other versions
CN114390452A (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 identifiers 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 the message push type according to the message content 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 the embodiment of the application, the type of the sent message can be automatically selected, and the pushing effect is improved.

Description

Message sending method and related equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a message sending method and related devices.
Background
At present, the traditional message service needs to be independently connected with a plurality of services, and before message pushing is carried out, the type of the message to be sent needs to be manually selected in advance, meanwhile, the selected message type cannot achieve a better display effect on the user terminal, and the selected message type has the defects of higher pushing cost and other pushing effects. Therefore, how to provide a message sending method, which can automatically select the type of the sent message, improve the pushing effect, and is a technical problem to be solved.
Disclosure of Invention
The main purpose of the embodiments of the present application is to provide a message sending method, a message sending device, a computer device, and a computer readable storage medium, which can automatically select a type of a message to be sent, and improve a pushing effect.
To achieve the above object, a first aspect of an embodiment of the present application proposes a message sending method, including:
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 identifiers 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 the message push type according to the message content 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 capability corresponding to the user.
According to some embodiments of the present application, before the searching, according to the communication identifier, the capability of receiving the message corresponding to the user from a pre-established database, the method further includes:
determining the message receiving capability corresponding to the user according to the communication identifier;
and storing the message receiving capacity corresponding to the user into the database.
According to some embodiments of the present application, the determining, according to the communication identifier, a message receiving capability corresponding to the user includes one of the following:
acquiring terminal information corresponding to the communication identifier through a client application, and determining the message receiving capability 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 capability corresponding to the user according to the terminal information;
terminal information corresponding to the communication identifier is collected through a capability detection interface provided by an operator or a service provider, and the message receiving capability corresponding to the user is determined according to the terminal information.
According to some embodiments of the present application, after the sending the push message to the user in the user list that matches the message push type, the method further includes:
when a message receiving failure instruction from a user is received, the message pushing type corresponding to the user is redetermined, and the priority of the redetermined message pushing type is lower than that of the message pushing type before redetermining;
and sending the push message to the user according to the redetermined message push type.
According to some embodiments of the present application, the message push type includes at least one of a short message (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 matching the message push type in the user list 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.
To achieve the above object, a second aspect of the embodiments of the present application proposes a message sending apparatus, including:
the message pushing system comprises a receiving module, a message pushing module and a message sending 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 communication identifiers of at least one 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 the message push type according to the message content to be pushed;
and the sending module is used for sending the push message to the users matched with the message push type in the user list according to the message push type corresponding to the push message.
To achieve the above object, a third aspect of the embodiments of the present application proposes a computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by one or more of the processors, cause the one or more processors to perform the steps of the method as described in any of the above first aspects.
To achieve the above object, a fourth aspect of the embodiments of the present application proposes a computer readable storage medium readable and writable by a processor, the storage medium storing computer instructions that when executed by one or more processors cause the one or more processors to perform the steps of the method as described in any one of the above first aspects.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
the method comprises the steps of receiving a message pushing task, wherein the message pushing task comprises message content to be pushed and a user list of the message to be received, the user list comprises communication identification of at least one user, further determining a message pushing type corresponding to the user according to the communication identification, generating a pushing message corresponding to the message pushing type according to the message content to be pushed, and finally sending the pushing message to a 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 embodiment of the application, the message pushing type corresponding to the user is determined according to the selected condition through the communication identifier of the user, then the pushing message corresponding to the message pushing type is generated and sent, and the message type is selected according to the selected condition on the basis of automatically selecting the message type according to the communication identifier, so that the pushing effect is improved.
Drawings
Fig. 1 is a schematic flow chart of a message sending method provided in an embodiment of the present application;
fig. 2 is a flow chart of a message sending method provided in an embodiment of the present application;
fig. 3 is a flow chart of a message sending method provided in an embodiment of the present application;
fig. 4 is a flow chart of a message sending method provided in an embodiment of the present application;
fig. 5 is a flow chart of a message sending method provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a message sending device 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 will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It should be noted that although functional block division is performed in a device diagram and a logic sequence is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the block division in the device, or in the flowchart. The terms first, second and the like in the description and in the claims and in the above-described figures, 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 present application.
First, several message push types referred to in this 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 sent directly 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 an upgrade of short message service, is a basic telecommunication service of an operator, realizes a leap of service experience based on IP technology, supports more media formats and has more expression forms. The 5G message is constructed based on the RCS and UP standards of the Global Mobile communications Association, so as to realize the multimedia and light weight of the message.
AIM message: the AIM message seamlessly upgrades the traditional text message into interactive rich media information through a mobile phone terminal message enhancement technology. The rich media information integrates the message communication capabilities of video, voice, pictures, characters, short chains, two-dimension codes and the like. And guiding the terminal user to directly reach the service scene in the AIM message by means of a button.
Mail: namely, email, which is a communication method for providing information exchange by electronic means, is the service with the widest application of the internet. Through the network email system, the user can contact with network users in any corner of the world in a low-cost and quick manner, and the email can be in various forms such as characters, images, sounds and the like.
At present, the traditional message service needs to be independently connected with a plurality of services, and before message pushing is carried out, the type of the message 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, the selected message type brings higher pushing effect such as higher pushing cost and the like exist. Therefore, how to provide a message sending method, which can automatically select the type of the sent message, improve the pushing effect, and is a technical problem to be solved.
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 device, the computer equipment and the storage medium provided in the embodiments of the present application are specifically described through the following embodiments, and the message sending method in the embodiments of the present application is first described.
The embodiment of the application can acquire and process the related data based on the artificial intelligence technology. Among these, artificial intelligence (Artificial Intelligence, AI) is the theory, method, technique and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend and extend human intelligence, sense the environment, acquire knowledge and use knowledge to obtain optimal results.
Artificial intelligence infrastructure technologies generally include 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 other directions.
The embodiment of the application provides a message sending method, which relates to the technical fields of artificial intelligence and digital medical treatment. The message sending method provided by the embodiment of the application can be applied to the terminal, the server side and software running in the terminal or the server side. In some embodiments, the terminal may be a smart phone, tablet, notebook, desktop, etc.; the server side can be configured as an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and a cloud server for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, basic cloud computing services such as big data and artificial intelligent platforms and the like; the software may be an application or the like that implements the messaging method, but is not limited to the above form.
The subject application is operational with numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet 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 flow chart of a message sending method provided in an embodiment of the present application. It can be understood that the method of the embodiment of the application can be applied to a server, and the method can also be applied to a terminal, and can also be applied to a system comprising the terminal and the server, and can be realized through interaction of the terminal and the server. As shown in fig. 1, the method comprises the steps of:
Step S110, 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 identifiers of at least one user.
It will be appreciated that the communication identity of the user may be the user's cell phone number.
Illustratively, a service message push task is received, where the service message push task includes service content information, and a list of users to receive the service message, where the list of users includes mobile phone numbers of ten users.
Step S120, determining the message pushing type corresponding to the user according to the communication identifier.
And detecting the message pushing type supported to be received by the communication identifier or the terminal where the communication identifier is positioned according to the communication identifier of the user in the user list, and selecting the optimal message pushing type, namely determining the message pushing type corresponding to the user.
In some embodiments, the message push type described in embodiments of the present application includes at least one of SMS messages, 5G messages, AIM messages, and mail.
The message push type corresponding to the user is determined to be at least one of an SMS message, a 5G message, an AIM message and a mail.
It should be understood that the message push types mentioned in the above embodiments are not to be construed as limiting the embodiments of the present application, as long as the message push types that can be determined according to the communication identifier are within the scope of the embodiments of the present application.
In some embodiments, referring to fig. 2, fig. 2 is a flow chart of a message sending method provided in an embodiment of the present application, where determining, according to the communication identifier, a message push type corresponding to the user includes:
step S210, searching the message receiving capacity corresponding to the user from a pre-established database according to the communication identification;
it will be appreciated that the pre-established database stores in desensitized form the user's corresponding received message capabilities, which are the types of messages that the user supports for receipt, which may be SMS messages, 5G messages, AIM messages or mail, etc.
It should be understood that desensitization, i.e. data desensitization, refers to the deformation of data by desensitization rules on certain sensitive information, enabling reliable protection of sensitive private data.
The communication identifier corresponding to the user is a mobile phone number, the pre-established database stores the message receiving capability corresponding to the user in a desensitization mode, and then the message receiving capability corresponding to the mobile phone number, namely the message type supported by the mobile phone number, is determined by querying the database.
In some embodiments, referring to fig. 3, fig. 3 is a schematic flow chart of a message sending method provided in an embodiment of the present application, and 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 the message receiving capability corresponding to the user according to the communication identifier includes one of the following:
acquiring terminal information corresponding to the communication identifier through a client application, and determining the message receiving capability 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 capability corresponding to the user according to the terminal information;
terminal information corresponding to the communication identifier is collected through a capability detection interface provided by an operator or a service provider, and the message receiving capability corresponding to the user is determined according to the terminal information.
It should be appreciated that the terminal information may be a brand of the terminal device, a model of the terminal device, or an operating system of the terminal device, a version thereof, etc.
It will be appreciated that different message types have different requirements for the brand of the terminal device, the terminal device type or operating system and its version, etc.
Illustratively, existing mobile terminals are mostly supported for receiving SMS messages.
Illustratively, a small portion of the public version mobile terminals or whitelist mobile terminals support receiving 5G messages.
Illustratively, most of the bloom is a handset and a small portion of the millet is a handset support for receiving AIM messages.
In a specific embodiment, the embodiment of the application further comprises the step of establishing a database which stores the requirements of the terminals corresponding to different message types, and establishing the database so as to quickly inquire the message types supported to be received according to the terminal information.
Terminal information such as a terminal equipment brand, a terminal equipment model or an operating system of the terminal equipment and a version thereof corresponding to the communication identifier is acquired through a mode path such as a message feedback of a 5G uplink, a capability detection interface provided by an operator or a service provider and the like, and then the message receiving capability corresponding to a user is determined according to different requirements of different message types on the terminal, namely the message type supported by the user is determined.
In some embodiments, the method further includes determining a message receiving capability corresponding to the user by recording a most recently sent message type.
It will be appreciated that the most recently sent message push type is the type of message that the user has recently received successfully, where receiving success refers to "delivered" or "read". 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, the type of the message which is successfully received recently by the user is classified, and the type of the message which is successfully received or read at the highest level is recorded each time. And taking the message type successfully received or read at the latest highest level as the message type which the user supports to receive, namely the message type which has the message receiving capacity corresponding to the user and is successfully received or read at the latest highest level.
Illustratively, the message type of the last successful receipt of a certain mobile phone number is recorded: and 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 on the terminal where the mobile phone number is positioned is the 5G message, the AIM message and the SMS message, and the 5G message is the most recent highest-level message type in combination with the receiving time of the mobile phone number, the 5G message is used as the message type of the mobile phone number for supporting the receiving, namely the receiving message capability corresponding to the mobile phone number is the receivable 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 into a database, so that the message receiving capacity corresponding to the user can be searched from the database according to the communication identification, namely, the message type supported by the user is searched.
It may be understood that in this embodiment, the communication identifier of the user and the corresponding message receiving capability may be stored in a database in a desensitized form, and the communication identifier of the user and the corresponding terminal information may be stored in a database a in a desensitized form, and another database B storing the terminal requirements corresponding to different message types is built, and the two databases a and B are queried according to the connection of the communication identifier to determine the message receiving capability corresponding to the user.
Step S220, according to the message receiving capability corresponding to the user, determining the message pushing type corresponding to the user.
It can be understood that, according to the message receiving capability corresponding to the user, the message pushing type corresponding to the user is determined, that is, the message pushing type of the user is determined in the message types receivable by the user.
Illustratively, the message receiving capability corresponding to the user is that the SMS message, the 5G message and the AIM message can be received, 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, according to the type of the message pushing task and the actual service scene, the message pushing type corresponding to the user can be determined from the message receiving capacity corresponding to the user according to the principles of minimized pushing cost, maximized display effect and the like, so that the pushing cost is reduced or the display effect is improved.
Illustratively, according to the communication identifier, searching the message receiving capability corresponding to the user from the pre-established database is as follows: the message pushing task can select message types such as SMS message, mail or AIM message to push, and the AIM message is used as the message pushing type corresponding to the user based on the display effect priority principle according to the type of the message which can be pushed and the type of the message which can be received by the user.
In another specific embodiment, in the determining, according to the communication identifier, a message push type corresponding to the user may further include: determining the type of the message which can be pushed by the message pushing task, sequencing the type of the message which can be pushed according to the principles of cost priority or display effect priority and the like, sequentially selecting the type of the message in the sequence as the current message type, and searching whether the message receiving capacity corresponding to the user supports the current message type or not from a pre-established database according to the communication identification, thereby determining the message pushing type corresponding to the user.
For example, if the message pushing task is to send a verification code short message, the message pushing task may select message types such as SMS message, 5G message text short message or 5G message card short message to push, and order the message types that can be pushed according to cost priority: 5G message text message, 5G message card type message, SMS message … …, then under the condition of cost priority, the 5G message text message is the highest priority. According to the communication identification, searching whether the message receiving capability corresponding to the user supports receiving the 5G message text short message from a pre-established database, and if the user supports receiving, taking 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, determining whether the corresponding message receiving capability of the user supports receiving the 5G message card type short message, and the like.
According to the message receiving capability corresponding to the user and different selection principles such as display effect priority or cost priority, the message pushing type corresponding to the user is determined, and different pushing effects can be achieved.
Step S130, generating a push message corresponding to the message push type according to the message content to be pushed.
It can be understood that the message templates in the delivery records are subjected to big data analysis, and the push content and the form are summarized by combining with interception rules of operators and manufacturers and behavior reports such as reading and clicking of user terminals, so that templates in the form of full messages are automatically generated according to the message push tasks, and push messages corresponding to the message push types are generated according to the message content to be pushed based on the templates.
In a specific embodiment, according to the message content to be pushed, a push message corresponding to the message push type is generated, or a template provided by a pushing party is received and optimized, for example, sensitive words, high-frequency interception words, best description sentences or hot topics are replaced, and the like are removed, and based on the optimized template, the push message corresponding to the message push type is generated according to the message content to be pushed.
By generating the push message corresponding to the message push type according to the message content to be pushed, the reading experience of the user is improved to the maximum extent, and the reading and conversion of the message are promoted.
Step S140, according to the message push type corresponding to the push message, the push message is sent to the user matched with the message push type in the user list.
For example, when the message push type corresponding to the push message is an AIM message, the push message is sent to the user matching the message push type in the user list, that is, the AIM message is sent to the user whose message push type is the AIM message in the user list.
In some embodiments, referring to fig. 5, fig. 5 is a flow chart of a message sending method provided in the embodiments of the present application, where the sending, according to a message push type corresponding to the push message, the push message to a user matching the message push type in the user list includes:
step S510, dividing the users in the user list according to the message pushing type corresponding to each user, to obtain at least one sub-user list, where the users in the sub-user list correspond to the same message pushing 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, a user having a plurality of messages to be received, before sending push messages of different message push types to a plurality of users in the user list, dividing the users into a plurality of 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, 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.
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 the message is sent according to the divided list, so that the message sending efficiency can be improved when a large number of pushing tasks are processed.
In another embodiment, when processing a large number of push tasks, the method may further include, when determining a message push type corresponding to each user in the user list according to the communication identifier, shunting the users of the same message push type to the same sub-user list, 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 the user corresponding to the sub-user list, so that an effect of improving the message sending efficiency can be achieved.
In some embodiments, referring to fig. 4, fig. 4 is a flowchart of a message sending method provided in an embodiment of the present application, where after sending the push message to a user matching the message push type in the user list, the message sending method further includes:
in step S410, when receiving a message receiving failure instruction from a user, redefining a message push type corresponding to the user, where the priority of the redetermined message push type is lower than that of the message push type before redetermining.
Step S420, according to the redetermined message push type, sending the push message to the user.
Illustratively, the message receiving capability corresponding to the user is: the method comprises the steps that SMS messages, 5G messages and AIM messages can be received, 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, according to the message types which can be pushed and the message types which can be received by users, AIM messages are used as first message pushing types corresponding to users based on a display priority principle, SMS messages are used as second message pushing types corresponding to 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 matched with the first message push type (AIM message) in the user list, if a message receiving failure instruction from the user is received, the message push type corresponding to the user is redetermined, namely, the message push type corresponding to the user is redetermined to be a second message push type (SMS message), and the push message is reissued to the user according to the SMS message type.
By redefining the message pushing type corresponding to the user and then sending pushing information to the user according to the redetermined message pushing type, the message sending touch rate can be improved.
In a specific embodiment, before sending the push information to the user according to the redetermined message push type, the method further includes:
and generating a push message corresponding to the redetermined message push type according to the message content to be pushed.
It should be noted that, the specific implementation of the steps in the above embodiment may refer to step S130, which is not described herein again.
In another specific embodiment, before receiving the instruction of failure to receive the message from the user, the method may further include:
and acquiring a pre-configured message reissue strategy, and determining whether to reissue the message according to the message reissue strategy and a message failure receiving instruction.
By way of example, the pre-configured message reissue policy may be: after the first message push type is failed to be sent, whether message reissue is carried out or not; or when the report of the success of the first message push type is sent back and time out, whether the message is reissued or not is carried out; or the number of retries to make message reissues, etc.
The method comprises the steps of receiving a message pushing task, wherein the message pushing task comprises message content to be pushed and a user list of the message to be received, the user list comprises communication identification of at least one user, further determining a message pushing type corresponding to the user according to the communication identification, generating a pushing message corresponding to the message pushing type according to the message content to be pushed, and finally sending the pushing message to a 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 embodiment of the application, the message pushing type corresponding to the user is determined according to the selected condition through the communication identifier of the user, then the pushing message corresponding to the message pushing type is generated and sent, and the message type is selected according to the selected condition on the basis of automatically selecting the message type according to the communication identifier, so that the pushing effect is improved.
The embodiment of the present application further provides a message sending device, referring to fig. 6, fig. 6 is a schematic structural diagram of the message sending device provided in one embodiment of the present application, as shown in fig. 6, where the message sending device 100 includes:
a receiving module 110, configured to receive 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;
the processing module 120 is configured to determine a message push type corresponding to the user according to the communication identifier;
a generating module 130, configured to generate a push message corresponding to a message push type according to the message content to be pushed;
and the sending module 140 is configured to send the push message to a user in the user list, where the user matches the message push type according to the message push type corresponding to the push message.
It should be noted that, because the content of information interaction and execution process between the modules/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and details thereof are not repeated herein.
Fig. 7 shows a computer device 200 provided in 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;
the processor 220 is configured to execute the program stored in the memory 210, and when the processor 220 executes the program stored in the memory 210, the processor 220 is configured to execute the message transmission method described above.
The processor 220 and the memory 210 may be connected by a bus or other means.
The memory 210 serves as a non-transitory computer readable storage medium that may be used to store non-transitory software programs and non-transitory computer executable programs, such as the messaging methods described in any of the embodiments of the invention. The processor 220 implements the messaging method described above by running non-transitory software programs and instructions stored in the memory 210.
Memory 210 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store information for performing the above-described message transmission method. In addition, memory 210 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, memory 210 may optionally include memory located remotely from processor 220, which may be connected to 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.
The non-transitory software programs and instructions required to implement the messaging methods described above are stored in memory 210 and, when executed by one or more processors 220, perform the messaging methods provided by any of the embodiments of the present invention.
The embodiment of the application also provides a storage medium, which is a computer readable storage medium and is used for computer readable storage, the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to realize the message sending method.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. In addition, the memory 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 optionally includes memory remotely located relative to the processor, the remote memory being connectable 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 describing the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application, and as those skilled in the art can know that, with the evolution of technology and the appearance of new application scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
It will be appreciated by those skilled in the art that the solutions shown in fig. 1-5 are not limiting to embodiments of the present application, and may include more or fewer steps than illustrated, or may combine certain steps, or different steps.
The above described apparatus embodiments 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 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 this embodiment.
Those 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 present application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise 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 this application, "at least one" means one or more, and "a plurality" means two or more. "and/or" for describing the association relationship of the association object, the representation may have three relationships, for example, "a and/or B" may represent: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). 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 this 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 merely a logical function division, and there may be another division manner in actual implementation, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including multiple instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the various embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing a program.
Preferred embodiments of the present application are described above with reference to the accompanying drawings, and thus do not limit the scope of the claims of the embodiments of the present application. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and spirit of the embodiments of the present application shall fall within the scope of the claims of the embodiments of the present application.

Claims (9)

1. A method of messaging, 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 identifiers 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 the message push type according to the message content to be pushed;
according to the message push type corresponding to the push message, the push message is sent to a user matched with the message push type in the user list;
when a message receiving failure instruction from a user is received, the message pushing type corresponding to the user is redetermined, and the priority of the redetermined message pushing type is lower than that of the message pushing type before redetermining;
and sending the push message to the user according to the redetermined message push type.
2. The method according to claim 1, wherein the determining the 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 capability corresponding to the user.
3. The method of claim 2, wherein prior to said locating from the pre-established database the received message capabilities corresponding to the user based on the communication identity, the method further comprises:
determining the message receiving capability corresponding to the user according to the communication identifier;
and storing the message receiving capacity corresponding to the user into the database.
4. A method according to claim 3, wherein said determining the corresponding message receiving capability of the user based on the communication identity comprises one of:
acquiring terminal information corresponding to the communication identifier through a client application, and determining the message receiving capability 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 capability corresponding to the user according to the terminal information;
terminal information corresponding to the communication identifier is collected through a capability detection interface provided by an operator or a service provider, and the message receiving capability corresponding to the user is determined according to the terminal information.
5. 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.
6. The method according to claim 1, wherein the sending the push message to the user matching the message push type in the user list 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.
7. A message transmission apparatus, the apparatus comprising:
the message pushing system comprises a receiving module, a message pushing module and a message sending 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 communication identifiers of at least one 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 the message push type according to the message content to be pushed;
the sending module is used for 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, when a message receiving failure instruction from the user is received, the message push type corresponding to the user is redetermined, the priority of the redetermined message push type is lower than that of the message push type before redetermining, and the push message is sent to the user according to the redetermined message push type.
8. A computer device, comprising:
a memory for storing a program;
a processor for executing the program stored in the memory, the processor, when executing the program stored in the memory, being configured to execute: the method of any one of claims 1 to 6.
9. A computer-readable storage medium storing computer-executable instructions for performing: the method of any one of claims 1 to 6.
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 CN114390452A (en) 2022-04-22
CN114390452B true 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)

Families Citing this family (1)

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

Family Cites Families (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
CN101345776B (en) * 2008-08-14 2011-12-07 中兴通讯股份有限公司 Content adapting implementing method and content adapting server
US8649808B2 (en) * 2008-10-13 2014-02-11 Microsoft Corporation Universal mobile device messaging
US8583807B2 (en) * 2008-10-31 2013-11-12 Palm, Inc. Apparatus and methods for providing enhanced mobile messaging services
US20140179358A1 (en) * 2012-12-20 2014-06-26 Microsoft Corporation Messages augmented with structured entities
CN103973461A (en) * 2013-02-06 2014-08-06 阿里巴巴集团控股有限公司 Notification message pushing method and message server

Also Published As

Publication number Publication date
CN114390452A (en) 2022-04-22

Similar Documents

Publication Publication Date Title
EP2814212B1 (en) Method and apparatus for adding friend, and storage medium
EP2783501B1 (en) Contact information synchronization system and method
CN109039671B (en) Group message display method, device, terminal and storage medium
CN1821991B (en) Knowledge question-and-answer quick processing system based on artificial intelligence
US20140328478A1 (en) Method and system for identifying prank call, client, server, and storage medium
CN107889069B (en) Short message gateway selection method, device, server and readable storage medium
WO2020011043A1 (en) Method, device and system for acquiring logistics object distribution information
CN103067478A (en) Method, device and system for transmitting contact person information
CN110855548A (en) Message pushing method and device
WO2015065852A2 (en) User information classification method and apparatus, and user group information acquistion method and apparatus
CN109104701B (en) Information sending method based on equipment identification code and server
CN114390452B (en) Message sending method and related equipment
WO2016037489A1 (en) Method, device and system for monitoring rcs spam messages
CN114095463B (en) Data processing method, device, equipment and medium based on instant messaging
CN106487653B (en) Message processing method and server
CN113271610A (en) Network distribution method and device for door lock equipment, door lock equipment and storage medium
CN107423446A (en) New media based on cloud storage automates credible deployment system and method
US20130067006A1 (en) Information Combining Method, Terminal, and IM System
CN108632387B (en) Method, device and terminal for generating game reservation message
CN106912032B (en) Information processing method, system, client and server
CN112580762B (en) Dynamic two-dimensional code and identification method and identification device thereof
CN109299240B (en) Chat robot knowledge display method and device
CN113794620A (en) Message sending method, device, equipment, system and storage medium
CN106911553B (en) Message reminding method and device
CN115348230B (en) Message prompting 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