CN105100062A - Information push method, device and system - Google Patents

Information push method, device and system Download PDF

Info

Publication number
CN105100062A
CN105100062A CN201510359134.7A CN201510359134A CN105100062A CN 105100062 A CN105100062 A CN 105100062A CN 201510359134 A CN201510359134 A CN 201510359134A CN 105100062 A CN105100062 A CN 105100062A
Authority
CN
China
Prior art keywords
message
receiving terminal
inbox
identification information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510359134.7A
Other languages
Chinese (zh)
Inventor
张洪学
陈文学
刘艳
曾宏威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
All Over World (beijing) Information Technology Co Ltd
Original Assignee
All Over World (beijing) Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by All Over World (beijing) Information Technology Co Ltd filed Critical All Over World (beijing) Information Technology Co Ltd
Priority to CN201510359134.7A priority Critical patent/CN105100062A/en
Publication of CN105100062A publication Critical patent/CN105100062A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/4061Push-to services, e.g. push-to-talk or push-to-video
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/226Delivery according to priorities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

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

Abstract

The invention discloses an information push method, device and system. The method comprises: detecting whether receiving a new message in an inbox of a receiving terminal; sending a status code to the receiving terminal, when detecting that a new message is received in the inbox; receiving identification information of a first message returned by the receiving terminal after responding to the status code, wherein the first message is the latest message previously received by the receiving terminal; and pushing the new message to the receiving terminal according to the identification information of the first message. The information push method disclosed by the invention is used for solving the technical problem of system resource occupation caused by frequent interaction of the receiving terminal and a server.

Description

