CN107689988B - Message pushing method and device, electronic equipment and terminal equipment - Google Patents

Message pushing method and device, electronic equipment and terminal equipment Download PDF

Info

Publication number
CN107689988B
CN107689988B CN201710711006.3A CN201710711006A CN107689988B CN 107689988 B CN107689988 B CN 107689988B CN 201710711006 A CN201710711006 A CN 201710711006A CN 107689988 B CN107689988 B CN 107689988B
Authority
CN
China
Prior art keywords
push
identifier
server
offline
terminal equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710711006.3A
Other languages
Chinese (zh)
Other versions
CN107689988A (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.)
Bigo Technology Singapore Pte Ltd
Original Assignee
Guangzhou Baiguoyuan Information 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 Baiguoyuan Information Technology Co Ltd filed Critical Guangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN201710711006.3A priority Critical patent/CN107689988B/en
Publication of CN107689988A publication Critical patent/CN107689988A/en
Application granted granted Critical
Publication of CN107689988B publication Critical patent/CN107689988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • 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/226Delivery according to priorities

Abstract

The application provides a method and a device for pushing messages, electronic equipment and terminal equipment, wherein the method comprises the following steps: the method comprises the steps that a client reads system information of terminal equipment, determines a target push server adaptive to the terminal equipment based on the system information, initiates registration to the target push server, and reports push configuration information to a background server corresponding to the client after the registration is successful, wherein the push configuration information comprises a user identifier, a push service identifier and a mapping relation of the equipment identifier; the method comprises the steps that a background server side obtains an offline message sent to a target user, searches for push configuration information according to an identification of the target user carried by the offline message, determines a corresponding push service identification and a corresponding device identification, determines a corresponding push server side based on the push service identification, and sends the offline message and the device identification to the push server side. The method and the device select the push service most suitable for the terminal equipment to push the offline message, so that the optimization of the time delay and the arrival rate is realized.

Description

