CN105635994A - Method and terminal for receiving pushed information - Google Patents

Method and terminal for receiving pushed information Download PDF

Info

Publication number
CN105635994A
CN105635994A CN201511033721.3A CN201511033721A CN105635994A CN 105635994 A CN105635994 A CN 105635994A CN 201511033721 A CN201511033721 A CN 201511033721A CN 105635994 A CN105635994 A CN 105635994A
Authority
CN
China
Prior art keywords
terminal
information
current
instant messaging
application
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
Application number
CN201511033721.3A
Other languages
Chinese (zh)
Other versions
CN105635994B (en
Inventor
李路路
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201511033721.3A priority Critical patent/CN105635994B/en
Publication of CN105635994A publication Critical patent/CN105635994A/en
Application granted granted Critical
Publication of CN105635994B publication Critical patent/CN105635994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a method and a terminal for receiving pushed information. The method comprises the steps of: detecting a current network state of the terminal; when detecting that the current network state is a mobile network connected state, closing a downlink so as to interrupt receiving on instant messaging information pushed by a server corresponding to an application in a running state; and when detecting that the current network state of the terminal is a wireless network connected state, starting to receive the instant messaging information pushed by the server corresponding to the application in the running state. According to the method and the terminal for receiving the pushed information, which are provided by the embodiment of the invention, a great quantity of network charges can be avoided at the terminal, so that disadvantages for a user are avoided.

Description

A kind of method receiving pushed information and terminal
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of method receiving pushed information and terminal.
Background technology
Along with the progress of science and technology and popularizing of terminal, client miscellaneous continues to bring out like the mushrooms after rain, and major part client all can to terminal pushed information, the information of client push can be such as: topical news, advertising message or user customized information etc., if the network that user uses is data network, substantial amounts of client will consume substantial amounts of data traffic to terminal pushed information, in involuntary use procedure, substantial amounts of network rate are created user, the user forcing terminal has nothing for it but, and this pays substantial amounts of expense, and it is unfavorable to bring to user.
Summary of the invention
Embodiments provide a kind of method receiving pushed information and terminal, it is possible to avoid producing substantial amounts of network rate, thus avoid bringing to user unfavorable.
First aspect, embodiments provides a kind of method receiving pushed information, and described method includes:
The network state that detection terminal is current;
When the current network state of terminal being detected for mobile network's connection status, close downlink, to stop to receive the instant messaging information of the server push of the application correspondence being in running status;
When detecting that the current network state of terminal is wireless network connection status, start the instant messaging information of server push corresponding to the application being in running status described in receiving.
In conjunction with first aspect, in the first possible implementation of first aspect, described when the current network state of terminal being detected for mobile network's connection status, close downlink, to stop to receive the instant messaging information of server push corresponding to the application being in running status, including:
When the current network state of terminal being detected for mobile network's connection status, export information, described information for point out choose whether to receive described in be in the instant messaging information of server push corresponding to the application of running status;
If receiving the instruction selecting to stop to be in described in reception the instant messaging information of the server push of the application correspondence of running status for described information, then close downlink, to stop to be in described in reception the instant messaging information of the server push of the application correspondence of running status.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, described when the current network state of terminal being detected for mobile network's connection status, close downlink, to stop to receive the instant messaging information of server push corresponding to the application being in running status, including:
When the current network state of terminal being detected for mobile network's connection status, obtain the data traffic of described terminal current residual;
Judge that whether the data traffic of described terminal current residual is lower than preset flow threshold value;
If so, downlink is then closed, to stop to receive the instant messaging information of server push corresponding to the application being in running status.
In conjunction with first aspect, or the first possible implementation of first aspect, or the implementation that the second of first aspect is possible, in the third possible implementation of first aspect, described when detecting that the current network state of terminal is wireless network connection status, start the instant messaging information of server push corresponding to the application being in running status described in receiving, including:
When detecting that the current network state of terminal is wireless network connection status, it is judged that whether the current electricity of described terminal is higher than presetting power threshold;
If so, the instant messaging information of server push corresponding to the application being in running status described in receiving then is started.
In conjunction with first aspect, or the first possible implementation of first aspect, or the implementation that the second of first aspect is possible, in the 4th kind of possible implementation of first aspect, described when detecting that the current network state of terminal is wireless network connection status, start the instant messaging information of server push corresponding to the application being in running status described in receiving, including:
When detecting that the current network state of terminal is wireless network connection status, it is judged that whether the current Installed System Memory of described terminal is higher than presetting memory threshold;
If so, the instant messaging information of server push corresponding to the application being in running status described in receiving then is started.
Second aspect, embodiments provides a kind of terminal, and described terminal includes:
Network detection module, for detecting the network state that terminal is current;
Link control module, for when described network detect unit the current network state of terminal detected for mobile network's connection status time, close downlink, to stop to receive the instant messaging information of the server push of the application correspondence being in running status;
Information receiving module, for when described network detect unit detect that the current network state of terminal is wireless network connection status time, start the instant messaging information of server push corresponding to the application being in running status described in receiving.
In conjunction with second aspect, in the first possible implementation of second aspect, described link control module includes:
Tip element, for when described network detect unit the current network state of terminal detected for mobile network's connection status time, output information, described information is for pointing out the instant messaging information of the server push of the application correspondence choosing whether to be in described in reception running status;
First link control unit, if for receiving the instruction selecting to stop to be in described in reception the instant messaging information of the server push of the application correspondence of running status for described information, then close downlink, to stop to be in described in reception the instant messaging information of the server push of the application correspondence of running status.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, described link control module includes:
Acquiring unit, for when described network detect unit the current network state of terminal detected for mobile network's connection status time, obtain the data traffic of described terminal current residual;
Whether first judging unit, be used for the data traffic judging described terminal current residual lower than preset flow threshold value;
Second link control unit, if judging that the data traffic of described terminal current residual is lower than described preset flow threshold value for described first judging unit, then close downlink, to stop to receive the instant messaging information of server push corresponding to the application being in running status.
In conjunction with second aspect, or the first possible implementation of second aspect, or the implementation that the second of second aspect is possible, in the third possible implementation of second aspect, described information receiving module includes:
Second judging unit, for when described network detect unit detect that the current network state of terminal is wireless network connection status time, it is judged that whether the current electricity of described terminal higher than presetting power threshold;
The first information receives unit, if judging that the current electricity of described terminal is higher than described default power threshold, then start the instant messaging information of server push corresponding to the application being in running status described in receiving for described second judging unit.
In conjunction with second aspect, or the first possible implementation of second aspect, or the implementation that the second of second aspect is possible, in the 4th kind of possible implementation of second aspect, described information receiving module includes:
3rd judging unit, for when described network detect unit detect that the current network state of terminal is wireless network connection status time, it is judged that whether the current Installed System Memory of described terminal higher than presetting memory threshold;
For described 3rd judging unit, second information receiving unit, if judging that the current Installed System Memory of described terminal is higher than described default memory threshold, then start the instant messaging information of server push corresponding to the application being in running status described in receiving.
By implementing the embodiment of the present invention, the network state that terminal detection is current, when detecting that current network state is mobile network's connection status, terminal closes downlink, stop to receive the instant messaging information of server push corresponding to the application being in running status, when detecting that current network state is wireless network connection status, terminal restarts the instant messaging information receiving server push corresponding to the application being in running status, thus when terminal is in mobile network's connection status, suspend the information receiving server push, when terminal recovers wireless network connection status, it is further continued for receiving the information of server push, thus avoiding a large amount of consumption of the data traffic that terminal causes because receiving a large amount of instant messaging information of server push when mobile network connects, can avoid producing substantial amounts of network rate, thus avoid bringing to user unfavorable.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, below the accompanying drawing used required during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of method receiving pushed information that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet that the another kind that the embodiment of the present invention provides receives the method for pushed information;
Fig. 2 A is the display interface schematic diagram of a kind of information that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet that the another kind that the embodiment of the present invention provides receives the method for pushed information;
Fig. 4 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 8 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 9 is the structural representation of the another kind of terminal that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Embodiments provide a kind of method receiving pushed information and terminal, it is possible to avoid producing substantial amounts of network rate, thus avoid bringing to user unfavorable. It is described in detail individually below.
Terminal in following embodiment can include but not limited to: all kinds of terminal units possessing communication function such as mobile phone, PAD (panel computer), notebook computer, palm PC, mobile internet device (MobileInternetDevice, MID), Intelligent wearable equipment (intelligent watch etc.). The system of terminal refers to the operating system of terminal, it is possible to include but not limited to: android system, Saipan system, Windows system, IOS (Mobile operating system of Apple's exploitation) system etc. It should be noted that Android terminal refers to the terminal of android system, Saipan terminal refers to the terminal of Saipan system, etc.
Refer to the schematic flow sheet that Fig. 1, Fig. 1 are a kind of methods receiving pushed information that the embodiment of the present invention provides. As it is shown in figure 1, the method for this reception pushed information can include but not limited to following steps.
The network state that S101, detection terminal are current.
In the embodiment of the present invention, the network state that terminal detection is current, network state includes mobile network's connection status, mobile network's off-state, wireless network connection status and wireless network off-state etc., wherein, mobile network can include but not limited to: 2G (2-Generation, Generation Mobile Telecommunication System technology), 3G (3rdGeneration, G mobile communication) and 4G (4thGeneration, forth generation mobile communication technology) etc., wireless network can include but not limited to: WIFI (WirelessFidelity, wireless network) etc.
Concrete, terminal can detect current network state in real time, it is also possible to according to predetermined period, detects current network state when the cycle arrives, can also starting to detect current network state when receiving the network state detection instruction that user sends, the embodiment of the present invention is not especially limited. Wherein, predetermined period can be 20 minutes, then every 20 minutes detection primary network states of terminal.
Such as, for certain Android terminal, the 3G network switch that user opens a terminal, when terminal connects 3G network success, namely terminal can detect that current network state is 3G network connection status.
Again such as, for certain Android terminal, the WIFI switch that user opens a terminal, when terminal connects certain WIFI hot spot success, namely terminal can detect that current network state is WIFI network connection status.
S103, when the current network state of terminal being detected for mobile network's connection status, close downlink, to stop to receive the instant messaging information of the server push of the application correspondence being in running status.
In the embodiment of the present invention, when terminal detects that current network state is mobile network's connection status, terminal closes downlink, namely the transmission channel of downlink data is cut off, stop to receive the instant messaging information of server push corresponding to all of application being in running status, the whole application being in running status are carried out unified management, the each self-corresponding server of whole application being in running status all cannot push instant messaging information by downlink to terminal, therefore terminal can save data traffic because stopping receiving the information of each server push above-mentioned, avoid producing substantial amounts of network rate. wherein, above-mentioned application can include but not limited to: QQ, wechat, microblogging, Tengxun's news etc. above-mentioned instant messaging information can include but not limited to: QQ message, wechat message, Twitter message, Tengxun's news etc.
Such as, when terminal detects that current network state is 3G network connection status, terminal closes the downlink of 3G network, the server making application that current background runs corresponding cannot pass through 3G downlink to terminal pushed information, now, if the application being in running status on terminal backstage has QQ, wechat, microblogging and Tengxun's information, the QQ being then in running status cannot receive the QQ message that other users send, the wechat being in running status also cannot receive the wechat message that other users send, the microblogging being in running status also cannot update up-to-date multidate information, being in Tengxun's news of running status, equally also cannot to update up-to-date news dynamic.
Need explanation, when terminal detects currently for data network connection status, only can close downlink, for up-link, can close, can not also closing, the embodiment of the present invention is not especially limited, if up-link is not performed shutoff operation by terminal, then user can also normally use each application to carry out the transmission of data, ensure basic communication function, for instance, user can send QQ message etc. by QQ to contact person.
S105, when detecting that the current network state of terminal is wireless network connection status, start the instant messaging information receiving server push corresponding to the application being in running status.
In the embodiment of the present invention, when terminal detects that current network is wireless network connection status again, start the instant messaging information receiving server push corresponding to the application being in running status, now, server corresponding to each application can normally to terminal pushed information, by the information pushing of unsuccessful propelling movement before to terminal.
Terminal is when being in mobile network's connection status, suspend the information receiving server push corresponding to the application being in running status, until terminal is in wireless network connection status, terminal is further continued for receiving the information of each server push above-mentioned, namely postpones to receive the information of server push according to the network state that terminal is current.
As the optional embodiment of one, when detecting that the current network state of terminal is wireless network connection status, start the instant messaging information receiving server push corresponding to the application being in running status, including:
11) when detecting that the current network state of terminal is wireless network connection status, it is judged that whether the current electricity of terminal is higher than presetting power threshold;
12) the instant messaging information receiving server push corresponding to the application being in running status is if so, then started.
Concrete, when terminal detects that current network state is wireless network connection status, the electricity of detection current residual, and judge that whether current electric quantity is higher than presetting power threshold, if being higher than, then terminal starts the instant messaging information receiving server push corresponding to the application being in running status; If less than or equal to, then in order to save electric quantity consumption, terminal temporarily can not receive the instant messaging information of each server push above-mentioned, by the time again detect that terminal is in wireless network connection status, and the electricity of terminal is higher than when presetting power threshold, and terminal restarts the instant messaging information receiving server push corresponding to the application being in running status. Wherein, default power threshold can by terminal system default setting, it is also possible to arranged by end user manual, for instance, default power threshold is 20%.
As the optional embodiment of another kind, when detecting that the current network state of terminal is wireless network connection status, start the instant messaging information receiving server push corresponding to the application being in running status, including:
13) when detecting that the current network state of terminal is wireless network connection status, it is judged that whether the current Installed System Memory of terminal is higher than presetting memory threshold;
14) the instant messaging information receiving server push corresponding to the application being in running status is if so, then started.
Concrete, when terminal detects that current network state is wireless network connection status, terminal detection current system free memory, and judge that whether current internal memory is higher than presetting memory threshold, if being higher than, then terminal starts the instant messaging information receiving server push corresponding to the application being in running status; If less than or equal to, then take to reduce Installed System Memory, save system resource, terminal temporarily can not receive the instant messaging information of server push corresponding to the application being in running status, by the time again detect that terminal is in wireless network connection status, and terminal discharges internal memory that partial memory makes terminal current higher than when presetting memory threshold, and terminal restarts the instant messaging information receiving server push corresponding to the application being in running status. Wherein, default memory threshold can by terminal system default setting, it is also possible to arranged by end user manual, for instance, default memory threshold is 200MB.
Visible, in the method described by Fig. 1, the network state that terminal detection is current, when detecting that current network state is mobile network's connection status, terminal closes downlink, stop to receive the instant messaging information of server push corresponding to the application being in running status, when detecting that current network state is wireless network connection status, terminal restarts the instant messaging information receiving server push corresponding to the application being in running status, thus when terminal is in mobile network's connection status, suspend the information receiving server push, when terminal recovers wireless network connection status, it is further continued for receiving the information of each server push above-mentioned, thus avoiding a large amount of consumption of the data traffic that terminal causes because receiving a large amount of instant messaging information of server push when mobile network connects, can avoid producing substantial amounts of network rate, thus avoid bringing to user unfavorable.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet that the another kind that the embodiment of the present invention provides receives the method for pushed information. As in figure 2 it is shown, the method for this reception pushed information can include but not limited to following steps.
The network state that S201, detection terminal are current.
Step S201 in the embodiment of the present invention can S101 in embodiment shown in Figure 1, repeat no more herein.
S203, when the current network state of terminal being detected for mobile network's connection status, export information, information is for pointing out the instant messaging information choosing whether to receive server push corresponding to the application being in running status.
In the embodiment of the present invention, when terminal detects that current network state is mobile network's connection status, terminal output information, so that user independently chooses whether to be in the information receiving server push of the application correspondence of running status. The way of output of information can be prompting frame, prompting frame can include be similar to "Yes" and "No", or the option such as " determination " and " cancellation ", user can choose wherein certain option by modes such as click, pressing, slips, independently selects.
Such as, the display interface schematic diagram that Fig. 2 A, Fig. 2 A is a kind of information that the embodiment of the present invention provides is referred to. in fig. 2, 21 is the display interface of terminal, display interface 21 shows the prompting frame 22 that terminal ejects, this prompting frame 22 shows content information " whether allowing to receive pushed information ", and prompting frame 22 also shows two options, respectively option "Yes" and option "No", if user have selected "Yes", then show that user selects to receive the instant messaging information of server push corresponding to the application being in running status, if user have selected "No", then show that user selects to receive the instant messaging information of server push corresponding to the application being in running status.
If S205 receives the instruction selecting to stop the instant messaging information of the server push of the application correspondence that reception is in running status for information, then close downlink, to stop to receive the instant messaging information of server push corresponding to the application being in running status.
In the embodiment of the present invention, if terminal receives the instruction that user selects to stop to receive the instant messaging information of server push corresponding to the application being in running status, then terminal closes downlink, namely the transmission channel of downlink data is cut off, stop to receive the instant messaging information of server push corresponding to all of application being in running status, the whole application being in running status are carried out unified management, the each self-corresponding server of whole application being in running status cannot push instant messaging information by downlink to terminal, therefore terminal can save data traffic because stopping receiving the information of each server push above-mentioned, avoid producing substantial amounts of network rate. wherein, above-mentioned application can include but not limited to: QQ, wechat, microblogging, Tengxun's news etc. above-mentioned instant messaging information can include but not limited to: QQ message, wechat message, Twitter message, Tengxun's news etc.
Such as, when terminal detects that current network state is 3G network connection status, terminal output information, so that user chooses whether to receive the information of server push, if what user selected is "No", then terminal closes the downlink of 3G network, the server making application that current background runs corresponding cannot pass through 3G downlink to terminal pushed information, now, if the application being in running status on terminal backstage has QQ, wechat, microblogging and Tengxun's information, the QQ being then in running status cannot receive the QQ message that other users send, the wechat being in running status also cannot receive the wechat message that other users send, the microblogging being in running status also cannot update up-to-date multidate information, being in Tengxun's news of running status, equally also cannot to update up-to-date news dynamic.
Need explanation, when terminal detects currently for data network connection status, only can close downlink, for up-link, can close, can not also closing, the embodiment of the present invention is not especially limited, if up-link is not performed shutoff operation by terminal, then user can also normally use each application to carry out the transmission of data, ensure basic communication function, for instance, user can send QQ message etc. by QQ to contact person.
S207, when detecting that the current network state of terminal is wireless network connection status, start the instant messaging information receiving server push corresponding to the application being in running status.
Step S207 in the embodiment of the present invention can S105 in embodiment shown in Figure 1, repeat no more herein.
Visible, in the method described by Fig. 2, the network state that terminal detection is current, when detecting that current network state is mobile network's connection status, terminal output information, to prompt the user to choose whether to receive the instant messaging information of server push corresponding to the application being in running status, if user selects to stop to receive, then terminal closes downlink, stop to receive the instant messaging information of server push corresponding to the application being in running status, when detecting that current network state is wireless network connection status, terminal restarts the instant messaging information receiving server push corresponding to the application being in running status, thus when terminal is in mobile network's connection status, suspend the information receiving each server push above-mentioned, when terminal recovers wireless network connection status, it is further continued for receiving the information of each server push above-mentioned, thus avoiding a large amount of consumption of the data traffic that terminal causes because receiving a large amount of instant messaging information of server push when mobile network connects, can avoid producing substantial amounts of network rate, thus avoid bringing to user unfavorable, and the information stopping to receive server push can be independently chosen whether by user, meet the demand of user.
Referring to Fig. 3, Fig. 3 is the schematic flow sheet that the another kind that the embodiment of the present invention provides receives the method for pushed information. As it is shown on figure 3, the method for this reception pushed information can include but not limited to following steps.
The network state that S301, detection terminal are current.
Step S301 in the embodiment of the present invention can S101 in embodiment shown in Figure 1, repeat no more herein.
S303, when the current network state of terminal being detected for mobile network's connection status, obtain the data traffic of terminal current residual.
In the embodiment of the present invention, when terminal detects that current network state is mobile network's connection status, terminal obtains the data traffic of current residual. Concrete, terminal can know the data traffic of terminal current residual by the service short message that operator issues, remaining data traffic can also be calculated by recording terminal log according to the service condition of flow, such as, terminal this month total data flow is 1GB (1024MB), the data traffic that terminal record this month has used is 1000MB, then calculating obtains terminal current residual data traffic is 24MB.
S305, judge that whether the data traffic of terminal current residual is lower than preset flow threshold value, if so, perform step S307; If it is not, process ends.
In the embodiment of the present invention, after terminal gets the data traffic of current residual, it is judged that the data traffic of current residual, whether lower than preset flow threshold value, if so, performs step S307. Wherein, preset flow threshold value can be arranged according to the flow package situation that user uses, it is also possible to independently being arranged by user, the embodiment of the present invention is not especially limited, for instance, preset flow threshold value is 200MB.
S307, closedown downlink, to stop to receive the instant messaging information of server push corresponding to the application being in running status.
In the embodiment of the present invention, if judging, the data traffic of terminal current residual is lower than preset flow threshold value, then show that the data traffic of current residual is not enough, for avoiding the data traffic consumption that the information cause the user because receiving server push is bigger, then terminal closes downlink, namely the transmission channel of downlink data is cut off, stop to receive the instant messaging information of server push corresponding to all of application being in running status, the whole application being in running status are carried out unified management, the each self-corresponding server of whole application being in running status all cannot push instant messaging information by downlink to terminal, therefore terminal can save data traffic because stopping receiving the information of each server push above-mentioned, avoid producing substantial amounts of network rate. wherein, above-mentioned application can include but not limited to: QQ, wechat, microblogging, Tengxun's news etc. above-mentioned instant messaging information can include but not limited to: QQ message, wechat message, Twitter message, Tengxun's news etc.
Such as, when terminal detects that current network state is 3G network connection status, terminal obtains current residual data traffic, for 150MB, lower than preset flow threshold value 200MB, then terminal closes the downlink of 3G network, the server making application that current background runs corresponding cannot pass through 3G downlink to terminal pushed information, now, if the application being in running status on terminal backstage has QQ, wechat, microblogging and Tengxun's information, the QQ being then in running status cannot receive the QQ message that other users send, the wechat being in running status also cannot receive the wechat message that other users send, the microblogging being in running status also cannot update up-to-date multidate information, being in Tengxun's news of running status, equally also cannot to update up-to-date news dynamic.
Need explanation, when terminal detects currently for data network connection status, only can close downlink, for up-link, can close, can not also closing, the embodiment of the present invention is not especially limited, if up-link is not performed shutoff operation by terminal, then user can also normally use each application to carry out the transmission of data, ensure basic communication function, for instance, user can send QQ message etc. by QQ to contact person.
S309, when detecting that the current network state of terminal is wireless network connection status, start the instant messaging information receiving server push corresponding to the application being in running status.
Step S309 in the embodiment of the present invention can S105 in embodiment shown in Figure 1, repeat no more herein.
Visible, in the method described by Fig. 3, the network state that terminal detection is current, when detecting that current network state is mobile network's connection status, terminal obtains current residual data traffic, and judge that whether current residual data traffic is lower than preset flow threshold value, if, then terminal closes downlink, stop to receive the instant messaging information of server push corresponding to the application being in running status, when detecting that current network state is wireless network connection status, terminal restarts the instant messaging information receiving server push corresponding to the application being in running status, thus when terminal is in mobile network's connection status, suspend the information receiving each server push above-mentioned, when terminal recovers wireless network connection status, it is further continued for receiving the information of each server push above-mentioned, thus avoiding a large amount of consumption of the data traffic that terminal causes because receiving a large amount of instant messaging information of server push when mobile network connects, can avoid producing substantial amounts of network rate, thus avoid bringing to user unfavorable.
The above-mentioned method illustrating the embodiment of the present invention, following for being easy to implement better the such scheme of the embodiment of the present invention, correspondingly, is also provided below for coordinating the associated terminal implementing such scheme.
Refer to the structural representation that Fig. 4, Fig. 4 are a kind of terminals 40 that the embodiment of the present invention provides. As shown in Figure 4, this terminal 40 includes: network detection module 401, link control module 403 and information receiving module 405, wherein,
Network detection module 401, for detecting the network state that terminal 40 is current;
Link control module 403, for when network detect unit 401 the current network state of terminal 40 detected for mobile network's connection status time, close downlink, to stop to receive the instant messaging information of the server push of the application correspondence being in running status;
Information receiving module 405, for when network detect unit 401 detect that the current network state of terminal 40 is wireless network connection status time, start the instant messaging information receiving server push corresponding to the application being in running status.
It will be appreciated that the function of each functional unit of the terminal 40 of the present embodiment can implement according to the method for above-mentioned Fig. 1 embodiment of the method, repeat no more herein.
As the optional embodiment of one, refer to the structural representation that Fig. 5, Fig. 5 are a kind of terminals 40 that the embodiment of the present invention provides. This terminal 40 includes: network detection module 401, link control module 403 and information receiving module 405, and wherein, information receiving module 405 includes: the second judging unit 4051 and the first information receive unit 4053,
Second judging unit 4051, for when network detect unit 401 detect that the current network state of terminal is wireless network connection status time, it is judged that whether the current electricity of terminal higher than presetting power threshold;
The first information receives unit 4053, if judging the current electricity of terminal higher than presetting power threshold for the second judging unit 4051, then starts the instant messaging information receiving server push corresponding to the application being in running status.
It will be appreciated that the function of each functional unit of the terminal 40 of the present embodiment can implement according to the method for above-mentioned Fig. 1 embodiment of the method, repeat no more herein.
As the optional embodiment of another kind, refer to the structural representation that Fig. 6, Fig. 6 are a kind of terminals 40 that the embodiment of the present invention provides. This terminal 40 includes: network detection module 401, link control module 403 and information receiving module 405, and wherein, information receiving module 405 includes: the 3rd judging unit 4055 and the second information receiving unit 4057,
3rd judging unit 4055, for when network detect unit 401 detect that the current network state of terminal is wireless network connection status time, it is judged that whether the current Installed System Memory of terminal higher than presetting memory threshold;
Second information receiving unit 4057, if judging the current Installed System Memory of terminal higher than presetting memory threshold for the 3rd judging unit 4055, then starts the instant messaging information receiving server push corresponding to the application being in running status.
It will be appreciated that the function of each functional unit of the terminal 40 of the present embodiment can implement according to the method for above-mentioned Fig. 1 embodiment of the method, repeat no more herein.
Please also refer to the structural representation that Fig. 7, Fig. 7 are the another kind of terminals 40 that the embodiment of the present invention provides. Wherein, the terminal 40 shown in Fig. 7 is that terminal 40 as shown in Figure 4 is optimized and obtains. Compared with Fig. 4, the link control module 403 described by Fig. 7 includes: the information receiving module 405 in Tip element 4031 and the first link control unit 4033, Fig. 7 can information receiving module 405 in Fig. 4-Fig. 6 any embodiment, wherein,
Tip element 4031, for when network detect unit 401 the current network state of terminal 40 detected for mobile network's connection status time, output information, information is for pointing out the instant messaging information choosing whether to receive server push corresponding to the application being in running status;
First link control unit 4033, if for receiving the instruction selecting to stop the instant messaging information of the server push of the application correspondence that reception is in running status for information, then close downlink, to stop to receive the instant messaging information of server push corresponding to the application being in running status.
It will be appreciated that the function of each functional unit of the terminal 40 of the present embodiment can implement according to the method for above-mentioned Fig. 2 embodiment of the method, repeat no more herein.
Please also refer to the structural representation that Fig. 8, Fig. 8 are the another kind of terminals 40 that the embodiment of the present invention provides. Wherein, the terminal 40 shown in Fig. 8 is that terminal 40 as shown in Figure 4 is optimized and obtains. Compared with Fig. 4, information receiving module 405 in Fig. 8 can information receiving module 405 in Fig. 4-Fig. 6 any embodiment, link control module 403 described by Fig. 8 includes: acquiring unit the 4035, first judging unit 4037 and the second link control unit 4039, wherein
Acquiring unit 4035, for when network detect unit 401 the current network state of terminal 40 detected for mobile network's connection status time, obtain the data traffic of terminal 40 current residual;
Whether first judging unit 4037, be used for the data traffic judging terminal 40 current residual lower than preset flow threshold value;
Second link control unit 4039, if judging that the data traffic of terminal 40 current residual is lower than preset flow threshold value for the first judging unit 4037, then close downlink, to stop to receive the instant messaging information of server push corresponding to the application being in running status.
It will be appreciated that the function of each functional unit of the terminal 40 of the present embodiment can implement according to the method for above-mentioned Fig. 3 embodiment of the method, repeat no more herein.
Refer to Fig. 9, be the structural representation of another kind of terminal provided by the invention. Wherein, as it is shown in figure 9, terminal 90 may include that processor 901, for instance CPU, bus 902, input equipment 903 and output device 903, memorizer 905. Wherein, bus 902 is for realizing the communication connection between these assemblies; The contact panel of input equipment 903 concretely terminal, including touch screen and touch screen, for detecting the operational order in terminal touch panel, input equipment 903 can also be communication interface, for receiving information or the data of other-end or server transmission; Output device 903 can include the display screen (Display) of terminal, is used for exporting, showing image or data; Memorizer 905 can be high-speed RAM display, it is also possible to be non-labile display (non-volatilememory), for instance disk display, memorizer 905 optionally can also is that the display device being located remotely from aforementioned processor 901. As it is shown in figure 9, memorizer 905 as a kind of Computer display medium can include operating system, network communication program, user interface program and receive the program of pushed information.
In the terminal 90 shown in Fig. 9, processor 901 may be used for the program of the reception pushed information of storage in run memory 905, and performs following operation:
The network state that detection terminal is current;
When the current network state of terminal being detected for mobile network's connection status, close downlink, to stop to receive the instant messaging information of the server push of the application correspondence being in running status;
When detecting that the current network state of terminal is wireless network connection status, start the instant messaging information receiving server push corresponding to the application being in running status.
Further, processor 901 performs, when the current network state of terminal being detected for mobile network's connection status, to cut out downlink, to stop to receive the instant messaging information of the server push of the application correspondence being in running status, including:
When the current network state of terminal being detected for mobile network's connection status, exporting information, information is for pointing out the instant messaging information choosing whether to receive server push corresponding to the application being in running status;
If receiving the instruction selecting to stop the instant messaging information of the server push of the application correspondence that reception is in running status for information, then close downlink, to stop to receive the instant messaging information of server push corresponding to the application being in running status.
Further, processor 901 performs, when the current network state of terminal being detected for mobile network's connection status, to cut out downlink, to stop to receive the instant messaging information of the server push of the application correspondence being in running status, including:
When the current network state of terminal being detected for mobile network's connection status, obtain the data traffic of terminal current residual;
Judge that whether the data traffic of terminal current residual is lower than preset flow threshold value;
If so, downlink is then closed, to stop to receive the instant messaging information of server push corresponding to the application being in running status.
Further, processor 901 performs, when detecting that the current network state of terminal is wireless network connection status, to start the instant messaging information receiving server push corresponding to the application being in running status, including:
When detecting that the current network state of terminal is wireless network connection status, it is judged that whether the current electricity of terminal is higher than presetting power threshold;
If so, the instant messaging information receiving server push corresponding to the application being in running status is then started.
Further, processor 901 performs, when detecting that the current network state of terminal is wireless network connection status, to start the instant messaging information receiving server push corresponding to the application being in running status, including:
When detecting that the current network state of terminal is wireless network connection status, it is judged that whether the current Installed System Memory of terminal is higher than presetting memory threshold;
If so, the instant messaging information receiving server push corresponding to the application being in running status is then started.
It will be appreciated that the execution step of processor 901 specifically referring to the content of Fig. 1 or Fig. 2 or Fig. 3 embodiment, can repeat no more herein.
In sum, the network state that terminal detection is current, when detecting that current network state is mobile network's connection status, terminal closes downlink, stop to receive the instant messaging information of server push corresponding to the application being in running status, when detecting that current network state is wireless network connection status, terminal restarts the instant messaging information receiving server push corresponding to the application being in running status, thus when terminal is in mobile network's connection status, suspend the information receiving server push, when terminal recovers wireless network connection status, it is further continued for receiving the information of server push, thus avoiding a large amount of consumption of the data traffic that terminal causes because receiving a large amount of instant messaging information of server push when mobile network connects, can avoid producing substantial amounts of network rate, thus avoid bringing to user unfavorable.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can be by the hardware that computer program carrys out instruction relevant to complete, described program can be stored in a computer read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each side method. Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
Above disclosed it is only one preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are made, still fall within the scope that invention is contained.

