CN110601965A - Message distribution method, device and system and message gateway - Google Patents

Message distribution method, device and system and message gateway Download PDF

Info

Publication number
CN110601965A
CN110601965A CN201910902840.XA CN201910902840A CN110601965A CN 110601965 A CN110601965 A CN 110601965A CN 201910902840 A CN201910902840 A CN 201910902840A CN 110601965 A CN110601965 A CN 110601965A
Authority
CN
China
Prior art keywords
message
sending
sent
channel
user
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
CN201910902840.XA
Other languages
Chinese (zh)
Other versions
CN110601965B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910902840.XA priority Critical patent/CN110601965B/en
Publication of CN110601965A publication Critical patent/CN110601965A/en
Application granted granted Critical
Publication of CN110601965B publication Critical patent/CN110601965B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • 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]

Landscapes

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

Abstract

The embodiment of the application discloses a message distribution method, a device, a system and a message gateway. The message distribution system comprises a management platform and a message gateway, and the method comprises the following steps: the message gateway responds to a message distribution request initiated by a first user terminal to acquire a message to be sent; acquiring configuration information of the first user terminal from the management platform; determining a target channel from a plurality of configured message sending channels based on the configuration information; and sending the message to be sent to a second user end through the target channel. Therefore, the message gateway can select the target channel from the plurality of message sending channels by using the configuration information of the first user terminal, and the message of the first user terminal is distributed to the second user terminal, so that the flexibility and the intelligent degree of message distribution are improved.

Description