Message pushing method and device, electronic equipment and terminal equipment
Technical Field
The application relates to the technical field of networks, in particular to a communication technology.
Background
An IM (Instant Messaging) function is one of the most important and most elegant functions in a social network, and many social APPs (computer applications) integrate the IM function, so that a user can establish and maintain an acquaintance relationship through the APPs, and the dependency of the user on the APPs is enhanced.
The most critical issue for IM functionality is the reach of the message. If the user is online (the application is opened or the background is resident), the user can directly obtain the message from the IM system loaded on the background server; when the user goes offline (the application is closed and the background is closed), the user cannot obtain the message from the IM system loaded on the background server. In this case, if the Push service is used to send the message of the background server to the user, it can be used as an important supplement for implementing the IM function. Therefore, the problem that the user cannot obtain the message from the background server when the user is offline is solved, and the message contact rate of the IM function is improved.
At present, there are many providers of Push services, and there are Push services integrated by terminal equipment manufacturers on their own products, such as Apple Push service of Apple, Google Cloud Messaging (GCM) service of Google, also called Google Push service, millet Push service of millet and china Push service of china company. In addition, there are some push services provided by non-end device vendors, such as aurora push.
However, different terminal devices facing different push services have different limitations, and the delay and arrival rate are different.
Disclosure of Invention
In view of the above, the present application provides a method, an apparatus, an electronic device, and a terminal device for pushing a message, so as to select an optimal pushing service to push a message to a user.
Specifically, the method is realized through the following technical scheme:
a message pushing method is applied to a background server, the background server is in butt joint with a plurality of pushing servers corresponding to different pushing services, and the message pushing method comprises the following steps:
acquiring an offline message sent to a target user; wherein the offline message carries an identifier of a target user;
searching for push configuration information reported by a client according to the identification of the target user, and determining a push service identification and an equipment identification corresponding to the identification of the target user; the push configuration information comprises a mapping relation among a user identifier, a push service identifier and an equipment identifier;
and determining a corresponding push server based on the push service identifier, and sending the offline message and the equipment identifier to the push server so that the push server issues the offline message to corresponding terminal equipment based on the equipment identifier.
In the message pushing method, the offline messages include several types of offline messages with preset different priorities, and the method further includes:
and after the offline messages with different priorities are obtained, the offline messages with high priorities are processed preferentially.
In the message pushing method, the method further includes:
counting the traffic of various push services, and comparing the traffic with a preset traffic threshold;
and when the traffic is greater than the traffic threshold, sending alarm information to an operator.
A message pushing method is applied to a client and comprises the following steps:
reading system information of the terminal equipment;
determining a target push server adaptive to the terminal equipment based on the system information;
and initiating registration to the target push server, and reporting push configuration information to a background server corresponding to the client after the registration is successful, wherein the push configuration information comprises a mapping relation among a user identifier, a push service identifier and an equipment identifier, so that the background server sends an offline message to the target push server based on the push configuration information after receiving the offline message.
In the message pushing method, the determining a target push server adapted to the terminal device based on the system information includes:
determining whether the terminal equipment has a system-owned push service or not based on the system information;
and if the terminal equipment has the push service of the terminal equipment, determining that the push server corresponding to the push service is the target push server adaptive to the terminal equipment.
A message pushing device is applied to a background server, the background server carries a butt joint front end facing a plurality of different pushing services, and the message pushing device comprises:
an acquisition unit, configured to acquire an offline message sent to a target user; wherein the offline message carries an identifier of a target user;
a searching unit, configured to search, according to the identifier of the target user, push configuration information reported by a client, and determine a push service identifier and an equipment identifier corresponding to the identifier of the target user; the push configuration information comprises a mapping relation among a user identifier, a push service identifier and an equipment identifier;
and the sending unit is used for determining a corresponding push server based on the push service identifier, and sending the offline message and the equipment identifier to the push server so that the push server sends the offline message to corresponding terminal equipment based on the equipment identifier.
In the message pushing apparatus, the offline message includes several types of offline messages with preset different priorities, and the searching unit is further configured to:
and after the offline messages with different priorities are obtained, the offline messages with high priorities are processed preferentially.
In the message pushing apparatus, the apparatus further includes:
the statistical unit is used for counting the traffic of various push services and comparing the traffic with a preset traffic threshold;
and the alarm unit is used for sending alarm information to the operator when the traffic is greater than the traffic threshold.
A message pushing device is applied to a client and comprises:
a reading unit for reading system information of the terminal device;
the judging unit is used for determining a target push server adaptive to the terminal equipment based on the system information;
and the registration unit is used for initiating registration to the target push server and reporting push configuration information to a background server corresponding to the client after the registration is successful, wherein the push configuration information comprises a mapping relation among a user identifier, a push service identifier and an equipment identifier, so that the background server sends an offline message to the target push server based on the push configuration information after receiving the offline message.
In the message pushing apparatus, the determining unit is further configured to:
determining whether the terminal equipment has a system-owned push service or not based on the system information;
and if the terminal equipment has the push service of the terminal equipment, determining that the push server corresponding to the push service is the target push server adaptive to the terminal equipment.
An electronic device having a processor and a memory for storing processor-executable instructions; wherein the processor is configured to:
acquiring an offline message sent to a target user; wherein the offline message carries an identifier of a target user;
searching for push configuration information reported by a client according to the identification of the target user, and determining a push service identification and an equipment identification corresponding to the identification of the target user; the push configuration information comprises a mapping relation among a user identifier, a push service identifier and an equipment identifier;
and determining a corresponding push server based on the push service identifier, and sending the offline message and the equipment identifier to the push server so that the push server issues the offline message to corresponding terminal equipment based on the equipment identifier.
A terminal device having a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to:
reading system information of the terminal equipment;
determining a target push server adaptive to the terminal equipment based on the system information;
and initiating registration to the target push server, and reporting push configuration information to a background server corresponding to the client after the registration is successful, wherein the push configuration information comprises a mapping relation among a user identifier, a push service identifier and an equipment identifier, so that the background server sends an offline message to the target push server based on the push configuration information after receiving the offline message.
In the embodiment of the application, a client determines a target push server adapted to a terminal device based on system information of the terminal device, initiates registration to the target push server, and reports push configuration information to a background server corresponding to the client after registration, wherein the push configuration information includes a user identifier, a push service identifier and a mapping identifier of a device identifier; the background server side stores the push configuration information reported by the client side, determines a push service identifier and an equipment identifier corresponding to a target user according to the push configuration information after acquiring an offline message sent to the target user, further determines a corresponding push server side according to the push service identifier, and then sends the offline message and the equipment identifier to the push server side; after receiving the offline message and the equipment identifier, the push server sends the offline message to corresponding terminal equipment based on the equipment identifier;
because the client registers the push service to the push server adapted to the terminal device based on the system information of the terminal device in advance, the push configuration information received by the background server indicates the push service most suitable for the terminal device, and the push service most suitable for the terminal device can be selected to push the offline message, thereby realizing the optimization of the time delay and the arrival rate.
Drawings
FIG. 1 is an IM system architecture diagram of the type shown in the present application;
FIG. 2 is an off-line push subsystem architecture diagram shown in the present application;
fig. 3 is a flowchart of a message pushing method shown in the present application;
fig. 4 is a flowchart of another message pushing method shown in the present application;
FIG. 5 is a block diagram of an embodiment of a message pushing apparatus shown in the present application;
FIG. 6 is a hardware block diagram of an electronic device shown in the present application;
FIG. 7 is a block diagram of an embodiment of another message pushing apparatus shown in the present application;
fig. 8 is a hardware configuration diagram of a terminal device shown in the present application.
Detailed Description
In order to make the technical solutions in the embodiments of the present invention better understood and make the above objects, features and advantages of the embodiments of the present invention more comprehensible, the following description of the prior art and the technical solutions in the embodiments of the present invention with reference to the accompanying drawings is provided.
The message touch rate of the IM function is very important, and only if the message touch rate is maintained to be high, the user can effectively establish and maintain the interpersonal relationship through the IM function.
Referring to fig. 1, for an IM system architecture diagram shown in the present application, as shown in fig. 1, after a user a sends a message to a user B, the message sent by the user a is first obtained by a forwarding subsystem of the IM system. The forwarding subsystem may deliver the identity of user B (e.g., account information of user B) carried in the message to the online subsystem. And after the online subsystem obtains the identification of the user B, judging whether the user B is online or not, and informing the forwarding subsystem.
If user B is online, the forwarding subsystem may send the message directly to user B. After receiving the message through the application, the user B can directly read the message from the application.
And if user B is not online, the forwarding subsystem may send the offline message to the offline pushing subsystem. After the offline pushing subsystem obtains the offline message, the offline message is pushed to the user B through the pushing service, so that the user B can receive the offline message under the condition that the application is closed and timely touch the offline message.
Therefore, the IM system effectively supplements the IM function through the push service, solves the problem that the user can not obtain the message from the IM system when the user is off-line, and improves the message touch rate.
Currently, there are many providers of Push services, one is Push services integrated by terminal equipment manufacturers on their own products, such as Apple Push service of Apple, Google Push service of Google, millet Push of millet and huayi Push of huayi company; another class is push services provided by non-end device vendors, such as aurora push.
Different Push services have different limitations for different terminal devices, for example, Apple Push only supports products under the flag of Apple company, and Google Push cannot support all terminal devices carrying android systems. Moreover, the delay and arrival rate of different push services for different terminal devices are different, for example, the delay of the millet push service for a mobile phone is lower than that of the millet push service for a mobile phone, and the arrival rate of the millet push service for the mobile phone is higher.
In the related art, an IM system supplements an IM function only through a single push service, so that offline messages have higher time delay and lower arrival rate; moreover, the terminal device may start an additional resident process supporting the Push service, which may increase power consumption, for example, if the IM system of the application installed on the Apple mobile phone uses the millet Push service, the Apple mobile phone needs to start the process supporting the millet Push service, which increases power consumption compared with the Apple Push carried by the system itself.
In view of this, in the technical solution of the present application, the IM system supplements the IM function through a plurality of push services; the client can preferentially select the self-contained push service of the system to register based on the system information of the terminal equipment where the client is located, generate push configuration information to report to the background server carrying the IM system, and the subsequent background server can determine the self-contained push service of the system of the terminal equipment based on the push configuration information and push off-line information through the push service. Therefore, the background server can push the offline efficiency through the push service which is most suitable for the terminal equipment, so that the optimization of the time delay and the arrival rate is realized.
Referring to fig. 2, an architecture diagram of an offline pushing subsystem shown in the present application is shown, as shown in fig. 2, the offline pushing subsystem includes a docking front end facing a plurality of different pushing services; after the offline pushing subsystem obtains the offline message, the offline message is sent to a pushing server corresponding to the pushing service through one of the docking front ends, so that the pushing server pushes the offline message to the user.
Referring to fig. 3, a flowchart of a message pushing method shown in the present application is shown, where the method is applied to a background server, and the background server is interfaced with multiple pushing servers corresponding to different pushing services, where the method includes the following steps:
step 301: acquiring an offline message sent to a target user; and the offline message carries the identification of the target user.
Step 302: searching for push configuration information reported by a client according to the identification of the target user, and determining a push service identification and an equipment identification corresponding to the identification of the target user; the push configuration information includes mapping relationship between user identification, push service identification and device identification.
Step 303: and determining a corresponding push server based on the push service identifier, and sending the offline message and the equipment identifier to the push server, so that the push server issues the offline message to corresponding terminal equipment based on the equipment identifier.
The background server may be a server or a server cluster carrying the entire IM system or an offline push subsystem of the IM system, and the specific execution device of the method may be an electronic device designated to be dedicated to pushing offline messages.
The docking front-end may be a software module that is docked with a push service. According to the practical application situation, the docking front end and other software modules in the offline pushing subsystem can be loaded on different electronic devices. Such as: software modules of offline push scheduling in the offline push subsystem can be collectively loaded on one server, and docking front ends corresponding to different push services can be respectively loaded on other servers; the operator can correspondingly adjust the scale of the server carrying different push services according to the size of the traffic of the different push services.
Referring to fig. 4, a flowchart of another message pushing method shown in the present application is applied to a client, and the method includes the following steps:
step 401: and reading system information of the terminal equipment.
Step 402: and determining a target push server adaptive to the terminal equipment based on the system information.
Step 403: and initiating registration to the target push server, and reporting push configuration information to a background server corresponding to the client after the registration is successful, wherein the push configuration information comprises a mapping relation among a user identifier, a push service identifier and an equipment identifier, so that the background server sends an offline message to the target push server based on the push configuration information after receiving the offline message.
Wherein, the client includes an APP integrated with an IM function, for example: guihui, Bigo Live.
The terminal device refers to an electronic device equipped with the client, and may include a mobile phone, a tablet computer, and the like.
After the user installs the client on the terminal device, the client may first select a push service to register, so as to ensure that the offline message can be obtained from the background server even when the user is offline.
In this embodiment, the client may read system information of the terminal device. Such as: the client may Read a Read Only Memory image (Read Only Memory image) of the terminal device, so as to obtain system information of the terminal device.
Some terminal device manufacturers integrate push services for their own products, and in this case, the client can optimize the push effect and minimize power consumption by using the push services of the terminal device system itself.
In this embodiment, the client may determine, based on the system information, a target push server adapted to the terminal device.
In an embodiment shown, the client may determine whether the terminal device has a push service of its own based on system information of the terminal device.
On one hand, if the terminal device has a push service of its own, the client may determine that the push server corresponding to the push service is a target push server adapted to the terminal device.
The client may register with the target push server. Such as: the client determines that the terminal device carries an ios system, and can register to a Push server corresponding to Apple Push; and if the client determines that the terminal equipment is equipped with the millet system, the client can register to a pushing server corresponding to millet pushing.
After the registration is completed, the client may generate the push configuration information and report the push configuration information to the background server. The push configuration information includes a push service identifier of the registered push service, a mapping relationship between an identifier of the user (for example, an account of the user) and a device identifier (device token), and the push service identifier is used to indicate a unique push service.
On the other hand, if the terminal device does not have the push service of the system, the client can select one push service from a preset push service set to register; the push service set comprises a plurality of push services of which the background server side carries the butt joint front end. Taking a background server carrying the offline Push subsystem shown in fig. 2 as an example, the Push service set of the corresponding client includes a millet Push service, an Apple Push service, a Google Push service, a huazi Push service, and an aurora Push service.
And if the client cannot register successfully when registering to the push service, reselecting a push service for registering until the client registers successfully. Such as: the Google Push service on many operating systems customized based on the android system is removed, so that the client cannot register successfully when determining that the terminal device carries the android system and registers in the Google Push service, and at the moment, the client can register in the millet Push service or the Huawei Push service until the registration is completed.
After the registration is completed, the client may generate the push configuration information and report the push configuration information to the background server.
Through the measures, the client can select an optimal push service for registration; the background server side can obtain the optimal push service corresponding to each user, and then push the offline message to each user through the optimal push service in the subsequent process.
In this embodiment of the application, after receiving the push configuration information reported by the client, the background server may store the push configuration information in a locally preset push configuration information table. The background server may store the push configuration information corresponding to all users of the client in the push configuration information table, and may subsequently select an optimal push service based on the push configuration information.
In the embodiment of the application, the background server can acquire an offline message sent to a target user; wherein, the off-line message carries the identification of the target user.
Specifically, when the background server is equipped with the whole IM system, after receiving a message sent to a target user, the background server can judge whether the target user is online, and if not, the background server determines that the message is sent to the target user in the form of an offline message through a push service;
when the background server only carries the offline pushing subsystem of the IM system, the message sent to the target user can be obtained from the server carrying the forwarding subsystem, and the message is determined to be sent to the target user through the pushing service in the form of the offline message.
In this embodiment of the application, after obtaining the offline message, the background server may search for push configuration information reported by a client based on an identifier of a target user, and determine a push service identifier and an equipment identifier corresponding to the identifier of the target user.
Specifically, the background server may search the push configuration information table according to the identifier of the target user, obtain push configuration information corresponding to the target user, and then determine a push service identifier and an equipment identifier corresponding to the identifier of the target user from the push configuration information.
After determining the push service identifier corresponding to the identifier of the target user, the background server may determine the corresponding push service based on the push service identifier.
In this embodiment of the application, after determining the push service according to the push service identifier, the background server determines a push server corresponding to the push service, and then sends the offline message and the device identifier to the push server corresponding to the push service through a docking front end docked with the push service.
And after receiving the offline message and the equipment identifier corresponding to the target user, the push server pushes the offline message to the target user through the equipment identifier. Therefore, the target user can receive the message in an offline state and respond to the message in time.
In an embodiment shown in the present invention, the offline messages obtained by the background server may include a plurality of offline messages preset with different priorities, where the higher the priority is, the higher the requirement of the offline messages on timeliness is, the more important the offline messages are, and in this case, after the background server obtains the offline messages with different priorities, the offline messages with high priorities may be preferentially processed.
For example: there are two kinds of offline messages, one is the message sent between users, and the other is the message sent by the IM system to the user (including activity notification, system pass, etc.); the importance of the former is greater than that of the latter, the background server can configure priority higher than that of the latter for the former, and preferentially process messages sent between users when two kinds of offline messages are subsequently received.
By the measures, the background server can process more important messages in time under the condition of large traffic, so that the instant messaging function is better realized.
In the embodiment of the present application, since the service processing capabilities of the providers of various push services are different, the rates at which the various docking front ends send data to the docked push service end are different, and a sufficient number of docking front ends are deployed according to the traffic of the various push services and the rates of the various docking front ends. In addition, the background server can count the traffic of various push services, and then compare the counted traffic with a traffic threshold value preconfigured by an operator.
When the traffic is greater than the traffic threshold, the background server may send an alarm message to an operator. After receiving the warning information, an operator can expand the server cluster carrying the background server, so that the expanded server cluster can meet the service requirement of pushing the offline message.
Specifically, the background server may send an alarm message to an operator in a form of a short message or other forms when the comparison determines that the traffic volume of any push service is greater than the traffic volume threshold; the warning information may carry the traffic of the push service and the corresponding push service identifier. After obtaining the alarm information, the operator may increase a server carrying the docking front end based on a rate at which the docking front end corresponding to the push service transmits data.
By the measures, the background server can be expanded in time under the condition that the service volume is increased, so that the service requirement can be met.
The traffic volume of the pushed offline message varies greatly with time, and it is very important to maintain normal service during peak periods of traffic volume. The offline push scheduling module of the offline push subsystem may generally allocate offline messages to each of the docking front ends according to a polling manner, so that each of the docking front ends can perform load balancing.
When a large amount of offline messages are accumulated at any one of the front end interfaces during the peak period of traffic, the new offline messages cannot be processed in time after the new offline messages scheduled by the offline push scheduling module are received. Therefore, when the number of the offline messages accumulated by any one of the front-end interfaces reaches a preset threshold value, the offline push scheduling module can be notified to suspend allocating the offline messages. And after the front end of the butt joint sends all the accumulated offline messages to the providers of the push service, the off-line push scheduling module is informed to continue to distribute the offline messages.
By the aid of the measures, the problem that delay of issuing the off-line messages is increased due to the fact that excessive off-line messages are accumulated at the front end of the butt joint is solved.
In summary, in the technical solution of the present application, a client determines, based on system information of a terminal device, a target push server adapted to the terminal device, then initiates registration to the target push server, and reports push configuration information to a background server after the registration is successful, where the push configuration information includes an identifier of a user, a mapping relationship between a push service identifier and a device identifier; the method comprises the steps that a background server side stores all push configuration information reported by a client side, after receiving an offline message sent to a target user, the background server side searches the push configuration information according to an identification of the target user carried by the offline message, determines a push service identification and an equipment identification corresponding to the identification of the target user, then determines a corresponding push server side based on the push service identification, and sends the offline message and the equipment identification to the push server side; after receiving the offline message and the equipment identifier, the push server pushes the offline message to a target user according to the equipment identifier;
because the background server integrates various push services as a supplementary means for realizing the IM function, and the client registers the push service most suitable for the terminal equipment, the background server can push the offline message to the target user through the optimal push service after receiving the offline message sent to the target user; therefore, the arrival rate of the offline message is improved, the time delay is reduced, and extra power consumption caused by the fact that the terminal equipment uses the push service which is not provided by the system is avoided.
Corresponding to the embodiment of the method for pushing the message, the application also provides an embodiment of a device for executing the above method embodiment.
Referring to fig. 5, a block diagram of an embodiment of a message pushing apparatus shown in the present application is shown:
as shown in fig. 5, the message pushing apparatus 50 includes:
an obtaining unit 510, configured to obtain an offline message sent to a target user; and the offline message carries the identification of the target user.
A searching unit 520, configured to search, according to the identifier of the target user, push configuration information reported by a client, and determine a push service identifier and an equipment identifier corresponding to the identifier of the target user; the push configuration information includes mapping relationship between user identification, push service identification and device identification.
A sending unit 530, configured to determine a corresponding push server based on the push service identifier, and send the offline message and the device identifier to the push server, so that the push server sends the offline message to a corresponding terminal device based on the device identifier.
In this example, the offline message includes several types of offline messages with preset priorities, and the searching unit 520 is further configured to:
and after the offline messages with different priorities are obtained, the offline messages with high priorities are processed preferentially.
In this example, the apparatus further comprises:
a counting unit 540 (not shown in the figure) for counting the traffic of various push services and comparing the traffic with a preset traffic threshold.
An alarm unit 550 (not shown in the figure) for sending an alarm message to an operator when the traffic is greater than the traffic threshold.
The embodiment of the message pushing device can be applied to electronic equipment with a background server. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a logical device, the device is formed by reading, by a processor of the electronic device where the device is located, a corresponding computer program instruction in the nonvolatile memory into the memory for operation.
In terms of hardware, as shown in fig. 6, a hardware structure diagram of an electronic device shown in this application is shown, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 6, the electronic device where the apparatus is located in the embodiment may also include other hardware according to an actual function of the apparatus for pushing the message, which is not described again. The memory and the nonvolatile memory of the electronic device are further loaded with a machine executable instruction corresponding to the obtaining unit 510, a machine executable instruction corresponding to the searching unit 520, a machine executable instruction corresponding to the sending unit 530, a machine executable instruction corresponding to the counting unit 540 (not shown in the figure), and a machine executable instruction corresponding to the warning unit 550 (not shown in the figure), respectively.
Referring to fig. 7, a block diagram of another embodiment of a message pushing apparatus shown in the present application is shown:
as shown in fig. 7, the message pushing apparatus 70 includes:
a reading unit 710, configured to read system information of the terminal device.
A determining unit 720, configured to determine, based on the system information, a target push server adapted to the terminal device.
A registering unit 730, configured to initiate registration to the target push server, and report push configuration information to a background server corresponding to the client after the registration is successful, where the push configuration information includes a mapping relationship between a user identifier, a push service identifier, and an equipment identifier, so that the background server sends an offline message to the target push server based on the push configuration information after receiving the offline message.
In this example, the determining unit 720 is further configured to:
determining whether the terminal equipment has a system-owned push service or not based on the system information;
and if the terminal equipment has the push service of the terminal equipment, determining that the push server corresponding to the push service is the target push server adaptive to the terminal equipment.
The embodiment of the message pushing device can be applied to terminal equipment carrying a client. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and as a logical device, the device is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory for operation through the processor of the terminal device where the device is located.
In terms of hardware, as shown in fig. 8, the hardware structure diagram of a terminal device shown in this application is a diagram, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 8, the terminal device where the apparatus is located in the embodiment may also include other hardware according to the actual function of the apparatus for pushing the message, which is not described again. The memory and the nonvolatile memory of the terminal device are loaded with the machine-executable instruction corresponding to the reading unit 710, the machine-executable instruction corresponding to the determining unit 720, and the machine-executable instruction corresponding to the registering unit 730, respectively.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (12)

