CN107689988A - A kind of method, apparatus, electronic equipment and the terminal device of message push - Google Patents
A kind of method, apparatus, electronic equipment and the terminal device of message push Download PDFInfo
- Publication number
- CN107689988A CN107689988A CN201710711006.3A CN201710711006A CN107689988A CN 107689988 A CN107689988 A CN 107689988A CN 201710711006 A CN201710711006 A CN 201710711006A CN 107689988 A CN107689988 A CN 107689988A
- Authority
- CN
- China
- Prior art keywords
- push
- push service
- information
- mark
- service end
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000013507 mapping Methods 0.000 claims abstract description 20
- 238000003032 molecular docking Methods 0.000 claims description 20
- 230000006978 adaptation Effects 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 3
- 238000005457 optimization Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 14
- 244000062793 Sorghum vulgare Species 0.000 description 13
- 235000019713 millet Nutrition 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 4
- 239000000047 product Substances 0.000 description 4
- 238000009825 accumulation Methods 0.000 description 3
- 239000005441 aurora Substances 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000013589 supplement Substances 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000000686 essence Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/226—Delivery according to priorities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
The application provides a kind of method, apparatus, electronic equipment and the terminal device of message push, and methods described includes:The system information of client reading terminal equipment, based on system information, it is determined that the target Push Service end being adapted to terminal device, initiate to register to target Push Service end, and push configuration information is reported to background server corresponding with client after succeeding in registration, wherein the push configuration information includes the mapping relations of the mark of user, Push Service mark and device identification;Background server obtains the deferred information for being sent to targeted customer, the identifier lookup of the targeted customer carried according to the deferred information pushes configuration information, it is determined that corresponding Push Service mark and device identification, based on Push Service end corresponding to Push Service mark determination, and deferred information and device identification are sent to the Push Service end.The application selection is best suitable for the Push Service push deferred information of terminal device, it is achieved thereby that in time delay and the optimization of arrival rate.
Description
Technical field
The application is related to network technique field, more particularly to the communication technology.
Background technology
IM (Instant Messaging, instant messaging) function be in social networks most important, classic function it
One, many social APP (Application, computer applied algorithm) are all integrated with IM functions, and user can be built by APP
Stand and safeguarded interpersonal relationships, and strengthen dependence of the user to APP.
It is that message touches rate for IM functions, the problem of most critical.Wherein, if online (the application opening of user
Or backstage is resident), then directly it can obtain message from the IM systems for being mounted in background server;And (application when a user is offline
It is closed and backstage is closed), then it can not obtain message from the IM systems for being mounted in background server.In this case, if
Serviced using Push (push) and the message of background server is handed down to user, be realized as the important benefit of IM functions
Fill.So, solve the problems, such as that message can not be obtained from background server when a user is offline, improve disappearing for IM functions
Breath touches rate.
The provider of many Push Services is presently, there are, terminal device manufacturer is common are and is integrated in pushing away on oneself product
Take business, such as the Apple Push services of Apple Inc., the GCM of Google companies (Google Cloud Messaging,
Google high in the clouds pushes) service (also known as Google Push service), the millet Push Service of millet company and Huawei Company
Huawei's Push Service etc..In addition, also have the Push Service that some non-terminal equipment manufacturers provide, such as aurora push.
However, different Push Services can all have different limitations, and time delay towards different terminal devices
It is also different with arrival rate.
The content of the invention
In view of this, the application provides a kind of method, apparatus, electronic equipment and the terminal device of message push, to select
Optimal Push Service is selected with to user's PUSH message.
Specifically, the application is achieved by the following technical solution:
A kind of method of message push, applied to background server, the background server takes from multiple different push
Push Service end corresponding to business is docked, including:
Obtain the deferred information for being sent to targeted customer;Wherein, the deferred information carries the mark of targeted customer;
The push configuration information reported according to the identifier lookup client of the targeted customer, it is determined that corresponding to the target
The Push Service mark of the mark of user and device identification;Wherein, the push configuration information includes the mark of user, push
Service identifiers and the mapping relations of device identification;
Based on Push Service mark determine corresponding to Push Service end, and by the deferred information and the equipment mark
Know and send to the Push Service end, so that corresponding to the deferred information is issued to by the Push Service end group in the device identification
Terminal device.
In the method for message push, the deferred information includes the offline of several default different priorities and disappeared
Breath, methods described also include:
After getting the different deferred information of priority, the high deferred information of priority treatment priority.
In the method for message push, methods described also includes:
Count the portfolio of various Push Services, and the portfolio and default traffic volume threshold;
When the portfolio is more than the traffic volume threshold, warning information is sent to operation personnel.
A kind of method of message push, applied to client, including:
The system information of reading terminal equipment;
Based on the system information, it is determined that the target Push Service end being adapted to the terminal device;
Initiate to register to the target Push Service end, and taken from the background to corresponding with the client after succeeding in registration
Business end reports push configuration information, wherein the push configuration information includes the mark of user, Push Service mark and equipment mark
The mapping relations of knowledge, so that the background server is after deferred information is received, based on the push configuration information to described
Target Push Service end sends the deferred information.
It is described to be based on the system information in the method for message push, it is determined that be adapted to the terminal device
Target Push Service end, including:
Based on the system information, the Push Service whether terminal device has system to carry is determined;
If the terminal device has the Push Service that system carries, determine that Push Service end is corresponding to the Push Service
The target Push Service end being adapted to the terminal device.
A kind of device of message push, applied to background server, background server is carried towards multiple different push clothes
The docking front end of business, including:
Acquiring unit, the deferred information of targeted customer is sent to for obtaining;Wherein, the deferred information carries targeted customer
Mark;
Searching unit, for the push configuration information reported according to the identifier lookup client of the targeted customer, it is determined that
Push Service mark and device identification corresponding to the mark of the targeted customer;Wherein, the push configuration information includes
Mark, Push Service mark and the mapping relations of device identification of user;
Transmitting element, for identifying Push Service end corresponding to determination based on the Push Service, and disappear described offline
Breath and the device identification send to the Push Service end so that the Push Service end group is offline by this in the device identification
Message is issued to corresponding terminal device.
In the device of message push, the deferred information includes the offline of several default different priorities and disappeared
Breath, the searching unit, is further used for:
After getting the different deferred information of priority, the high deferred information of priority treatment priority.
In the device of message push, described device also includes:
Statistic unit, for counting the portfolio of various Push Services, and the portfolio and default portfolio
Threshold value;
Alarm Unit, for when the portfolio is more than the traffic volume threshold, warning information to be sent to operation personnel.
A kind of device of message push, applied to client, including:
Reading unit, the system information for reading terminal equipment;
Judging unit, for based on the system information, it is determined that the target Push Service end being adapted to the terminal device;
Registering unit, for the target Push Service end initiate register, and after succeeding in registration to the client
Background server corresponding to end reports push configuration information, wherein the push configuration information includes the mark of user, push clothes
Business mark and the mapping relations of device identification, so that the background server is after deferred information is received, based on the push
Configuration information sends the deferred information to the target Push Service end.
In the device of message push, the judging unit, it is further used for:
Based on the system information, the Push Service whether terminal device has system to carry is determined;
If the terminal device has the Push Service that system carries, determine that Push Service end is corresponding to the Push Service
The target Push Service end being adapted to the terminal device.
A kind of electronic equipment, the electronic equipment are equipped with processor, and, for storing, the processor is executable to be referred to
The memory of order;Wherein, the processor is configured as:
Obtain the deferred information for being sent to targeted customer;Wherein, the deferred information carries the mark of targeted customer;
The push configuration information reported according to the identifier lookup client of the targeted customer, it is determined that corresponding to the target
The Push Service mark of the mark of user and device identification;Wherein, the push configuration information includes the mark of user, push
Service identifiers and the mapping relations of device identification;
Based on Push Service mark determine corresponding to Push Service end, and by the deferred information and the equipment mark
Know and send to the Push Service end, so that corresponding to the deferred information is issued to by the Push Service end group in the device identification
Terminal device.
A kind of terminal device, the terminal device are equipped with processor, and, for storing, the processor is executable to be referred to
The memory of order;Wherein, the processor is configured as:
The system information of reading terminal equipment;
Based on the system information, it is determined that the target Push Service end being adapted to the terminal device;
Initiate to register to the target Push Service end, and taken from the background to corresponding with the client after succeeding in registration
Business end reports push configuration information, wherein the push configuration information includes the mark of user, Push Service mark and equipment mark
The mapping relations of knowledge, so that the background server is after deferred information is received, based on the push configuration information to described
Target Push Service end sends the deferred information.
In the embodiment of the present application, system information of the client based on terminal device, it is determined that being adapted to the terminal device
Target Push Service end, initiate to register to the target Push Service end, and to corresponding with the client after registering
Background server report push configuration information, wherein the mark of the push configuration information including user, Push Service mark
Mapping with device identification identifies;The push configuration information that the background server preservation client reports, and
After acquisition is sent to the deferred information of targeted customer, according to the push configuration information, it is determined that the push corresponding to targeted customer takes
Business mark and device identification, and then the Push Service end according to corresponding to determining Push Service mark, then will be described offline
Message and the device identification are sent to the Push Service end;Push Service termination receives the deferred information and described
After device identification, the deferred information is issued to by corresponding terminal device based on the device identification;
Because client is in advance based on the system information of terminal device, to the Push Service end being adapted to the terminal device
Push Service is registered, therefore, the push configuration information instruction that background server receives is to be best suitable for the terminal device
Push Service, and then can select to be best suitable for the Push Service push deferred information of the terminal device, it is achieved thereby that prolonging
The optimization of when property and arrival rate.
Brief description of the drawings
Fig. 1 is a kind of IM system architecture diagrams shown in the application;
Fig. 2 is the offline push subsystem architecture figure of one kind shown in the application;
Fig. 3 is a kind of flow chart of the method for message push shown in the application;
Fig. 4 is the flow chart of the method for another message push shown in the application;
Fig. 5 is a kind of embodiment block diagram of the device of message push shown in the application;
Fig. 6 is the hardware structure diagram of a kind of electronic equipment shown in the application;
Fig. 7 is the embodiment block diagram of the device of another message push shown in the application;
Fig. 8 is a kind of hardware structure diagram of terminal device shown in the application.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the embodiment of the present invention, and make of the invention real
Apply the above-mentioned purpose of example, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings to prior art and the present invention
Technical scheme in embodiment is described in further detail.
The message of IM functions touches that rate is particularly significant, only maintains very high message to touch rate, user could pass through IM work(
It effectively can establish and safeguard interpersonal relationships.
It is a kind of IM system architecture diagrams shown in the application referring to Fig. 1, as shown in figure 1, user A sends message to user B
After, the message that user A is sent is obtained by the forwarding subsystem of IM systems first.The use for forwarding subsystem to carry message
Family B mark (such as:User B account information) transfer to online subsystem.After the mark that line subsystem obtains user B, sentence
Whether disconnected user B is online, and informs forwarding subsystem.
If user B is online, forwarding subsystem can directly send a message to user B.User B is received by application
To after message, directly message can be above read from application.
And if user B is not online, then forward subsystem to send deferred information to offline push subsystem.Offline
After pushing subsystem acquisition deferred information, deferred information is pushed to user B by Push Service so that user B can applied
Deferred information is received in the case of pent, and touches the deferred information in time.
It can be seen that IM systems effectively supplement IM functions by Push Service, solving when a user is offline can not be from IM
System obtains the problem of message, improves message and touches rate.
The provider of many Push Services is there is currently, one kind is the push that terminal device manufacturer is integrated on oneself product
Service, such as the Apple Push services of Apple Inc., the Google Push services of Google companies, the millet of millet company
Huawei of push and Huawei Company push etc.;Another kind of is the Push Service that non-terminal equipment manufacturer provides, such as aurora push away
Send.
Different Push Services has different limitations towards different terminal devices, such as, Apple Push are only propped up
The product under Apple Inc. is held, Google Push can not support all to carry the terminal device of Android system.It is also, different
Push Service be also not quite similar towards the time delay and arrival rate of different terminal devices, such as, millet Push Service use
Time delay of the millet Push Service for Huawei's mobile phone can be less than in the time delay of millet mobile phone, the former arrival rate is also higher.
In the related art, IM systems only supplement IM functions by single Push Service so that deferred information is being delayed
Property is higher and arrival rate is relatively low;Also it is possible to cause terminal device to open the Resident Process of extra support Push Service, lead
Power consumption aggravation is caused, if for example, the IM systems for the application installed on iPhone use millet Push Service, iPhone
Need to open the process for supporting millet Push Service, for the Apple Push carried compared to its system, add disappearing for electricity
Consumption.
In view of this, in technical scheme, IM systems are supplemented IM functions by a variety of Push Services;Visitor
The Push Service that family end can be carried based on the system information prioritizing selection system of terminal device where client is registered, and
Generation push configuration information reports the background server for carrying IM systems, and follow-up background server can be based on above-mentioned push and configure
Information determines the Push Service that the system of terminal device carries, and pushes deferred information by the Push Service.Therefore, backstage takes
Being engaged in end can be by the offline efficiency of Push Service push of most suitable above-mentioned terminal device, so as to realize in time delay and arrival rate
Optimization.
It is the offline push subsystem architecture figure of one kind shown in the application, as shown in Fig. 2 pushing subsystem offline referring to Fig. 2
System is included towards the docking front end of multiple different Push Services;After offline push subsystem obtains deferred information, pass through wherein one
Deferred information is sent to Push Service end corresponding to Push Service by kind docking front end, to be pushed away the deferred information by Push Service end
Deliver to user.
Referring to Fig. 3, for a kind of flow chart of the method for message push shown in the application, this method is applied to background service
End, the background server are docked from Push Service end corresponding to multiple different Push Services, and methods described includes following step
Suddenly:
Step 301:Obtain the deferred information for being sent to targeted customer;Wherein, the deferred information carries the mark of targeted customer
Know.
Step 302:The push configuration information reported according to the identifier lookup client of the targeted customer, it is determined that corresponding to
The Push Service mark of the mark of the targeted customer and device identification;Wherein, the push configuration information includes user's
The mapping relations of mark, Push Service mark and device identification.
Step 303:Based on Push Service mark determine corresponding to Push Service end, and by the deferred information and institute
State device identification send to the Push Service end so that the Push Service end group in the device identification by under the deferred information
It is sent to corresponding terminal device.
Wherein, above-mentioned background server, can be the clothes for the offline push subsystem for carrying whole IM systems or IM systems
Business device or server cluster, the specific execution equipment of the above method can be that the electronics for being designated to be exclusively used in pushing deferred information is set
It is standby.
Above-mentioned docking front end, can be the software module docked with Push Service.Wherein, according to practical situations, on
Stating docking front end can be mounted on different electronic equipments from other software modules in offline push subsystem.Such as:From
The software module of offline push scheduling in line push subsystem can concentrate carrying on one server, and corresponding to difference
The docking front end of Push Service can be mounted in respectively on other servers;Operation personnel can be according to different Push Services
The scale of the server of different Push Services is carried in the size of portfolio, correspondingly adjustment.
Referring to Fig. 4, for the flow chart of the method for another message push shown in the application, this method is applied to client
End, the described method comprises the following steps:
Step 401:The system information of reading terminal equipment.
Step 402:Based on the system information, it is determined that the target Push Service end being adapted to the terminal device.
Step 403:Initiate to register to the target Push Service end, and to corresponding with the client after succeeding in registration
Background server report push configuration information, wherein the mark of the push configuration information including user, Push Service mark
With the mapping relations of device identification, so that the background server is after deferred information is received, confidence is matched somebody with somebody based on the push
Cease to the target Push Service end and send the deferred information.
Wherein, above-mentioned client includes being integrated with the APP of IM functions, such as:Micro- meeting, Bigo Live.
Above-mentioned terminal device, refer to carrying the electronic equipment of above-mentioned client, mobile phone, tablet personal computer etc. can be included.
After user installs above-mentioned client on the terminal device, above-mentioned client can select a kind of Push Service first
Registered, to ensure that also deferred information can be obtained from above-mentioned background server in the case where user is offline.
In the embodiment of the present application, above-mentioned client can be with the system information of reading terminal equipment.Such as:Above-mentioned client
Can be with the read-only memory mirror image (Read Only Memory image) of reading terminal equipment, so as to obtain the system of terminal device
Information.
The manufacturer of some terminal devices is integrated with Push Service for oneself product, in this case, above-mentioned client profit
The Push Service carried with the system of terminal device can to push best results, and power consumption is minimum.
In the embodiment of the present application, above-mentioned client can be based on said system information, it is determined that being fitted with above-mentioned terminal device
The target Push Service end matched somebody with somebody.
In a kind of embodiment shown, above-mentioned client can be determined above-mentioned based on the system information of terminal device
Whether terminal device has the Push Service that system carries.
On the one hand, if above-mentioned terminal device has the Push Service that system carries, above-mentioned client can determine that this is pushed away
It is the target Push Service end being adapted to above-mentioned terminal device to take Push Service end corresponding to business.
Above-mentioned client can be registered to above-mentioned target Push Service end.Such as:Above-mentioned client determines above-mentioned end
End equipment is equipped with ios systems, then can be registered to Push Service end corresponding to Apple Push;Above-mentioned client determines
Above-mentioned terminal device is equipped with millet system, then can be registered to Push Service end corresponding to millet push.
After the completion of registration, above-mentioned client can generate push configuration information, and be reported to above-mentioned background server
State push configuration information.Wherein, above-mentioned push configuration information includes the Push Service mark for the Push Service that registration is completed, user
Mark (such as:The account of user) and device identification (device token) mapping relations, Push Service identified for referring to
Show a kind of unique Push Service.
On the other hand, if above-mentioned terminal device does not have a Push Service that system carries, above-mentioned client can be from pre-
If Push Service set in select a kind of Push Service to be registered;Wherein, above-mentioned Push Service set includes above-mentioned backstage
Service end is equipped with docking a variety of Push Services of front end.To carry the background server of the offline push subsystem shown in Fig. 2
Exemplified by, the Push Service set of its corresponding client includes millet Push Service, Apple Push services, Google
Push services, Huawei's Push Service and aurora Push Service.
If above-mentioned client can not succeed in registration when being registered to Push Service, a kind of push clothes are reselected
Business is registered, untill successful registration.Such as:Google Push in many operating systems based on Android system customization
Service has been removed, and therefore, above-mentioned client is it is determined that terminal device carries Android system, to Google Push service notes
Possibly it can not be succeeded in registration during volume, at this point it is possible to be registered to millet Push Service or Huawei's Push Service, until completing to note
Untill volume.
After the completion of registration, above-mentioned client can generate push configuration information, and be reported to above-mentioned background server
State push configuration information.
By above-mentioned measure, above-mentioned client can select a kind of optimal Push Service to be registered;Above-mentioned backstage clothes
Business end can obtain the optimal Push Service corresponding to each user, and pushed away subsequently through optimal Push Service to each user
Send deferred information.
In the embodiment of the present application, after above-mentioned background server receives the push configuration information that above-mentioned client reports,
Above-mentioned push configuration information can be stored in local default push configuration information table.Above-mentioned background server can be above-mentioned
Push configuration information corresponding to all users of above-mentioned client is stored in push configuration information table, can subsequently be based on above-mentioned push away
Configuration information is sent to select optimal Push Service.
In the embodiment of the present application, above-mentioned background server can obtain the deferred information for being sent to targeted customer;Wherein, on
State the mark that deferred information carries targeted customer.
Specifically, when the whole IM systems of above-mentioned background server carrying, then disappearing for targeted customer can be sent to receiving
After breath, judge whether targeted customer is online, if not online, it is determined that message is sent in the form of deferred information by Push Service
To targeted customer;
, then can be from carrying forwarding subsystem when above-mentioned background server only carries the offline push subsystem of IM systems
Service end obtains the message for being sent to targeted customer, and determines in the form of deferred information to send message to mesh by Push Service
Mark user.
In the embodiment of the present application, above-mentioned background server can be based on targeted customer after above-mentioned deferred information is obtained
The push configuration information that reports of identifier lookup client, it is determined that being identified corresponding to the Push Service of the mark of above-mentioned targeted customer
And device identification.
Specifically, above-mentioned background server can obtain according to the above-mentioned push configuration information table of identifier lookup of targeted customer
The push configuration information of targeted customer must be corresponded to, the mark corresponding to targeted customer is then determined from the push configuration information
Push Service mark and device identification.
Above-mentioned background server can be pushed away it is determined that after corresponding to the Push Service mark of the mark of targeted customer based on this
Send Push Service corresponding to service identifiers determination.
In the embodiment of the present application, after above-mentioned background server identifies determination Push Service according to above-mentioned Push Service, enter
And Push Service end corresponding to the Push Service is determined, may then pass through the docking front end docked with the Push Service will be above-mentioned
Deferred information and the said equipment mark are sent to Push Service end corresponding to above-mentioned Push Service.
Above-mentioned Push Service termination receive above-mentioned deferred information and corresponding to the device identification of targeted customer after, pass through equipment
Mark, above-mentioned deferred information is pushed to targeted customer.Therefore, targeted customer can receive message in the state of offline, and
The message is responded in time.
In a kind of embodiment shown, the deferred information that above-mentioned background server obtains can include several preset
The deferred information of different priorities, priority is higher, illustrates that requirement of the deferred information to promptness is higher, deferred information is heavier
Will, in this case, can be with priority treatment priority after above-mentioned background server gets the different deferred information of priority
High deferred information.
Such as:In the presence of two kinds of deferred informations, a kind of is the message sent between user, and another kind is that IM systems are sent out to user
Send message (including:Activity notification, system pass through);The former importance is more than the latter, and background server can be the former
Configuration higher than the latter priority, and in subsequently received two kinds of deferred informations, the message that is sent between priority treatment user.
By above-mentioned measure, above-mentioned background server can be handled more important in time in the case where portfolio is very big
Message, so as to which instant communication function be better achieved.
In the embodiment of the present application, because the traffic handing capacity of the provider of various Push Services is different, so various
Dock front end sent to the Push Service end of docking data speed it is different, according to the portfolio of various Push Services and various right
The speed for connecing front end disposes sufficient amount of docking front end.In addition, above-mentioned background server can count various Push Services
Portfolio, then compared with the traffic volume threshold pre-configured with operation personnel by obtained portfolio is counted.
When above-mentioned portfolio is more than above-mentioned traffic volume threshold, above-mentioned background server can send alarm to operation personnel
Information.After operation personnel receives above-mentioned warning information, the server cluster for carrying above-mentioned background server can be expanded
Exhibition so that the server cluster after extension can meet the business demand for pushing deferred information.
Specifically, above-mentioned background server can be more than portfolio threshold comparing the portfolio of determining any Push Service
During value, sent a warning message by short message or other forms to operation personnel;Wherein, warning information can carry above-mentioned push clothes
The portfolio of business and corresponding Push Service mark.After operation personnel obtains the warning information, it can be based on corresponding to above-mentioned
The docking front end of Push Service sends the speed of data, and the server of above-mentioned docking front end is carried in increase.
By above-mentioned measure, above-mentioned background server can be expanded in time in the case of portfolio is increased, so as to
It disclosure satisfy that business demand.
The portfolio of push deferred information changes with time very greatly, in portfolio peak period, keeps normal service
It is extremely important.The offline push scheduler module of offline push subsystem can generally divide according to the mode of poll to each docking front end
With deferred information so that each docking front end being capable of load balancing.
In portfolio peak period, when a large amount of deferred informations have been accumulated in any docking front end, adjusted receiving offline push
, can not the new deferred information of timely processing after spending the new deferred information of module schedules.Therefore, when the accumulation of any docking front end
When the quantity of deferred information reaches default threshold value, it can notify to push scheduler module pause distribution deferred information offline.When
Above-mentioned docking front end all sends the deferred information of accumulation to the provider of Push Service, reinforms offline push scheduling mould
Block continues to distribute deferred information.
By the measure, avoid because of the excessive deferred information of docking front end accumulation, and cause to issue prolonging for deferred information
The problem of when property increase.
In summary, in technical scheme, system information of the client based on terminal device, it is determined that with above-mentioned end
End equipment adaptation target Push Service end, state then up target Push Service end initiate registration, and after succeeding in registration to
Background server reports push configuration information, wherein, push configuration information includes the mark of user, Push Service mark and equipment
The mapping relations of mark;Background server preserves all push configuration informations that client reports, and target use is sent to receiving
After the deferred information at family, the above-mentioned push configuration information of identifier lookup of the targeted customer carried according to deferred information, it is determined that corresponding
Push Service mark and device identification in the mark of targeted customer, it is then based on pushing away corresponding to above-mentioned Push Service mark determination
Service end is sent, and above-mentioned deferred information and the said equipment mark are sent to above-mentioned Push Service end;Above-mentioned Push Service termination
After receiving above-mentioned deferred information and the said equipment mark, above-mentioned deferred information is pushed to by target according to the said equipment mark and used
Family;
Noted because background server incorporates a variety of Push Services as the means of supplementing out economy for realizing IM functions, and by client
The Push Service of the most suitable terminal device of volume, therefore, background server receives be sent to the deferred information of targeted customer after, can be with
Deferred information is pushed to targeted customer by optimal Push Service;So as to improve the arrival rate of deferred information, reduce and prolong
Shi Xing, and avoid terminal device because using be not Push Service that system carries and caused by extra power consumption.
Corresponding with the embodiment of the method for the application message push, present invention also provides for performing above method reality
Apply the embodiment of the device of example.
Referring to Fig. 5, for a kind of embodiment block diagram of the device of message push shown in the application:
As shown in figure 5, the device 50 of message push includes:
Acquiring unit 510, the deferred information of targeted customer is sent to for obtaining;Wherein, the deferred information carries target
The mark of user.
Searching unit 520, for the push configuration information reported according to the identifier lookup client of the targeted customer, really
Surely Push Service mark and the device identification of the mark of the targeted customer are corresponded to;Wherein, the push configuration information bag
Include the mark, Push Service mark and the mapping relations of device identification of user.
Transmitting element 530, for identifying Push Service end corresponding to determination based on the Push Service, and will be described offline
Message and the device identification send to the Push Service end so that the Push Service end group should be from the device identification
Line message is issued to corresponding terminal device.
In this example, the deferred information includes the deferred information of several default different priorities, the searching unit
520, it is further used for:
After getting the different deferred information of priority, the high deferred information of priority treatment priority.
In this example, described device also includes:
The (not shown) of statistic unit 540, for counting the portfolio of various Push Services, and the portfolio
With default traffic volume threshold.
The (not shown) of Alarm Unit 550, for when the portfolio is more than the traffic volume threshold, to operation people
Member sends warning information.
The embodiment of the device of the application message push can be applied on the electronic equipment for carrying background server.Device
Embodiment can be realized by software, can also be realized by way of hardware or software and hardware combining.Exemplified by implemented in software,
As the device on a logical meaning, being will be corresponding in nonvolatile memory by the processor of electronic equipment where it
Computer program instructions read what operation in internal memory was formed.
For hardware view, as shown in fig. 6, be the hardware structure diagram of a kind of electronic equipment shown in the application, except
Outside processor, internal memory, network interface and nonvolatile memory shown in Fig. 6, the electronics in embodiment where device is set
The actual functional capability of the standby device generally according to message push, can also include other hardware, this is repeated no more.Wherein, on
State the internal memory of electronic equipment and nonvolatile storage is also equipped with the executable finger of machine corresponding to above-mentioned acquiring unit 510 respectively
Make, machine-executable instruction corresponding to above-mentioned searching unit 520, machine-executable instruction corresponding to above-mentioned transmitting element 530, on
State machine-executable instruction corresponding to the (not shown) of statistic unit 540 and the (not shown) pair of above-mentioned Alarm Unit 550
The machine-executable instruction answered.
Referring to Fig. 7, for the embodiment block diagram of the device of another message push shown in the application:
As shown in fig. 7, the device 70 of message push includes:
Reading unit 710, the system information for reading terminal equipment.
Judging unit 720, for based on the system information, it is determined that the target Push Service being adapted to the terminal device
End.
Registering unit 730, for the target Push Service end initiate register, and after succeeding in registration to the visitor
Background server corresponding to the end of family reports push configuration information, wherein the push configuration information includes the mark of user, push
Service identifiers and the mapping relations of device identification, so that the background server after deferred information is received, is pushed away based on described
Configuration information is sent to send the deferred information to the target Push Service end.
In this example, the judging unit 720, is further used for:
Based on the system information, the Push Service whether terminal device has system to carry is determined;
If the terminal device has the Push Service that system carries, determine that Push Service end is corresponding to the Push Service
The target Push Service end being adapted to the terminal device.
The embodiment of the device of the application message push can be applied on the terminal device for carrying client.Device is implemented
Example can be realized by software, can also be realized by way of hardware or software and hardware combining.Exemplified by implemented in software, as
Device on one logical meaning, it is by corresponding calculating in nonvolatile memory by the processor of terminal device where it
Machine programmed instruction reads what operation in internal memory was formed.
For hardware view, as shown in figure 8, be a kind of hardware structure diagram of terminal device shown in the application, except
Outside processor, internal memory, network interface and nonvolatile memory shown in Fig. 8, the terminal in embodiment where device is set
The actual functional capability of the standby device generally according to message push, can also include other hardware, this is repeated no more.Wherein, on
State the internal memory of terminal device and nonvolatile storage is also equipped with the executable finger of machine corresponding to above-mentioned reading unit 710 respectively
Make, machine-executable instruction corresponding to machine-executable instruction corresponding to above-mentioned judging unit 720 and above-mentioned registering unit 730.
The function of unit and the implementation process of effect specifically refer to and step are corresponded in the above method in said apparatus
Implementation process, it will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not limiting the application, all essences in the application
God any modification, equivalent substitution and improvements done etc., should be included within the scope of the application protection with principle.
Claims (12)
1. a kind of method of message push, applied to background server, the background server and multiple different Push Services
Corresponding Push Service end docking, it is characterised in that including:
Obtain the deferred information for being sent to targeted customer;Wherein, the deferred information carries the mark of targeted customer;
The push configuration information reported according to the identifier lookup client of the targeted customer, it is determined that corresponding to the targeted customer
Mark Push Service mark and device identification;Wherein, the push configuration information includes mark, the Push Service of user
Mark and the mapping relations of device identification;
Based on Push Service end corresponding to Push Service mark determination, and the deferred information and the device identification are sent out
The Push Service end is delivered to, so that the deferred information is issued to corresponding terminal by the Push Service end group in the device identification
Equipment.
2. according to the method for claim 1, it is characterised in that the deferred information includes several default different priorities
Deferred information, methods described also includes:
After getting the different deferred information of priority, the high deferred information of priority treatment priority.
3. according to the method for claim 1, it is characterised in that methods described also includes:
Count the portfolio of various Push Services, and the portfolio and default traffic volume threshold;
When the portfolio is more than the traffic volume threshold, warning information is sent to operation personnel.
A kind of 4. method of message push, applied to client, it is characterised in that including:
The system information of reading terminal equipment;
Based on the system information, it is determined that the target Push Service end being adapted to the terminal device;
Initiate to register to the target Push Service end, and to background server corresponding with the client after succeeding in registration
Push configuration information is reported, wherein the push configuration information includes the mark of user, Push Service mark and device identification
Mapping relations, so that the background server is after deferred information is received, based on the push configuration information to the target
Push Service end sends the deferred information.
5. according to the method for claim 4, it is characterised in that it is described to be based on the system information, it is determined that with the terminal
The target Push Service end of equipment adaptation, including:
Based on the system information, the Push Service whether terminal device has system to carry is determined;
If the terminal device has the Push Service that system carries, determine Push Service end corresponding to the Push Service for institute
State the target Push Service end of terminal device adaptation.
6. a kind of device of message push, applied to background server, background server is carried towards multiple different Push Services
Docking front end, it is characterised in that including:
Acquiring unit, the deferred information of targeted customer is sent to for obtaining;Wherein, the deferred information carries the mark of targeted customer
Know;
Searching unit, for the push configuration information reported according to the identifier lookup client of the targeted customer, it is determined that corresponding
Push Service mark and device identification in the mark of the targeted customer;Wherein, the push configuration information includes user
Mark, Push Service mark and device identification mapping relations;
Transmitting element, for Push Service end corresponding to being determined based on Push Service mark, and by the deferred information and
The device identification send to the Push Service end so that the Push Service end group in the device identification by the deferred information
It is issued to corresponding terminal device.
7. device according to claim 6, it is characterised in that the deferred information includes several default different priorities
Deferred information, the searching unit, be further used for:
After getting the different deferred information of priority, the high deferred information of priority treatment priority.
8. device according to claim 6, it is characterised in that described device also includes:
Statistic unit, for counting the portfolio of various Push Services, and the portfolio and default traffic volume threshold;
Alarm Unit, for when the portfolio is more than the traffic volume threshold, warning information to be sent to operation personnel.
A kind of 9. device of message push, applied to client, it is characterised in that including:
Reading unit, the system information for reading terminal equipment;
Judging unit, for based on the system information, it is determined that the target Push Service end being adapted to the terminal device;
Registering unit, for the target Push Service end initiate register, and after succeeding in registration to the client pair
The background server answered reports push configuration information, wherein the push configuration information includes the mark of user, Push Service mark
The mapping relations with device identification are known, so that the background server after deferred information is received, is configured based on the push
Information sends the deferred information to the target Push Service end.
10. device according to claim 9, it is characterised in that the judging unit, be further used for:
Based on the system information, the Push Service whether terminal device has system to carry is determined;
If the terminal device has the Push Service that system carries, determine Push Service end corresponding to the Push Service for institute
State the target Push Service end of terminal device adaptation.
11. a kind of electronic equipment, it is characterised in that the electronic equipment is equipped with processor, and, for storing the processing
The memory of device executable instruction;Wherein, the processor is configured as:
Obtain the deferred information for being sent to targeted customer;Wherein, the deferred information carries the mark of targeted customer;
The push configuration information reported according to the identifier lookup client of the targeted customer, it is determined that corresponding to the targeted customer
Mark Push Service mark and device identification;Wherein, the push configuration information includes mark, the Push Service of user
Mark and the mapping relations of device identification;
Based on Push Service end corresponding to Push Service mark determination, and the deferred information and the device identification are sent out
The Push Service end is delivered to, so that the deferred information is issued to corresponding terminal by the Push Service end group in the device identification
Equipment.
A kind of 12. terminal device, it is characterised in that the terminal device is equipped with processor, and, for storing the processing
The memory of device executable instruction;Wherein, the processor is configured as:
The system information of reading terminal equipment;
Based on the system information, it is determined that the target Push Service end being adapted to the terminal device;
Initiate to register to the target Push Service end, and to background server corresponding with the client after succeeding in registration
Push configuration information is reported, wherein the push configuration information includes the mark of user, Push Service mark and device identification
Mapping relations, so that the background server is after deferred information is received, based on the push configuration information to the target
Push Service end sends the deferred information.
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 true CN107689988A (en) | 2018-02-13 |
CN107689988B 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) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108833521A (en) * | 2018-06-06 | 2018-11-16 | 广州视源电子科技股份有限公司 | Information push method, device, system, computer equipment and storage medium |
CN110311963A (en) * | 2019-06-19 | 2019-10-08 | 中国平安财产保险股份有限公司 | Information push method, device, computer equipment and computer readable storage medium |
CN110324377A (en) * | 2018-03-30 | 2019-10-11 | 武汉斗鱼网络科技有限公司 | A kind of push exchange method, device, electronic equipment and medium |
CN110381100A (en) * | 2018-04-13 | 2019-10-25 | 佛山市顺德区美的电热电器制造有限公司 | A kind of information push method, server 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 |
CN112559220A (en) * | 2020-12-22 | 2021-03-26 | 广州技象科技有限公司 | Internet of things offline message sending method, device, equipment and storage medium |
CN113302881A (en) * | 2020-12-01 | 2021-08-24 | 百果园技术(新加坡)有限公司 | Method, device, chat terminal, server and storage medium for realizing online chat |
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 |
CN114155683A (en) * | 2021-12-03 | 2022-03-08 | 四川九州电子科技股份有限公司 | Disaster early warning system and method based on gateway equipment |
CN114374697A (en) * | 2022-01-14 | 2022-04-19 | 瀚云科技有限公司 | System and method for pushing road vehicle passing information, electronic equipment and storage medium |
CN114513551A (en) * | 2022-02-14 | 2022-05-17 | 北京奈特瑞科技有限公司 | Consultation message pushing method, system and equipment in mobile scene |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130290123A1 (en) * | 2006-04-24 | 2013-10-31 | Exp Commerce Dot Com Ltd. | System and method for generating exponential expansion of commerce |
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 |
-
2017
- 2017-08-18 CN CN201710711006.3A patent/CN107689988B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130290123A1 (en) * | 2006-04-24 | 2013-10-31 | Exp Commerce Dot Com Ltd. | System and method for generating exponential expansion of commerce |
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 |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110324377A (en) * | 2018-03-30 | 2019-10-11 | 武汉斗鱼网络科技有限公司 | A kind of push exchange method, device, electronic equipment and medium |
CN110381100B (en) * | 2018-04-13 | 2022-03-29 | 佛山市顺德区美的电热电器制造有限公司 | Message pushing method, server and computer readable storage medium |
CN110381100A (en) * | 2018-04-13 | 2019-10-25 | 佛山市顺德区美的电热电器制造有限公司 | A kind of information push method, server and computer readable storage medium |
CN108833521A (en) * | 2018-06-06 | 2018-11-16 | 广州视源电子科技股份有限公司 | Information push method, device, system, computer equipment and storage medium |
CN108833521B (en) * | 2018-06-06 | 2021-01-08 | 广州视源电子科技股份有限公司 | Message pushing method, device, system, computer equipment and storage medium |
CN110311963A (en) * | 2019-06-19 | 2019-10-08 | 中国平安财产保险股份有限公司 | Information push method, device, computer equipment and computer readable 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 |
CN113302881A (en) * | 2020-12-01 | 2021-08-24 | 百果园技术(新加坡)有限公司 | Method, device, chat terminal, server and storage medium for realizing online chat |
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 |
CN114155683A (en) * | 2021-12-03 | 2022-03-08 | 四川九州电子科技股份有限公司 | Disaster early warning system and method based on gateway equipment |
CN114155683B (en) * | 2021-12-03 | 2023-08-18 | 四川九州电子科技股份有限公司 | Disaster early warning system and method based on gateway equipment |
CN114374697A (en) * | 2022-01-14 | 2022-04-19 | 瀚云科技有限公司 | System and method for pushing road vehicle passing information, electronic equipment and storage medium |
CN114374697B (en) * | 2022-01-14 | 2024-03-01 | 瀚云科技有限公司 | Road passing information pushing system, method, electronic equipment and storage medium |
CN114513551A (en) * | 2022-02-14 | 2022-05-17 | 北京奈特瑞科技有限公司 | Consultation message pushing method, system and equipment in mobile scene |
CN114513551B (en) * | 2022-02-14 | 2023-11-24 | 北京奈特瑞科技有限公司 | Consultation message pushing method, system and equipment in mobile scene |
Also Published As
Publication number | Publication date |
---|---|
CN107689988B (en) | 2021-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107689988A (en) | A kind of method, apparatus, electronic equipment and the terminal device of message push | |
CN109684358B (en) | Data query method and device | |
CN110443695A (en) | Data processing method and its device, electronic equipment and medium | |
CN109152095A (en) | Wireless network connecting method for terminal | |
CN109152094B (en) | Wireless network connection method for terminal | |
WO2013112647A1 (en) | Managing data transfers over network connections based on priority and a data usage plan | |
CN104639756A (en) | Short message display method and device | |
CN110321270A (en) | Single machine performance test methods, device and server | |
CN106453593B (en) | Message pushing method and device | |
CN111159530A (en) | System, apparatus, method and storage medium for automatically pushing financial product message | |
CN110310007A (en) | Risk Identification Method, device, equipment and storage medium | |
CN112311824A (en) | Attendance information processing method and related device | |
CN110377376A (en) | Interface message method for refreshing, device, computer installation and readable storage medium storing program for executing | |
CN111510396B (en) | Message sending method and related device | |
CN107295412B (en) | Data processing method, device and system | |
CN113055523A (en) | Crank call interception method and device, electronic equipment and storage medium | |
US20160112525A1 (en) | Distribution control device and method for same, push distribution system, and storage medium | |
CN105578431B (en) | Reminder message sending device and method | |
CN110009273B (en) | Information processing method and device, storage medium, and electronic device | |
CN109561045A (en) | Data interception method and device, storage medium and electronic equipment | |
CN106293996B (en) | Method of data synchronization, main equipment, alternate device and system | |
CN109905486A (en) | A kind of application program identification methods of exhibiting and device | |
CN111429641B (en) | Order calling method, device and system | |
CN112995018B (en) | Message processing method, device, equipment and storage medium | |
CN109766347A (en) | A kind of data-updating method, device, system, computer equipment and storage medium |
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 |
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. |
|
TR01 | Transfer of patent right |