Message distribution method, device and system and message gateway
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, and a message gateway for distributing messages.
Background
In order to send some notification information to the consuming user in a timely manner, the merchant usually selects an information channel to send a message to the message user. And the gateway provided by the third-party information service provider is required to be responsible for forwarding the message in the process of sending the message. However, the relevant gateway performing message forwarding can also only perform the message forwarding function.
Disclosure of Invention
In view of the above problems, the present application provides a message distribution method, device, system and message gateway to improve the above problems.
In a first aspect, the present application provides a message distribution method applied to a message distribution system, where the message distribution system includes a management platform and a message gateway, and the method includes: the message gateway responds to a message distribution request initiated by a first user terminal to acquire a message to be sent; acquiring configuration information of the first user terminal from the management platform; determining a target channel from a plurality of configured message sending channels based on the configuration information; and sending the message to be sent to a second user end through the target channel.
In a second aspect, the present application provides a message distribution apparatus, operating in a message gateway of a message distribution system, where the message distribution system further includes a management platform, and the apparatus includes: a message sending acquiring unit, configured to respond to a message distribution request initiated by a first user, and acquire a message to be sent; a configuration information obtaining unit, configured to obtain configuration information of the first user end from the management platform; a channel confirmation unit, configured to determine a target channel from the configured plurality of message sending channels based on the configuration information; and the message distribution unit is used for sending the message to be sent to a second user end through the target channel.
In a third aspect, the present application provides a message distribution system, which includes a management platform and a message gateway; the management platform is used for storing the configuration information of the first user terminal; the message gateway is used for responding to a message distribution request initiated by the first user terminal and acquiring a message to be sent; acquiring configuration information of the first user terminal from the management platform; determining a target channel from a plurality of configured message sending channels based on the configuration information; and sending the message to be sent to a second user end through the target channel.
In a fourth aspect, the present application provides an electronic device comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors to implement the methods described above.
In a fifth aspect, the present application provides a computer readable storage medium having program code stored therein, wherein the method described above is performed when the program code is executed by a processor.
According to the message distribution method, the message distribution device, the message distribution system and the message gateway, under the condition that the message distribution system comprises the management platform and the message gateway, the message gateway responds to a message distribution request initiated by the first user terminal, obtains a message to be sent, obtains configuration information of the first user terminal from the management platform, determines a target channel from a plurality of configured message sending channels based on the configuration information, and sends the message to be sent to the second user terminal through the target channel, so that the message gateway can select the target channel from the plurality of message sending channels by using the configuration information of the first user terminal, and distributes the message of the first user terminal to the second user terminal, and the flexibility and the intelligent degree of message distribution are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram illustrating a message distribution system according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a message distribution method according to an embodiment of the present application;
fig. 3 is a flow chart illustrating a message distribution method according to another embodiment of the present application;
fig. 4 is a flowchart illustrating a message distribution method according to still another embodiment of the present application;
fig. 5 is a flowchart illustrating a message distribution method according to another embodiment of the present application;
fig. 6 shows a block diagram of a message distribution method and apparatus according to an embodiment of the present application;
fig. 7 is a block diagram illustrating a message distribution method and apparatus according to yet another embodiment of the present application;
fig. 8 shows a block diagram of a message distribution method apparatus according to another embodiment of the present application;
fig. 9 is a block diagram illustrating a message distribution method and apparatus according to yet another embodiment of the present application;
fig. 10 is a block diagram illustrating an electronic device for executing a message distribution method according to an embodiment of the present application in real time;
fig. 11 illustrates a storage unit for storing or carrying program codes for implementing a message distribution method according to an embodiment of the present application in real time.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the development of information technology, people have higher and higher requirements on the timeliness of information, and more users expect to receive the latest information more quickly or send the latest or important information to other users more quickly.
In a related manner, a message from a user may be sent to other users through a message gateway. For example, in this way, the message gateway can send the message of the user as the sender to other users through the short message channel of the operator or the channel of other network messages.
The inventor finds in research on related message gateways that the current message gateway only plays a role of assembling and sending a message, and cannot well match the best message distribution channel for a message sender according to the actual situation of the message sender, and also cannot well select the best message distribution time and channel according to the cost that the message sender is willing to pay. For example, when a user terminal desires to distribute a message through a short message channel of an operator, the message gateway may directly call an address of the operator channel to distribute the message, but it is possible that the message sending user is already marked as a harassing message sender by other users, and thus the message sent directly through the short message channel of the operator cannot have other expected effects. For another example, when the user terminal desires to distribute the message through the short message channel of the operator, the message gateway performs fee deduction after the distribution is completed, and then the cost required for the distribution execution may exceed the cost that the message sender is currently willing to pay or can pay, which also causes inconvenience to the message sender.
Therefore, the inventor proposes a message distribution method, device, system and message gateway in the application, which enable the message gateway to select a target channel from a plurality of message sending channels by using the configuration information of the first user end, distribute the message of the first user end to the second user end, and improve the flexibility and the intelligent degree of message distribution.
An operating environment of the embodiments of the present application will be described with reference to the accompanying drawings.
As shown in fig. 1, the message distribution system 110 includes a message gateway 111, a management platform 112, and a message distribution channel management platform 113 in the system 110. The message gateway 111, the management platform 112, and the message distribution channel management platform 113 may be deployed in the same local area network, or may be deployed in different sub-networks of the same local area network.
The management platform 112 is used for interfacing with a message sender (e.g., a message platform or a merchant side in an e-commerce platform) to provide a visual management interface for real-time settlement of the message sender, customer complaints, and the like. Optionally, the system mainly comprises a merchant management module, a message management module, a consumption management module and a complaint management module. The merchant management module comprises account management, API management and the like. The message management module comprises message sending state inquiry, message sending statistics, message sending template management, message target user selection and the like. The consumption management module comprises modules of merchant consumption statistics, consumption balance, consumption strategies and the like. The complaint management module mainly comprises a user complaint record query module, a user complaint reply module and the like.
The message gateway 111 is used for distributing messages according to configuration information of a message sender, and mainly comprises a real-time computing module, a risk control module, a message storage module and a message distribution module. The real-time computing module can realize an automatic selection module, meanwhile, human intervention is added, and computing factors of the computing module comprise channel history sending success rate, message price, merchant type, message sending frequency and the like. The risk control module evaluates the risk of the message content, the message content comprises characters, pictures, videos, audios and the like, and finally, whether the message is issued is determined according to the evaluated risk. The message storage module is used for storing the messages sent by the message gateway, and for example, a policy of thirty days of expiration can be implemented. The message distribution module interacts with the three message channels through the message middleware and issues the messages to different channels in real time.
The message distribution channel management platform 113 is mainly responsible for actually issuing messages, including an operator channel, a network message channel, and an instant message channel.
It should be noted that, in the embodiment of the present application, a message sending party is referred to as a first user side, and a message receiving party is referred to as a second user side. The message gateway 112 described above may execute what the message gateway mentioned in the subsequent embodiments can execute.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2, a message distribution method provided in an embodiment of the present application is applied to a message distribution system, where the message distribution system includes a management platform and a message gateway, and the method includes:
step S110: the message gateway responds to a message distribution request initiated by the first user terminal to acquire a message to be sent.
It is understood that an operation terminal may be configured at the message sender (first user end) to communicate with the message gateway, so that sending a message distribution request to the message gateway may be implemented. The operation terminal can be a payment machine, a smart phone, a computer and the like.
In the embodiment of the present application, the message distribution request may be implemented in various ways.
As a mode, the message distribution request sent by the first user end to the message gateway may carry a message to be sent. In this way, the first user side can remind the user of the first user side to enter information to be distributed in the process of generating the message distribution request to be sent or before, and further record the information to be distributed in the message distribution request and send the information to be distributed to the message gateway when the message distribution request is generated. In this way, after receiving the message distribution request, the message gateway can extract the information to be distributed from the message distribution request, thereby obtaining the message to be sent. For example, the first user desires to send the latest information of product a to other users. The first user terminal may edit the information of the product a to generate a message distribution request and send the message distribution request to the message gateway, and then the message gateway may extract the information of the product a from the request after receiving the message distribution request, thereby taking the information of the product a as a message to be sent.
In another mode, the message gateway stores the sending information configured by the first user terminal in advance. In this way, the request sent by the first user to the message gateway may carry an identifier indicating which preconfigured transmission information is to be sent, instead of carrying the specific content of the message to be sent, so that the message gateway searches for the message to be sent based on the identifier after obtaining the identifier. For example, the first user end is preconfigured with message a, message B, message C, and message D in the message gateway. The message A corresponds to the identifier A, the message B corresponds to the identifier B, the message C corresponds to the identifier C, and the message D corresponds to the identifier D. Optionally, at the first user end, the message a, the message B, the message C, and the message D may be displayed in an option manner, and a corresponding relationship between the identifier a corresponding to the message a, the identifier B corresponding to the message B, the identifier C corresponding to the message C, and the identifier D corresponding to the message D is also preconfigured, so that when the user of the first user end desires to distribute the message B to other users, the message B may be selected at the first user end, and then the first user end may generate a message distribution request carrying the identifier B, and after the message gateway receives the message distribution request and extracts the identifier B therein, it may be identified that the message B needs to be sent.
It can be understood that there are multiple types of message distribution requests (one carries a specific message to be sent and the other does not carry the specific message to be sent) in the foregoing content, then when the first user end generates the message distribution request, the first user end may add a specific identification and a corresponding field in the message distribution request so that the message gateway may identify which type of request the currently received message distribution request is.
Step S120: and acquiring the configuration information of the first user terminal from the management platform.
In this embodiment, the configuration information of the first user end may include information configured by the first user end itself, or may include information configured by the message distribution system to the first user end.
The information configured by the first user terminal may include a default message sending channel. For example, optionally, the message gateway may send the message to the user through a short message channel, a network message channel, and an instant message channel of the operator. Optionally, the first user end may configure, through the management platform of the message distribution system, to send the message only through the short message channel of the operator. Correspondingly, the information configured by the first user terminal itself may include information for sending a message through a short message channel of the operator by default. In addition, the first user terminal can also configure part of the messages to be distributed through a short message channel of an operator, and part of the messages are sent through a network message channel or an instant message channel. Correspondingly, the information configured by the first user terminal itself may also include information that part of the message is distributed through the channel of the operator, and part of the message is distributed through the network message channel.
Furthermore, in some cases, the first ue does not actively configure information. For example, the first user terminal may not actively configure itself by default what message distribution channel the message is distributed through. The management platform of the message distribution system may configure the first user terminal with default information based on some information of the first user terminal, e.g. the user image. For example, if the message often sent by the first user is some important reminding information, such as consumption result reminding information, ticket booking result reminding information, and the like, in order to enable the message to reach the user with a high probability, a default message distribution channel may be configured as a short message channel of the operator. For another example, if the message often sent by the first user is a reminder message of some new products, for example, to remind the user what new product is newly listed, and a certain product is updated, and the like, the message distribution channel may be configured as the network message channel by default when a higher arrival rate is not required.
The configuration information may include, in addition to configuring the message distribution channel to be used, a message distribution price expected to be received, a message distribution area, the number of message distributions, and the like.
Step S130: determining a target channel from the configured plurality of messaging channels based on the configuration information.
It can be understood that the target channel in this embodiment is a channel to which a message is to be subsequently distributed. The multiple message sending channels include a short message channel, a network message channel and an instant message channel of an operator, and the target channel may be one of the channels or multiple channels. For example, if the first user terminal only distributes the message through the short message channel of the operator, the target channel is only the short message channel of the operator. If part of the messages configured by the first user terminal are distributed through the short message channel of the operator and the other part of the messages are distributed through the instant message channel, the target channel comprises the short message channel and the instant message channel of the operator.
It should be noted that the short message channel of the operator is a message gateway that sends information to a short message gateway in the mobile communication system, so that the short message gateway sends the information to other users in the form of short messages. The network message channel is a communication link between the mobile terminal of other user terminal and the designated server based on long-chain connection.
Step S140: and sending the message to be sent to a second user end through the target channel.
It can be understood that the second ue in this embodiment is a ue that expects to receive the aforementioned message to be sent, and there may be various determined manners for the second ue.
As a mode, a message distribution request sent by a first user end to a message gateway carries a target sending user, and then the message gateway can use the target sending user as a second user end after acquiring the message distribution request. For example, when the first user terminal generates a message distribution request, the first user terminal may select to distribute a message to users who purchase a certain product, and further may send the users to the message gateway as target users through the message distribution request, so that the message gateway may distribute the message through a short message channel of an operator after acquiring the target user (which may be a mobile phone number of the target user).
Alternatively, the first ue may also configure a default information receiving user as the second ue in the message gateway in advance. In this way, after the message gateway receives the message distribution request sent by the first user, the message gateway can directly receive the user according to the default information to distribute the message.
As a mode, when a message to be sent is distributed by a message gateway, the message to be sent may be sent to the message distribution channel management platform, so that the message distribution channel management platform sends the message to be sent to a second user end through the target channel. In this way, the message gateway sends a message to the message distribution channel management platform, where the message carries a message to be sent and a corresponding target channel, and then the message distribution channel management platform selects a channel address based on the target channel after receiving the message, so as to send the message to be sent to the second user end through the target channel.
According to the message distribution method provided by the application, under the condition that the message distribution system comprises the management platform and the message gateway, the message gateway responds to a message distribution request initiated by the first user terminal, obtains a message to be sent, obtains the configuration information of the first user terminal from the management platform, determines a target channel from a plurality of configured message sending channels based on the configuration information, and sends the message to be sent to the second user terminal through the target channel, so that the message gateway can select the target channel from the plurality of message sending channels by using the configuration information of the first user terminal, and distributes the message of the first user terminal to the second user terminal, and the flexibility and the intelligent degree of message distribution are improved.
Referring to fig. 3, a message distribution method provided in an embodiment of the present application is applied to a message distribution system, where the message distribution system includes a management platform and a message gateway, and the method includes:
step S210: the message gateway responds to a message distribution request initiated by the first user terminal to acquire a message to be sent.
As a mode, the message gateway may use the message content directly requested to be sent by the first user as an original message, and then perform format conversion on the original message to obtain a message to be sent. Format conversion may include, but is not limited to, replacement of text and corresponding icons, highlight marking of accent characters, hiding of sensitive characters, and the like.
Step S220: and acquiring a plurality of sub-configuration information of the first user terminal from the management platform.
The plurality of sub-configuration messages may include a plurality of information among a default message distribution channel configured by a user of the first user terminal, a usage ratio of the plurality of message distribution channels, a highest consumption amount per message distribution, and a message distribution frequency.
Step S230: and acquiring a target channel corresponding to the message to be sent based on the plurality of pieces of sub-configuration information.
Step S240: and sending the message to be sent to a second user end through the target channel.
As one way, the step of determining a target channel from the configured plurality of message sending channels based on the configuration information includes: determining the number of the messages to be sent based on the plurality of sub-configuration information; and determining the target channels corresponding to the number of messages to be sent. It is understood that the first client may write some configuration information through the management platform in advance. Optionally, the first user end may pre-configure 1000 messages to be sent for each configuration, and all the messages are sent through the instant message channel. In this case, after acquiring the multiple pieces of sub-configuration information of the first user, the message gateway can determine that the number of messages to be sent is 1000, and the target channel is an instant message channel. Furthermore, optionally, the first user end may configure that consumption of the message distribution does not exceed 100 yuan, and perform the message distribution by using a short message channel, a network message channel, and an instant message channel of an operator, where a ratio of the short message channel, the network message channel, and the instant message channel of the operator is 1:1:1, so that after obtaining the two sub-configuration information, the message gateway may further calculate how many messages need to be sent in total and the number of messages corresponding to each channel by combining sending costs (e.g., costs, and message sending costs corresponding to multiple message sending channels are different).
Based on the foregoing, after the number of messages to be sent is confirmed, the step of sending the message to be sent to the second user end through the target channel includes: and sending the number of messages to be sent to a second user end through respective corresponding target channels. For example, the message gateway determines that the number of the messages sent at this time is 300 according to the ratio of the short message channel, the network message channel and the instant message channel of the operator configured by the user being 1:1:1 and the consumption of the message distribution not exceeding 100 yuan, wherein 100 messages are distributed through the short message channel of the operator, 100 messages are distributed through the network message channel, and the other 100 messages are distributed through the instant message channel.
It should be noted that, for some information configured by the first user end itself, it may be caused that, due to some circumstances, the message cannot be completely distributed according to the information configured by the first user end itself, or if only according to the information (i.e., configuration information) configured by the first user end itself, a good message distribution effect cannot be achieved. For example, if the first user is subjected to complaints of the information receiving user and is restricted from using the network message channel for information transmission, in this case, even if the message gateway receives the message distribution request sent by the first user and confirms that the target channel includes the network message channel according to the configuration information of the first user, the message distribution is not performed based on the network message channel, so that part of the messages in the message distribution request of the first user cannot be successfully transmitted. Furthermore, it can be understood that, if the message gateway distributes the message through the short message channel of the operator, the sender of the short message received by the second user is the identifier corresponding to the first user. In one case, then, the second user may identify the first user as being on the blacklist.
As still another mode, to improve the above mode, the method further includes: acquiring stored message sending restriction information corresponding to the first user end, wherein the message sending restriction information represents the restriction condition of a message sending channel configured by the first user end; and updating the sending proportion of each of the plurality of message sending channels based on the message sending limit information, wherein the sending proportion of each of the plurality of message sending channels is updated. Correspondingly, the step of determining the respective target channels corresponding to the number of messages to be sent includes: and determining the target channels corresponding to the number of messages to be sent based on the updated sending proportion.
Optionally, the message gateway or the management platform of the message distribution system stores message sending restriction information corresponding to each first user. The message sending restriction information may be generated according to at least one of the type of the message to be sent, the evaluation information of the first user end, and the user type of the first user end.
As a mode, the short message channel, the network message channel and the instant message channel of each first user end are respectively and correspondingly scored. Then in this manner, when the score of one of the channels is lower than the threshold score, it is characterized that the first user terminal cannot distribute the message through the message distribution channel.
ID Short message channel Network message channel Instant message channel
User terminal A 100 100 100
User terminal B 50 80 80
User terminal C 60 60 60
For example, if the threshold score of each channel recorded in the message gateway is 80 points, the user B cannot distribute messages through the short message channel of the operator, and the current user C cannot distribute messages through the short message channel, the network message channel, and the instant message channel. Then, after the message gateway receives the message distribution request sent by the user B, if the ratio of the plurality of message distribution channels configured by the user B is 1:1:1, the ratio is updated to 0:1: 1. If the message gateway receives the message distribution request sent by the user C, because the corresponding short message channel, network message channel and instant message channel are all lower than 80 minutes, it means that the user C cannot distribute messages through these three channels, and therefore the message gateway can feed back the prompt information that the message distribution cannot be performed to the user C.
It can be understood that the scores of the three message distribution channels of each first user terminal are influenced by the type of the message to be sent, the evaluation information of the first user terminal, and the user type of the first user terminal. Optionally, the higher the user rank of the user end itself, the higher the corresponding full score. Optionally, for example, for the user terminal a, the corresponding rank is higher than that of the user terminal B. Then the full score for ue a may be 120 minutes, and the full score for ue B may be 100 minutes. Then, when performing the deduction, the deduction is performed on the basis of 120 points for the user terminal a, and on the basis of 100 points for the user terminal B.
Furthermore, some message types are relatively important, and may cause some loss if the channel score is not sent. For example, if the consumption notification information, the balance reminding information, and the like are not immediately sent to the users with consumption behaviors, the users may not be able to immediately know their own consumption conditions. As a mode, when the level of the type of the message to be sent is a higher level, the score of the message channel of the user side may be temporarily increased to a score that can be sent, and the score of the message channel may be restored after the sending is completed.
For example, for a user whose user terminal C needs to send consumption notification information to a corresponding user who consumes (i.e. a second user terminal in this case), after receiving the message distribution request of this time, the score of the target channel determined according to the configuration information of the user terminal C may be temporarily updated from 60 to 80, and after completing the distribution of the consumption notification information of this time, the score of the target channel is restored to 80.
It should be noted that the selection of a specific message type may be performed by the first user equipment. However, based on the aforementioned situation that the score can be temporarily increased, the first user end may maliciously spoof the message type. For example, the first user terminal actually sends the marketing message, but when the scores of the message channels of the first user terminal (for example, the user terminal C) are all 60 points, the message cannot be distributed by using the message distribution channel configured by the message distribution system. However, in order to enable the distribution of the message, the first user may select the message with the actual content of the marketing class as the message of the consumption notification class (it is understood that the message of the message notification class has a higher rank and may trigger the temporal update channel score to 80). In this case, in order to avoid sending the message by mistake, after receiving a message distribution request sent by the first user end whose channel scores are all lower than the threshold score, the message gateway performs text recognition on the content of the obtained message to be sent, and when recognizing that the text content is indeed a message of a consumption notification class, performs subsequent score updating (for example, updating the score corresponding to the target channel to 80 scores), and if recognizing that the text content is not a message of the consumption notification class, the message gateway does not perform subsequent score updating but directly feeds back the score updating to the first user end, so that the message distribution cannot be performed.
It should be noted that the foregoing threshold score of 80 points is only an example, and may be randomly configured according to actual situations, for example, 60 points may also be configured as the threshold score.
According to the message distribution method provided by the application, under the condition that the message distribution system comprises a management platform and a message gateway, the message gateway responds to a message distribution request initiated by a first user end, obtains a message to be sent, obtains a plurality of pieces of sub-configuration information of the first user end from the management platform, determines a target channel from a plurality of configured message sending channels based on the plurality of pieces of sub-configuration information, and sends the message to be sent to a second user end through the target channel, so that the message gateway can select the target channel from the plurality of message sending channels by using the configuration information of the first user end, and distributes the message of the first user end to the second user end, and the flexibility and the intelligent degree of message distribution are improved. And, the number of the messages to be sent can be further determined according to the number of the messages to be sent; and then respectively confirming corresponding target channels aiming at the number of messages to be sent, so that the instant messages in the same batch can be sent to different users in different channels.
Referring to fig. 4, a message distribution method provided in an embodiment of the present application is applied to a message distribution system, where the message distribution system includes a management platform and a message gateway, and the method includes:
step S310: the message gateway responds to a message distribution request initiated by the first user terminal to acquire a message to be sent.
Step S320: and acquiring a plurality of sub-configuration information of the first user terminal from the management platform.
Step S330: determining the number of messages to be sent based on the plurality of sub-configuration information.
Step S340: and determining the target channels corresponding to the number of messages to be sent.
Step S350: and acquiring the corresponding sending frequency of the first user terminal.
Step S360: and sending the number of messages to be sent to the second user end through the corresponding target channels according to the sending frequency.
It should be noted that, for some important messages, the first user terminal may expect to distribute to other users multiple times in the last period of time. In this way, in order to avoid that the user of the first user terminal manually sends a plurality of message sending operations, the first user terminal may configure a sending frequency when sending the message distribution request for the first time, so that the message gateway may automatically send the number of messages to be sent to the second user terminal through the corresponding target channels according to the sending frequency. For example, for a new product promotion message, when the first user generates a message distribution request, the first user generates once a day for distribution and transmits the message three times in total, and then the message gateway may generate a message distribution event after receiving the message distribution request, so as to realize that a message to be sent is transmitted once a day through the target channel and lasts for three days.
Alternatively, the transmission frequency may be updated in combination with the message transmission restriction information in the foregoing embodiment. For example, if the score of the target channel corresponding to the first user is not lower than the score threshold, the number of messages to be sent is sent to the second user through the respective corresponding target channels according to the sending frequency corresponding to the first user. And if the score of the target channel corresponding to the first user terminal is lower than the score threshold value, transmitting according to the default lowest transmission frequency. For example, if the first user equipment is configured to transmit once a day for a week, then there is only one chance of distribution once a week for the first user equipment if the default lowest transmission frequency is once a week.
In the message distribution method provided by the application, under the condition that the message distribution system comprises a management platform and a message gateway, the message gateway responds to a message distribution request initiated by a first user terminal, acquires a message to be sent, acquires a plurality of sub-configuration information of the first user terminal from the management platform, determines a target channel from a plurality of configured message sending channels based on the plurality of sub-configuration information, and will obtain the corresponding sending frequency of the first user terminal at the same time, based on the sending frequency, send the message to be sent to the second user terminal through the target channel, therefore, the message gateway can select the target channel from the plurality of message sending channels by using the configuration information of the first user terminal, and the message of the first user terminal is distributed to the second user terminal, so that the flexibility and the intelligent degree of message distribution are improved.
Referring to fig. 5, a message distribution method provided in an embodiment of the present application is applied to a message distribution system, where the message distribution system includes a management platform and a message gateway, and the method includes:
step S410: the message gateway responds to a message distribution request initiated by a first user terminal to acquire a message to be sent;
step S420: and calculating a risk score of the message to be sent based on the content of the message to be sent, and judging whether the score is higher than a risk threshold value.
It can be understood that, the content of the message to be sent is configured by the first user terminal itself, and then there is a possibility that some high-risk content is carried in the message to be sent. These high risk content may not only cause some discomfort to the message receiving user, but may also cause the message distribution system to assume some legal liability. The message gateway may input the message to be sent into a pre-trained neural network model for risk scoring.
Step S430: and if the risk score is higher than the risk threshold, returning prompt information to the first user terminal.
Step S440: and if the risk score is not higher than a risk threshold value, acquiring the configuration information of the first user terminal from the management platform.
Step S450: determining a target channel from the configured plurality of messaging channels based on the configuration information.
Step S460: and sending the message to be sent to a second user end through the target channel.
In the message distribution method provided by the application, under the condition that the message distribution system comprises a management platform and a message gateway, the message gateway responds to a message distribution request initiated by the first user terminal to acquire a message to be sent, in the case where the risk score assessed based on the content of the message to be sent is not above the risk threshold, acquiring configuration information of the first user terminal from the management platform, determining a target channel from a plurality of configured message sending channels based on the configuration information, sending the message to be sent to a second user terminal through the target channel, therefore, the message gateway can select the target channel from the plurality of message sending channels by using the configuration information of the first user terminal, and the message of the first user terminal is distributed to the second user terminal, so that the flexibility and the intelligent degree of message distribution are improved.
Referring to fig. 6, a message distribution apparatus 500 provided in the embodiment of the present application runs on a message gateway of a message distribution system, where the message distribution system further includes a management platform, and the apparatus 500 includes:
a sending message obtaining unit 510, configured to obtain a message to be sent in response to a message distribution request initiated by a first user equipment.
A configuration information obtaining unit 520, configured to obtain the configuration information of the first user end from the management platform.
A channel confirming unit 530, configured to determine a target channel from the configured plurality of message sending channels based on the configuration information.
A message distributing unit 540, configured to send the message to be sent to the second user end through the target channel.
As a mode, the message distributing unit 540 is specifically configured to send the message to be sent to the message distribution channel management platform, so that the message distribution channel management platform sends the message to be sent to a second user end through the target channel. Furthermore, optionally, the message distributing unit 540 is specifically configured to obtain a message distribution target user according to the message distribution request; and sending the message to be sent to a second user end corresponding to the message distribution target user through the target channel.
One way, the configuration information includes a plurality of sub-configuration information. In this way, the channel confirmation unit 530 is specifically configured to obtain a target channel corresponding to the message to be sent based on the plurality of pieces of sub-configuration information. Further, the channel determining unit 530 is specifically configured to determine the number of the messages to be sent based on the plurality of pieces of sub-configuration information; and determining the target channels corresponding to the number of messages to be sent. The message distributing unit 540 is specifically configured to send the number of messages to be sent to the second user end through the corresponding target channels. Optionally, the message sending fees corresponding to the plurality of message sending channels are different, and the plurality of pieces of sub-configuration information include the message sending fees and sending proportions of the plurality of message sending channels.
As one mode, as shown in fig. 7, the apparatus further includes:
a limitation information obtaining unit 550, configured to obtain stored message sending limitation information corresponding to the first user end, where the message sending limitation information represents a limitation condition on a message sending channel configured by the first user end. In this manner, the configuration information obtaining unit 520 is further configured to update the sending ratios of the plurality of message sending channels based on the message sending restriction information, where the updated sending ratios of the plurality of message sending channels are obtained. A channel determining unit 530, configured to determine, based on the updated sending ratio, target channels corresponding to the number of messages to be sent respectively.
Optionally, the restriction information obtaining unit 550 is specifically configured to generate the message sending restriction information according to at least one of the type of the message to be sent, the evaluation information of the first user end, and the user type of the first user end.
As one mode, as shown in fig. 8, the apparatus further includes:
a frequency determining unit 560, configured to obtain a transmission frequency corresponding to the first user equipment. In this way, the message distributing unit 540 is specifically configured to send the number of messages to be sent to the second user end through the corresponding target channels according to the sending frequency.
As one mode, as shown in fig. 9, the apparatus further includes:
a risk evaluation unit 570, configured to calculate a risk score of the message to be sent based on the content of the message to be sent. In this way, the configuration information obtaining unit 520 is configured to obtain the configuration information of the first user end from the management platform if the risk score is not higher than the risk threshold. And if the risk score is higher than the risk threshold, returning prompt information to the first user terminal.
It should be noted that the device embodiment and the method embodiment in the present application correspond to each other, and specific principles in the device embodiment may refer to the contents in the method embodiment, which is not described herein again.
An electronic device provided by the present application will be described with reference to fig. 10.
Referring to fig. 10, based on the message distribution method and the message distribution apparatus, another electronic device 100 capable of executing the message distribution method is further provided in the embodiment of the present application. The electronic device 100 includes one or more processors 102 (only one shown), a memory 104, and a network module 106 coupled to each other. The memory 104 stores programs that can execute the content of the foregoing embodiments, and the processor 102 can execute the programs stored in the memory 104.
Processor 102 may include one or more processing cores, among other things. The processor 102 interfaces with various components throughout the electronic device 100 using various interfaces and circuitry to perform various functions of the electronic device 100 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 104 and invoking data stored in the memory 104. Alternatively, the processor 102 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 102 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 102, but may be implemented by a communication chip.
The Memory 104 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 104 may be used to store instructions, programs, code sets, or instruction sets. The memory 104 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal 100 in use, such as a phonebook, audio-video data, chat log data, and the like.
The network module 106 is configured to receive and transmit electromagnetic waves, and implement interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, for example, an audio playing device. The network module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The network module 106 may communicate with various networks, such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. For example, the network module 106 may interact with a base station.
Referring to fig. 11, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-volatile computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
According to the message distribution method, the message distribution device, the message distribution system and the message gateway, under the condition that the message distribution system comprises the management platform and the message gateway, the message gateway responds to a message distribution request initiated by the first user terminal, obtains a message to be sent, obtains configuration information of the first user terminal from the management platform, determines a target channel from a plurality of configured message sending channels based on the configuration information, and sends the message to be sent to the second user terminal through the target channel, so that the message gateway can select the target channel from the plurality of message sending channels by using the configuration information of the first user terminal, and distributes the message of the first user terminal to the second user terminal, and the flexibility and the intelligent degree of message distribution are improved.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (15)