1. A method for pushing messages is applied to a background server, the background server is in butt joint with a plurality of pushing servers corresponding to different pushing services, and is characterized in that different pushing servers are adapted to different terminal devices, and the method comprises the following steps:
acquiring an offline message sent to a target user; wherein the offline message carries an identifier of a target user;
searching for push configuration information reported by a client according to the identification of the target user, and determining a push service identification and an equipment identification corresponding to the identification of the target user; the push configuration information comprises a mapping relation among a user identifier, a push service identifier and an equipment identifier; a push server corresponding to the push service identifier is adapted to the terminal equipment corresponding to the equipment identifier, and the push server is determined according to the system information of the terminal equipment;
and determining a corresponding push server based on the push service identifier, and sending the offline message and the equipment identifier to the push server so that the push server issues the offline message to corresponding terminal equipment based on the equipment identifier.
2. The method of claim 1, wherein the offline messages include several offline messages with different priorities, and the method further comprises:
and after the offline messages with different priorities are obtained, the offline messages with high priorities are processed preferentially.
3. The method of claim 1, further comprising:
counting the traffic of various push services, and comparing the traffic with a preset traffic threshold;
and when the traffic is greater than the traffic threshold, sending alarm information to an operator.
4. A message pushing method is applied to a client, and is characterized by comprising the following steps:
reading system information of the terminal equipment;
determining a target push server adaptive to the terminal equipment based on the system information;
and initiating registration to the target push server, and reporting push configuration information to a background server corresponding to the client after the registration is successful, wherein the push configuration information comprises a mapping relation among a user identifier, a push service identifier and an equipment identifier, so that the background server sends an offline message to the target push server based on the push configuration information after receiving the offline message.
5. The method of claim 4, wherein the determining a target push server adapted to the terminal device based on the system information comprises:
determining whether the terminal equipment has a system-owned push service or not based on the system information;
and if the terminal equipment has the push service of the terminal equipment, determining that the push server corresponding to the push service is the target push server adaptive to the terminal equipment.
6. The utility model provides a device of message propelling movement, is applied to the backstage server, and the backstage server carries on towards the butt joint front end of a plurality of different push services, its characterized in that, the different terminal equipment of different push service adaptation, include:
an acquisition unit, configured to acquire an offline message sent to a target user; wherein the offline message carries an identifier of a target user;
a searching unit, configured to search, according to the identifier of the target user, push configuration information reported by a client, and determine a push service identifier and an equipment identifier corresponding to the identifier of the target user; the push configuration information comprises a mapping relation among a user identifier, a push service identifier and an equipment identifier; a push server corresponding to the push service identifier is adapted to the terminal equipment corresponding to the equipment identifier, and the push server is determined according to the system information of the terminal equipment;
and the sending unit is used for determining a corresponding push server based on the push service identifier, and sending the offline message and the equipment identifier to the push server so that the push server sends the offline message to corresponding terminal equipment based on the equipment identifier.
7. The apparatus of claim 6, wherein the offline message comprises several offline messages with different priorities, and the searching unit is further configured to:
and after the offline messages with different priorities are obtained, the offline messages with high priorities are processed preferentially.
8. The apparatus of claim 6, further comprising:
the statistical unit is used for counting the traffic of various push services and comparing the traffic with a preset traffic threshold;
and the alarm unit is used for sending alarm information to the operator when the traffic is greater than the traffic threshold.
9. A message pushing device is applied to a client, and is characterized by comprising:
a reading unit for reading system information of the terminal device;
the judging unit is used for determining a target push server adaptive to the terminal equipment based on the system information;
and the registration unit is used for initiating registration to the target push server and reporting push configuration information to a background server corresponding to the client after the registration is successful, wherein the push configuration information comprises a mapping relation among a user identifier, a push service identifier and an equipment identifier, so that the background server sends an offline message to the target push server based on the push configuration information after receiving the offline message.
10. The apparatus of claim 9, wherein the determining unit is further configured to:
determining whether the terminal equipment has a system-owned push service or not based on the system information;
and if the terminal equipment has the push service of the terminal equipment, determining that the push server corresponding to the push service is the target push server adaptive to the terminal equipment.
11. An electronic device, wherein the electronic device is equipped with a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to:
acquiring an offline message sent to a target user; wherein the offline message carries an identifier of a target user;
searching for push configuration information reported by a client according to the identification of the target user, and determining a push service identification and an equipment identification corresponding to the identification of the target user; the push configuration information comprises a mapping relation among a user identifier, a push service identifier and an equipment identifier; a push server corresponding to the push service identifier is adapted to the terminal equipment corresponding to the equipment identifier, and the push server is determined according to the system information of the terminal equipment;
and determining a corresponding push server based on the push service identifier, and sending the offline message and the equipment identifier to the push server so that the push server issues the offline message to corresponding terminal equipment based on the equipment identifier.
12. A terminal device, wherein the terminal device is equipped with a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to:
reading system information of the terminal equipment;
determining a target push server adaptive to the terminal equipment based on the system information;
and initiating registration to the target push server, and reporting push configuration information to a background server corresponding to the client after the registration is successful, wherein the push configuration information comprises a mapping relation among a user identifier, a push service identifier and an equipment identifier, so that the background server sends an offline message to the target push server based on the push configuration information after receiving the offline message.
CN201710711006.3A 2017-08-18 2017-08-18 Message pushing method and device, electronic equipment and terminal equipment Active CN107689988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710711006.3A CN107689988B (en) 2017-08-18 2017-08-18 Message pushing method and device, electronic equipment and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710711006.3A CN107689988B (en) 2017-08-18 2017-08-18 Message pushing method and device, electronic equipment and terminal equipment

