CN109451025A - Information push method, device and storage medium - Google Patents
Information push method, device and storage medium Download PDFInfo
- Publication number
- CN109451025A CN109451025A CN201811355611.2A CN201811355611A CN109451025A CN 109451025 A CN109451025 A CN 109451025A CN 201811355611 A CN201811355611 A CN 201811355611A CN 109451025 A CN109451025 A CN 109451025A
- Authority
- CN
- China
- Prior art keywords
- message
- terminal equipment
- push server
- server
- push
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/20—Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
- H04W4/21—Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel for social networking applications
Abstract
This application discloses a kind of information push method, device and storage mediums.Wherein, comprising: receive the message that first terminal equipment is sent to second terminal equipment;Detect the heartbeat message of the second terminal equipment;And in the case where not detecting the heartbeat message, push server corresponding with the second terminal equipment is sent the message to.Present invention seek to address that establishing long connection with the network platform for the application software for receiving PUSH message can burden, and close the technical issues of long connection can make application software that can not receive the message of push.
Description
Technical field
This application involves social network-i i-platforms, more particularly to a kind of information push method, device storage medium.
Background technique
The exchange between user, while the network platform may be implemented in the existing network platform for providing services to the user
It can also be periodically to the application software PUSH message of terminal device.It is pushed about message, traditional method is by being set to mobile phone
On application software the service of the long connection of setting is established between mobile phone and the network platform, pass through hop-information of periodically making up one's mind, guarantee
The network platform is able to confirm that the connection between mobile phone and the network platform.But when installing multiple application software on mobile phone, due to
Each application software periodically will send heartbeat message to the corresponding network platform, will cause mobile phone and the huge of network is born
Load.
In response to this, Android system backstage can be when an application software be turned off, and long by the application software connects
Turn off.It does so, although the application software for sending heartbeat message can be reduced, thus reduce the burden of mobile phone and network,
But simultaneously but also the application software cannot receive the message of push again.
Application software and the network platform for above-mentioned reception PUSH message existing in the prior art establish long connection
It can burden, and close the technical issues of long connection can make application software that can not receive the message of push, at present not yet
It puts forward effective solutions.
Summary of the invention
Embodiment of the disclosure provides a kind of information push method, device and storage medium, at least to solve existing skill
The application software of PUSH message is received present in art and the network platform is established long connection and can be burdened, and closes long connection
Meeting is so that the technical issues of application software can not receive the message of push.
According to the one aspect of the embodiment of the present disclosure, a kind of information push method is provided, comprising: receive first terminal and set
The standby message sent to second terminal equipment;Detect the heartbeat message of second terminal equipment;And do not detecting heartbeat letter
In the case where breath, push server corresponding with second terminal equipment is sent a message to.
Optionally, in the above method, based in the case where not detecting heartbeat message, sending a message to second
The operation of the corresponding push server of terminal device comprises determining that the manufacturer's information of second terminal equipment;It is set according to second terminal
Standby manufacturer's information selects push server corresponding with second terminal equipment from pre-set push server set;
And send a message to push server.
Optionally, in the above method, Push Service corresponding with second terminal equipment is selected from push server set
The operation of device, comprising: obtain the server info of multiple push server in push server set, wherein server info
Including manufacturer's information corresponding with multiple push server;And it is true according to the server info of multiple push server and institute
The manufacturer's information of fixed second terminal equipment determines push server corresponding with second terminal equipment.
Specifically, server receives the message of first terminal equipment sending, and whether server detects second terminal equipment
Keep heartbeat message, if not keeping heartbeat message, server sends a message to push server, second terminal equipment with
Corresponding push server connection.Wherein second terminal equipment is either one or more, each second terminal equipment
It is corresponding to it to push server.
In the prior art, the service of long connection is arranged by mobile phone application software for social network-i i-platform, by periodically issuing
Heartbeat message guarantees that the network platform is able to confirm that the connection between mobile phone and the network platform, guarantees the transmission of message.But work as hand
When multiple application software are installed on machine, since each application software periodically will send heartbeat message to the corresponding network platform,
The great burden of mobile phone and network is will cause.It Android system backstage can be when an application software be turned off, by this using soft
The long connection of part is turned off.It does so, although the application software for sending heartbeat message can be reduced, to reduce mobile phone and net
The burden of network, but simultaneously but also the application software cannot receive the message of push again.For in the prior art the shortcomings that, this
Invention aims to solve the problem that establishing long connection with the network platform for the application software for receiving PUSH message can burden, and closes length
The technical issues of connection can make application software that can not receive the message of push again.
By push server, connected so that terminal device need not keep long with the network platform of each application software,
But still the message of network platform push can be received.To solve the application existing in the prior art for receiving PUSH message
Software is established long connection with the network platform and can be burdened, and closing long connection can make application software that can not receive push
The technical issues of message.
According to the other side of the embodiment of the present disclosure, a kind of storage medium is additionally provided, storage medium includes storage
Program, wherein the method for executing any of the above one by processor in program operation.
According to the other side of the embodiment of the present disclosure, a kind of message driving means is additionally provided, comprising: receiving module,
The message sent for receiving first terminal equipment to second terminal equipment;Detection module, for detecting second terminal equipment
Heartbeat message;And sending module, in the case where not detecting heartbeat message, sending a message to and second terminal
The corresponding push server of equipment.
According to the other side of the embodiment of the present disclosure, a kind of message driving means is additionally provided, comprising: processor;With
And memory, it is connect with processor, for providing the instruction for handling following processing step for processor: receiving first terminal equipment
The message sent to second terminal equipment;Detect the heartbeat message of second terminal equipment;And do not detecting heartbeat message
In the case where, send a message to push server corresponding with second terminal equipment.
Detailed description of the invention
Attached drawing described herein is used to provide further understanding of the disclosure, constitutes part of this application, this public affairs
The illustrative embodiments and their description opened do not constitute the improper restriction to the disclosure for explaining the disclosure.In the accompanying drawings:
Fig. 1 is for realizing the terminal according to the embodiment of the present disclosure 1 for realizing information push method
The hardware block diagram of (or mobile device);
Fig. 2 is the schematic diagram of the message push system according to the embodiment of the present disclosure 1;
Fig. 3 is the flow diagram of the information push method according to the first aspect of the embodiment of the present disclosure 1;
Fig. 4 is the schematic diagram of the message driving means according to the first aspect of the embodiment of the present disclosure 2;
Fig. 5 is the schematic diagram of the message driving means according to the first aspect of the embodiment of the present disclosure 3.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution of the disclosure, implement below in conjunction with the disclosure
Attached drawing in example, is clearly and completely described the technical solution in the embodiment of the present disclosure.Obviously, described embodiment
The only embodiment of disclosure a part, instead of all the embodiments.Based on the embodiment in the disclosure, this field is common
Disclosure protection all should belong in technical staff's every other embodiment obtained without making creative work
Range.
It should be noted that the specification and claims of the disclosure and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to embodiment of the disclosure described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Embodiment 1
According to the present embodiment, a kind of embodiment of information push method is additionally provided, it should be noted that in the stream of attached drawing
The step of journey illustrates can execute in a computer system such as a set of computer executable instructions, although also, flowing
Logical order is shown in journey figure, but in some cases, it can be to be different from shown or described by sequence execution herein
The step of.
Embodiment of the method provided by the present embodiment can execute in server or similar arithmetic unit.Fig. 1 shows
A kind of hardware block diagram of arithmetic unit 10 for realizing information push method is gone out.As shown in Figure 1, arithmetic unit 10 can
To include that one or more (using 102a, 102b ... ... in figures, 102n to show) (processor 102 can wrap processor 102
Include but be not limited to the processing unit of Micro-processor MCV or programmable logic device FPGA etc.), memory for storing data
104 and for communication function transmission module 106.It in addition to this, can also include: display, input/output interface (I/
O Interface), the port universal serial bus (USB) (a port that can be used as in the port of I/O interface is included), network connect
Mouth, power supply and/or camera.It will appreciated by the skilled person that structure shown in FIG. 1 is only to illustrate, not to upper
The structure for stating electronic device causes to limit.For example, arithmetic unit 10 may also include than shown in Fig. 1 more or less groups
Part, or with the configuration different from shown in Fig. 1.
It is to be noted that said one or multiple processors 102 and/or other data processing circuits lead to herein
Can often " data processing circuit " be referred to as.The data processing circuit all or part of can be presented as software, hardware, firmware
Or any other combination.In addition, data processing circuit for single independent processing module or all or part of can be integrated to fortune
It calculates in any one in the other elements in device 10.As involved in the embodiment of the present disclosure, the data processing circuit
(such as the selection for the variable resistance end path connecting with interface) is controlled as a kind of processor.
Memory 104 can be used for storing the software program and module of application software, such as the message in the embodiment of the present disclosure
Corresponding program instruction/the data storage device of method for pushing, the software that processor 102 is stored in memory 104 by operation
Program and module realize the message push of above-mentioned application program thereby executing various function application and data processing
Method.Memory 104 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetism
Storage device, flash memory or other non-volatile solid state memories.In some instances, memory 104 can further comprise phase
The memory remotely located for processor 102, these remote memories can pass through network connection to terminal 10.On
The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of terminal 10 provide.In an example, transmitting device 106 includes that a network is suitable
Orchestration (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to
Internet is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module,
For wirelessly being communicated with internet.
Display can such as touch-screen type liquid crystal display (LCD), the liquid crystal display aloow user with
The user interface of terminal 10 (or mobile device) interacts.
Herein it should be noted that in some optional embodiments, above-mentioned computer equipment shown in FIG. 1 (or movement is set
It is standby) it may include hardware element (including circuit), software element (including the computer generation that may be stored on the computer-readable medium
Code) or both hardware element and software element combination.It should be pointed out that Fig. 1 is only a reality of particular embodiment
Example, and it is intended to show that the type for the component that may be present in above-mentioned computer equipment (or mobile device).
Fig. 2 is the schematic diagram of the system of the push of the message according to the present embodiment.Referring to shown in Fig. 2, which includes:
First terminal equipment 210, server 220, push server set 230 and second terminal equipment 240.Wherein user will send out
The message sent is input in first terminal equipment 210, and the message received is sent to server 220 by first terminal equipment 210,
Server 220 can be sent a message in the corresponding push server 230 of cell phone manufacturer of second terminal equipment 240, push
Server 230 sends a message to corresponding second terminal equipment 240.Wherein, first terminal equipment 210 and second terminal
Equipment 240 can be mobile phone or other types of terminal device (for example, tablet computer etc.).Push server set 230 is wrapped
Multiple push server such as push server a1, push server b1, push server c1 are included, each push server is corresponding not
Second terminal equipment a2 together, second terminal equipment b2, second terminal equipment c2.It should be noted that the server in system
Hardware configuration in 220 applicable Fig. 1.
Under above-mentioned running environment, according to the first aspect of the present embodiment, a kind of information push method, the party are provided
Method is realized by server 220 shown in Fig. 2.Fig. 3 shows the flow diagram of this method, refering to what is shown in Fig. 3, this method packet
It includes:
S310: the message that first terminal equipment is sent to second terminal equipment is received;
S320: the heartbeat message of detection second terminal equipment;And
S330: in the case where not detecting heartbeat message, push away corresponding with second terminal equipment is sent a message to
Send server.
Specifically, refering to what is shown in Fig. 2, server 220 receives what first terminal equipment 210 was sent to second terminal 240
Message, server 220 detect whether second terminal equipment 240 keeps heartbeat message.If not keeping heartbeat message, illustrate
Second terminal equipment 240 is there is no long connection is kept with server 220 at this time, so that the push of server 220 cannot be received directly
Message.Then, server 220 sends a message to push server 230 corresponding with second terminal equipment 240, wherein second
Terminal device 240 keeps long connection with corresponding push server 230.Especially, multiple terminal devices a2, b2 and c2 difference
There are corresponding push server a1, b1 and c1.When server 220 needs to push to message into multiple second terminal equipment
In one or more terminal devices when, send the message to one or more corresponding with the one or more terminal device
Push server.
As described in the background art, about message push, traditional method be by be set on mobile phone using soft
Part establishes the service of the long connection of setting between mobile phone and the network platform, by hop-information of periodically making up one's mind, guarantees network platform energy
Enough confirm the connection between mobile phone and the network platform.But when installing multiple application software on mobile phone, since each application is soft
Part periodically will send heartbeat message to the corresponding network platform, will cause the great burden of mobile phone and network.Android system
System backstage can turn off the long connection of the application software when an application software is turned off.It does so, although transmission can be reduced
The application software of heartbeat message, thus reduce the burden of mobile phone and network, but simultaneously but also the application software cannot
The message of push is received again.
In view of this, in the technical scheme of this embodiment, the server 220 of the network platform is pushed away to terminal device 240
When sending message, in the case where can't detect the heartbeat message of terminal device 240, it can be taken to the corresponding push of terminal device 240
Business device 230 sends the message of the push.To which the message can be pushed to corresponding terminal device 240 by push server 230.
To which according to the technical solution of the present embodiment, server 220 can not will be disappeared by the long connection kept with oneself
Breath is pushed to terminal device 240, but can be pushed messages to by push server 230 corresponding with terminal device 240
Terminal device 240.
Since server 230 is corresponding with terminal device 240, rather than with the application software pair on terminal device 240
It answers, so even being to install multiple application software on terminal device 240, it is also not necessary to flat with the network of each application software
Platform keeps long connection.240, terminal device need to keep long with corresponding push server 230 to connect, and each application software
Message then can be pushed to terminal device 240 by push server 230 by the server 220 of the corresponding network platform.
Therefore, by push server 230, so that terminal device 240 need not be equal with the network platform of each application software
Long connection is kept, but still the message of network platform push can be received.It is pushed away to solve reception existing in the prior art
Sending the application software of message and the network platform to establish long connection can burden, and close long connection can make application software without
Method receives the technical issues of message of push.
Optionally, in the above method, based in the case where not detecting heartbeat message, sending a message to second
The operation of the corresponding push server of terminal device comprises determining that the manufacturer's information of second terminal equipment;It is set according to second terminal
Standby manufacturer's information selects push server corresponding with second terminal equipment from pre-set push server set;
And send a message to push server.
Specifically, server 220 needs to find the corresponding push server of second terminal equipment.In the process, it services
Device 220 first confirms that the manufacturer's information of second terminal equipment, then determines corresponding push server by manufacturer's information.Most
Afterwards, the message that first terminal equipment issues is sent to push server by server 220, is sent a message to by push server
Second terminal equipment.
In reality, the production firm of the terminal device used due to different user is different, and different production firms
Push server can be provided for the terminal device respectively produced, therefore different terminal devices can correspond to different Push Services
Device.Therefore, in embodiment, in order to ensure the terminal device that message can be pushed to different vendor's production, the clothes of the network platform
Different push server, which can be provided with, in business device 220 forms a push server set.Wherein, different push server with not
Same production firm is corresponding.To which server 220 is by determining that the manufacturer's information of second terminal equipment finds corresponding push away
Server is sent, the message that first terminal equipment to be sent is sent to corresponding push server, push server will disappear again
Breath is sent to second terminal equipment.In this way, solve how server matches push clothes corresponding with terminal device
The problem of business device.
Optionally, in the above method, Push Service corresponding with second terminal equipment is selected from push server set
The operation of device, comprising: obtain the server info of multiple push server in push server set, wherein server info
Including manufacturer's information corresponding with multiple push server;And it is true according to the server info of multiple push server and institute
The manufacturer's information of fixed second terminal equipment determines push server corresponding with second terminal equipment.
Specifically, the server 220 of the network platform can obtain push server set when selecting push server first
In multiple push server information.For example, the information may include the address information and push clothes of push server
The information etc. of the corresponding manufacturer of business device.So that server 220 can select correctly according to the information of push server
Push server.
Then, the server 220 of the network platform is according to the server info of multiple push server and identified
The manufacturer's information of two terminal devices 240 determines push server corresponding with second terminal equipment 240.For example, the network platform takes
Being engaged in device 220 can be according to the manufacturer's information of identified second terminal equipment 240, to the server info of multiple push server
Carry out matching operation, find with the matched server info of the manufacturer's information of second terminal equipment 240, then determine for pushing
The push server of message.
To which in this way, the server 220 of the network platform can be determined more quickly and accurately with second eventually
The corresponding push server of end equipment 240, to keep server matches result more accurate quick.
Optionally, the above method further includes sending a message to second terminal in the case where detecting heartbeat message and setting
It is standby.
Specifically, the server 220 of the network platform is in the case where detecting the heartbeat message of second terminal equipment 240,
Send a message to second terminal equipment 240.
In reality, in spite of terminal device production firm push server can be provided for terminal device, but also still
So exist and the production firm of push server is not provided.In this case, according to the technical solution of the present embodiment, second terminal
Equipment 240 can also be communicated by long connection with the holding of server 220.Alternatively, even production firm provides Push Service
Device, but the user of terminal device is also possible to select directly to lead to by long connection and the server 220 of the network platform
Letter, rather than pass through push server PUSH message.
In this case, the scheme of the present embodiment provides the more multiselect for obtaining PUSH message for the user of terminal device
It selects, to provide bigger convenience for terminal user.Also enhance the adaptability of the technical program.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
Fig. 4 shows the message driving means 400 according to the first aspect of the present embodiment, the device 400 and root
Method described in first aspect according to embodiment 1 is corresponding.Refering to what is shown in Fig. 4, the device 400 includes: receiving module 410,
The message sent for receiving first terminal equipment to second terminal equipment;Detection module 420, for detecting second terminal equipment
Heartbeat message;And first sending module 430, for sending a message in the case where not detecting heartbeat message
Push server corresponding with second terminal equipment.
It receives module 410 and receives message, which is that first terminal equipment 210 is sent to second terminal equipment 240.Detection
Module 420 detects whether second terminal equipment issues heartbeat message.In the case where no heartbeat message, the first sending module
430 send a message to the corresponding push server of second terminal equipment.
It in real life, is pushed about message, traditional method is application software by being set on mobile phone in mobile phone
The service that the long connection of setting is established between the network platform guarantees that the network platform is able to confirm that hand by hop-information of periodically making up one's mind
Connection between machine and the network platform.But when installing multiple application software on mobile phone, since each application software will determine
Phase sends heartbeat message to the corresponding network platform, will cause the great burden of mobile phone and network.Android system backstage meeting
When an application software is turned off, the long connection of the application software is turned off.It does so, although transmission heartbeat message can be reduced
Application software, to reduce the burden of mobile phone and network, but simultaneously but also the application software cannot receive again pushes away
The message sent.
Even if the push server of first terminal equipment is different from the push server of second terminal equipment, will not influence
Message is sent to instant, plays the role of message transmission in by server.By push server, so that terminal device is not
It must keep long with the network platform of each application software to connect, but still the message of network platform push can be received.To
Solving the application software existing in the prior art for receiving PUSH message and the long connection of network platform foundation can burden, and
Close the technical issues of long connection can make application software that can not receive the message of push again.
Optionally, in above-mentioned apparatus, wherein sending module comprises determining that submodule, for determining second terminal equipment
Manufacturer's information;Submodule is selected, for the manufacturer's information according to second terminal equipment, from pre-set push server set
It is middle to select push server corresponding with second terminal equipment;And sending submodule, for sending a message to Push Service
Device.
Specifically, sending module needs to find the corresponding push server of second terminal equipment.In the process, son is determined
Module determines the manufacturer's information of second terminal equipment first;Then selection submodule determines that corresponding push takes by manufacturer's information
Business device;The message that sending submodule first terminal equipment issues is sent to push server, has push server to send message
To second terminal equipment.
Optionally, in above-mentioned apparatus, wherein selection submodule includes: acquiring unit, for obtaining push server set
In multiple push server server info, wherein server info includes corresponding with multiple push server manufacturer letter
Breath;Determination unit, for according to the server info of multiple push server and the manufacturer of identified second terminal equipment
Information determines push server corresponding with second terminal equipment.
Optionally, in above-mentioned apparatus, further includes: the second sending module, for inciting somebody to action in the case where detecting heartbeat message
Message is sent to second terminal equipment.
In reality, in spite of terminal device production firm push server can be provided for terminal device, but also still
So exist and the production firm of push server is not provided.In this case, according to the technical solution of the present embodiment, second terminal
Equipment 240 can also be communicated by long connection with the holding of server 220.Alternatively, even production firm provides Push Service
Device, but the user of terminal device is also possible to select directly to lead to by long connection and the server 220 of the network platform
Letter, rather than pass through push server PUSH message.
In this case, the scheme of the present embodiment provides the more multiselect for obtaining PUSH message for the user of terminal device
It selects, to provide bigger convenience for terminal user.Also enhance the adaptability of the technical program.
Embodiment 3
Fig. 5 shows the message driving means 500 according to the first aspect of the present embodiment, the device 500 with according to reality
It is corresponding to apply method described in the first aspect of example 1.Refering to what is shown in Fig. 5, the device 500 includes: processor 510;And it deposits
Reservoir 520 is connect with processor 510, for providing the instruction for handling following processing step for processor 510: receiving first eventually
The message that end equipment is sent to second terminal equipment;Detect the heartbeat message of second terminal equipment;And do not detecting the heart
In the case where hop-information, push server corresponding with second terminal equipment is sent a message to.
Optionally, based in the case where not detecting heartbeat message, sending a message to and second terminal equipment pair
The operation for the push server answered comprises determining that the manufacturer's information of second terminal equipment;Believed according to the manufacturer of second terminal equipment
Breath selects push server corresponding with second terminal equipment from pre-set push server set;And by message
It is sent to push server.
Optionally, the operation of push server corresponding with second terminal equipment, packet are selected from push server set
Include: obtain push server set in multiple push server server info, wherein server info include with it is multiple
The corresponding manufacturer's information of push server;And eventually according to the server info of multiple push server and identified second
The manufacturer's information of end equipment determines push server corresponding with second terminal equipment.
It optionally, further include sending a message to second terminal equipment in the case where detecting heartbeat message.
To receive the message of first terminal equipment sending according to the present embodiment, whether detection second terminal equipment is protected
Hold heartbeat message.If not keeping heartbeat message, push server is sent a message to, second terminal equipment is pushed away with corresponding
Server is sent to connect.Wherein second terminal equipment is either one or more, and each second terminal equipment has therewith
Correspond to push server.
It is sent to push server by the message for issuing received first terminal equipment, even if first terminal equipment
Push server is different from the push server of second terminal equipment, will not influence message and send to instant, be existed by server
In play the role of message transmission.By push server, so that terminal device need not be flat with the network of each application software
Platform keeps long and connects, but still can receive the message of network platform push.To solve existing in the prior art connect
The application software and the network platform for receiving PUSH message are established long connection and can be burdened, and close it is long connect can to apply it is soft
Part can not receive the technical issues of message of push.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of information push method characterized by comprising
Receive the message that first terminal equipment is sent to second terminal equipment;
Detect the heartbeat message of the second terminal equipment;And
In the case where not detecting the heartbeat message, send the message to corresponding with the second terminal equipment
Push server.
2. the method according to claim 1, wherein based on the case where not detecting the heartbeat message
Under, the operation for sending the message to push server corresponding with the second terminal equipment includes:
Determine the manufacturer's information of the second terminal equipment;
According to the manufacturer's information of the second terminal equipment, the selection and described second from pre-set push server set
The corresponding push server of terminal device;And
Send the message to the push server.
3. according to the method described in claim 2, it is characterized in that, the selection and described second from the push server set
The operation of the corresponding push server of terminal device, comprising:
The server info of multiple push server in the push server set is obtained, wherein the server info packet
Include manufacturer's information corresponding with the multiple push server;And
According to the server info of the multiple push server and the manufacturer's information of the identified second terminal equipment,
Determine the push server corresponding with the second terminal equipment.
4. the method according to claim 1, wherein further include in the case where detecting the heartbeat message,
Send the message to the second terminal equipment.
5. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When as processor perform claim require any one of 1 to 4 described in method.
6. a kind of message driving means characterized by comprising
Receiving module, the message sent for receiving first terminal equipment to second terminal equipment;
Detection module, for detecting the heartbeat message of the second terminal equipment;And
First sending module, in the case where not detecting the heartbeat message, send the message to it is described
The corresponding push server of second terminal equipment.
7. device according to claim 6, which is characterized in that wherein first sending module includes:
Submodule is determined, for determining the manufacturer's information of the second terminal equipment;
Submodule is selected, for the manufacturer's information according to the second terminal equipment, from pre-set push server set
It is middle to select the push server corresponding with the second terminal equipment;And
Sending submodule, for sending the message to the push server.
8. device according to claim 7, which is characterized in that wherein selection submodule includes:
Acquiring unit, for obtaining the server info of multiple push server in the push server set, wherein institute
Stating server info includes manufacturer's information corresponding with the multiple push server;
Determination unit, for being set according to the server info and the identified second terminal of the multiple push server
Standby manufacturer's information determines the push server corresponding with the second terminal equipment.
9. device according to claim 8, which is characterized in that further include:
Second sending module, in the case where detecting the heartbeat message, sending the message to described second eventually
End equipment.
10. a kind of message driving means characterized by comprising
Processor;And
Memory is connected to the processor, for providing the instruction for handling following processing step for the processor:
Receive the message that first terminal equipment is sent to second terminal equipment;
Detect the heartbeat message of the second terminal equipment;And
In the case where not detecting the heartbeat message, send the message to corresponding with the second terminal equipment
Push server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811355611.2A CN109451025A (en) | 2018-11-14 | 2018-11-14 | Information push method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811355611.2A CN109451025A (en) | 2018-11-14 | 2018-11-14 | Information push method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109451025A true CN109451025A (en) | 2019-03-08 |
Family
ID=65552827
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811355611.2A Pending CN109451025A (en) | 2018-11-14 | 2018-11-14 | Information push method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109451025A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112492020A (en) * | 2020-11-24 | 2021-03-12 | 杭州萤石软件有限公司 | Message pushing method, system, device and storage medium |
WO2022179283A1 (en) * | 2021-02-26 | 2022-09-01 | 华为技术有限公司 | Push message sending method, electronic device, and readable medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101028487B1 (en) * | 2010-06-30 | 2011-04-14 | 주식회사 다이얼커뮤니케이션즈 | Method for connecting internet telephone |
CN103684988A (en) * | 2013-11-22 | 2014-03-26 | 深圳市迈桥科技有限公司 | Cross-mobile-terminal message pushing method and device |
CN104883279A (en) * | 2015-04-13 | 2015-09-02 | 中国联合网络通信集团有限公司 | Heartbeat message processing method, heartbeat message processing device and heartbeat message processing system |
CN105024907A (en) * | 2014-04-22 | 2015-11-04 | 中国电信股份有限公司 | IM information pushing method and system, server and platform |
CN106357523A (en) * | 2016-11-10 | 2017-01-25 | 成都路行通信息技术有限公司 | Information pushing method for guaranteeing timely arrival of pushed information, device and terminal |
CN107332880A (en) * | 2017-06-05 | 2017-11-07 | 深圳市酷开网络科技有限公司 | Method, device and computer-readable recording medium that information is pushed |
CN108600085A (en) * | 2018-04-04 | 2018-09-28 | 腾讯科技(深圳)有限公司 | Message is sent and output method, device, server, terminal and storage medium |
-
2018
- 2018-11-14 CN CN201811355611.2A patent/CN109451025A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101028487B1 (en) * | 2010-06-30 | 2011-04-14 | 주식회사 다이얼커뮤니케이션즈 | Method for connecting internet telephone |
CN103684988A (en) * | 2013-11-22 | 2014-03-26 | 深圳市迈桥科技有限公司 | Cross-mobile-terminal message pushing method and device |
CN105024907A (en) * | 2014-04-22 | 2015-11-04 | 中国电信股份有限公司 | IM information pushing method and system, server and platform |
CN104883279A (en) * | 2015-04-13 | 2015-09-02 | 中国联合网络通信集团有限公司 | Heartbeat message processing method, heartbeat message processing device and heartbeat message processing system |
CN106357523A (en) * | 2016-11-10 | 2017-01-25 | 成都路行通信息技术有限公司 | Information pushing method for guaranteeing timely arrival of pushed information, device and terminal |
CN107332880A (en) * | 2017-06-05 | 2017-11-07 | 深圳市酷开网络科技有限公司 | Method, device and computer-readable recording medium that information is pushed |
CN108600085A (en) * | 2018-04-04 | 2018-09-28 | 腾讯科技(深圳)有限公司 | Message is sent and output method, device, server, terminal and storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112492020A (en) * | 2020-11-24 | 2021-03-12 | 杭州萤石软件有限公司 | Message pushing method, system, device and storage medium |
CN112492020B (en) * | 2020-11-24 | 2023-04-25 | 杭州萤石软件有限公司 | Message pushing method, system, equipment and storage medium |
WO2022179283A1 (en) * | 2021-02-26 | 2022-09-01 | 华为技术有限公司 | Push message sending method, electronic device, and readable medium |
CN115051968A (en) * | 2021-02-26 | 2022-09-13 | 华为技术有限公司 | Method for sending push message, electronic equipment and readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108566312A (en) | Off-line checking method, device and computer readable storage medium | |
CN109886683A (en) | Monitor the method, apparatus and storage medium of block chain data | |
CN108199914A (en) | Server-side condition detection method and device | |
CN109873728A (en) | A kind of terminal test method, device and storage medium | |
CN103703453A (en) | System for supplying push service for message load balancing and method thereof | |
CN105141450A (en) | Configuration methods and devices for WIFI module of internet of things device | |
CN109451025A (en) | Information push method, device and storage medium | |
CN110505640A (en) | The processing method of apparatus bound, apparatus and system, to distribution net equipment and terminal | |
CN104618364B (en) | Information processing method, electronic equipment and server | |
CN110493736A (en) | Note transmission method, device and storage medium | |
CN110290192A (en) | The storage of data distribution formula and data capture method, device based on block chain | |
CN110365517A (en) | Data processing method, device, storage medium and computer equipment | |
CN109299195A (en) | Data processing method, device and storage medium | |
CN109800046A (en) | Handle the method, apparatus and storage medium of card information | |
CN104301423B (en) | A kind of method, apparatus and system sending heartbeat message | |
CN109325095A (en) | Method, equipment and the storage medium that the sharing information of publication is counted | |
CN109224451A (en) | Development of games method, equipment and storage medium based on block chain subchain | |
CN109547811A (en) | Show the method, apparatus and storage medium of interaction content | |
CN109358983A (en) | Server data processing method, device and storage medium | |
CN109104481A (en) | file integrity detection method, file integrity detection device and terminal device | |
CN109432799A (en) | Electronic building blocks and its control method, control device and storage medium | |
CN109491750A (en) | The method and apparatus for showing chat message | |
CN114301989A (en) | Information transmission method, device and system | |
CN105391619A (en) | Method for ensuring information display sequence and electronic equipment | |
CN109286559A (en) | The method, apparatus and storage medium that information is sent |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190308 |