1. A message distribution method is applied to a message distribution system, the message distribution system comprises a management platform and a message gateway, and the method comprises the following steps:
the message gateway responds to a message distribution request initiated by a first user terminal to acquire a message to be sent;
acquiring configuration information of the first user terminal from the management platform;
determining a target channel from a plurality of configured message sending channels based on the configuration information;
and sending the message to be sent to a second user end through the target channel.
2. The method of claim 1, wherein the configuration information comprises a plurality of sub-configuration information; the step of determining a target channel from the configured plurality of messaging channels based on the configuration information comprises:
and acquiring a target channel corresponding to the message to be sent based on the plurality of pieces of sub-configuration information.
3. The method of claim 2, wherein the step of determining the target channel from the configured plurality of messaging channels based on the configuration information comprises:
determining the number of the messages to be sent based on the plurality of sub-configuration information;
determining target channels corresponding to the quantity of messages to be sent;
the step of sending the message to be sent to the second user end through the target channel comprises:
and sending the number of messages to be sent to a second user end through respective corresponding target channels.
4. The method according to claim 2 or 3, wherein the plurality of messaging channels each have a different messaging cost, and the plurality of sub-configuration information comprises the messaging cost and the respective sending ratio of the plurality of messaging channels.
5. The method of claim 4, further comprising: acquiring stored message sending restriction information corresponding to the first user end, wherein the message sending restriction information represents the restriction condition of a message sending channel configured by the first user end;
updating the sending proportion of each of the plurality of message sending channels based on the message sending limit information, wherein the updated sending proportion of each of the plurality of message sending channels;
the step of determining the respective target channels corresponding to the number of messages to be sent includes:
and determining the target channels corresponding to the number of messages to be sent based on the updated sending proportion.
6. The method of claim 5, further comprising:
and generating the message sending limitation information according to at least one of the type of the message to be sent, the evaluation information of the first user end and the user type of the first user end.
7. The method of claim 3, further comprising:
acquiring a sending frequency corresponding to the first user terminal;
the step of sending the number of messages to be sent to the second user end through the respective corresponding target channels comprises:
and sending the number of messages to be sent to the second user end through the corresponding target channels according to the sending frequency.
8. The method of claim 1, wherein the step of obtaining the configuration information of the first user end from the management platform further comprises:
calculating a risk score of the message to be sent based on the content of the message to be sent;
if the risk score is not higher than a risk threshold value, executing the step of acquiring the configuration information of the first user terminal from the management platform;
and if the risk score is higher than the risk threshold, returning prompt information to the first user terminal.
9. The method according to claim 1, wherein the system further comprises a message distribution channel management platform, and the step of sending the message to be sent to the second user end through the target channel comprises:
and sending the message to be sent to the message distribution channel management platform, so that the message distribution channel management platform sends the message to be sent to a second user end through the target channel.
10. The method of claim 1, wherein the step of sending the message to be sent to a second user end through the target channel comprises:
acquiring a message distribution target user according to the message distribution request;
and sending the message to be sent to a second user end corresponding to the message distribution target user through the target channel.
11. The method of claim 1, wherein the plurality of messaging channels include a short message channel, a network message channel, and an instant message channel.
12. A message distribution apparatus, operable with a message gateway of a message distribution system, the message distribution system further comprising a management platform, the apparatus comprising:
a message sending acquiring unit, configured to respond to a message distribution request initiated by a first user, and acquire a message to be sent;
a configuration information obtaining unit, configured to obtain configuration information of the first user end from the management platform;
a channel confirmation unit, configured to determine a target channel from the configured plurality of message sending channels based on the configuration information;
and the message distribution unit is used for sending the message to be sent to a second user end through the target channel.
13. A message distribution system, characterized in that the message distribution system comprises a management platform and a message gateway;
the management platform is used for storing the configuration information of the first user terminal;
the message gateway is used for responding to a message distribution request initiated by the first user terminal and acquiring a message to be sent; acquiring configuration information of the first user terminal from the management platform; determining a target channel from a plurality of configured message sending channels based on the configuration information; and sending the message to be sent to a second user end through the target channel.
14. A message gateway comprising one or more processors and memory; one or more programs are stored in the memory and configured to be executed by the one or more processors to implement the method of any of claims 1-10.
15. A computer-readable storage medium, having program code stored therein, wherein the program code when executed by a processor performs the method of any of claims 1-10.
CN201910902840.XA 2019-09-24 2019-09-24 Message distribution method, device and system and message gateway Active CN110601965B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910902840.XA CN110601965B (en) 2019-09-24 2019-09-24 Message distribution method, device and system and message gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910902840.XA CN110601965B (en) 2019-09-24 2019-09-24 Message distribution method, device and system and message gateway