Information-pushing method, Apparatus and system
Technical field
The present invention relates to internet arena, in particular to a kind of information-pushing method, Apparatus and system.
Background technology
In prior art, when realizing information real time propelling movement, normally periodically send request of data to server by receiving terminal and obtain real time information, if current server receives the data that transmitting terminal sends, then by this data-pushing to receiving terminal, if current server does not receive the data that transmitting terminal sends, then do not respond the request of data of receiving terminal.Such as, party A-subscriber and party B-subscriber are by micro-letter chat, party A-subscriber sends to server and obtains message request, if current server receives the message that party B-subscriber sends to party A-subscriber, then by this message push to party A-subscriber, if current server does not receive the message that party B-subscriber sends to party A-subscriber, then do not respond the request of party A-subscriber, but after Preset Time, party A-subscriber can continue to send to server to obtain message request, the message sent with Real-time Obtaining party B-subscriber.Inventor finds, above-mentioned information pushing mode receiving terminal and server interaction frequently, and exist many invalid network requests, serious occupying system resources.
For above-mentioned problem, at present effective solution is not yet proposed.
Summary of the invention
The invention provides a kind of information-pushing method, Apparatus and system, at least to solve the technical problem of the occupying system resources frequently caused due to receiving terminal and server interaction.
According to an aspect of the present invention, provide a kind of information-pushing method, comprising: detect in the inbox of receiving terminal whether receive new information; Detect in inbox receive new information time, to receiving terminal send conditional code; Receive the identification information of receiving terminal in response to the first message returned after conditional code, wherein, the first message is the up-to-date message once received before receiving terminal; And push new information to receiving terminal according to the identification information of the first message.
Further, push new information according to the identification information of the first message to comprise to receiving terminal: the identification information of the first message is compared with the identification information of message all in inbox respectively; And the message being later than the first message in propelling movement inbox is to receiving terminal.
Further, push new information according to the identification information of the first message to comprise to receiving terminal: the identification information of the first message is compared with the identification information of message all in inbox respectively; Obtain the message being later than the first message in inbox; Judge whether the quantity of the message being later than the first message in inbox is greater than preset value; And when judging that the quantity of the message being later than the first message in inbox is greater than preset value, be later than from inbox obtain predetermined number in the message of the first message message push to receiving terminal.
Further, whether receive new information in the inbox detecting receiving terminal before, the method also comprises: the second message that receiving end/sending end sends; Judge the second message be meet pre-conditioned; And when judging that the second message meets pre-conditioned, the second message is written in inbox.
Further, after pushing new information to receiving terminal according to the identification information of the first message, method also comprises: send the identification information of the 3rd message to receiving terminal, wherein, the 3rd message is message up-to-date in inbox.
According to a further aspect in the invention, additionally provide a kind of information-pushing method, comprising: detect whether receive conditional code, wherein, conditional code receives new information for representing in inbox; Detect receive conditional code time, send the identification information of the first message to server, wherein, the up-to-date message that the first message once receives before being; And the message that reception server pushes in response to the identification information of the first message.
Further, after the message that reception server pushes in response to the identification information of the first message, the method also comprises: the identification information of the 3rd message that reception server sends, and wherein, the 3rd message is message up-to-date in inbox; And preserve the identification information of the 3rd message.
According to another aspect of the invention, additionally provide a kind of information push-delivery apparatus, comprising: the first detecting unit, for detect receiving terminal inbox in whether receive new information; First transmitting element, for detect in inbox receive new information time, to receiving terminal send conditional code; First receiving element, for receiving the identification information of receiving terminal in response to the first message returned after conditional code, wherein, the first message is the up-to-date message once received before receiving terminal; And push unit, for pushing new information to receiving terminal according to the identification information of the first message.
Further, push unit comprises: the first comparison module, for being compared with the identification information of message all in inbox respectively by the identification information of the first message; And first pushing module, for push in inbox be later than the first message message to receiving terminal.
According to another aspect of the invention, additionally provide a kind of information push-delivery apparatus, comprising: the second detecting unit, for detecting whether receive conditional code, wherein, conditional code receives new information for representing in inbox; Second transmitting element, for detect receive conditional code time, send the identification information of the first message to server, wherein, the up-to-date message that the first message once receives before being; And second receiving element, for the message that reception server pushes in response to the identification information of the first message.
According to another aspect of the invention, additionally provide a kind of information transmission system, comprising: server, for detect receiving terminal inbox in whether receive new information, wherein, detect in inbox receive new information time, send conditional code to receiving terminal; And receiving terminal, for accepting state code and the identification information returning the first message to server, wherein, the up-to-date message that the first message once receives before being, server pushes new information to receiving terminal according to the identification information of the first message.
In the present invention, adopt in the inbox detecting receiving terminal whether receive new information; Detect in inbox receive new information time, to receiving terminal send conditional code; Receive the identification information of receiving terminal in response to the first message returned after conditional code, wherein, the first message is the up-to-date message once received before receiving terminal; And push new information to receiving terminal according to the identification information of the first message, by sending conditional code to push this new information to receiving terminal when detecting in inbox and receiving new information to receiving terminal, reach the object reducing receiving terminal and server interaction and the request of minimizing invalid network, thus achieve and reduce the technique effect that takies of system resource, and then solve the technical problem of the occupying system resources frequently caused due to receiving terminal and server interaction.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of information-pushing method according to a first embodiment of the present invention;
Fig. 2 is the flow chart of information-pushing method according to a second embodiment of the present invention;
Fig. 3 is the schematic diagram of information push-delivery apparatus according to a first embodiment of the present invention;
Fig. 4 is the schematic diagram of information push-delivery apparatus according to a second embodiment of the present invention; And
Fig. 5 is the schematic diagram of the information transmission system according to the embodiment of the present invention.
Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
According to the embodiment of the present invention, provide a kind of information-pushing method, it should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing, and, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
Fig. 1 is the flow chart of information-pushing method according to a first embodiment of the present invention, and as shown in Figure 1, the method comprises the steps:
Step S102, detects in the inbox of receiving terminal whether receive new information.
Receiving terminal can be PC end, and also can be mobile terminal (such as, mobile phone, flat board etc.), can be by webpage receipt message, also can be by application program (APP) receipt message.The message that the inbox of receiving terminal sends to this receiving terminal for storing other users, such as, user A and user B is chatted by micro-letter, and when user B sends new message to user A, first this message can be stored in the inbox of user A.It should be noted that, this inbox is for storing the region of the message sending to receiving terminal in server.
Preferably, whether receive new information in the inbox detecting receiving terminal before, the method also comprises: the second message that receiving end/sending end sends; Judge the second message be meet pre-conditioned; And when judging that the second message meets pre-conditioned, the second message is written in inbox.
When transmitting terminal sends message to receiving terminal, first message (i.e. the second message) is sent to server, server filters this message, such as, filters violated vocabulary.Particularly, the embodiment of the present invention is after the second message receiving transmitting terminal transmission, judge whether it meets pre-conditioned, such as, judge whether the second message comprises violated vocabulary, judge whether the transmission frequency of the second message exceedes the default frequency, when the transmission frequency judging that the second message comprises violated vocabulary and/or this message exceedes the default frequency, then not by the inbox of the second message write receiving terminal, if judge that the second message does not comprise taboo vocabulary and its transmission frequency does not exceed the default frequency, then by the inbox of the second message write receiving terminal.
Preferably, for the ease of later stage query messages, the second message, when judging that the second message meets pre-conditioned, also writes in the outbox of transmitting terminal and the queue system of server by the embodiment of the present invention.The embodiment of the present invention, by writing in the queue system of server by message, can also resend this message to receiving terminal when message sends and loses.
Preferably, conveniently operate the message that transmitting terminal sends, the embodiment of the present invention, when judging that the second message meets pre-conditioned, is the second message generation identification information, and the second message is associated with this identification information.After the corresponding relation setting up the second message and identification information, can operate the second message according to this identification information, such as, delete, copy.Preferably, this identification information is can send the information of sequencing by identification message, such as, and the sequence increased progressively or time etc.
Step S104, detect in inbox receive new information time, to receiving terminal send conditional code.
When the embodiment of the present invention receives new information in the inbox detecting transmitting terminal, namely there are other users and send message to receiving terminal, conditional code is sent to receiving terminal, this conditional code for identify transmitting terminal inbox in receive new information, this conditional code can be any character, such as, 1, a etc.
Step S106, receive the identification information of receiving terminal in response to the first message returned after conditional code, wherein, the first message is the up-to-date message once received before receiving terminal.
The receiving terminal of the embodiment of the present invention after receiving conditional code, the identification information of the up-to-date message once received before acquisition, the i.e. identification information of the first message, and the identification information of this first message is sent to server.Preferably, the identification information of up-to-date a piece of news in the message being pushed to receiving terminal, to after receiving terminal, all can be sent to receiving terminal by each PUSH message of server of the embodiment of the present invention.
Step S108, pushes new information to receiving terminal according to the identification information of the first message.
The embodiment of the present invention, after the identification information receiving the first message, pushes new information to receiving terminal according to the identification information of this first message.Alternatively, push new information according to the identification information of the first message to comprise to receiving terminal: the identification information of the first message is compared with the identification information of message all in inbox respectively; And the message being later than the first message in propelling movement inbox is to receiving terminal.
By the identification information of message all in the identification information of the first message and the inbox of receiving terminal is compared, particularly, the embodiment of the present invention is described to identify described message by incremental number word series, such as, the identification information of the first message is 00278, the identification information being greater than 00278 can be obtained in the inbox of receiving terminal, the message of its correspondence is later than the first message accordingly, namely be new information relative to the first message, therefore, can push in the inbox of receiving terminal be greater than 00278 message corresponding to identification information to receiving terminal.
Preferably, cause receiving terminal system fault in order to avoid pushing too much message to receiving terminal simultaneously, push new information according to the identification information of the first message and comprise to receiving terminal: the identification information of the first message is compared with the identification information of message all in inbox respectively; Obtain the message being later than the first message in inbox; Judge whether the quantity of the message being later than the first message in inbox is greater than preset value; And when judging that the quantity of the message being later than the first message in inbox is greater than preset value, be later than from inbox obtain predetermined number in the message of the first message message push to receiving terminal.
The embodiment of the present invention is after getting in inbox the message being later than the first message, first add up in inbox and be later than the quantity of the message of the first message and compare with a preset value, if the quantity being later than the message of the first message in inbox is greater than preset value, once only push the message push of predetermined number to receiving terminal, if the quantity being later than the message of the first message in inbox is not more than preset value, disposablely all push to receiving terminal, wherein, preset value and predetermined number can be arranged according to actual conditions.Particularly, when the quantity being later than the message of the first message in inbox is greater than preset value, the message of predetermined number can be pushed to receiving terminal until the message being later than the first message in inbox all pushes to receiving terminal at every turn.
Such as, there are 200 new informations in inbox, namely the quantity being later than the message of the first message is 200, the identification information of above-mentioned 200 new informations is respectively 398491 to 0200, preset value is 20, predetermined number is 20, when to receiving terminal PUSH message, only can push 20 up-to-date message each time to receiving terminal, namely identification information can be only that the message push of 0200 to 0180 is to receiving terminal by first time, if receiving terminal continues acquisition request new information, be then that the message push of 0179 to 0160 is to receiving terminal by identification information, the like, until all new informations are pushed to client.By the way, the too much message of disposable propelling movement can be avoided to cause receiving terminal fault to receiving terminal.
Alternatively, after pushing new information to receiving terminal according to the identification information of the first message, the method also comprises: send the identification information of the 3rd message to receiving terminal, wherein, the 3rd message is message up-to-date in inbox.
The embodiment of the present invention each new informations whole in the inbox of receiving terminal is pushed to receiving terminal after, the identification information of a piece of news up-to-date in the inbox of receiving terminal is sent to receiving terminal, convenient pushes the new message received to receiving terminal next time.
Whether the embodiment of the present invention is by receiving new information in the inbox of detection receiving terminal; Detect in inbox receive new information time, to receiving terminal send conditional code; Receive the identification information of receiving terminal in response to the first message returned after conditional code, wherein, the first message is the up-to-date message once received before receiving terminal; And push new information to receiving terminal according to the identification information of the first message, by sending conditional code to push this new information to receiving terminal when detecting in inbox and receiving new information to receiving terminal, receiving terminal can be avoided to send request of data to server frequently, reach the object reducing receiving terminal and server interaction and the request of minimizing invalid network, thus achieve and reduce the technique effect that takies of system resource, and then solve the technical problem of the occupying system resources frequently caused due to receiving terminal and server interaction.
According to the embodiment of the present invention, provide a kind of information-pushing method.Fig. 2 is the flow chart of information-pushing method according to a second embodiment of the present invention, and as shown in Figure 2, the method comprises the steps:
Step S202, detect whether receive conditional code, wherein, conditional code receives new information for representing in inbox.
The embodiment of the present invention is represented in inbox by conditional code and receives new information, and wherein, conditional code can be any mark, such as, and 1, a etc.Particularly, only after receiving conditional code, just send message request to server, just to this new information of server request when namely only receiving new information in inbox, can avoid sending message request to server frequently, reduce invalid network request.
Step S204, detect receive conditional code time, send the identification information of the first message to server, wherein, the up-to-date message that the first message once receives before being.
The embodiment of the present invention after receiving conditional code, the identification information of the up-to-date message once received before acquisition, the i.e. identification information of the first message, and the identification information of this first message is sent to server.Server is after the identification information receiving the first message, and the identification information according to this first message pushes new information.
Step S206, the message that reception server pushes in response to the identification information of the first message.
Alternatively, after the message that the embodiment of the present invention pushes at reception server, show the message that this newly receives, such as, the message newly received is presented on the page, and the non-reading of announcement server mark new information.
Preferably, conveniently push new information, after the message that reception server pushes in response to the identification information of the first message, the method also comprises next time: the identification information of the 3rd message that reception server sends, wherein, the 3rd message is message up-to-date in inbox; And preserve the identification information of the 3rd message.
The embodiment of the present invention is by detecting whether receive conditional code, and wherein, conditional code receives new information for representing in inbox; Detect receive conditional code time, send the identification information of the first message to server, wherein, the up-to-date message that the first message once receives before being; And the message that reception server pushes in response to the identification information of the first message.The embodiment of the present invention is by just obtaining new information to server request when detecting and receiving conditional code, decrease receiving terminal and server interaction, further reduce invalid network request, thus achieve and reduce the technique effect that takies of system resource, and then solve the technical problem of the occupying system resources frequently caused due to receiving terminal and server interaction.
According to the embodiment of the present invention, additionally provide a kind of information push-delivery apparatus.Fig. 3 is the schematic diagram of information push-delivery apparatus according to a first embodiment of the present invention.As shown in Figure 3, this information push-delivery apparatus comprises: the first detecting unit 30, first transmitting element 32, first receiving element 34 and push unit 36.
First detecting unit 30, for detect receiving terminal inbox in whether receive new information.
Receiving terminal can be PC end, and also can be mobile terminal (such as, mobile phone, flat board etc.), can be by webpage receipt message, also can be by application program (APP) receipt message.The message that the inbox of receiving terminal sends to this receiving terminal for storing other users, such as, user A and user B is chatted by micro-letter, and when user B sends new message to user A, first this message can be stored in the inbox of user A.It should be noted that, this inbox is for storing the region of the message sending to receiving terminal in server.
First transmitting element 32, for detect in inbox receive new information time, to receiving terminal send conditional code.
When the embodiment of the present invention receives new information in the inbox detecting transmitting terminal, namely there are other users and send message to receiving terminal, conditional code is sent to receiving terminal, this conditional code for identify transmitting terminal inbox in receive new information, this conditional code can be any character, such as, 1, a etc.
First receiving element 34, for receiving the identification information of receiving terminal in response to the first message returned after conditional code, wherein, the first message is the up-to-date message once received before receiving terminal.
Push unit 36, for pushing new information to receiving terminal according to the identification information of the first message.
Alternatively, push unit 36 comprises: the first comparison module, for being compared with the identification information of message all in inbox respectively by the identification information of the first message; And first pushing module, for push in inbox be later than the first message message to receiving terminal.
Preferably, push unit 36 comprises: the second comparison module, for being compared with the identification information of message all in inbox respectively by the identification information of the first message; Acquisition module, for obtaining in inbox the message being later than the first message; Judge module, for judging whether the quantity of the message being later than the first message in inbox is greater than preset value; And second pushing module, for when judging that the quantity of the message being later than the first message in inbox is greater than preset value, be later than from inbox obtain predetermined number in the message of the first message message push to receiving terminal.
The embodiment of the present invention detects in the inbox of receiving terminal whether receive new information by the first detecting unit 30; First transmitting element 32 detect in inbox receive new information time, to receiving terminal send conditional code; First receiving element 34 receives the identification information of receiving terminal in response to the first message returned after conditional code, and wherein, the first message is the up-to-date message once received before receiving terminal; And push unit 36 pushes new information to receiving terminal according to the identification information of the first message.The embodiment of the present invention is by sending conditional code to push this new information to receiving terminal when detecting in inbox and receiving new information to receiving terminal, receiving terminal can be avoided to send request of data to server frequently, reach the object reducing receiving terminal and server interaction and the request of minimizing invalid network, thus achieve and reduce the technique effect that takies of system resource, and then solve the technical problem of the occupying system resources frequently caused due to receiving terminal and server interaction.
Alternatively, this device also comprises: the 3rd receiving element, for the second message that receiving end/sending end sends; Judging unit, for judge the second message be meet pre-conditioned; And r/w cell, for when judging that the second message meets pre-conditioned, the second message is written in inbox.
Alternatively, this device also comprises: the 3rd transmitting element, and for sending the identification information of the 3rd message to receiving terminal, wherein, the 3rd message is message up-to-date in inbox.
According to the embodiment of the present invention, additionally provide a kind of information push-delivery apparatus.Fig. 4 is the schematic diagram of information push-delivery apparatus according to a second embodiment of the present invention.As shown in Figure 4, this information push-delivery apparatus comprises: the second detecting unit 40, second transmitting element 42 and the second receiving element 44.
Second detecting unit 40, for detecting whether receive conditional code, wherein, conditional code receives new information for representing in inbox.
Second transmitting element 42, for detect receive conditional code time, send the identification information of the first message to server, wherein, the up-to-date message that the first message once receives before being.
Second receiving element 44, for the message that reception server pushes in response to the identification information of the first message.
Alternatively, this device also comprises: the 4th receiving element, and for the identification information of the 3rd message that reception server sends, wherein, the 3rd message is message up-to-date in inbox; And storage unit, for preserving the identification information of the 3rd message.
The embodiment of the present invention detects whether receive conditional code by the second detecting unit 40, and wherein, conditional code receives new information for representing in inbox; Second transmitting element 42 detect receive conditional code time, send the identification information of the first message to server, wherein, the up-to-date message that the first message once receives before being; And second message that pushes in response to the identification information of the first message of receiving element 44 reception server.The embodiment of the present invention is by just obtaining new information to server request when detecting and receiving conditional code, decrease receiving terminal and server interaction, further reduce invalid network request, thus achieve and reduce the technique effect that takies of system resource, and then solve the technical problem of the occupying system resources frequently caused due to receiving terminal and server interaction.
According to the embodiment of the present invention, additionally provide a kind of information transmission system, Fig. 5 is the schematic diagram of the information transmission system according to the embodiment of the present invention.As shown in Figure 5, this system comprises: server 50 and receiving terminal 52.
Server 50, for detect receiving terminal inbox in whether receive new information, wherein, detect in inbox receive new information time, send conditional code to receiving terminal.
Receiving terminal 52, for accepting state code and the identification information returning the first message to server, wherein, the up-to-date message that the first message once receives before being, server pushes new information to receiving terminal according to the identification information of the first message.
When the server 50 of the embodiment of the present invention receives new information in the inbox detecting receiving terminal, conditional code is sent to receiving terminal 52, receiving terminal 52 after accepting state code to server 50 ask new information and the identification information sending the first message to server 50, server 50 pushes new information to receiving terminal 52 after the identification information receiving the first message.Server notifies receiving terminal request new information by conditional code, avoid receiving terminal frequently to server request new information, decrease the mutual of receiving terminal and server thus invalid network request can be reduced, further minimizing system resource takies, and then solves the technical problem of the occupying system resources frequently caused due to receiving terminal and server interaction.
With an embody rule, the embodiment of the present invention is described below:
Information transmission system comprises transmitting terminal, receiving terminal and server, server comprises message aggregation server, messaging service device and message identifier generation server, wherein, message aggregation server is for storing the message flow between transmitting terminal and receiving terminal, messaging service device is for setting up the connection of receiving terminal and transmitting terminal, and message identifier generation server is used for the identification information of generating messages.It should be noted that, the embodiment of the present invention is WEB terminal for transmitting terminal and receiving terminal and is described.
Send message flow and comprise the steps that S302 is to step S312:
S302: user A sends message A to server interface by the WEB terminal page.
S304: server interface carries out filtration treatment to the message that user A sends, such as, comprises violated vocabulary and/or message A and sends the frequency and cross senior general and directly return, and point out user in message A, otherwise, message A is passed to message aggregation server by server interface.
S306: the message A coming from server interface is write the inbox of receiving terminal by message aggregation server, writes message A in the outbox of transmitting terminal (i.e. user A) and in queue system meanwhile.
S308: message identifier generation server is above-mentioned message A generating identification information, and associates with message A.
S310: the WEB terminal identification information of message A being returned to user A.
The WEB terminal of S312: user A preserves the identification information of message A.
The transmission of message is realized by above-mentioned steps S302 to step S312.It should be noted that, after server interface successfully returns, meeting Automatically invoked announcement server, carrys out real-time informing receiving terminal by messaging service device and carries out new information crawl.
Receipt message flow process comprises the steps S402 to S408:
S402: user B opens the web terminal page (i.e. receiving terminal), and the JavaScript script embedded in this page initiates a long linking request of http to messaging service device, and messaging service device connects in response to this request.
S404: when being tested with other users and sending out message to this user B, messaging service device can to user B return state code, this conditional code for represent user B inbox in there is new information,
S406: after user Bweb end page face receives the conditional code that messaging service device passes back, the identification information of the latest news received last time sends to message aggregation server.
S408: message aggregation server is later than all message of the identification information of this latest news in this user B inbox by returning, the new information received is presented on the page by the web terminal of user B, and the non-reading of notification message aggregate server mark new information, message aggregation server also can return the identification information that in this user B inbox current, latest news is corresponding simultaneously, and sends to the web terminal of user B to preserve.
Deferred information receives flow process and comprises the steps that S502 is to step S506:
S502: transmitting terminal directly returns after message is write message aggregation server.
S504: receiving terminal sends message request to message aggregation server after logging in, and initial message identification information is sent to breath aggregate server, and such as, initial message identification information can be 0.
S506: message aggregation server judges that the information received is after initial message identification information, automatically the message push of preset number up-to-date in the inbox of current receiving terminal to receiving terminal, such as, article 20, message, return the identification information of message up-to-date in the inbox of receiving terminal to receiving terminal, receiving terminal preserves the identification information of up-to-date message simultaneously.
As seen from the above, when transmitting terminal sends new message to receiving terminal, meeting Automatically invoked messaging service device, messaging service device captures message by sending conditional code notice receiving terminal to receiving terminal, avoid receiving terminal frequently to server request new information, decrease the mutual of receiving terminal and server thus invalid network request can be reduced, further minimizing system resource takies, and then solves the technical problem of the occupying system resources frequently caused due to receiving terminal and server interaction.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed technology contents, the mode by other realizes.Wherein, device embodiment described above is only schematic, the such as division of described unit, can be that a kind of logic function divides, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or module or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed on multiple unit.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (11)