Claims (10)

1. the method receiving pushed information, it is characterised in that described method includes:
The network state that detection terminal is current;
When the current network state of terminal being detected for mobile network's connection status, close downlink, to stop to receive the instant messaging information of the server push of the application correspondence being in running status;
When detecting that the current network state of terminal is wireless network connection status, start the instant messaging information of server push corresponding to the application being in running status described in receiving.
2. method according to claim 1, it is characterized in that, described when the current network state of terminal being detected for mobile network's connection status, close downlink, to stop to receive the instant messaging information of server push corresponding to the application being in running status, including:
When the current network state of terminal being detected for mobile network's connection status, export information, described information for point out choose whether to receive described in be in the instant messaging information of server push corresponding to the application of running status;
If receiving the instruction selecting to stop to be in described in reception the instant messaging information of the server push of the application correspondence of running status for described information, then close downlink, to stop to be in described in reception the instant messaging information of the server push of the application correspondence of running status.
3. method according to claim 1, it is characterized in that, described when the current network state of terminal being detected for mobile network's connection status, close downlink, to stop to receive the instant messaging information of server push corresponding to the application being in running status, including:
When the current network state of terminal being detected for mobile network's connection status, obtain the data traffic of described terminal current residual;
Judge that whether the data traffic of described terminal current residual is lower than preset flow threshold value;
If so, downlink is then closed, to stop to receive the instant messaging information of server push corresponding to the application being in running status.
4. the method according to any one of claim 1-3, it is characterized in that, described when detecting that the current network state of terminal is wireless network connection status, start the instant messaging information of server push corresponding to the application being in running status described in receiving, including:
When detecting that the current network state of terminal is wireless network connection status, it is judged that whether the current electricity of described terminal is higher than presetting power threshold;
If so, the instant messaging information of server push corresponding to the application being in running status described in receiving then is started.
5. the method according to any one of claim 1-3, it is characterized in that, described when detecting that the current network state of terminal is wireless network connection status, start the instant messaging information of server push corresponding to the application being in running status described in receiving, including:
When detecting that the current network state of terminal is wireless network connection status, it is judged that whether the current Installed System Memory of described terminal is higher than presetting memory threshold;
If so, the instant messaging information of server push corresponding to the application being in running status described in receiving then is started.
6. a terminal, it is characterised in that described terminal includes:
Network detection module, for detecting the network state that terminal is current;
Link control module, for when described network detect unit the current network state of terminal detected for mobile network's connection status time, close downlink, to stop to receive the instant messaging information of the server push of the application correspondence being in running status;
Information receiving module, for when described network detect unit detect that the current network state of terminal is wireless network connection status time, start the instant messaging information of server push corresponding to the application being in running status described in receiving.
7. terminal according to claim 6, it is characterised in that described link control module includes:
Tip element, for when described network detect unit the current network state of terminal detected for mobile network's connection status time, output information, described information is for pointing out the instant messaging information of the server push of the application correspondence choosing whether to be in described in reception running status;
First link control unit, if for receiving the instruction selecting to stop to be in described in reception the instant messaging information of the server push of the application correspondence of running status for described information, then close downlink, to stop to be in described in reception the instant messaging information of the server push of the application correspondence of running status.
8. terminal according to claim 6, it is characterised in that described link control module includes:
Acquiring unit, for when described network detect unit the current network state of terminal detected for mobile network's connection status time, obtain the data traffic of described terminal current residual;
Whether first judging unit, be used for the data traffic judging described terminal current residual lower than preset flow threshold value;
Second link control unit, if judging that the data traffic of described terminal current residual is lower than described preset flow threshold value for described first judging unit, then close downlink, to stop to receive the instant messaging information of server push corresponding to the application being in running status.
9. the terminal according to any one of claim 6-8, it is characterised in that described information receiving module includes:
Second judging unit, for when described network detect unit detect that the current network state of terminal is wireless network connection status time, it is judged that whether the current electricity of described terminal higher than presetting power threshold;
The first information receives unit, if judging that the current electricity of described terminal is higher than described default power threshold, then start the instant messaging information of server push corresponding to the application being in running status described in receiving for described second judging unit.
10. the terminal according to any one of claim 6-8, it is characterised in that described information receiving module includes:
3rd judging unit, for when described network detect unit detect that the current network state of terminal is wireless network connection status time, it is judged that whether the current Installed System Memory of described terminal higher than presetting memory threshold;
For described 3rd judging unit, second information receiving unit, if judging that the current Installed System Memory of described terminal is higher than described default memory threshold, then start the instant messaging information of server push corresponding to the application being in running status described in receiving.
CN201511033721.3A 2015-12-30 2015-12-30 A kind of method and terminal receiving pushed information Active CN105635994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511033721.3A CN105635994B (en) 2015-12-30 2015-12-30 A kind of method and terminal receiving pushed information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511033721.3A CN105635994B (en) 2015-12-30 2015-12-30 A kind of method and terminal receiving pushed information