Publications (2)

Publication Number Publication Date
CN110601965A true CN110601965A (en) 2019-12-20
CN110601965B CN110601965B (en) 2022-03-15

Family

ID=68862583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910902840.XA Active CN110601965B (en) 2019-09-24 2019-09-24 Message distribution method, device and system and message gateway

Country Status (1)

Country Link
CN (1) CN110601965B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835754A (en) * 2020-07-09 2020-10-27 中国联合网络通信集团有限公司 Industry message management method, system, terminal device and readable storage medium
CN112672295A (en) * 2020-12-26 2021-04-16 中国农业银行股份有限公司 Message sending method and device, electronic equipment and storage medium
CN114466321A (en) * 2022-01-18 2022-05-10 北京快乐茄信息技术有限公司 Message sending method and device, electronic equipment and storage medium
CN114465976A (en) * 2022-01-28 2022-05-10 深圳快银付信息科技有限公司 Message distribution and aggregation method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020077131A1 (en) * 2000-12-20 2002-06-20 Jerry Mizell Dual protocol GPRS message center and method therefor
US20060224678A1 (en) * 2001-06-19 2006-10-05 Hall Robert J Web-based communications addressing system and method
CN101370172A (en) * 2007-08-13 2009-02-18 华为技术有限公司 Method, system and device for processing message service communication of different types
CN105337837A (en) * 2014-06-26 2016-02-17 阿里巴巴集团控股有限公司 Message transmitting method and device
CN105391624A (en) * 2015-12-10 2016-03-09 小米科技有限责任公司 Notification message transmission method, device and system
CN107682316A (en) * 2017-09-05 2018-02-09 平安科技(深圳)有限公司 The generation method and dynamic password sending method of dynamic password sending strategy
CN110166510A (en) * 2018-02-13 2019-08-23 贵州白山云科技股份有限公司 A kind of method and its information gateway of information gateway dispatch messages
CN110166343A (en) * 2018-02-13 2019-08-23 贵州白山云科技股份有限公司 A kind of method and its information gateway of information gateway dispatch messages

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020077131A1 (en) * 2000-12-20 2002-06-20 Jerry Mizell Dual protocol GPRS message center and method therefor
US20060224678A1 (en) * 2001-06-19 2006-10-05 Hall Robert J Web-based communications addressing system and method
CN101370172A (en) * 2007-08-13 2009-02-18 华为技术有限公司 Method, system and device for processing message service communication of different types
CN105337837A (en) * 2014-06-26 2016-02-17 阿里巴巴集团控股有限公司 Message transmitting method and device
CN105391624A (en) * 2015-12-10 2016-03-09 小米科技有限责任公司 Notification message transmission method, device and system
CN107682316A (en) * 2017-09-05 2018-02-09 平安科技(深圳)有限公司 The generation method and dynamic password sending method of dynamic password sending strategy
CN110166510A (en) * 2018-02-13 2019-08-23 贵州白山云科技股份有限公司 A kind of method and its information gateway of information gateway dispatch messages
CN110166343A (en) * 2018-02-13 2019-08-23 贵州白山云科技股份有限公司 A kind of method and its information gateway of information gateway dispatch messages

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835754A (en) * 2020-07-09 2020-10-27 中国联合网络通信集团有限公司 Industry message management method, system, terminal device and readable storage medium
CN112672295A (en) * 2020-12-26 2021-04-16 中国农业银行股份有限公司 Message sending method and device, electronic equipment and storage medium
CN112672295B (en) * 2020-12-26 2021-10-26 中国农业银行股份有限公司 Message sending method and device, electronic equipment and storage medium
CN114466321A (en) * 2022-01-18 2022-05-10 北京快乐茄信息技术有限公司 Message sending method and device, electronic equipment and storage medium
CN114466321B (en) * 2022-01-18 2024-02-23 北京快乐茄信息技术有限公司 Message sending method and device, electronic equipment and storage medium
CN114465976A (en) * 2022-01-28 2022-05-10 深圳快银付信息科技有限公司 Message distribution and aggregation method and device

