CN111614548A - Message pushing method and device, computer equipment and storage medium - Google Patents

Message pushing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111614548A
CN111614548A CN202010431592.8A CN202010431592A CN111614548A CN 111614548 A CN111614548 A CN 111614548A CN 202010431592 A CN202010431592 A CN 202010431592A CN 111614548 A CN111614548 A CN 111614548A
Authority
CN
China
Prior art keywords
push
pushing
target
channel
content
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.)
Pending
Application number
CN202010431592.8A
Other languages
Chinese (zh)
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.)
Guangzhou Pingyun Little Artisan Technology Co ltd
Original Assignee
Guangzhou Pingyun Little Artisan Technology 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 Guangzhou Pingyun Little Artisan Technology Co ltd filed Critical Guangzhou Pingyun Little Artisan Technology Co ltd
Priority to CN202010431592.8A priority Critical patent/CN111614548A/en
Publication of CN111614548A publication Critical patent/CN111614548A/en
Pending legal-status Critical Current

Links

Images

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/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

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

Abstract

The application relates to a message pushing method, a message pushing device, computer equipment and a storage medium. The method comprises the following steps: acquiring a push instruction sent by a target push end, wherein the push instruction comprises push content and a push object; determining at least one target pushing channel in a pre-stored corresponding relation set according to the identification of the target pushing end, wherein the corresponding relation set comprises a plurality of groups of corresponding relations between the pushing ends and the pushing channels, and each pushing end corresponds to at least one pushing channel; and sending the push content to the push object through the at least one target push channel according to the push instruction. The method can simplify the operation on the pushing end.

Description

