CN102238108A - Off-line message transmission method - Google Patents
Off-line message transmission method Download PDFInfo
- Publication number
- CN102238108A CN102238108A CN2011101769065A CN201110176906A CN102238108A CN 102238108 A CN102238108 A CN 102238108A CN 2011101769065 A CN2011101769065 A CN 2011101769065A CN 201110176906 A CN201110176906 A CN 201110176906A CN 102238108 A CN102238108 A CN 102238108A
- Authority
- CN
- China
- Prior art keywords
- transmission
- messages
- monitoring service
- information
- service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The invention discloses an off-line message transmission method, relating to the technical field of instant messaging. The off-line message transmission method comprises the following steps of: S1: triggering a monitoring service for monitoring whether a message transmission server side has information updates; S2: requesting the message transmission server side for sending new information to the monitoring service after the monitoring service monitors that the message transmission server side has information updates; and S3: prompting to start a message transmission client after the monitoring service receives the new information. With the off-line message transmission method, network flow is reduced, and consumption of system resource is also reduced.
Description
Technical field
The present invention relates to the instant messaging technical field, particularly a kind of deferred information transmission method.
Background technology
In various abundant mobile phones were used, IM (Instant Messaging) class MSN was the most frequently used class of user.The user can use such software and other people communication of keeping in touch.Such software is logined on terminal with the form of client (C/S model) or front end webpage (B/S pattern) usually, afterwards just can with other people pass-along message, realize communication.After but in case software withdraws from, just can't pass-along message, can't keep in touch with the people again, can exert an influence to work and life like this.If long-play software can take system space, increase network traffics, if on portable terminal, move the stand-by time that also can shorten portable terminal, cause system resource waste.
Summary of the invention
(1) technical problem that will solve
The technical problem to be solved in the present invention is: as why not under the situation of running client main program, also can keep in communication, thereby save system resource.
(2) technical scheme
For solving the problems of the technologies described above, the invention provides a kind of deferred information transmission method, may further comprise the steps:
S1: triggering is used for the monitoring service whether monitoring information transmission service end has information updating;
S2: after described monitoring service has listened to information updating, ask described transmission of messages service end to send fresh information to described monitoring service;
S3: after described monitoring service receives described fresh information, prompting initiation message transmission client.
Wherein, step S2 specifically comprises:
S2.1: described monitoring service and transmission of messages service end connect;
S2.2: described monitoring service sends the inquiry request whether information updating is arranged by certain time interval to described transmission of messages service end;
S2.3: if fresh information is arranged, then described transmission of messages service end is notified described monitoring service;
S2.4: the notified back of described monitoring service sends update request to described transmission of messages service end;
S2.5: described transmission of messages service end pushes to described monitoring service with described fresh information.
Wherein, the described HTTP that is connected to connects.
Wherein, the time interval of twice inquiry request is notified described monitoring service by described transmission of messages service end before and after among the described step S2.2.
Wherein, the mode of the initiation message transmission client of prompting described in the described step S3 is for ejecting the mode of interactive window, described interactive window be used to the to give information associative operation inlet of transmission client.
Wherein, described interactive window is created by view component that can self-defined expansion.
Wherein, also comprise after the described step S3:
Start described transmission of messages client according to prompting, described fresh information is handled, the transmission of messages client is withdrawed from or off-line.
Wherein, start described transmission of messages client after, described monitoring service is out of service.
Wherein, described monitoring service operates in the operating system backstage, finishes at os starting among the described step S1, the transmission of messages client withdraws from or trigger described monitoring service during the transmission of messages client off-line.
Wherein, described operating system comprises the operating system that is used for smart mobile phone, panel computer or PC: Andriod, windows, iOS or UNIX.
(3) beneficial effect
Whether the present invention has information updating to come initiation message to transmit client by triggering a monitoring service monitoring information transmission service end, rather than makes message transmission client remain running status, thereby has reduced network traffics, has reduced the consumption of system resource.
Description of drawings
Fig. 1 is a kind of method for message transmission flow chart of the embodiment of the invention;
Fig. 2 is the particular flow sheet of step S102 among Fig. 1.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples are used to illustrate the present invention, but are not used for limiting the scope of the invention.
The present invention is in order to solve the problems of the technologies described above, when the MSN procedure subject withdraws from, trigger a service, can be by this service in the task of running background appointment under the prerequisite of display interface not, the thing that the user does other can be do not influenced like this and also multi-system resource can be do not taken.This service is used for lastest imformation, in case there is fresh information just pop-up box can occur, arouses instant communication software client terminal by interface operation then.
As shown in Figure 1, the method for message transmission flow chart for present embodiment comprises:
Step S101, triggering is used for the monitoring service whether monitoring information transmission service end has information updating.Finish at os starting, the transmission of messages client withdraws from or trigger this monitoring service during the transmission of messages client off-line.This monitoring service preferably operates in the operating system backstage, does not influence other system program like this, also can not take too much system resource.
Step S102, monitoring service is monitored the transmission of messages service end, and after having listened to information updating, the request message transmission service end sends fresh information to monitoring service.The concrete steps that realization is monitored in the present embodiment comprise as shown in Figure 2:
Step S201, monitoring service and transmission of messages service end connect.Be preferably HTTP in the present embodiment and connect, HTTP connects only once contact of foundation when carrying out attended operation, and task termination is just interrupted, and network traffics have been saved in other connection relatively (as: long connection keeps connection status always), save system resource more.
Step S202, after connecting, monitoring service sends the inquiry request whether information updating is arranged by certain time interval to the transmission of messages service end, up to the notice that information updating is arranged of receiving the transmission of messages service end.Wherein, the time interval can be set according to concrete system situation.Because the time interval is short more, ask intensively more, can waste flow and resource equally, the time interval is long more, then can not in time receive fresh information.Therefore, according to different service application, the time of monitoring service request next time is told in each request back by the transmission of messages server in the present embodiment.This process is a process that dynamically updates, so that satisfy the needs of different business, at this time interval is not had specific (special) requirements, gets final product in this balance of taking into account instantaneity and system resource.
Step S203, if fresh information is arranged, then the transmission of messages service end is sent the notice of information updating to monitoring service.If do not have fresh information then to continue to wait for, continue to receive the inquiry request of monitoring service simultaneously.
Step S204, monitoring service sends update request to described transmission of messages service end after receiving above-mentioned notice.
Step S205, the transmission of messages service end pushes (push) to monitoring service with fresh information.Fresh information comprises: edition upgrading information, the new information of receiving, good friend's dynamic dispatching.
Step S103, after monitoring service receives fresh information, prompting initiation message transmission client.Prompting mode is for ejecting the mode of interactive window in the present embodiment, this interactive window be used to give information associative operation inlet of transmission client.But by operation entry initiation message transmission client, and directly enter the associative operation interface, as: enter the text on-line upgrading interface and upgrade, enter chat interface and send message, enter and show that the new dynamic interface of good friend checks the new dynamic dispatching of good friend.
Preferably, view (view) building component of interactive window by can self-defined expansion.Interactive window is based on the exploitation of UI framework, can be defined voluntarily by the developer, also can be different according to the view assembly that the complexity difference of expansion is used.Advantage is to use the developer of this framework to expand voluntarily by inheriting the Show Styles that expansion is fit to own product style on the basis of interactive window, reaches the mutually unified purpose of specific product style.
Also comprise after step S103: the user handles described fresh information according to the prompting initiation message transmission client of above-mentioned interactive window.In order to reduce network traffics, save system resource, after the initiation message transmission client, monitoring service is no longer monitored, and is in state out of service; After handling fresh information the transmission of messages client is withdrawed from or off-line, trigger monitoring service this moment once more, makes monitoring service get back to listening state.
Method of the present invention can be widely used in various operating system platforms, comprising: be used for the operating system of smart mobile phone, panel computer (pad) or PC, as: Andriod, windows, iOS or UNIX, not only reduce network traffics, also save system resource.Especially on portable terminal, use method of the present invention, as: on the smart mobile phone of Andriod system, use method of the present invention, can carry out transmission of messages at any time, and since the transmission of messages client not in running status, saved system resource limited on the mobile phone, especially save electric energy, prolonged stand-by time.
Above execution mode only is used to illustrate the present invention; and be not limitation of the present invention; the those of ordinary skill in relevant technologies field; under the situation that does not break away from the spirit and scope of the present invention; can also make various variations and modification; therefore all technical schemes that are equal to also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.
Claims (10)
1. a deferred information transmission method is characterized in that, may further comprise the steps:
S1: triggering is used for the monitoring service whether monitoring information transmission service end has information updating;
S2: after described monitoring service has listened to information updating, ask described transmission of messages service end to send fresh information to described monitoring service;
S3: after described monitoring service receives described fresh information, prompting initiation message transmission client.
2. deferred information transmission method as claimed in claim 1 is characterized in that step S2 specifically comprises:
S2.1: described monitoring service and transmission of messages service end connect;
S2.2: described monitoring service sends the inquiry request whether information updating is arranged by certain time interval to described transmission of messages service end;
S2.3: if fresh information is arranged, then described transmission of messages service end is notified described monitoring service;
S2.4: the notified back of described monitoring service sends update request to described transmission of messages service end;
S2.5: described transmission of messages service end pushes to described monitoring service with described fresh information.
3. deferred information transmission method as claimed in claim 2 is characterized in that, the described HTTP that is connected to connects.
4. intelligent mobile phone platform deferred information transmission method as claimed in claim 2 is characterized in that, the time interval of the twice inquiry request in front and back is notified described monitoring service by described transmission of messages service end among the described step S2.2.
5. deferred information transmission method as claimed in claim 1, it is characterized in that, the mode of the initiation message transmission client of prompting described in the described step S3 is for ejecting the mode of interactive window, described interactive window be used to the to give information associative operation inlet of transmission client.
6. deferred information transmission method as claimed in claim 5 is characterized in that, described interactive window is created by view component that can self-defined expansion.
7. deferred information transmission method as claimed in claim 1 is characterized in that, also comprises after the described step S3:
Start described transmission of messages client according to prompting, described fresh information is handled, the transmission of messages client is withdrawed from or off-line.
8. deferred information transmission method as claimed in claim 7 is characterized in that, start described transmission of messages client after, described monitoring service is out of service.
9. as each described deferred information transmission method in the claim 1~8, it is characterized in that, described monitoring service operates in the operating system backstage, finishes at os starting among the described step S1, the transmission of messages client withdraws from or trigger described monitoring service during the transmission of messages client off-line.
10. deferred information transmission method as claimed in claim 9 is characterized in that described operating system comprises the operating system that is used for smart mobile phone, panel computer or PC: Andriod, windows, iOS or UNIX.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110176906.5A CN102238108B (en) | 2011-06-28 | 2011-06-28 | Off-line message transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110176906.5A CN102238108B (en) | 2011-06-28 | 2011-06-28 | Off-line message transmission method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102238108A true CN102238108A (en) | 2011-11-09 |
CN102238108B CN102238108B (en) | 2014-07-23 |
Family
ID=44888338
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110176906.5A Active CN102238108B (en) | 2011-06-28 | 2011-06-28 | Off-line message transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102238108B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102497600A (en) * | 2011-12-26 | 2012-06-13 | 深圳Tcl新技术有限公司 | Standby state call prompting method of network video terminal, terminals and server |
CN102916866A (en) * | 2012-09-21 | 2013-02-06 | 腾讯科技(深圳)有限公司 | Data sharing method, terminal, server and system |
CN103391307A (en) * | 2012-05-11 | 2013-11-13 | 阿里巴巴集团控股有限公司 | Off-line transparent-transmitting and display method, device and system for off-line data |
CN103516588A (en) * | 2012-06-30 | 2014-01-15 | 北京神州泰岳软件股份有限公司 | Method and system of background processing of client-side |
CN103747338A (en) * | 2013-12-24 | 2014-04-23 | 广东九联科技股份有限公司 | Android system set top box based application switching method |
WO2016180137A1 (en) * | 2015-08-14 | 2016-11-17 | 中兴通讯股份有限公司 | Message processing method and device |
CN106936919A (en) * | 2017-03-30 | 2017-07-07 | 北京小度信息科技有限公司 | Message acquisition method and device |
CN107770053A (en) * | 2017-10-30 | 2018-03-06 | 商客通尚景科技江苏有限公司 | Instant messages reminding method under a kind of off-line state |
CN110362395A (en) * | 2019-07-22 | 2019-10-22 | Oppo广东移动通信有限公司 | Background program management method, device, computer equipment and storage medium |
CN113300945A (en) * | 2021-06-16 | 2021-08-24 | 迟彻 | Instant communication system and method for synchronizing conversation |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101072385A (en) * | 2007-06-27 | 2007-11-14 | 蒋晓海 | Method for realizing mobile instant messaging by socket direct connection of mobile phone |
CN101299731A (en) * | 2008-05-09 | 2008-11-05 | 国网信息通信有限公司 | Instant communication method and apparatus based on Web |
CN101860608A (en) * | 2009-04-08 | 2010-10-13 | 北京闻言科技有限公司 | Method for automatically playing new message in mobile phone |
-
2011
- 2011-06-28 CN CN201110176906.5A patent/CN102238108B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101072385A (en) * | 2007-06-27 | 2007-11-14 | 蒋晓海 | Method for realizing mobile instant messaging by socket direct connection of mobile phone |
CN101299731A (en) * | 2008-05-09 | 2008-11-05 | 国网信息通信有限公司 | Instant communication method and apparatus based on Web |
CN101860608A (en) * | 2009-04-08 | 2010-10-13 | 北京闻言科技有限公司 | Method for automatically playing new message in mobile phone |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102497600A (en) * | 2011-12-26 | 2012-06-13 | 深圳Tcl新技术有限公司 | Standby state call prompting method of network video terminal, terminals and server |
TWI579765B (en) * | 2012-05-11 | 2017-04-21 | Alibaba Group Services Ltd | Offline transmission and display methods, devices and systems for offline data |
CN103391307A (en) * | 2012-05-11 | 2013-11-13 | 阿里巴巴集团控股有限公司 | Off-line transparent-transmitting and display method, device and system for off-line data |
CN103516588B (en) * | 2012-06-30 | 2016-12-21 | 北京神州泰岳软件股份有限公司 | A kind of client carries out the method and system of background process |
CN103516588A (en) * | 2012-06-30 | 2014-01-15 | 北京神州泰岳软件股份有限公司 | Method and system of background processing of client-side |
CN102916866A (en) * | 2012-09-21 | 2013-02-06 | 腾讯科技(深圳)有限公司 | Data sharing method, terminal, server and system |
CN103747338A (en) * | 2013-12-24 | 2014-04-23 | 广东九联科技股份有限公司 | Android system set top box based application switching method |
WO2016180137A1 (en) * | 2015-08-14 | 2016-11-17 | 中兴通讯股份有限公司 | Message processing method and device |
CN106936919A (en) * | 2017-03-30 | 2017-07-07 | 北京小度信息科技有限公司 | Message acquisition method and device |
CN107770053A (en) * | 2017-10-30 | 2018-03-06 | 商客通尚景科技江苏有限公司 | Instant messages reminding method under a kind of off-line state |
CN110362395A (en) * | 2019-07-22 | 2019-10-22 | Oppo广东移动通信有限公司 | Background program management method, device, computer equipment and storage medium |
CN110362395B (en) * | 2019-07-22 | 2022-02-08 | Oppo广东移动通信有限公司 | Background program management method and device, computer equipment and storage medium |
CN113300945A (en) * | 2021-06-16 | 2021-08-24 | 迟彻 | Instant communication system and method for synchronizing conversation |
Also Published As
Publication number | Publication date |
---|---|
CN102238108B (en) | 2014-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102238108B (en) | Off-line message transmission method | |
CN102395119B (en) | Method for supporting permanent online of application client, system and apparatus thereof | |
CN103188653B (en) | Receive the method for data, the method sending data, mobile terminal and server | |
CN104813637B (en) | In mobile network without the Push Service under persistence TCP connections | |
WO2015149471A1 (en) | Information pushing method, system and device and computer storage medium | |
CN1972252A (en) | A method for maintaining communication connection in mobile instant communication | |
CN102076065B (en) | Method and device of data interaction | |
EP3190771A1 (en) | Method and device for managing instant communication application program, and mobile terminal thereof | |
CN102664758A (en) | Method for binding and automatically recovering network configuration | |
CN102223655A (en) | Underlying multi-thread data transmission method of mobile communication | |
CN105306418A (en) | Method and system for sharing communication connection by multiple application programs | |
CN105554000A (en) | Network telephone wake-up method | |
CN104468380A (en) | Interface communication method of access point device and server interaction | |
CN102546762A (en) | Instant messaging system and method of webpage | |
CN102624566A (en) | Method, device and system for waking up calling terminal | |
CN102185701A (en) | Method and system for realizing group information interaction | |
CN105281919A (en) | Remote wakening method, server and client terminal | |
CN101888607A (en) | Method for realizing mobile phone chats based on widget and mobile phone | |
CN101841490A (en) | Method and system for releasing shared information in instant communication system | |
CN101562798B (en) | Method and system for realizing network management by short messages | |
CN105357387B (en) | A kind of method, apparatus and system for waking up terminal | |
CN101699911A (en) | Mobile instant messaging image compression method | |
CN102420783A (en) | Method and system for transmitting information to control terminal by server | |
CN105323270A (en) | Network information pushing method and system | |
CN106326019A (en) | Method and system for informing PPT (powerpoint) state |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP02 | Change in the address of a patent holder | ||
CP02 | Change in the address of a patent holder |
Address after: Room 818, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080 Patentee after: BEIJING ULTRAPOWER SOFTWARE Co.,Ltd. Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building A block 5 layer Patentee before: BEIJING ULTRAPOWER SOFTWARE Co.,Ltd. |