Also Published As

Publication number Publication date
CN110601965B (en) 2022-03-15

Similar Documents

Publication Publication Date Title
CN110601965B (en) Message distribution method, device and system and message gateway
US20210334856A1 (en) Telecommunications call augmentation system
CN104935500B (en) Friend recommendation method and device based on network call
WO2021138823A1 (en) Information pushing method and apparatus, server, and storage medium
CN113127723B (en) User portrait processing method, device, server and storage medium
US20150081443A1 (en) System and method for advertising
US9137649B2 (en) Short code management for messaging campaigns
CN103516579A (en) Service system providing offline message and corresponding service method
US20180176165A1 (en) Third party messaging system for monitoring and managing domain names and websites
CN104796561A (en) Agent distribution method, CTI (Computer Telephony Integration) equipment, terminal and agent distribution system
CN112672357A (en) Method and device for processing user account in business system and computer equipment
CN115004672A (en) Information pushing method and device, server and storage medium
CN105337841A (en) Information processing method and system, client, and server
KR20140109565A (en) push service system and method
CN110912807A (en) Information prompting method and device, electronic equipment and computer readable storage medium
KR101641166B1 (en) Apparatus and system for providing lettering service
WO2011032423A1 (en) Method, device, system and terminal for processing value added service
CN111464618B (en) Message pushing method, device, equipment and storage medium
CN111767074A (en) Configuration updating method, device, terminal and storage medium
CN110751464A (en) Information prompting method, device, equipment and storage medium
KR101241365B1 (en) Push service system and method
CN104796314A (en) Service processing method and device
US10091155B1 (en) Message management and message modification application
CN110365831B (en) Incoming call response method, device, system, storage medium and electronic device
US11831416B2 (en) Sending device, sending method, and sending program

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