1. an information-pushing method, is characterized in that, comprising:
Detect in the inbox of receiving terminal and whether receive new information;
Detect receive described new information in described inbox time, send conditional code to described receiving terminal;
Receive the identification information of described receiving terminal in response to the first message returned after described conditional code, wherein, described first message is the up-to-date message once received before described receiving terminal; And
Described new information is pushed to described receiving terminal according to the identification information of described first message.
2. method according to claim 1, is characterized in that, pushes described new information to described receiving terminal comprise according to the identification information of described first message:
The identification information of described first message is compared with the identification information of message all in described inbox respectively; And
Push in described inbox the message extremely described receiving terminal being later than described first message.
3. method according to claim 1, is characterized in that, pushes described new information to described receiving terminal comprise according to the identification information of described first message:
The identification information of described first message is compared with the identification information of message all in described inbox respectively;
Obtain in described inbox the message being later than described first message;
Judge whether the quantity of the message being later than described first message in described inbox is greater than preset value; And
When judging that the quantity of the message being later than described first message in described inbox is greater than described preset value, be later than from described inbox obtain predetermined number in the message of described first message message push to described receiving terminal.
4. method according to claim 1, is characterized in that, whether receive new information in the inbox detecting receiving terminal before, described method also comprises:
The second message that receiving end/sending end sends;
Judge described second message be meet pre-conditioned; And
Judge described second message meet described pre-conditioned time, described second message is written in described inbox.
5. method according to claim 1, it is characterized in that, after push described new information to described receiving terminal according to the identification information of described first message, described method also comprises: send the identification information of the 3rd message to described receiving terminal, wherein, described 3rd message is message up-to-date in described inbox.
6. an information-pushing method, is characterized in that, comprising:
Detect and whether receive conditional code, wherein, described conditional code receives new information for representing in inbox;
Detect receive described conditional code time, send the identification information of the first message to server, wherein, the up-to-date message that described first message once receives before being; And
Receive the message that described server pushes in response to the identification information of described first message.
7. method according to claim 6, is characterized in that, after receiving the message that described server pushes in response to the identification information of described first message, described method also comprises:
Receive the identification information of the 3rd message that described server sends, wherein, described 3rd message is message up-to-date in described inbox; And
Preserve the identification information of described 3rd message.
8. an information push-delivery apparatus, is characterized in that, comprising:
First detecting unit, for detect receiving terminal inbox in whether receive new information;
First transmitting element, for detect receive described new information in described inbox time, send conditional code to described receiving terminal;
First receiving element, for receiving the identification information of described receiving terminal in response to the first message returned after described conditional code, wherein, described first message is the up-to-date message once received before described receiving terminal; And
Push unit, for pushing described new information to described receiving terminal according to the identification information of described first message.
9. device according to claim 8, is characterized in that, described push unit comprises:
First comparison module, for comparing the identification information of described first message with the identification information of message all in described inbox respectively; And
First pushing module, for pushing in described inbox the message extremely described receiving terminal being later than described first message.
10. an information push-delivery apparatus, is characterized in that, comprising:
Second detecting unit, for detecting whether receive conditional code, wherein, described conditional code receives new information for representing in inbox;
Second transmitting element, for detect receive described conditional code time, send the identification information of the first message to server, wherein, the up-to-date message that described first message once receives before being; And
Second receiving element, for receiving the message that described server pushes in response to the identification information of described first message.
11. 1 kinds of information transmission systems, is characterized in that, comprising:
Server, for detect receiving terminal inbox in whether receive new information, wherein, detect receive described new information in described inbox time, send conditional code to described receiving terminal; And
Receiving terminal, for receive described conditional code and the identification information returning the first message to server, wherein, the up-to-date message that the first message once receives before being, described server pushes described new information to described receiving terminal according to the identification information of described first message.
CN201510359134.7A 2015-06-25 2015-06-25 Information push method, device and system Pending CN105100062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510359134.7A CN105100062A (en) 2015-06-25 2015-06-25 Information push method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510359134.7A CN105100062A (en) 2015-06-25 2015-06-25 Information push method, device and system