Message pushing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a message pushing method and apparatus, a computer device, and a storage medium.
Background
With the development of internet technology, message pushing becomes a common requirement, and thus many methods for message pushing appear.
In the conventional technology, a push end can send push content to a push object through a plurality of push channels, such as a short message push channel, a WeChat push channel, an aurora push channel, and the like. Specifically, the push end needs to set a corresponding interface for each push channel, and the push end can send push content to the push object by calling different interfaces.
However, in the conventional technology of sending push content to a push object through multiple push channels, since a plurality of different interfaces need to be integrated at the same time on the push end, and then different interfaces are called, the push content can be sent to the push object through multiple push channels, which causes cumbersome operation on the push end.
Disclosure of Invention
In view of the above, it is necessary to provide a message pushing method, apparatus, computer device and storage medium capable of simplifying operations in view of the above technical problems.
In a first aspect, a message pushing method is provided, where the message pushing method is used in a push server in a message pushing system, where the message pushing system includes at least one pushing end and the push server, and the method includes:
acquiring a push instruction sent by a target push end, wherein the push instruction comprises push content and a push object;
determining at least one target pushing channel in a pre-stored corresponding relation set according to the identification of the target pushing end, wherein the corresponding relation set comprises a plurality of groups of corresponding relations between the pushing ends and the pushing channels, and each pushing end corresponds to at least one pushing channel;
and sending the push content to the push object through the at least one target push channel according to the push instruction.
In one embodiment, the push instruction further includes a push time period, and the sending the push content to the push object through the at least one target push channel according to the push instruction includes:
and sending the push content to the push object through the at least one target push channel within the push time period according to the push instruction.
In one embodiment, after the sending the push content to the push object through the at least one target push channel according to the push instruction, the method further includes:
acquiring a push state, wherein the push state is used for representing whether the push content is successfully sent to the push object under each target push channel, and the push state comprises a push success state and a push failure state;
and determining whether to send the push content to the push object again according to the push state.
In one embodiment, the determining whether to send the push content to the push object again according to the push status includes:
if the pushing state of any target pushing channel is a pushing failure state, the pushing content is sent to the pushing object again until the pushing state of each target pushing channel is the pushing success state.
In one embodiment, the determining whether to send the push content to the push object again according to the push status includes:
and when the pushing state of each target pushing channel is the pushing success state, forbidding sending the pushing content to the pushing object again.
In one embodiment, the determining whether to send the push content to the push object again according to the push status includes:
if the pushing state of the current target pushing channel is a pushing failure state, acquiring the pushing failure times of the current target pushing channel;
if the failure frequency of the current target push channel exceeds a preset frequency threshold value, the push content is sequentially sent to the push object through other target push channels except the current target push channel in the at least one target push channel until the push content is successfully sent to the push object.
In one embodiment, after the sending the push content to the push object through the at least one target push channel according to the push instruction, the method further includes:
receiving a withdrawal instruction, wherein the withdrawal instruction is used for instructing the push server to stop sending the push content to the push object through any one of the target push channels.
In a second aspect, a message pushing apparatus is provided, where the message pushing apparatus is used in a push server in a message pushing system, where the message pushing system includes at least one pushing end and the push server, and the apparatus includes:
the system comprises an acquisition module, a sending module and a sending module, wherein the acquisition module is used for acquiring a push instruction sent by a target push end, and the push instruction comprises push content and a push object;
the determining module is used for determining at least one target pushing channel in a pre-stored corresponding relation set according to the identification of the target pushing end, wherein the corresponding relation set comprises a plurality of groups of corresponding relations between the pushing ends and the pushing channels, and each pushing end corresponds to at least one pushing channel;
and the sending module is used for sending the push content to the push object through the at least one target push channel according to the push instruction.
In a third aspect, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a push instruction sent by a target push end, wherein the push instruction comprises push content and a push object;
determining at least one target pushing channel in a pre-stored corresponding relation set according to the identification of the target pushing end, wherein the corresponding relation set comprises a plurality of groups of corresponding relations between the pushing ends and the pushing channels, and each pushing end corresponds to at least one pushing channel;
and sending the push content to the push object through the at least one target push channel according to the push instruction.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
acquiring a push instruction sent by a target push end, wherein the push instruction comprises push content and a push object;
determining at least one target pushing channel in a pre-stored corresponding relation set according to the identification of the target pushing end, wherein the corresponding relation set comprises a plurality of groups of corresponding relations between the pushing ends and the pushing channels, and each pushing end corresponds to at least one pushing channel;
and sending the push content to the push object through the at least one target push channel according to the push instruction.
According to the message pushing method, the message pushing device, the computer equipment and the storage medium, the pushing instruction sent by the target pushing end is obtained, and the pushing instruction comprises pushing content and a pushing object; then, according to the identification of the target pushing end, at least one target pushing channel is determined in a pre-stored corresponding relation set, the corresponding relation set comprises a plurality of groups of corresponding relations between the pushing ends and the pushing channels, and each pushing end corresponds to at least one pushing channel; and finally, sending the push content to the push object through the at least one target push channel according to the push instruction. According to the message pushing method, the pushing server is directly connected with the pushing end in a butt joint mode, then the pushing server sends the pushing content to the pushing object through the multiple pushing channels according to the pushing instruction sent by the pushing end, the pushing content can be sent to the pushing object through the multiple pushing channels without integrating the interfaces of the multiple pushing channels on the pushing end, and operation on the pushing end is simplified.
Drawings
FIG. 1 is a diagram of an application environment of a message push method in one embodiment;
fig. 2 is a schematic flow chart of a message pushing method in another embodiment;
fig. 3 is a schematic flow chart of a message pushing method in another embodiment;
fig. 4 is a flowchart illustrating a message pushing method in another embodiment;
fig. 5 is a flowchart illustrating a message pushing method in another embodiment;
FIG. 6 is a block diagram of a message pushing apparatus according to an embodiment;
FIG. 7 is a block diagram showing the structure of a message pushing apparatus according to another embodiment;
FIG. 8 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
With the development of internet technology, message pushing becomes a common requirement, and thus many methods for message pushing appear.
In the conventional technology, a push end can send push content to a push object through a plurality of push channels, such as a short message push channel, a WeChat push channel, an aurora push channel, and the like. Because the bottom layer implementation principle and the integrated scheme of each push channel and the provided software development kit (English: SDK) have great differences, when a push end utilizes a plurality of different push channels to send push contents to a push object, the SDK of each channel needs to be integrated into the push end, a plurality of different interfaces are set, and then the push contents are sent to the push object by calling the different interfaces.
However, in the conventional technology of sending push content to a push object through multiple push channels, since a plurality of different interfaces need to be integrated at the same time on the push end, and then different interfaces are called, the push content can be sent to the push object through multiple push channels, which causes cumbersome operation on the push end.
The message pushing method provided by the application can be applied to the application environment shown in fig. 1. Wherein each push terminal 101 communicates with a push server 102 via a network connection. In practical applications, there may be a plurality of push terminals 101, and only three push terminals 101 are exemplarily shown in fig. 1. Firstly, a push end 101 sends a push instruction to a push server 102, wherein the push instruction comprises push content and a push object; then, the push server 102 determines at least one target push channel for each push end 101 in a pre-stored correspondence set according to the identifier of each push end 101, where the correspondence set includes a plurality of groups of correspondence between the push ends 101 and push channels, and each push end 101 corresponds to at least one push channel; finally, the push server 102 will send the push content to the push object through the at least one target push channel according to the push instruction.
The push terminal 101 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the push server 102 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In the embodiment of the present application, as shown in fig. 2, a message pushing method is provided, which is described by taking the method as an example applied to the pushing server 102 in fig. 1, and includes the following steps:
in step 201, a push server obtains a push instruction sent by a target push end, where the push instruction includes push content and a push object.
The push content represents the message content which the push terminal wants to publish, and the push object represents the terminal which is going to receive the message content which the push terminal wants to publish. The push content can be information in various forms such as characters, pictures, audio, video or links.
Optionally, one push end may simultaneously correspond to multiple push objects, and multiple push ends may also simultaneously correspond to one push object. For example, the push server may receive a push instruction sent by the push end a, where the push content in the push instruction may be a link, and the push object in the push instruction may be multiple terminals. Or the push server may receive push instructions sent by multiple push terminals, and push objects in the push instructions may be the same terminal.
Step 202, the push server determines at least one target push channel in a pre-stored correspondence set according to the identifier of the target push end, the correspondence set includes a plurality of groups of correspondences between push ends and push channels, and each push end corresponds to at least one push channel.
In this step, the corresponding relationship between the pushing end and the pushing channel may be preset. The push channel may include a plurality of channels in different manners, such as a short message push channel, a WeChat push channel, or an aurora push channel, and the specific manner of the push channel is not limited in this application. The push server stores the corresponding relations between the plurality of push ends and the push channels at the same time, and the user can also configure the corresponding relations between the push ends and the push channels independently.
Each pushing end has an own mark, and the pushing server can identify different pushing ends according to different marks and then determine a pushing channel corresponding to each pushing end.
Step 203, the push server sends the push content to the push object through the at least one target push channel according to the push instruction.
After the push channel corresponding to the push end is determined, the push server sends push content to the corresponding push object through the determined push channel. Optionally, the push server may send the push content to the push object through all the target push channels simultaneously, or may send the push content to the push object through all the target push channels sequentially, where the number of the push objects may be one or multiple.
The push server may send the push content to the push object in an encrypted manner. Specifically, the push server may add two parameters, namely an encryption type (english: encrypt _ type) and a message body signature (english: msg _ signature), to a received push instruction, and the push server may encrypt the push content sent by the push terminal by using an advanced encryption standard (english: AES) as a symmetric encryption algorithm and decrypt the received encrypted message.
According to the message pushing method, a pushing instruction sent by a target pushing end is obtained, wherein the pushing instruction comprises pushing content and a pushing object; then, according to the identification of the target pushing end, at least one target pushing channel is determined in a pre-stored corresponding relation set, the corresponding relation set comprises a plurality of groups of corresponding relations between the pushing ends and the pushing channels, and each pushing end corresponds to at least one pushing channel; and finally, sending the push content to the push object through the at least one target push channel according to the push instruction. According to the message pushing method, the pushing server is directly connected with the pushing end in a butt joint mode, then the pushing server sends the pushing content to the pushing object through the multiple pushing channels according to the pushing instruction sent by the pushing end, the pushing content can be sent to the pushing object through the multiple pushing channels without integrating the interfaces of the multiple pushing channels on the pushing end, and operation on the pushing end is simplified.
In this embodiment of the application, the push instruction further includes a push time period, and step 203 includes: and the push server sends the push content to the push object through the at least one target push channel in the push time period according to the push instruction.
In the embodiment of the application, the user may specify a specific time period for the push server to send the push content to the push object. Specifically, when the user sets a push instruction on the push end, the time period information may be added to the push instruction. And when the push server receives the push instruction, the time period information, the push content information and the push object information in the push instruction are read. And then, sending the push content to a corresponding push object through a target push channel within a push time period in the push instruction. Further, the push time period in the push instruction may not only indicate the time period for the push server to send the push content, but also indicate the time interval for the push server to send the push content, so as to implement the function of sending the push content at regular time.
In the embodiment of the application, by setting the push time period, the push server can send the push content to the push object within the specified time period, and can send the push content to the push object according to the preset time interval, so that the flexibility in the message push process is improved.
In an embodiment of the present application, please refer to fig. 3, another message pushing method is provided, where the method includes:
step 301, the push server obtains a push status, where the push status is used to represent whether the push content is successfully sent to the push object in each target push channel, and the push status includes a push success status and a push failure status.
In this step, after the push server sends the push content to the push object through the plurality of push channels, the push server obtains the push state of each target push channel, so as to monitor the push process. The push status may include a push success status, a push failure status, a status to be pushed, a status of successful commit, etc. Wherein the push success status indicates that the push content has been successfully received by the push object; the push failure state indicates that the push object does not receive the push content after the push content is sent to the push object; the state to be pushed represents that the push server has successfully received the push content and prepares to send the push content to the push object; the commit success status indicates that the push server has received within the push.
In this step, the push server interfaces with a plurality of push channels, can definitely monitor the push state of each push channel, and unifies the push states fed back by each push channel. That is to say, the push statuses fed back by different push channels all adopt a uniform manner for feedback, where the uniform manner mentioned here may be that, for each push channel, the same push status is represented by the same value, which is different from the conventional technique that the same push status takes different values for different push channels.
Step 302, the push server determines whether to send the push content to the push object again according to the push state.
The purpose of the push server monitoring the push state of each target push channel is to know whether the push object is successfully received after the push content is sent out, so as to form a comprehensive monitoring on the whole push process. Generally, if the push object does not successfully receive the push content, the push server will attempt to send the push content to the push object again.
In the embodiment of the application, the push states of all the push channels are monitored and managed in a unified mode, whether the push content is sent to the push object again is determined according to the push states, the whole message push process can be comprehensively monitored, the push content can be successfully received by the push object, and the reliability of the conditions in the market is improved.
In an embodiment of the present application, there is provided another message pushing method, where the method includes: if the pushing state of any target pushing channel is a pushing failure state, the pushing server sends the pushing content to the pushing object again until the pushing state of each target pushing channel is the pushing success state.
In this embodiment of the application, when the push end corresponds to multiple target push channels and a user requires that a push object needs to receive push content of each target push channel, the push server needs to monitor the push state of each target push channel at the same time, so as to determine whether all target push channels successfully complete message push to the push object.
The push object may not receive the push content due to a push channel problem, a network problem or a self-device problem, so that the push state is a push failure state, when the push server monitors that the push state of a certain target push channel is the failure state, the push server sends the push content to the push object through the target push channel again, and monitors the push state of the target push channel until the push state of the target push channel is the push success state. Furthermore, a retransmission time threshold can be set, when the retransmission time threshold exceeds the retransmission time threshold, the push content is stopped from being continuously sent to the push object through the target push channel, and the phenomenon of network resource waste caused by repeated sending is avoided.
In the embodiment of the application, the push states of all the target push channels are monitored, and when the push state of any target push channel is a push failure state, the push content is sent to the push object through the target push channel again, so that the push object can successfully receive the push content, and the reliability of the conditions in the market is improved.
In an embodiment of the present application, there is provided another message pushing method, where the method includes: and when the pushing state of each target pushing channel is the pushing success state, the pushing server prohibits sending the pushing content to the pushing object again.
Based on the above embodiment, when the push statuses of all the target push channels are successful, it indicates that the push object has successfully received the push contents of all the target push channels, and therefore the push server needs to stop sending the push contents to the push object.
In the embodiment of the application, the pushing state of each target pushing channel is monitored in time, and the pushing content is stopped from being continuously sent to the pushing object in time, so that the message pushing efficiency is improved.
In an embodiment of the present application, please refer to fig. 4, there is provided another message pushing method, where the method includes:
step 401, if the push status of the current target push channel is a push failure status, the push server obtains the number of push failures of the current target push channel.
As described in the foregoing embodiment, when the user requests the push object to receive the push content of each target push channel, the push server may monitor the push status of each target push channel at the same time. In addition, the user may also request the push object as long as the push content can be received through at least one target push channel. On the premise, when the push server sends the push content to the push object through a plurality of target channels in sequence, the push server monitors the push state of the current target push channel in real time or at regular time, and if the push state of the current target push channel is the push failure state, the push server obtains the push failure times of the current target push channel, and the push failure times can be used for judging whether the push content is sent to the push object again.
Step 402, if the failure frequency of the current target push channel exceeds a preset frequency threshold, the push server sequentially sends the push content to the push object through the other target push channels except the current target push channel in the at least one target push channel until the push content is successfully sent to the push object.
In this step, a definite judgment condition is given, that is, whether to send the push content to the push object again is determined according to the size relationship between the push judgment failure times and the preset time threshold. And if the failure times of the push of the current target push channel exceed the preset time threshold, giving up the use of the current target push channel to continue to send the push content to the push object, but switching to the next target push channel, and continuing to send the push content to the push object.
For example, there are three target push channels, a target push channel a, a target push channel B and a target push channel C, and the preset number threshold is 5. When the push server sends the push content to the push object 6 times by using the target push channel a and fails, the push server stops sending the push content to the push object by using the target push channel a, and switches to the target push channel B to send the push content to the push object. If the push server successfully sends the push content to the push object within 5 times or within 5 times when the push server sends the push content to the push object by using the target push channel B, the push server stops sending the push content to the push object by using any target push channel, otherwise, the push server continues sending the push content to the push object by using the target push channel C until the push content is successfully sent to the push object. Optionally, all the target push channels may share a preset frequency threshold, and each target push channel may also have a respective preset frequency threshold.
In a possible case, if the push server still cannot successfully send the push content to the push object after traversing all the target push channels, the push server stops sending the push content to the push object by using the target push channels, and sends an alarm message.
In the embodiment of the application, the reliability of message pushing of the application is improved by monitoring the pushing failure times of the current target pushing channel and switching to other target pushing channels to continue sending the pushing content to the pushing object when the pushing failure times of the current target pushing channel exceed the preset times threshold.
In an embodiment of the present application, there is provided another message pushing method, where the method includes: the push server receives a withdrawal instruction, wherein the withdrawal instruction is used for instructing the push server to stop sending the push content to the push object through any one target push channel.
In this embodiment of the application, after the push server receives the push instruction sent by the push end, but does not yet successfully send the push content to the push object, if the user wants to cancel the push at this time, a withdrawal instruction may be sent to the push server through the push end, and when the push server receives the withdrawal instruction, the push server immediately stops sending the push message to the push object through any target push channel. In practical application, the method can be suitable for terminating the message pushing in time when the pushing end detects that sensitive words or wrong contents exist in the pushing contents.
In the embodiment of the application, by setting the withdrawal instruction, the whole message pushing process can be terminated in time under the condition of need, so that the flexibility of the message pushing method is improved.
In an embodiment of the present application, please refer to fig. 5, which provides yet another message pushing method, where the method includes:
step 501, the push server obtains the verification information sent by the target push terminal.
In this step, in order to ensure the security of the whole message pushing process, the push server needs to perform legal verification on the target push terminal before acquiring the push instruction sent by the target push terminal. Specifically, each push terminal has an exclusive account and a password, and the target push terminal can send the exclusive account and the exclusive password to the push server, so as to perform legal verification.
Step 502, the push server compares the verification information with the pre-stored legal information.
The pre-stored legal verification information in this step may be an account and a password of a plurality of push terminals pre-stored on the push server. When the validity is verified, the push server compares the received account and the password of the push terminal with the pre-stored account and the pre-stored password of the push terminal, so as to judge whether the push terminal is legal or not.
Step 503, if the verification information matches with the pre-stored legal information, the push server sends a login success message to the target push terminal.
Based on the above steps, if the push server determines that the verification information matches the pre-stored legal information, it can be understood that the account and the password sent by the push terminal are consistent with the pre-stored account and password, the push server will determine that the push terminal belongs to the legal identity, and provide the above message push service for the push terminal.
In the embodiment of the application, the safety of the message pushing method is improved by legally verifying the pushing end.
It should be understood that, although the steps in the flowcharts of fig. 2 to 5 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 to 5 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the other steps or stages.
In an embodiment of the present application, as shown in fig. 6, there is provided a message pushing apparatus 600, used in a push server in a message pushing system, where the message pushing system includes at least one pushing end and the push server, the apparatus includes: an obtaining module 601, a first determining module 602, and a sending module 603, wherein:
an obtaining module 601, configured to obtain a push instruction sent by a target push end, where the push instruction includes push content and a push object;
a first determining module 602, configured to determine, according to an identifier of the target push end, at least one target push channel in a pre-stored correspondence set, where the correspondence set includes a plurality of groups of correspondences between push ends and push channels, and each push end corresponds to at least one push channel;
a sending module 603, configured to send the push content to the push object through the at least one target push channel according to the push instruction.
In this embodiment of the application, the push instruction further includes a push time period, and the sending module 503 is specifically configured to send, according to the push instruction, the push content to the push object through the at least one target push channel in the push time period.
In this embodiment of the present application, please refer to fig. 7, another message pushing apparatus 700 is provided, where the message pushing apparatus 700 includes, in addition to the modules included in the message pushing apparatus 600, optionally, the message pushing apparatus 700 further includes: a second determining module 604 and a receiving module 605, wherein:
the second determining module 604 is configured to obtain a push status, where the push status is used to characterize whether the push content is successfully sent to the push object in each of the target push channels, and the push status includes a push success status and a push failure status; and determining whether to send the push content to the push object again according to the push state.
In this embodiment of the application, the second determining module 604 is specifically configured to, if the pushing status of any one of the target pushing channels is a pushing failure status, send the pushing content to the pushing object again until the pushing status of each of the target pushing channels is the pushing success status.
In this embodiment of the application, the second determining module 604 is specifically configured to prohibit sending the push content to the push object again when the push status of each of the target push channels is the push success status.
In this embodiment of the application, the second determining module 604 is specifically configured to, if the push status of the current target push channel is a push failure status, obtain the number of push failures of the current target push channel; if the failure frequency of the current target push channel exceeds a preset frequency threshold value, the push content is sequentially sent to the push object through other target push channels except the current target push channel in the at least one target push channel until the push content is successfully sent to the push object.
In this embodiment of the application, the receiving module 605 is configured to receive a withdrawal instruction, where the withdrawal instruction is used to instruct the push server to stop sending the push content to the push object through any of the target push channels.
For specific definition of the message pushing device, refer to the above definition of the message pushing method, which is not described herein again. The modules in the message pushing device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In the embodiment of the present application, a computer device is provided, and the computer device may be a server, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the corresponding relation set. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a message push method.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment of the present application, there is provided a computer device including a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:
acquiring a push instruction sent by a target push end, wherein the push instruction comprises push content and a push object;
determining at least one target pushing channel in a pre-stored corresponding relation set according to the identification of the target pushing end, wherein the corresponding relation set comprises a plurality of groups of corresponding relations between the pushing ends and the pushing channels, and each pushing end corresponds to at least one pushing channel;
and sending the push content to the push object through the at least one target push channel according to the push instruction.
In an embodiment of the present application, the push instruction further includes a push time period, and the processor, when executing the computer program, further implements the following steps:
and sending the push content to the push object through the at least one target push channel within the push time period according to the push instruction.
In the embodiment of the present application, the processor, when executing the computer program, further implements the following steps:
acquiring a push state, wherein the push state is used for representing whether the push content is successfully sent to the push object under each target push channel, and the push state comprises a push success state and a push failure state; and determining whether to send the push content to the push object again according to the push state.
In the embodiment of the present application, the processor, when executing the computer program, further implements the following steps:
if the pushing state of any target pushing channel is a pushing failure state, the pushing content is sent to the pushing object again until the pushing state of each target pushing channel is the pushing success state.
In the embodiment of the present application, the processor, when executing the computer program, further implements the following steps:
and when the pushing state of each target pushing channel is the pushing success state, forbidding sending the pushing content to the pushing object again.
In the embodiment of the present application, the processor, when executing the computer program, further implements the following steps:
if the pushing state of the current target pushing channel is a pushing failure state, acquiring the pushing failure times of the current target pushing channel; if the failure frequency of the current target push channel exceeds a preset frequency threshold value, the push content is sequentially sent to the push object through other target push channels except the current target push channel in the at least one target push channel until the push content is successfully sent to the push object.
In the embodiment of the present application, the processor, when executing the computer program, further implements the following steps:
receiving a withdrawal instruction, wherein the withdrawal instruction is used for instructing the push server to stop sending the push content to the push object through any one of the target push channels.
In an embodiment of the application, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of:
acquiring a push instruction sent by a target push end, wherein the push instruction comprises push content and a push object;
determining at least one target pushing channel in a pre-stored corresponding relation set according to the identification of the target pushing end, wherein the corresponding relation set comprises a plurality of groups of corresponding relations between the pushing ends and the pushing channels, and each pushing end corresponds to at least one pushing channel;
and sending the push content to the push object through the at least one target push channel according to the push instruction.
In an embodiment of the application, the push instruction further comprises a push time period, and the computer program when executed by the processor implements the following steps:
and sending the push content to the push object through the at least one target push channel within the push time period according to the push instruction.
In an embodiment of the application, the computer program when executed by the processor performs the steps of:
acquiring a push state, wherein the push state is used for representing whether the push content is successfully sent to the push object under each target push channel, and the push state comprises a push success state and a push failure state; and determining whether to send the push content to the push object again according to the push state.
In an embodiment of the application, the computer program when executed by the processor performs the steps of:
if the pushing state of any target pushing channel is a pushing failure state, the pushing content is sent to the pushing object again until the pushing state of each target pushing channel is the pushing success state.
In an embodiment of the application, the computer program when executed by the processor performs the steps of:
and when the pushing state of each target pushing channel is the pushing success state, forbidding sending the pushing content to the pushing object again.
In an embodiment of the application, the computer program when executed by the processor performs the steps of:
if the pushing state of the current target pushing channel is a pushing failure state, acquiring the pushing failure times of the current target pushing channel; if the failure frequency of the current target push channel exceeds a preset frequency threshold value, the push content is sequentially sent to the push object through other target push channels except the current target push channel in the at least one target push channel until the push content is successfully sent to the push object.
In an embodiment of the application, the computer program when executed by the processor performs the steps of:
receiving a withdrawal instruction, wherein the withdrawal instruction is used for instructing the push server to stop sending the push content to the push object through any one of the target push channels.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A message pushing method, used in a pushing server in a message pushing system, where the message pushing system includes at least one pushing end and the pushing server, the method includes:
acquiring a push instruction sent by a target push end, wherein the push instruction comprises push content and a push object;
determining at least one target pushing channel in a pre-stored corresponding relation set according to the identification of the target pushing end, wherein the corresponding relation set comprises a plurality of groups of corresponding relations between the pushing ends and the pushing channels, and each pushing end corresponds to at least one pushing channel;
and sending the push content to the push object through the at least one target push channel according to the push instruction.
2. The method of claim 1, wherein the push instruction further comprises a push time period, and wherein sending the push content to the push object through the at least one targeted push channel according to the push instruction comprises:
and sending the push content to the push object through the at least one target push channel within the push time period according to the push instruction.
3. The method of claim 1, wherein after sending the push content to the push object through the at least one targeted push channel according to the push instruction, the method further comprises:
acquiring a push state, wherein the push state is used for representing whether the push content is successfully sent to the push object under each target push channel, and the push state comprises a push success state and a push failure state;
and determining whether to send the push content to the push object again according to the push state.
4. The method of claim 3, wherein the determining whether to send the push content to the push object again according to the push status comprises:
if the pushing state of any target pushing channel is a pushing failure state, the pushing content is sent to the pushing object again until the pushing state of each target pushing channel is the pushing success state.
5. The method of claim 3, wherein the determining whether to send the push content to the push object again according to the push status comprises:
and when the pushing state of each target pushing channel is the pushing success state, forbidding to send the pushing content to the pushing object again.
6. The method of claim 3, wherein the determining whether to send the push content to the push object again according to the push status comprises:
if the pushing state of the current target pushing channel is a pushing failure state, acquiring the pushing failure times of the current target pushing channel;
if the failure times of the current target push channel exceed a preset time threshold, the push content is sequentially sent to the push object through other target push channels except the current target push channel in the at least one target push channel until the push content is successfully sent to the push object.
7. The method of claim 1, wherein after sending the push content to the push object through the at least one targeted push channel according to the push instruction, the method further comprises:
receiving a withdrawal instruction, wherein the withdrawal instruction is used for instructing the push server to stop sending the push content to the push object through any target push channel.
8. A message pushing apparatus, for use in a push server in a message pushing system, the message pushing system including at least one pushing end and the push server, the apparatus comprising:
the system comprises an acquisition module, a sending module and a sending module, wherein the acquisition module is used for acquiring a push instruction sent by a target push end, and the push instruction comprises push content and a push object;
the first determining module is used for determining at least one target pushing channel in a pre-stored corresponding relation set according to the identification of the target pushing end, wherein the corresponding relation set comprises a plurality of groups of corresponding relations between the pushing ends and the pushing channels, and each pushing end corresponds to at least one pushing channel;
and the sending module is used for sending the push content to the push object through the at least one target push channel according to the push instruction.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010431592.8A 2020-05-20 2020-05-20 Message pushing method and device, computer equipment and storage medium Pending CN111614548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010431592.8A CN111614548A (en) 2020-05-20 2020-05-20 Message pushing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010431592.8A CN111614548A (en) 2020-05-20 2020-05-20 Message pushing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111614548A true CN111614548A (en) 2020-09-01