Publications (2)

Publication Number Publication Date
CN107689988A CN107689988A (en) 2018-02-13
CN107689988B true CN107689988B (en) 2021-02-26

Family

ID=61153425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710711006.3A Active CN107689988B (en) 2017-08-18 2017-08-18 Message pushing method and device, electronic equipment and terminal equipment

Country Status (1)

Country Link
CN (1) CN107689988B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324377B (en) * 2018-03-30 2022-03-25 武汉斗鱼网络科技有限公司 Push interaction method and device, electronic equipment and medium
CN110381100B (en) * 2018-04-13 2022-03-29 佛山市顺德区美的电热电器制造有限公司 Message pushing method, server and computer readable storage medium
CN108833521B (en) * 2018-06-06 2021-01-08 广州视源电子科技股份有限公司 Message pushing method, device, system, computer equipment and storage medium
CN110311963B (en) * 2019-06-19 2023-04-18 中国平安财产保险股份有限公司 Message pushing method and device, computer equipment and computer readable storage medium
CN111901227A (en) * 2020-07-31 2020-11-06 广东佳米科技有限公司 Simple and lightweight message real-time pushing system and implementation method thereof
CN112231552A (en) * 2020-09-27 2021-01-15 武汉木仓科技股份有限公司 Message pushing method and device
WO2022115994A1 (en) * 2020-12-01 2022-06-09 百果园技术(新加坡)有限公司 Method and apparatus for realizing online chat, and chat terminal, server and storage medium
CN112559220A (en) * 2020-12-22 2021-03-26 广州技象科技有限公司 Internet of things offline message sending method, device, equipment and storage medium
CN113794625A (en) * 2021-09-10 2021-12-14 泰康保险集团股份有限公司 Interrogation system, method, equipment and medium
CN113836428A (en) * 2021-10-12 2021-12-24 平安资产管理有限责任公司 Business pushing method and device, computer equipment and storage medium
CN114155683B (en) * 2021-12-03 2023-08-18 四川九州电子科技股份有限公司 Disaster early warning system and method based on gateway equipment
CN114374697B (en) * 2022-01-14 2024-03-01 瀚云科技有限公司 Road passing information pushing system, method, electronic equipment and storage medium
CN114513551B (en) * 2022-02-14 2023-11-24 北京奈特瑞科技有限公司 Consultation message pushing method, system and equipment in mobile scene

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472400A (en) * 2015-12-24 2016-04-06 Tcl集团股份有限公司 Message pushing method and system
CN106790728A (en) * 2017-03-30 2017-05-31 北京深思数盾科技股份有限公司 information push method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101479285A (en) * 2006-04-24 2009-07-08 安德鲁·阿特休勒 System and method for selling a product multiple times during the life of the product

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472400A (en) * 2015-12-24 2016-04-06 Tcl集团股份有限公司 Message pushing method and system
CN106790728A (en) * 2017-03-30 2017-05-31 北京深思数盾科技股份有限公司 information push method and system