Publications (2)

Publication Number Publication Date
CN105635994A true CN105635994A (en) 2016-06-01
CN105635994B CN105635994B (en) 2019-08-20

Family

ID=56050390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511033721.3A Active CN105635994B (en) 2015-12-30 2015-12-30 A kind of method and terminal receiving pushed information

Country Status (1)

Country Link
CN (1) CN105635994B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445792A (en) * 2016-09-27 2017-02-22 深圳市邦华电子有限公司 Updatenotificationprocessing method and device
CN108601048A (en) * 2018-04-17 2018-09-28 维沃移动通信有限公司 A kind of flow control methods and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634386A (en) * 2013-11-22 2014-03-12 北京奇虎科技有限公司 Method and device for downloading application by client end application program
US20140082057A1 (en) * 2012-08-31 2014-03-20 Tencent Technology (Shenzhen) Company Limited Data transfer method and system
CN103685474A (en) * 2013-11-21 2014-03-26 中兴通讯股份有限公司 File downloading method and file downloading device
CN103781057A (en) * 2014-01-08 2014-05-07 北京奇虎科技有限公司 Method and device for silently downloading upgrade package
CN105142184A (en) * 2015-06-12 2015-12-09 联想(北京)有限公司 Flow control method and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140082057A1 (en) * 2012-08-31 2014-03-20 Tencent Technology (Shenzhen) Company Limited Data transfer method and system
CN103685474A (en) * 2013-11-21 2014-03-26 中兴通讯股份有限公司 File downloading method and file downloading device
CN103634386A (en) * 2013-11-22 2014-03-12 北京奇虎科技有限公司 Method and device for downloading application by client end application program
CN103781057A (en) * 2014-01-08 2014-05-07 北京奇虎科技有限公司 Method and device for silently downloading upgrade package
CN105142184A (en) * 2015-06-12 2015-12-09 联想(北京)有限公司 Flow control method and electronic device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445792A (en) * 2016-09-27 2017-02-22 深圳市邦华电子有限公司 Updatenotificationprocessing method and device
CN106445792B (en) * 2016-09-27 2019-03-12 深圳市邦华电子有限公司 A kind of update notification treating method and apparatus
CN108601048A (en) * 2018-04-17 2018-09-28 维沃移动通信有限公司 A kind of flow control methods and mobile terminal
CN108601048B (en) * 2018-04-17 2021-09-28 维沃移动通信有限公司 Flow control method and mobile terminal