Family

ID=72205049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010431592.8A Pending CN111614548A (en) 2020-05-20 2020-05-20 Message pushing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111614548A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073308A (en) * 2020-09-16 2020-12-11 京东数字科技控股股份有限公司 Information pushing method, device, equipment and computer readable storage medium
CN112187927A (en) * 2020-09-29 2021-01-05 云账户技术(天津)有限公司 Method and device for pushing channel selection
CN112199495A (en) * 2020-11-13 2021-01-08 北京明略软件系统有限公司 Personnel message notification method, device, electronic equipment and computer readable storage medium
CN112615929A (en) * 2020-12-24 2021-04-06 上海掌门科技有限公司 Method and equipment for pushing messages
CN112770275A (en) * 2020-12-29 2021-05-07 杭州涂鸦信息技术有限公司 Message pushing method, system and related equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010047980A (en) * 1999-11-24 2001-06-15 이계철 Method of processing user-defined urgent message in push system
CN103856392A (en) * 2013-06-26 2014-06-11 携程计算机技术(上海)有限公司 Message push method, outgoing server using message push method and outgoing server system
CN106330674A (en) * 2016-08-25 2017-01-11 广州御银科技股份有限公司 On-line information pushing system
CN108347374A (en) * 2018-01-22 2018-07-31 广州欧赛斯信息科技有限公司 A kind of information push method, system and device preventing invalid message
CN109218370A (en) * 2017-07-06 2019-01-15 北京嘀嘀无限科技发展有限公司 Message method and device, electronic equipment
CN110166510A (en) * 2018-02-13 2019-08-23 贵州白山云科技股份有限公司 A kind of method and its information gateway of information gateway dispatch messages
CN110324386A (en) * 2018-03-30 2019-10-11 阿里巴巴集团控股有限公司 Information push method, equipment and system
CN111131368A (en) * 2018-11-01 2020-05-08 中国移动通信集团浙江有限公司 Message pushing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010047980A (en) * 1999-11-24 2001-06-15 이계철 Method of processing user-defined urgent message in push system
CN103856392A (en) * 2013-06-26 2014-06-11 携程计算机技术(上海)有限公司 Message push method, outgoing server using message push method and outgoing server system
CN106330674A (en) * 2016-08-25 2017-01-11 广州御银科技股份有限公司 On-line information pushing system
CN109218370A (en) * 2017-07-06 2019-01-15 北京嘀嘀无限科技发展有限公司 Message method and device, electronic equipment
CN108347374A (en) * 2018-01-22 2018-07-31 广州欧赛斯信息科技有限公司 A kind of information push method, system and device preventing invalid message
CN110166510A (en) * 2018-02-13 2019-08-23 贵州白山云科技股份有限公司 A kind of method and its information gateway of information gateway dispatch messages
CN110324386A (en) * 2018-03-30 2019-10-11 阿里巴巴集团控股有限公司 Information push method, equipment and system
CN111131368A (en) * 2018-11-01 2020-05-08 中国移动通信集团浙江有限公司 Message pushing method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073308A (en) * 2020-09-16 2020-12-11 京东数字科技控股股份有限公司 Information pushing method, device, equipment and computer readable storage medium
CN112187927A (en) * 2020-09-29 2021-01-05 云账户技术(天津)有限公司 Method and device for pushing channel selection
CN112199495A (en) * 2020-11-13 2021-01-08 北京明略软件系统有限公司 Personnel message notification method, device, electronic equipment and computer readable storage medium
CN112615929A (en) * 2020-12-24 2021-04-06 上海掌门科技有限公司 Method and equipment for pushing messages
CN112615929B (en) * 2020-12-24 2023-01-31 上海掌门科技有限公司 Method and equipment for pushing messages
CN112770275A (en) * 2020-12-29 2021-05-07 杭州涂鸦信息技术有限公司 Message pushing method, system and related equipment

Similar Documents

Publication Publication Date Title
CN111949953B (en) Identity authentication method, system and device based on block chain and computer equipment
CN111614548A (en) Message pushing method and device, computer equipment and storage medium
CN107483419B (en) Method, device and system for authenticating access terminal by server, server and computer readable storage medium
CN111556025A (en) Data transmission method, system and computer equipment based on encryption and decryption operations
CN111107073B (en) Application automatic login method and device, computer equipment and storage medium
EP3319267A1 (en) Wireless system access control method and device
CN111880919B (en) Data scheduling method, system and computer equipment
CN109729000B (en) Instant messaging method and device
CN108289074B (en) User account login method and device
CN111585970A (en) Token verification method and device
CN105187369A (en) Data access method and data access device
CN109831521B (en) Cache instance management method and device, computer equipment and storage medium
CN114244568A (en) Security access control method, device and equipment based on terminal access behavior
CN111597537B (en) Block chain network-based certificate issuing method, related equipment and medium
CN108574658B (en) Application login method and device
CN112448956A (en) Authority processing method and device of short message verification code and computer equipment
CN111628985A (en) Security access control method, security access control device, computer equipment and storage medium
CN116827551A (en) Method and device for preventing global override
CN108848094B (en) Data security verification method, device, system, computer equipment and storage medium
CN112422516B (en) Trusted connection method and device based on power edge calculation and computer equipment
CN114567678B (en) Resource calling method and device for cloud security service and electronic equipment
CN113014545B (en) Data processing method and device, computer equipment and storage medium
CN114244566A (en) Illegal external connection detection method and device based on IP address and computer equipment
CN112260997A (en) Data access method and device, computer equipment and storage medium
CN114257406B (en) Equipment communication method and device based on identification algorithm and computer equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200901