Also Published As

Publication number Publication date
CN107689988A (en) 2018-02-13

Similar Documents

Publication Publication Date Title
CN107689988B (en) Message pushing method and device, electronic equipment and terminal equipment
CA2845413C (en) Radio resource optimizing method, apparatus, and system
EP3386150B1 (en) Terminal failure processing method, device and system
CN109756417B (en) Offline message distribution method, server and storage medium
WO2018213846A1 (en) Advanced wi-fi performance monitoring
CN112311617A (en) Configured data monitoring and alarming method and system
CN108897854B (en) Monitoring method and device for overtime task
US10454795B1 (en) Intermediate batch service for serverless computing environment metrics
EP2800024A1 (en) System and methods for identifying applications in mobile networks
EP3654591B1 (en) Method and device for transmitting multimedia message, storage medium, and electronic apparatus
CN108111499B (en) Business processing performance optimization method and device, electronic equipment and storage medium
CN112882939B (en) Automatic testing method and device, electronic equipment and storage medium
US20220369278A1 (en) Object monitoring methods and apparatuses, electronic devices and computer readable storage media
RU2018138001A (en) VISUALIZATION SYSTEM AND COMMUNICATION PLATFORM FOR COMMUNICATION BETWEEN NUMBER OF NODES OF THE VISUALIZATION SYSTEM
CN112579515B (en) Thread message processing method and related product
CN111726417B (en) Delay control method, device, server and storage medium
CN113630368B (en) Communication method, system, terminal and medium of automatic cloud meter
CN108781215B (en) Network service implementation method, service controller and communication system
CN111092954B (en) Method and device for generating micro service and electronic equipment
CN104869532B (en) Group member management method and device
CN109639795B (en) Service management method and device based on AcitveMQ message queue
CN110351223B (en) Timing reminding method, device and computer program medium
CN105025449B (en) A kind of short message reception state remapping method, apparatus and system
CN114327517B (en) Software-driven implementation method and system
KR101979588B1 (en) Method, System and Apparatus for Controlling Session

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220601

Address after: 31a, 15 / F, building 30, maple mall, bangrang Road, Brazil, Singapore

Patentee after: Baiguoyuan Technology (Singapore) Co.,Ltd.

Address before: 511442 room 2705, 27 / F, building B-1, Wanda Plaza North, Wanbo business district, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU BAIGUOYUAN INFORMATION TECHNOLOGY Co.,Ltd.