Publications (1)

Publication Number Publication Date
CN105100062A true CN105100062A (en) 2015-11-25

Family

ID=54579609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510359134.7A Pending CN105100062A (en) 2015-06-25 2015-06-25 Information push method, device and system

Country Status (1)

Country Link
CN (1) CN105100062A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812235A (en) * 2016-03-04 2016-07-27 百度在线网络技术(北京)有限公司 Information processing method, apparatus and system
CN105978796A (en) * 2016-06-28 2016-09-28 乐视控股(北京)有限公司 Message communication method and system based on unstable mobile network
CN107786607A (en) * 2016-08-30 2018-03-09 腾讯科技(深圳)有限公司 A kind of retransmitting message method, retransmitting message server and user equipment
CN109918210A (en) * 2019-01-31 2019-06-21 福建天泉教育科技有限公司 A kind of method and terminal showing offline message
CN110348870A (en) * 2018-04-08 2019-10-18 深圳凯茜微想科技有限公司 A kind of methods, devices and systems showing advertisement
CN110363561A (en) * 2018-04-09 2019-10-22 深圳凯茜微想科技有限公司 A kind of methods, devices and systems showing advertisement
CN110445705A (en) * 2018-05-02 2019-11-12 腾讯科技(深圳)有限公司 Message method, device, system, computer equipment and storage medium
CN111290864A (en) * 2020-01-22 2020-06-16 北京字节跳动网络技术有限公司 Message prompting method, device, terminal equipment and medium
CN113824763A (en) * 2021-08-10 2021-12-21 武汉联影医疗科技有限公司 Message pushing method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960368A (en) * 2005-11-03 2007-05-09 华为技术有限公司 Method for instant informing new mail
CN101083580A (en) * 2006-05-30 2007-12-05 华为技术有限公司 Method for obtaining electronic business guide update of mobile terminal and server and terminal
CN102404698A (en) * 2010-09-15 2012-04-04 中国移动通信集团公司 Wireless mail pushing method, device and system
CN102638417A (en) * 2012-03-27 2012-08-15 广州市动景计算机科技有限公司 Information communication method, device and system
CN103326929A (en) * 2013-06-24 2013-09-25 北京小米科技有限责任公司 Method and device for transmitting messages
CN104253741A (en) * 2014-07-31 2014-12-31 腾讯科技(深圳)有限公司 Information sending method and device and system thereof
CN104506416A (en) * 2014-12-17 2015-04-08 东软集团股份有限公司 Method, device and system for implementing stable message forwarding

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960368A (en) * 2005-11-03 2007-05-09 华为技术有限公司 Method for instant informing new mail
CN101083580A (en) * 2006-05-30 2007-12-05 华为技术有限公司 Method for obtaining electronic business guide update of mobile terminal and server and terminal
CN102404698A (en) * 2010-09-15 2012-04-04 中国移动通信集团公司 Wireless mail pushing method, device and system
CN102638417A (en) * 2012-03-27 2012-08-15 广州市动景计算机科技有限公司 Information communication method, device and system
CN103326929A (en) * 2013-06-24 2013-09-25 北京小米科技有限责任公司 Method and device for transmitting messages
CN104253741A (en) * 2014-07-31 2014-12-31 腾讯科技(深圳)有限公司 Information sending method and device and system thereof
CN104506416A (en) * 2014-12-17 2015-04-08 东软集团股份有限公司 Method, device and system for implementing stable message forwarding

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812235B (en) * 2016-03-04 2020-05-29 百度在线网络技术(北京)有限公司 Message processing method, device and system
CN105812235A (en) * 2016-03-04 2016-07-27 百度在线网络技术(北京)有限公司 Information processing method, apparatus and system
CN105978796A (en) * 2016-06-28 2016-09-28 乐视控股(北京)有限公司 Message communication method and system based on unstable mobile network
CN107786607A (en) * 2016-08-30 2018-03-09 腾讯科技(深圳)有限公司 A kind of retransmitting message method, retransmitting message server and user equipment
CN107786607B (en) * 2016-08-30 2020-12-25 腾讯科技(深圳)有限公司 Message retransmission method, message retransmission server and user equipment
CN110348870A (en) * 2018-04-08 2019-10-18 深圳凯茜微想科技有限公司 A kind of methods, devices and systems showing advertisement
CN110363561A (en) * 2018-04-09 2019-10-22 深圳凯茜微想科技有限公司 A kind of methods, devices and systems showing advertisement
CN110445705A (en) * 2018-05-02 2019-11-12 腾讯科技(深圳)有限公司 Message method, device, system, computer equipment and storage medium
CN110445705B (en) * 2018-05-02 2021-08-03 腾讯科技(深圳)有限公司 Message sending method, device, system, computer equipment and storage medium
CN109918210A (en) * 2019-01-31 2019-06-21 福建天泉教育科技有限公司 A kind of method and terminal showing offline message
CN109918210B (en) * 2019-01-31 2021-03-26 福建天泉教育科技有限公司 Method and terminal for displaying offline message
CN111290864A (en) * 2020-01-22 2020-06-16 北京字节跳动网络技术有限公司 Message prompting method, device, terminal equipment and medium
CN113824763A (en) * 2021-08-10 2021-12-21 武汉联影医疗科技有限公司 Message pushing method and device, computer equipment and storage medium
CN113824763B (en) * 2021-08-10 2024-03-01 武汉联影医疗科技有限公司 Message pushing method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105100062A (en) Information push method, device and system
CN104253741B (en) A kind of method for sending information, relevant apparatus and system
CN104965580A (en) Method and apparatus for displaying unread messages
CN106911556B (en) Message reminding management method and terminal
WO2009050551A2 (en) System and method for visualizing threaded communication across multiple communication channels using a mobile web server
CN104796434A (en) Message pushing method and message server
CN104135424A (en) Application information push method, application server, application terminal and application information push system
CN110100426B (en) Method and device for subscribing message, computer equipment and computer storage medium
CN112770129B (en) Live broadcast-based group chat establishing method, device, server and medium
CN104468667A (en) Message pushing method, device and server
CN110601965B (en) Message distribution method, device and system and message gateway
CN104410562A (en) Method of processing instant message associated with business
CN104980290A (en) Method for establishing groups and server
CN108366098B (en) Data interaction method and device for network nodes
CN103002126B (en) Mobile terminal and information receiving processing method for same
CN103716230A (en) Message sending method, device and server
CN108200543B (en) Short message sending method and device
CN104639973B (en) Information pushing method and device
CN104216739B (en) A kind of download process method and device, terminal
CN105162936A (en) Unfamiliar call prompt method and user terminal
US10326727B2 (en) Methods and systems of application message addressing
CN105554712A (en) Short message processing method and user terminal
CN104796519A (en) Terminal
CN109286559B (en) Information transmission method, device and storage medium
CN113613313A (en) Communication method, device and medium for Bluetooth equipment pairing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20151125