Also Published As

Publication number Publication date
CN105635994B (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN105979103B (en) Battery power guarantee method and device for portable electronic product and mobile terminal
CN102799481B (en) Method and device for switching modes on terminal
CN106528028B (en) Information processing method, system, device and terminal
CN101727287B (en) Prompting method, prompting system and mobile terminal of customizing information
CN110493892B (en) Network connection method and device, storage medium and communication terminal
CN105677477A (en) Method and device for optimizing application program resources and electronic equipment
CN105005387A (en) Application event prompting method for smart watch and smart watch
CN104102453A (en) Waking-up method and system based on mobile terminal touch screen
CN206180657U (en) That can long -rangely maintain fills electric pile
CN105677141A (en) Application program management method and terminal
CN103973547A (en) Picture display method and device
CN103887571A (en) Charging mode switching method and charging mode switching device
CN105516502A (en) Mobile terminal and flow control method therefor
CN105530600A (en) Anti-loss method and anti-loss system for mobile terminal, and mobile terminal
CN105896657A (en) Method of charging mobile terminal and mobile terminal
CN101815124A (en) Webpage browsing method, mobile terminal and network equipment
CN103543952A (en) Method of device for eliminating status information display of applications
CN110191215B (en) Terminal and processing method
CN102014204A (en) Method for displaying time in shutdown state of mobile terminal
CN102681828A (en) Terminal device and application icon generation method
CN105406894A (en) Carrier aggregation mode setting method for communication terminal and communication terminal
CN104822174A (en) Calling mode adjusting method
CN103731733A (en) Version upgrading method and electronic device
CN105635994A (en) Method and terminal for receiving pushed information
CN105280204A (en) Multi-media file play method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant